首页 | 官方网站   微博 | 高级检索  
     

基于XML的智能设备协议测试方法的研究
引用本文:严军,胡嘉懿,王迎.基于XML的智能设备协议测试方法的研究[J].工业控制计算机,2019,32(8):55-57.
作者姓名:严军  胡嘉懿  王迎
作者单位:上海大学通信与信息工程学院,上海,200444;上海大学通信与信息工程学院,上海,200444;上海大学通信与信息工程学院,上海,200444
摘    要:智慧城市的不断推进使得智能设备的应用越来越广泛。智能设备之间借助一系列规范的报文协议进行通信与互联,为了保证其通信的正确性,对智能设备进行通信协议的测试显得尤为重要。为了满足各种需求智能设备的通信协议需要经常进行修改及扩展,这导致了相关的协议测试系统需要更新测试程序才能适应新协议的测试。针对此问题提出了一种基于XML的协议测试方法,利用XML文档来描述协议格式,针对扩充的通信协议,只需编辑相应的XML文档并保存到测试系统中,即可对扩充的通信协议进行测试。实际应用表明,该方案提高了协议测试的扩展性,在不更新测试程序的同时可以对不同格式的通信协议进行测试。

关 键 词:XML  协议测试  扩展性

Research on Intelligent Device Protocol Testing Method Based on XML
Abstract:This paper proposes an XML-based protocol testing method for this problem.The XML document is used to describe the protocol format.For the extended communication protocol,only the corresponding XML document needs to be edited and saved in the test system.The practical application shows that the scheme improves the scalability of the protocol test,and can test different communication protocols at the same time without updating the test program.
Keywords:XML  protocol testing  scalability
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号