Search International and National Patent Collections

1. (WO2018165902) METHOD AND SYSTEM FOR AUTOMATICALLY GENERATING COMMUNICATION PROTOCOL PARSING CODE

Pub. No.:    WO/2018/165902    International Application No.:    PCT/CN2017/076762
Publication Date: Fri Sep 21 01:59:59 CEST 2018 International Filing Date: Thu Mar 16 00:59:59 CET 2017
IPC: H04L 29/06
Applicants: SHENZHEN ZNV TECHNOLOGY CO., LTD.
深圳中兴力维技术有限公司
Inventors: WANG, Dayong
王大勇
LIU, Jiandong
刘建东
LI, Tao
李涛
Title: METHOD AND SYSTEM FOR AUTOMATICALLY GENERATING COMMUNICATION PROTOCOL PARSING CODE
Abstract:
Disclosed in the present invention are a method and system for automatically generating a communication protocol parsing code, wherein the method comprises the steps of: according to a communication protocol of a device, generating a protocol configuration file corresponding to said communication protocol; reading and analyzing the protocol configuration file, and obtaining data query configuration information, control instruction configuration information and monitored amount parsing information for the communication protocol of the device; generating a data query instruction code, a control instruction code and a monitored amount parsing code; combining the data query instruction code, the control instruction code, and the monitored amount parsing code to form a communication protocol parsing code of the device. The method and system for automatically generating a communication protocol parsing code as disclosed by the present invention may automatically generate a communication protocol parsing code, rapidly generate communication protocol parsing codes that are consistent in style and parsing process, and ensure the accuracy of communication protocol parsing while improving the maintainability of the protocol code.