Method and device for restoring network session
A technology for network sessions and network traffic, applied in transmission systems, electrical components, etc., to solve problems such as the inability to restore network sessions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] figure 1 A schematic diagram of a process of restoring a network session provided by an embodiment of the present invention, the process includes the following steps:
[0034] S101: For the data packet transmission in the unidirectional network flow Netflow within a set time length, group according to the identification information of the sender and receiver carried in the data packet in the Netflow, and determine each group of senders in the Netflow and the receiver.
[0035] The method for restoring a network session provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be a gateway device, a network traffic analysis device, and the like.
[0036] The electronic device has a preset time length. Within the preset time length, the sender and the receiver have data packet transmission in Netflow, and the electronic device is grouped according to the identification information of the sender and receiver carr...
Embodiment 2
[0048] In order to restore the network session more accurately, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the traffic statistics information related to the data packet includes at least one of the following:
[0049] The total number of data packets sent by this group of senders, the number of synchronous SYN data packets sent, the number of non-duplicate source ports and the number of non-duplicate destination ports.
[0050] According to the data packet transmission in Netflow within the set time length, for each group of senders and receivers, the electronic device can determine the total number of data packets sent by the group of senders, the number of syn data packets sent, and the number of data packets sent. The number of unique source ports and the number of unique destination ports used to receive packets.
[0051] When the electronic device determines the network session initiator and the network session responder, ...
Embodiment 3
[0062] On the basis of the above embodiments, in the embodiment of the present invention, for each first network traffic statistics table, searching for the second network traffic statistics table mapped to the first network traffic statistics table includes:
[0063] For each first network traffic statistics table, according to the identification information of the sender and the receiver in the first network traffic statistics table, search for the identification information of the receiver and the sender to be respectively related to the sender in the first network traffic statistics table. The identification information of the party and the receiver correspond to the same network traffic statistics table, and the network traffic statistics table is a second network traffic statistics table mapped to the found first network traffic statistics table.
[0064] When the electronic device searches the second network traffic statistics table mapped to the first network traffic st...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


