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

Protocol analysis method and device for data packet

A protocol analysis and data packet technology, applied in the field of data packet protocol analysis methods and devices, can solve problems such as inability to parse any data packet protocol, and achieve the effect of accelerating positioning speed

Active Publication Date: 2018-05-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention provides a protocol analysis method and device for data packets to solve the technical problem in the prior art that protocol analysis cannot be performed on any transmitted data packets

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
  • Protocol analysis method and device for data packet
  • Protocol analysis method and device for data packet
  • Protocol analysis method and device for data packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] see figure 1 As shown, Embodiment 1 of the protocol analysis method for data packets provided in the embodiment of the present invention may include the following steps:

[0054] Step 101: Obtain the data packet to be parsed.

[0055] In some possible implementations of the present invention, the specific implementation of obtaining the data packet to be parsed in this step may include:

[0056]Capture data packets on the data transmission link to obtain the captured data packets;

[0057] Restore the captured data packets to binary data packets as the data packets to be parsed.

[0058] You can use packet capture software, such as tcpdump software, to capture data packets on the data transmission link by monitoring the data of the network card, and output the captured data packets on the screen or record them. Generally, during the process of capturing data packets, there may be The originally sent binary data packet is converted into a hexadecimal data packet, so i...

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 protocol analysis method for a data packet. The protocol analysis method is used for carrying out protocol analysis on any transmitted data packet. The method comprises the following steps of acquiring a data packet to be analyzed; receiving a protocol document; generating a protocol decoding function according to the protocol document; and inputting the data packet to beanalyzed into the protocol decoding function in order to acquire a field name included in the data packet to be analyzed and a value of the field name. The invention further discloses a protocol analysis device for the data packet.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a protocol analysis method and device for data packets. Background technique [0002] A protocol refers to a collection of rules, standards or agreements established for data exchange in communications and computer networks, that is, data packets transmitted in communications and computer networks are spliced ​​according to the format specified in the protocol. In the prior art, in some application scenarios, a fixed protocol may be used for data transmission, and each protocol field of the data packet may be analyzed according to a known protocol. However, in other application scenarios, the transmitted data packets may use an unknown protocol, for example, a self-defined protocol, and it is impossible to perform protocol analysis on any transmitted data packets in the prior art. Contents of the invention [0003] In view of this, the present invention provides a protoc...

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/06H04L69/22
Inventor 朱辉云陈焕葵张少愚覃竞才曾岳锋
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • Generate Ideas
  • 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