Elimination and replacement method of transmission control protocol (TCP) streams

An IP address and quintuple technology, applied in the field of network security, can solve problems such as hardware consumption and large storage, save storage resources and increase the number of concurrent connections.

Inactive Publication Date: 2011-06-15
SUGON INFORMATION IND
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In some systems that need to process TCP data in real time, the host not only needs to get the data transmitted by TCP in time, but sometimes also needs to link the data at the end of the previous data packet with the data at the beginning of the next data packet for processing, that is, It is said that part of the data of the previous data packet needs to be cached to the next data packet. If it is cached in the hardware, the hardware needs to consume a large amount of storage

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
  • Elimination and replacement method of transmission control protocol (TCP) streams
  • Elimination and replacement method of transmission control protocol (TCP) streams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The invention is a hardware-based TCP connection replacement system, which replaces the oldest connection when the connection buffer is full.

[0015] Determine whether the connection buffer is full according to the valid field, and determine which connection is established the earliest according to the AccessOrder field.

[0016] The realization method and process of this invention are as follows:

[0017] (1) The connection management system needs to establish a new connection.

[0018] After receiving the TCP message, the connection management system determines whether a connection needs to be established according to the quaternion (source ip, destination ip, source port, destination port) and the flags state in the TCP header.

[0019] (2) If a new connection is required, a connection table access request is initiated.

[0020] If a new connection needs to be established, access the connection table through the DDR2 controller according to the hash value, and wai...

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 an elimination and replacement method of transmission control protocol (TCP) streams, which is characterized in that a hash table chain is built in accordance with hash values; the lengths of hash collision chains permitted by each table entry are 24; active domains are determined in accordance with a Valid domain; and if 24 entries are used out, the connection which is built for the longest time is selected to replace in accordance with an Access Order domain. In the method, the size of the hash table and the barrel depth are selected reasonably, thus maximally reducing collision replacement and improving hardware performances.

Description

technical field [0001] The invention relates to the field of network security, in particular to a TCP stream elimination and replacement method. Background technique [0002] TCP offloading technology is a technology that solidifies the TCP / IP network protocol stack processing in the host software to the network card hardware to reduce the system CPU load and increase the network IO bandwidth. The TCP offloading system generally includes two parts of functions. The first part is TCP connection state management, which uses the TCP connection table to maintain the state of each TCP connection from start, data transmission, and close. The second part is TCP data management, which is used to reorder the data of out-of-order TCP packets, extract the data transmitted by TCP and submit it to the host. [0003] Generally, in the TCP offloading system, when the hardware performs TCP data management, a data buffer is generally used in the TCP offloading system to extract the data of ...

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 Applications(China)
IPC IPC(8): H04L29/06
Inventor 纪奎窦晓光刘朝辉刘灿李锋伟
Owner SUGON INFORMATION IND
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