Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for sorting messages in tcp communication connection

A sorting method and message technology, applied in transmission systems, electrical components, etc., can solve problems such as identification, failure to pass ports, inaccurate port identification results, etc., and achieve the effect of simple calculation process, easy implementation, and rapid judgment

Active Publication Date: 2022-01-04
南京安讯科技有限责任公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Port identification is one method, but with the rapid growth of network application types, it is unrealistic for each network application to monopolize a port, which results in extremely inaccurate port identification results, and even some network applications use non-fixed ports , it is not recognized by the port at all

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
  • A method for sorting messages in tcp communication connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with the reaction scheme and specific examples.

[0023] Such as figure 1 As shown, a method for sorting messages in a TCP communication connection includes the following steps: obtaining the last message in the queue is pkt1, its sequence number, confirmation sequence number, and length are respectively seq1, ack1, and len1, and the new message is pkt2 in addition The sequence number, confirmation sequence number, and length are seq2, ack2, and len2 respectively;

[0024] If pkt1 and pkt2 are in the same direction, the source ip address, source port, destination ip address, and destination port of the packet pkt1 are consistent with those of the packet pkt2, and the confirmation sequence number ack1 of the packet pkt1 is equal to the confirmation sequence number ack2 of the packet pkt2 , the sequence number seq1 of packet pkt1 is updated to min(seq1, seq2), and the length len1 of packet pkt...

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 invention relates to a method for sorting messages in a TCP communication connection. By judging that two messages are in the same direction and confirming that the sequence numbers are equal, the sequence numbers and message lengths of the messages are updated to obtain values; for example, two If the messages are in the same direction and the sequence numbers are not equal, then it is necessary to check the sequence number and whether the previous message is at the head of the queue. After the above comparison and judgment, the corresponding judgment result is obtained or the next step is processed until the Until the final judgment result; if the two messages are in different directions, then follow-up corresponding analysis and judgment will be carried out by comparing the sum of the sequence number and length of the last message in the queue and the confirmation sequence number of the new message, until until the final sorting result is obtained. The invention can provide a message sorting method in the TCP communication connection with high calculation accuracy, few external influence factors, simple calculation process and easy implementation.

Description

technical field [0001] The invention relates to the technical field of communication data processing, in particular to a message sorting method in a TCP communication connection. Background technique [0002] Nowadays, people's work and study are more and more inseparable from the network, and the data in the network is becoming more and more valuable. At present, various types of network intermediate devices have appeared to analyze and count network traffic, and finally serve network users. Provide more convenience or protection. [0003] For TCP traffic, the target of analysis is the application data carried by it, and the premise of analysis is to identify the protocol corresponding to the application layer. Port identification is one method, but with the rapid growth of network application types, it is unrealistic for each network application to monopolize a port, which results in extremely inaccurate port identification results, and even some network applications use ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L49/9057H04L47/43
CPCH04L49/9057
Inventor 陈稳
Owner 南京安讯科技有限责任公司