A system and method for automatically generating communication protocol analysis codes

A communication protocol and automatic generation technology, applied in the transmission system, electrical components, etc., to achieve the effect of ensuring accuracy and improving maintainability

Active Publication Date: 2018-06-08
SHENZHEN ZTE NETVIEW TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The main purpose of the present invention is to propose a method and system for automatically generating communication protocol parsing codes, aiming at solving the problems existing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A system and method for automatically generating communication protocol analysis codes
  • A system and method for automatically generating communication protocol analysis codes
  • A system and method for automatically generating communication protocol analysis codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0050] Implementations of various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself.

[0051] It should also be further understood that the term "and / or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .

[0052] The descriptions involving "first", "second" and so on in the present invention are only for descriptive purposes, and should not be understood as indicating or implying their relative importance or...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a system and method for automatically generating communication protocol analysis codes. The method includes steps of: generating a protocol configuration file corresponding toa communication protocol according to a device communication protocol; reading and analyzing the protocol configuration file to obtain data query configuration information, control instruction configuration information, and monitoring amount analysis information of the device communication protocol; generating data query instruction codes, control instruction codes, and monitoring amount analysiscodes; and combining the data query instruction codes, the control instruction codes, and the monitoring amount analysis codes to form device communication protocol analysis codes. The method and thesystem achieve automatic generation of the communication protocol analysis codes, can quickly generate communication protocol analysis codes having unified style and analysis processing, can ensure accuracy of communication protocol analysis, and can improve maintainability of protocol codes.

Description

technical field [0001] The invention relates to the technical field of power environment monitoring, in particular to a method and system for automatically generating communication protocol analysis codes. Background technique [0002] The Modbus communication protocol is a common language applied to electronic controllers (smart devices), and has become a general industrial standard. Through this protocol, controllers can communicate with each other, controllers via network (such as Ethernet) and other devices. [0003] In order to realize access to the power equipment that provides the Modbus protocol, the current common practice in the dynamic environment monitoring industry (that is, the power environment monitoring industry) is to first implement a framework for the Modbus protocol. On the basis of this framework, send commands and analyze data in a loop. Each type of Modbus device needs to analyze and develop the protocol according to the Modbus protocol. [0004] At...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
CPCH04L69/03H04L69/06H04L69/22
Inventor 王大勇刘建东李涛
Owner SHENZHEN ZTE NETVIEW TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products