###
计算机系统应用英文版:2017,26(1):251-254
本文二维码信息
码上扫一扫!
针对异构协议的动态解析器模型
(1.中国科学院大学, 北京 100049;2.中国科学院 沈阳计算技术研究所, 沈阳 110168;3.大连理工大学 软件学院, 大连 116024)
Model of Dynamic Parser for Heterogeneous Protocol
(1.University of Chinese Academy of Sciences, Beijing 100049, China;2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;3.School of Software Technology, Dalian University of Technology, Dalian 116024, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1381次   下载 2525
Received:April 26, 2016    Revised:June 21, 2016
中文摘要: 介绍了异构协议报文格式和特点,通过使用XML语言描述可扩展协议报文的方法,以简单协议解析为基础,将解析器功能模块化,从而设计此异构协议动态解析器模型.应用此模型实现不必重新编译,只需进行少量代码修改,即可完成异构协议报文自动模型匹配,进而完成报文数据解析.针对两种简单协议进行模型应用,结果表明使用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