Abstract:This paper mainly introduces the data word format of Microwave Landing System (MLS) and the malpractice of the traditional algorithm on data word encoding. By analyzing the generality of the data word, this article uses the Class diagram in Universal Modeling Language (UML) to model the format of data word and implements the encoding algorithm.