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

Data packet protocol analysis field processing method and processing system

A data field and protocol analysis technology, applied in the field of network communication, can solve problems such as logic confusion and low processing efficiency, and achieve the effect of speeding up matching, reducing total volume, and providing better services

Inactive Publication Date: 2017-11-21
PHICOMM (SHANGHAI) CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to aim at the deficiencies of the above-mentioned prior art, and provide a method that can solve the problems of logic confusion and low processing efficiency in the analysis of the existing data packet protocol, and can solve the problem of massive data packets under big data. Standardized integration of user behavior data, using a wide range of data packet protocol analysis field processing method and system

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
  • Data packet protocol analysis field processing method and processing system
  • Data packet protocol analysis field processing method and processing system
  • Data packet protocol analysis field processing method and processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Such as figure 1 As shown, this embodiment provides a method for processing data packet protocol parsing fields, and the method includes the following steps:

[0057] S10: Obtain a data packet; the data packet can be a data packet in any protocol state, also called a message.

[0058] S20: Establish a dictionary containing data fields;

[0059] The establishment of the dictionary in this step is to display the possible data fields according to the structural characteristics of the data packet itself in each protocol state, and establish it according to the corresponding order and format. Different data packets have different structural characteristics, and these different characteristics are different. It can be crawled and cleaned by means of web crawlers. It should be noted that the establishment of the dictionary does not need to be established through the data packet parsing process.

[0060] The dictionary created in this step is like a clear list of requirement...

Embodiment 2

[0067] Such as figure 2 , image 3 As shown, the difference between this embodiment and the previous embodiments is that this embodiment provides a specific method for establishing a dictionary and a process of parsing data packets, and the step S20 includes:

[0068] S21: Display the required data fields according to the field structure characteristics of the data packet, so as to establish a dictionary containing data fields corresponding to the data packet; it should be noted that there are many data fields in the data packet, some of which contain information values Some are just regular header fields, and only displaying the required data fields can reduce memory while improving the efficiency of field extraction processing and matching.

[0069] S22: Initialize information values ​​corresponding to data field names in the dictionary. After initialization, the information value corresponding to the data field name in the dictionary is empty.

[0070] So far, the dicti...

Embodiment 3

[0088] For the four layers below the application layer, the protocol structure and content are relatively regular, and the order of each other is determined, so the protocol parsing field extraction and dictionary field value matching operations can be performed sequentially. However, at the application layer, there may be hundreds of types of field information, and the field information contained in different user behaviors is also different. The protocol analysis field processing for the application layer requires different methods.

[0089] Such as Figure 4 As shown, the difference between this embodiment and Embodiment 2 is that this embodiment provides a method that is more in line with parsing in the application layer, and the step S30 includes the following steps:

[0090] S31: Perform data conversion on the data packet to obtain an application layer dictionary.

[0091] In this step, since the format and type of the data field in the application layer are not fixed, ...

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 data packet protocol analysis field processing method and a processing system. The method comprises the following steps: S10, a data packet is acquired; S20, a dictionary containing data fields is built, and when a large amount of user network behavior data is acquired for big data service, fast matching and extraction on data packet protocol fields are helped; S30, the content of the data packet is analyzed; and S40, the analyzed information value is saved to a corresponding position in the dictionary. Thus, the problems of logic chaos and low processing efficiency appearing in the existing data packet protocol analysis can be solved, standardized integration can be carried out on the user behavior data in massive data packets under big data, and better service big data analysis can be realized.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and a system for processing data packet protocol parsing fields. Background technique [0002] In the network, the two communicating parties communicate based on standard protocols. When communicating with each other to transmit data, the data is presented in various forms, most of which are stored in the form of data packets and then transmitted. If you want to obtain the relevant content information value of the data packets, you need to carry out the network protocol parse. [0003] Network protocol analysis refers to the analysis of the protocol header and tail of network data packets through programs, so as to understand the behavior of information and related data packets in the process of generation and transmission. The protocol analysis of traditional network devices is usually based on the protocol stack. The protocol stack is a layered analysis system. A...

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/06H04L69/22
Inventor 魏晓林
Owner PHICOMM (SHANGHAI) CO LTD
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