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

A tcp connection reordering method

A technology for reordering and connection status, applied in the field of Internet communication

Active Publication Date: 2015-08-19
中科腾龙信息技术有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of operating system TCP / IP protocol stack to realize TCP connection restoration is based on pure software, which will bring a lot of memory bandwidth overhead, memory space overhead and CPU processing overhead to the host.

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 tcp connection reordering method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The specific details of this solution will be described below by taking an example of allocating a buffer of 8Kbyte size for each out-of-order connection and caching up to 8 messages.

[0015] figure 1 It is a schematic diagram of an 8K buffer allocated for an out-of-order connection, where the buffer head has at least 48 bytes of header data structure (descriptor) used to describe the position and order of out-of-order packets in the table and other status information. This area is followed by an area for storing out-of-sequence messages. The focus of the present invention lies in the structure of the buffer head, and the meaning and usage of each field will be explained below.

[0016] 1.BN: Indicates the number of out-of-sequence packets cached in the buffer.

[0017] 2.BV: In the header structure, the length and serial number information of each out-of-sequence message needs to be maintained, as shown in line 2 / 3, this field indicates which of them are valid;

[...

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 provides a method for reordering TCP (transmission control protocol) connections. In the method, a DDR (double data rate) memory bank is additionally arranged in a network card for storing Tcp connection states and disordered messages, and a buffer area with a fixed size is distributed for each disordered connection by a network processing chip and used for recording the disordered states and the buffered disordered messages. By adopting the method in the invention to realize the maintenance of a connection table, the CPU (central processing unit) load is greatly lowered, the capability for processing network data of a system is improved, and the scheme adopted by the method in the invention has good expandability along with the increment of the network bandwidth.

Description

technical field [0001] The invention relates to the field of Internet communication, in particular to a TCP connection reordering method. Background technique [0002] Since the Tcp protocol allows the connected data packets to arrive at the destination out of order, the TCP / IP protocol stack of the destination computer needs to reorder the out-of-order packets according to the sequence numbers, that is, perform stream reassembly, and then submit them to the application for use. The existing solution is to realize the maintenance of the TCP connection through the TCP / IP protocol stack of the operating system. The protocol stack maintains a data structure that records the connection status for each active connection, and caches out-of-order messages. When all the out-of-order messages of the connection arrive, the buffered messages are submitted to the application program in sequence number order. The way that the operating system TCP / IP protocol stack implements TCP connect...

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): H04L29/06
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