Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication protocol analysis method and system based on field descriptions

A field description and communication protocol technology, applied in transmission systems, electrical components, etc., can solve the problems of cumbersome communication protocol configuration editing, analysis and analysis processing, inconvenient grasp and use, etc.

Inactive Publication Date: 2020-10-02
常州昊云工控科技有限公司
View PDF13 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these operating instructions can complete the protocol analysis function, they are not the description of the essential structure of the protocol. The configuration, editing, analysis and analysis of the communication protocol are very cumbersome and inconvenient to grasp and use

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
  • Communication protocol analysis method and system based on field descriptions
  • Communication protocol analysis method and system based on field descriptions
  • Communication protocol analysis method and system based on field descriptions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0027] The processing flow of the communication protocol analysis method based on field description in the embodiment of the invention is as follows: figure 2 shown.

[0028] A specific embodiment of the present invention proposes a communication protocol parsing method based on field description, wherein the description and editing method of the communication protocol decomposes the communication protocol data frame into a series of field descriptions, and t...

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 provides a communication protocol analysis method and system based on field descriptions. The method comprises: decomposing a communication protocol data frame into a series of field descriptions; on the basis of the field descriptions, analyzing each piece of byte data of an input communication message from front to back according to the field descriptions, wherein anayzling each piece of field data comprises the following steps that firstly, calculating an existence condition judgment formula; acquiring specific attribute parameters of a referenced field according to referencedefinition attributes of the field descriptions; initializing a repetition frequency counter of the current field as a repetition frequency value of the field; determining the data type of the field,and if the data type of the field is a field block type, executing analysis of each sub-field by adopting a nesting mode; if the type is not the field block type, acquiring data in the communication message according to the data length of the field; calculating a formula of a protocol identification judgment condition, and if a result is wrong, outputting an analysis error prompt; if the result iscorrect, executing the next step; and outputting a character string analysis result of the current field.

Description

technical field [0001] The invention relates to the technical field of digital communication, in particular to a communication protocol analysis method and system based on field description. Background technique [0002] A large number of different industrial sites have defined and adopted a variety of communication protocol standards in order to meet the needs of data collection and communication. Implementing these protocols in devices and equipment requires a significant programming effort. Especially when it is implemented based on programming languages, the development and debugging based on programming languages ​​such as C and Java are complicated and the workload is heavy. When the protocol is modified and upgraded, it is necessary to read and view the code for further programming and debugging tests. The Chinese invention patent "A Configurable Communication Protocol Identification and Analysis Processing System" (patent number: 201410012234.8) proposes a configur...

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/22H04L69/06
Inventor 庞浩成映华金永双周波
Owner 常州昊云工控科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products