Title :
The mechanism of ASN.1 encoding and decoding implementation in network protocols
Author :
Qian, Lv ; Benxiong, Huang ; FuRong, Wang
Author_Institution :
Dept. of Electron. & Inf. Eng., Huazhong Univ. of Sci. & Technol., China
Abstract :
Abstract Syntax Notation One (ASN.1) plays an important role in many network protocol stacks. Some institutes use compiler-based approach to develop their ASN.1 module. However, this approach has some disadvantages, such as low efficiency, redundant codes, etc, and the module may become one of the performance bottlenecks in high-speed network communication. This paper discusses the requirements of ASN.1 module in network protocols, and analyses the compiler-based approach. Later a novel approach is proposed. It does not contain numerous encoding and decoding routines, but use a tree-like structure called "database definition" to store the necessary ASN.1 syntax information, and uniform functions to perform the encoding and decoding procedure. Using this method, a substantial reduction in code size was demonstrated (up to 90% reduction in the code size taken up by marshalling routines), and the improved efficiency also tested its superiority.
Keywords :
decoding; encoding; program compilers; protocols; tree data structures; ASN.1; Abstract Syntax Notation One; compiler-based approach; database definition; decoding; encoding; marshalling routines; network protocol stacks; tree-like structure; Bit error rate; Decoding; Encoding; High-speed networks; Intelligent networks; Program processors; Protocols; Runtime library; Telecommunication standards; Testing;
Conference_Titel :
Information Technology: Coding and Computing [Computers and Communications], 2003. Proceedings. ITCC 2003. International Conference on
Print_ISBN :
0-7695-1916-4
DOI :
10.1109/ITCC.2003.1197602