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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



