Font Size: a A A

The Implement And Auto Generation Of TTCN-3 Encoder And Decoder

Posted on:2010-05-31Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2178360278466064Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet and mobile communication, next-generation Internet and 3G communication protocol products emerge in endlessly. The development of each protocol product has to be evaluated through protocol testing. Testing and Test Control Notation 3rd version(TTCN-3), which spcified by European Telecommunications Standards Institute(ETSI), has already become the mainstream standard of protocol testing, which is mainly used for the protocol conformance and interoperability testing and so on.Codec module is an integral part of TTCN-3 standard system. When the engineers are in the development of conformance testing tools, they are required to design and implement codec module based on the specific test platform. Only the correct codec module is realized, the testing tools based on TTCN-3 standards could work well. At present, for all the TTCN-3 testing IDE products in industry, they only provide the interface of codec, leaving the implement of codec to engineers. Although the testing tools might have very good scalability, it will increase the burden on engineers to develop so that they cannot focus on the prepartion of TTCN-3 test scripts. This not only reduces the efficiency of the development of testing tools, but also hinders the promotion and development of TTCN-3 standards.In this thesis, an idea of automatic generation of generic codec for TTCN-3 data is proposed, which is the exploration and development for TTCN-3 standards. If it could be developed successfully and applied to protocol testing industry, it will greatly enhance the efficiency of developing protocol testing tools, liberate the engineers from codec's implementation, and promote the TTCN-3 standards and the development of protocol testing.This article focuses on automatic generation technology for TTCN-3 data codec, in which a generic TTCN-3 data codec model is put forward, and the codec for TTCN-3 bit-stream data is implemented.The development in this thesis is based on Telelogic's TAU Tester. Firstly, the detailed description of the TTCN-3 standard system, TAU Tester, and compiler technology are introduced. And then according to the research object, the detailed design the generic TTCN-3 data codec data model is presented. Meanwhile, the bit-stream data codec's design and implementation are introduced. After that, a TTCN-3 language lexical analyzer and syntax analyzer using compiler technology are designed and implemented, and the codecs is generated automatically. Finally, the test results are presented in detail.
Keywords/Search Tags:TTCN-3, Codec, Compiler technology, lexical analyzer, syntax analyzer
PDF Full Text Request
Related items