本文已被:浏览 1381次 下载 2525次
Received:April 26, 2016 Revised:June 21, 2016
Received:April 26, 2016 Revised:June 21, 2016
中文摘要: 介绍了异构协议报文格式和特点,通过使用XML语言描述可扩展协议报文的方法,以简单协议解析为基础,将解析器功能模块化,从而设计此异构协议动态解析器模型.应用此模型实现不必重新编译,只需进行少量代码修改,即可完成异构协议报文自动模型匹配,进而完成报文数据解析.针对两种简单协议进行模型应用,结果表明使用XML语言描述协议报文的方法及可重构的解析器能够有效地描述和解析异构协议报文,获得可靠的解析结果.
Abstract:This paper firstly describes the format and features of heterogeneous protocol packet.Then it describes the extended protocol packets by using the XML language, and modularizes the parser function to design a model of dynamic heterogeneous protocol parser based on the method of simple protocol analysis.Realizations applying this model can be achieved without recompiling, and only a small amount of code changes is needed to complete the model automatic matching of heterogeneous protocol packets, and then complete the analysis of packet data.We apply the model into two simple protocols, and the results show that the method of using XML to describe the protocol message and the reconfigurable parser can describe and analyze the heterogeneous protocol message effectively, and obtain reliable analysis result.
文章编号: 中图分类号: 文献标志码:
基金项目:国家水体污染控制与治理科技重大专项课题(2012ZX07505003)
引用文本:
王永娜,赵奎,王鸿亮,王俊霖.针对异构协议的动态解析器模型.计算机系统应用,2017,26(1):251-254
WANG Yong-Na,ZHAO Kui,WANG Hong-Liang,WANG Jun-Lin.Model of Dynamic Parser for Heterogeneous Protocol.COMPUTER SYSTEMS APPLICATIONS,2017,26(1):251-254
王永娜,赵奎,王鸿亮,王俊霖.针对异构协议的动态解析器模型.计算机系统应用,2017,26(1):251-254
WANG Yong-Na,ZHAO Kui,WANG Hong-Liang,WANG Jun-Lin.Model of Dynamic Parser for Heterogeneous Protocol.COMPUTER SYSTEMS APPLICATIONS,2017,26(1):251-254