Universal communication protocol processing method

A communication protocol and processing method technology, applied in the field of general communication protocol processing, can solve the problems of high parsing error rate, bloated application structure, and heavy workload, so as to reduce the error rate of protocol parsing, avoid bloated architecture, reduce manpower and time cost effect

Inactive Publication Date: 2018-08-03
BEIJING INST OF ELECTRONICS SYST ENG
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on the above background technology, the present invention provides a general communication protocol processing method, which solves the problems of heavy workload, high analysis error rate and bloated application program structure in the existing method

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
  • Universal communication protocol processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention is described in detail by the following examples. It is necessary to point out that this example is only used to further illustrate the present invention, and can not be interpreted as limiting the protection scope of the present invention. Those skilled in the art can according to the above invention Some non-essential improvements and adjustments have been made to the content. In the case of no conflict, the embodiments and the features in the embodiments of the present invention can be combined with each other.

[0018] The concrete steps of general communication protocol decomposition method of the present invention are:

[0019] The first step builds a general communication protocol processing system; the general communication protocol processing system includes: a building block for constructing a general XML protocol file, an associative array acquisition module for obtaining an associative array containing general XML protocol file informat...

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 universal communication protocol processing method, comprising the following steps that S1, a universal communication protocol processing system is established; S2, an establishment module establishes a universal XML protocol file comprising all communication protocols; S3, an associative array obtaining module loads the universal XML protocol file into a two-dimensionalassociative array of a C++ standard template base, thereby obtaining an associative array comprising the universal XML protocol file; and S4, after an application program receives communication data,a universal communication protocol read module selects corresponding protocols in the associative array according to message headers of the communication data, hexadecimal values of words are obtainedaccording to start/end bytes and start/end bits of the words in the corresponding protocols, and practical values of the words are obtained according to types of the communication data, thereby finishing universal communication protocol processing. According to the method, an intermediate link of paper protocols is cancelled, a protocol analysis error rate can be effectively reduced, the manpowerand time cost is reduced, and moreover, application program architecture is prevented from being bloated.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a general communication protocol processing method. Background technique [0002] With the rapid development of computer automation, there are more and more various applications, and the data exchange between applications depends on various protocols to work normally. Due to the vastly different types of automated processing services, the types of protocols are also varied. The traditional solution is that programmers for data exchange first form a data exchange agreement on paper, and then further turn the paper agreement into code. Since computers cannot directly read paper agreements, this design process needs to go through the working process of design ideas-paper agreements-software codes. When there are many agreements, due to the mismatch between the design idea-paper agreement and the paper agreement-software code process, errors will be introduced into the appli...

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/22
Inventor 陈峰刘芊高文龙李庆杰陈迎春刘泽轩刘强
Owner BEIJING INST OF ELECTRONICS SYST ENG
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