An efficient tcp session reorganization method
An efficient, session table entry technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as low efficiency, complex memory management efficiency, memory hits, out-of-order node search tasks, etc., to simplify the comparison process , The TCP session reorganization process and software implementation are simple and efficient, improving efficiency and overall performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] refer to figure 1 A kind of high-efficiency tcp session reorganization device realizing the present invention comprises: data cache module A and data reorganization module B; 1. Data block numbering calculation recording module 14 and B+ tree generation module 15 are formed;
[0056] The effect of session inquiry module 11 is when receiving TCP message 10, according to the IP address that comprises in TCP message 10 and port inquiry corresponding session table item; Session table item comprises session start offset, session end offset, Session end marker, and B+ tree structure for storing data blocks;
[0057] The effect of session start offset recording module 12 is when receiving the first packet of TCP message 10, according to the IP of TCP message 10 and the port information creation session entry, record session start offset, end offset; The value of the start offset is the SEQ value of the first packet + 1, and the end offset is initialized to be the same as the...
Embodiment 2
[0066] see image 3 , the steps to realize the overall process of data reorganization of the present invention are as follows:
[0067] Step 1: receiving a TCP message from a driver or other message capture device;
[0068] Step 2: Determine whether the packet is the first packet of an uplink or downlink packet. If the packet is a SYN or SYN+ACK packet, create a session entry based on the IP and port information of the packet, and record the session start offset. Shift, end offset. The values of the start offset and the end offset are the SEQ value of the first packet + 1. The session entry includes the B+ tree structure required for the session data caching process, the session start and end offsets, and the session end marker. The B+ tree structure will use the data block number as the KEY;
[0069] Step 3: Determine whether the received message is the last packet of the session, if so, update the end offset in the session information, and the end offset value should b...
Embodiment 3
[0073] see figure 2 , the steps to realize the flow process of the session caching process of the present invention are as follows:
[0074] Step 1: After receiving the TCP message, query the corresponding session entry information according to the IP and port;
[0075] Step 2: According to the SEQ value of the current message, the payload length, and the session start and end offsets stored in the session entry, calculate the start offset, end offset, and data block number of the data block corresponding to the current data packet ;
[0076] The calculation method of the start and end offset values is: if the SEQ value of the current message is less than the session start offset value, the start offset should be the maximum value of the current message’s SEQ value plus a 32-bit unsigned integer, Otherwise, the start offset value should be the SEQ value of the current message; the end offset should be the start offset value plus the data packet length; the calculation met...
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