Message regrouping method and equipment

A message and device technology, applied in the field of communication, can solve problems such as complex algorithms and low reorganization efficiency

Inactive Publication Date: 2017-06-30
中国移动通信集团广西有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that in this method, the TCP session to which the HTTP message belongs is determined according to the source IP, destination IP, and source port of the TCP fragment message, and the h

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message regrouping method and equipment
  • Message regrouping method and equipment
  • Message regrouping method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0094] Optionally, in the above step 203, the current TCP packet is deduplicated according to the previous TCP packet, and based on the previous TCP packet, it is determined whether the current TCP packet is placed in a normal queue or an out-of-sequence queue, which specifically includes multiple Implementation manners, the following optional implementation manners are provided in the embodiment of the present invention:

[0095] Method 1: If the SEQ of the current TCP message is equal to the SEQ of the previous TCP message, and the LEN of the current TCP message is not greater than the LEN of the previous TCP message, then all the contents of the current TCP message are determined to be repeated content. And discard the current TCP packet.

[0096] Method 2: If the SEQ of the current TCP packet is greater than the SEQ of the previous TCP packet, the SEQ of the current TCP packet is less than the sum of SEQ and LEN of the previous TCP packet, and the sum of SEQ and LEN of the curr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention relates to the technical field of communications, and especially relates to a message regrouping method and equipment used for realizing message regrouping through a simple method. The method of the embodiment of the invention comprises the following steps: receiving TCP (Transfer Control Protocol) messages corresponding to a TCP session to be regrouped, when determining that the transmission of all TCP messages corresponding to the TCP session to be regrouped is finished, regrouping all TCP messages in a normal queue and a disordered queue according to an acknowledgement ACK of each TCP session, and obtaining multiple groups of TCP messages, wherein the ACKs of all TCP messages in each group of TCP messages are the same, and all TCP messages in each group of TCP messages are arranged according to the ascending order of an SEQ (Sequence) of each TCP message. Thus, message regrouping can be realized only through the ACKs and the SEQs of the TCP messages, and the method is simple and efficient.

Description

technical field [0001] The embodiments of the present invention relate to the communication field, and in particular, to a message reassembly method and device. Background technique [0002] With the rapid growth of network communication traffic, it is usually necessary to perform statistical analysis on transmitted packets in order to detect security threats and understand user needs. Before performing statistical analysis on the transmitted packets, these packets need to be collected first. [0003] The Transmission Control Protocol (TCP for short) is a connection-oriented, byte stream-based transport layer communication protocol. The TCP connection has two corresponding directions of request and response. Each TCP packet has parameters such as a sequence number (Sequence, referred to as SEQ), an acknowledgment number (Acknowledgment, referred to as ACK), and the length of the data packet (Length, referred to as LEN). The data length of a single TCP packet is limited. Wh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L12/951H04L47/43
CPCH04L49/9057H04L69/163
Inventor 韦媚袁兵梁耿李广杰
Owner 中国移动通信集团广西有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products