Unlock instant, AI-driven research and patent intelligence for your innovation.

Message protocol analysis method and device

A protocol analysis and message technology, applied in the computer field, can solve the problems of error message analysis content, failure to check the message parser, interface protocol specification can not expose software users, etc., and achieve high portability

Active Publication Date: 2020-12-22
通号城市轨道交通技术有限公司
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, the interface protocol specification built into the customized message parser cannot be exposed to software users. If the interface protocol specification is updated, the software user cannot check whether the current message parser has been adapted and updated, and may get wrong messages. parsing content

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
  • Message protocol analysis method and device
  • Message protocol analysis method and device
  • Message protocol analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0041] figure 1 It is a schematic flow chart of the message protocol analysis method provided by the first embodiment of the present invention, such as figure 1 As shown, the message protocol analysis method provided by the first embodiment of the present invention includes the following steps:

[0042] Step 110, extract the type field of the pr...

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 embodiment of the invention provides a message protocol analysis method and device, and the method comprises the step: determining, by extracting a type field of a to-be-analyzed message protocoland searching an interface protocol configuration file library according to the type field, an interface protocol configuration file with the same type as the to-be-analyzed message protocol. Therefore, the to-be-analyzed message protocol can be analyzed according to the interface protocol configuration file. According to the embodiment of the invention, the corresponding interface protocol configuration file is defined for each type of message protocol, so that the message protocol can be automatically analyzed, only the configuration file needs to be modified when the message protocol specification is updated. Thus, not only the message protocol content can be accurately obtained after the specification is updated, but also the configuration file can be flexibly modified to satisfy the requirements of different scenes and achieve high transportability.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a message protocol analysis method and device. Background technique [0002] A network protocol is a set of rules, standards or conventions established for data exchange in a computer network. The application layer protocol defines how application processes running on different end systems transmit messages to each other. For the message byte stream of the binary protocol, it is necessary to split the byte into multiple fields and parse out the specific content before the application or user can further process and apply the message data. Since the application layer protocol can be customized according to the requirements, the byte order, packet length, and field composition of each protocol are quite different, and there is no unified parsing method. Text parser to parse. [0003] The custom application layer protocol will be updated and supplemented according to the commun...

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/24H04L69/22
Inventor 袁子薇康峰王福刚郑志敏张志鹏赵安安李天明
Owner 通号城市轨道交通技术有限公司