Supercharge Your Innovation With Domain-Expert AI Agents!

Communication protocol analysis method based on character string type data

A technology of string type and communication protocol, which is applied in the field of automatic analysis, can solve the problem of variable length of communication data packets, and achieve the effect of strong versatility

Active Publication Date: 2017-10-31
上海真虹信息科技有限公司
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned shortcomings existing at present, the present invention provides a communication protocol analysis method based on character string type data, which solves the problem of indefinite length of communication data packets on the one hand, and also solves the problem of automatically analyzing according to the communication protocol format on the other hand

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 based on character string type data
  • Communication protocol analysis method based on character string type data
  • Communication protocol analysis method based on character string type data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] 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.

[0038] Such as figure 1 As shown, the principle of the present invention is: firstly, a communication protocol editing tool is provided for testers to input or import existing communication protocol information, and the input or imported communication protocol information can be automatically saved into an xml file in a specified format by the communication protocol editing tool , and then the tester calls the communication protocol analysis module when receiv...

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 communication protocol analysis method based on character string type data. The method comprises the following steps: firstly, providing a communication protocol editing tool for a tester to record or import existing communication protocol information, storing the communication protocol information as an xml file in a specified format, when the tester receives the data of a tested file, automatically analyzing the currently data packets belongs to which protocol format and the values of protocol fields in the protocol format by a communication protocol analysis module so as to perform test judgment and processing in the test process. By adoption of the communication protocol analysis method, the received and sent data are automatically analyzed, identified and processed in a communication process. The typical application is Ethernet communication, serial communication and the like as an example.

Description

technical field [0001] The patent of the present invention relates to a general automatic analysis method of the I / O communication protocol based on the character string type, which can automatically analyze, identify and process the data sent and received during the communication process. Typical applications such as Ethernet communication, serial communication, etc. Background technique [0002] In the automated black-box testing of embedded software, many software under test communicate with the outside world based on the communication protocol of string-type data packets, and this often requires parsing the string-type data packets to solve each The specific value of the field; although for a software under test, its communication protocol is relatively fixed, you can write a decoding program in the test program according to the communication protocol provided by the software under test after receiving the data, but if a software under test Involving a variety of differ...

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
IPC IPC(8): H04L29/06
CPCH04L69/22
Inventor 周江伟李胜
Owner 上海真虹信息科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More