Methods of Automata Theory in Telecommunication Systems