Data transmission and parsing method based on private protocol
A technology of data transmission and private protocol, applied in the field of network management, it can solve the problems of difficult maintenance and inconvenient use, and achieve the effects of efficient analysis, high effective data rate, and easy development and maintenance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0046] Such as figure 1 Shown, the realization of the technical solution of specific embodiment 1 of the present invention comprises the following steps:
[0047] Step S10: the client (data organizer) organizes the protocol data according to the data structure of the client protocol version V(i), fills the protocol data into the data structure used by the client protocol to form the first data, and the client protocol uses The data structure is referred to as the first data structure for short.
[0048] In this first data structure, each entry includes the data structure of the fixed field part and the data structure of the variable length structure part. The fixed field part is used to describe the inherent attributes in the protocol, such as the keyword, name, source and Destination information, etc.; the variable-length structure is used to describe some variable data in the protocol, such as the node information that a route passes through. The specific structure is show...
specific Embodiment 2
[0057] Specific embodiment 2.
[0058] In this specific embodiment 2, since both the data structure used by the client protocol and the data structure used by the server protocol version include the protocol version number, it can be compared by comparing the data structure used by the client protocol and the data structure used by the server protocol version. The protocol version number in the data structure determines how to parse the protocol data. When the fixed field length or variable length structure changes, the version number also changes. Only when the fixed field length or variable length structure is exactly the same, the client protocol version and server protocol version are consistent.
[0059] Such as figure 2 Shown, realize the technical scheme of specific embodiment 2 and comprise the following steps:
[0060] Step S201: Analyze the data structure of the server-side protocol entry, obtain the protocol version number V(j), the total length of the current en...
specific Embodiment 3
[0076] Specific embodiment 3 is the refinement of generating the first data in the present invention, such as image 3 Shown, realize the technical scheme of specific embodiment 3 and comprise the following steps:
[0077] Step S101: Fill in the protocol version information V and the total number of entries N;
[0078] Step S102: Fill in the total length N(t) of the current entry data;
[0079] Step S103: fill in the fixed field length N(f), and fill in the fixed field data;
[0080] Step S104: Fill in the variable length structure number N(c);
[0081] Step S105: cyclically fill in the information of each variable-length structure, including the number of entries N(k) of the variable-length structure s and the field data length N(d) of each entry;
[0082] Step S106: cyclically fill in the data of each entry of the variable-length structure.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com