摘要
无线通信网中信令消息一般都采用ASN.1编码,以实现不同厂商设备之间大量的、复杂的信息交换和传递。首先简述了Iuh协议栈结构,ASN.1基本知识,并结合无线接入网络应用部份(RANAP)消息结构特点讲解了如何使用开源ASN.1编译器ASN1C进行Iuh协议栈编解码器的设计和实现,避免了使用商用编译器的巨大资金支出。最后介绍了一种使用OSS ASN.1 Tools构造测试用例对编解码结果进行验证的方法,该方法解决了手动填充协议数据结构繁琐、易出错的工作,而且为以后自动化测试提供了空间。
Wireless communication network signaling messages are generally encoded with ASN.1,thus to achieve complex information exchange and transfer among between the communication equipments form different vendors.This paper briefly describes the structure of Iuh protocol stack,basic knowledge of ASN.1,and in combination with the structure of RANAP message,explains how to use the open source ASN.1 compiler ASN1C for design and implemention of Iuh stack parser,and avoid using commercial compiler with huge capital expenditure.A new methodology by using the OSS ASN.1 Tools for constructing test case files and verifying the results of encoding and decoding is proposed,which could avoid the complex manual filling protocol data structures and error-prone work,and also provide the space for tuture automatic testing.
出处
《通信技术》
2011年第1期109-111,114,共4页
Communications Technology