A universal analysis method for a serial communication information protocol

A technology of communication information and serial communication, which is applied in software testing/debugging, instrumentation, electrical digital data processing, etc. It can solve the problems of low test efficiency, difficulty in modification, inconsistent product communication protocols, etc., and increase readability and modifiability, and the effect of improving versatility

Inactive Publication Date: 2019-05-10
西安现代控制技术研究所
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problems in the prior art that the product communication protocol is not uniform, the test software needs to be continuously modified, the software has poor readability of the protocol content, is not easy to modify, and the test work efficiency is low. The present invention proposes a serial communication information protocol universal Analysis 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
  • A universal analysis method for a serial communication information protocol
  • A universal analysis method for a serial communication information protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0028] Compared with the traditional analysis method, a general analysis method for serial communication information protocol mainly refines and unifies the serial communication information protocol, and opens it to the analyzer in the form of a configuration file, so that the analysis method of the present invention can be applied to Protocol analysis of almost all serial communication information. In order to achieve the general purpose of protocol analysis, it is necessary to solve the problem of unifying or setting common formats of various serial communication information protocols.

[0029] The invention realizes that the serial communication information protocol is unified to be expressed by configuration parameters. refer to figure 1 , in the configuration file template of the serial communication information protocol, firstly, the configuration par...

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 belongs to the field of product test, analysis and evaluation software, and discloses a universal analysis method for a serial communication information protocol, which comprises the following steps of: 1, filling a configuration parameter file according to the communication information protocol; 2, searching a frame header identifier; 3, judging whether a frame header identifier isfound or not; 4, intercepting the protocol byte length of the communication information from the frame header identifier, and judging whether the number of bytes from the frame header identifier to the end of the to-be-analyzed data is smaller than the protocol byte length or not; 5, verifying and judging the communication information protocol; 6, reading the i-th variable, and sequentially analyzing the characteristic parameters of the i-th variable; and 7, judging whether the i-th variable is the last variable information or not. According to the method, the analysis process of the serial port communication information protocol is greatly simplified, the compiling process of different communication protocol analysis software is cancelled, the readability of the communication protocol isimproved, the error rate of the analysis process is effectively reduced, and the efficiency in the debugging work process is remarkably improved.

Description

technical field [0001] The invention relates to the field of product testing, analysis and evaluation software, in particular to a serial communication information protocol analysis method. Background technique [0002] In the process of product testing, because the communication protocols of different products are often different, it is necessary to edit the corresponding analysis software for different products, and the protocol content of conventional protocol analysis software is poorly readable and difficult to modify, which greatly reduces product development. When testing the work efficiency of tasks. Contents of the invention [0003] In order to solve the problems in the prior art that the product communication protocol is not uniform, the test software needs to be continuously modified, the software has poor readability of the protocol content, is not easy to modify, and the test work efficiency is low, etc., the present invention proposes a serial communication ...

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): G06F11/36G06F13/42
Inventor 杨朝明朱启举杨鹏翔阮娟李应举罗晓武陈沣刘琴罗苏慧余晓伟高宗耀白亮谭鹏立卢宝峰李小博
Owner 西安现代控制技术研究所
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