一种改进的通用ASN.1协议编解码方法  被引量:1

An Improved General ASN.1 Protocal Encoding & Decoding Methord

在线阅读下载全文

作  者:朱可云[1] 俞定玖[1] 

机构地区:[1]国家数字交换系统工程技术研究中心,河南郑州450002

出  处:《通信技术》2008年第12期176-177,180,共3页Communications Technology

摘  要:针对开源ASN1C采用动态内存分配方法处理ASN.1协议消息的可选参数,导致编解码软件由于频繁分配和释放内存操作而带来的问题提出了一种改进的方法,避免了ASN.1结构类型编解码中的动态内存分配,减少了整个协议编解码软件进行内存分配和释放操作的频度。测试和实际工程运行结果表明,改进的方法提高了编解码软件的可用性、执行效率和健壮性。Considering the problems arising from frequent memory allocation & set-free in the processing of optional parameters in ASN. I protocal messages by Open Source ASNIC encoding/ decoding software, an improved methord is proposed to avoid dynamic memory allocation in encoding / decoding ASN. I messages. Modified version is tested and run in practical project, and the result shows that the usability, efficiency and robustness of the encoding / decoding software are enhanced in the modified version.

关 键 词:抽象语法记法一 ASN.1到C编译器 编码 解码 序列 集合 

分 类 号:TN919.1[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象