File restoration method and device for http multi-session in DPI scene
A multi-session and scene technology, applied to electrical components, transmission systems, etc., can solve the problems of large memory consumption, inability to restore file detection and processing in real time, and low timeliness, so as to relieve memory pressure, reduce the length of linked lists, and improve restoration efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiment 1 of the present invention provides a file restoration method of http multi-session in a DPI scene, which is characterized in that the Response response messages corresponding to multiple Get requests are monitored, such as figure 2 As shown, the reduction method includes:
[0052] In step 201, Ack values in Response response messages of multiple Get requests are acquired.
[0053] Such as image 3 As shown, an http request data or http response data can be restored under the same Ack (such as Ack1, Ack2 or Ack3 in the figure), wherein pkt1, pkt2, etc. are carried in the Response response message, And after receiving the Response response message, there may be out-of-order and / or overflow data to be reorganized; http Get request files are in the response data, Post session files are in the request data, and different http sessions are in different linked lists Processing under the node does not interfere with each other, and can process out-of-order pack...
Embodiment 2
[0075] The embodiment of the present invention demonstrates the main method process in Embodiment 1 of the present invention with an intuitive example, as shown in the figure, as Figure 5 As shown, the methods include:
[0076] In step 401, for the TCP stream reassembly of the same quintuple, the data packets with payload length greater than 0 are processed, and the Response response packets without payload do not need to be reassembled.
[0077] In step 402, the sequence number A of seq is acquired with reference to the first Response message processed (whether the message is an out-of-sequence message or not).
[0078] In step 403, an offset value offset0 is obtained by using the fixed four-byte N-A. Among them, regarding the value of N (that is, the preset set in Embodiments 1 and 2 of the present invention): if the maximum value of the difference between the out-of-order seqs of two messages is M, and the value of N is larger than M, this The difference M is generally n...
Embodiment 3
[0109] Such as Figure 8 As shown, it is a schematic structural diagram of an http multi-session file restoration device in a DPI scenario according to an embodiment of the present invention. The http multi-session file restoration device in the DPI scenario of this embodiment includes one or more processors 21 and memory 22 . in, Figure 8 A processor 21 is taken as an example.
[0110] Processor 21 and memory 22 can be connected by bus or other means, Figure 8 Take connection via bus as an example.
[0111] The memory 22, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the http multi-session file restoration method in Embodiment 1. The processor 21 executes the http multi-session file restoration method in the DPI scenario by running the non-volatile software programs and instructions stored in the memory 22 .
[0112] The memory 22 may include a high-speed ra...
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