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

XML-based protocol analysis method for Wireshark

An XML protocol and protocol analysis technology, applied in electrical components, transmission systems, etc., can solve the problems of high threshold, time-consuming writing and debugging scripts, etc., and achieve the effect of simplifying maintenance

Inactive Publication Date: 2019-09-20
SHANGHAI ELECTRIC THALES TRANSPORTATION AUTOMATION SYST CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Wireshark is a widely used data packet analysis tool. In order to analyze custom communication protocols in Wireshark, it is often necessary to write corresponding LUA scripts. However, this requires a certain programming foundation. For non-programmers or those who are not familiar with Lua scripts There is a relatively high threshold for personnel, and for complex protocols, writing and debugging scripts is also very time-consuming

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
  • XML-based protocol analysis method for Wireshark
  • XML-based protocol analysis method for Wireshark
  • XML-based protocol analysis method for Wireshark

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further described below in conjunction with accompanying drawing.

[0052] In the field of network communication, the definition of data protocol generally follows the format definition of TLV, as shown in Table 1 below:

[0053] type Length value

[0054] Table 1

[0055] "T" stands for type (type), "L" stands for length (length), and "V" stands for data (value). This is the most common and basic data packet format definition, and all the following introductions will use this basic communication data definition as an example.

[0056] Predefined XML protocol engine:

[0057] XML tag design:

[0058] xs:element, used to represent the element in the data message means to represent the element in the data message.

[0059] xs:complexType, used to define multiple xs:element, custom complex types.

[0060] xs:simpleType, can be used to define enumerated types, custom simple types.

[0061] xs:sequence, which means that th...

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 an XML (Extensive Markup Language)-based protocol analysis method for Wireshark, which comprises the following steps of describing the content of a data message protocol by using an XML tree structure according to the requirements of the data message protocol described in an ICD (Integrated Circuit Device) to form an XML document; enabling the XML protocol engine to automatically analyze the XML document, generate a corresponding protocol analysis tree and store the protocol analysis tree in a memory; and when the Wireshark processes the data message, automatically calling the protocol analysis tree in the memory to generate a corresponding analysis result. The Wireshark protocol analysis can be rapidly and conveniently realized.

Description

technical field [0001] The invention relates to a protocol analysis method for Wireshark based on XML. Background technique [0002] In the current software system, network-based communication is very common, and problems caused by communication errors are endless. Therefore, for developers and operators, protocol analysis tools in the communication process are very important. Wireshark is a widely used data packet analysis tool. In order to analyze custom communication protocols in Wireshark, it is often necessary to write corresponding LUA scripts. However, this requires a certain programming foundation. For non-programmers or those who are not familiar with Lua scripts There is a relatively high threshold for personnel, and for complex protocols, writing and debugging scripts is also very time-consuming. In actual work, test engineers and field engineers often need to view data packets between subsystems. How to implement Wireshark protocol analysis more conveniently an...

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/06H04L29/08
CPCH04L67/02H04L69/03H04L69/06H04L69/08H04L69/22
Inventor 曹威
Owner SHANGHAI ELECTRIC THALES TRANSPORTATION AUTOMATION SYST CO LTD
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