Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 hash key of the TCP session needs to be calculated by a hash function. The algorithm is more complicated, and many In the case of massive data, the recombination efficiency of the calculation is low

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

Embodiment approach

[0095] Mode 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 as duplicate content, And discard the current TCP packet.

[0096] Method 2, if the SEQ of the current TCP message is greater than the SEQ of the previous TCP message, the SEQ of the current TCP message is less than the sum of the SEQ and LEN of the previous TCP message, and the sum of the SEQ and LEN of the current TCP message is greater than The sum of SEQ and LEN of the last TCP message; then:

[0097] Take the first M bytes in the current TCP message as repeated content, and delete the repeated content from the current TCP message; where, M is equal to the sum of SEQ and LEN of the previous TCP message minus the current TCP message The difference obtained by SEQ;

[0098] Reset the SEQ of the current TCP message, ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products