TCP data package transmission method

A transmission method and data packet technology, which is applied in the field of TCP data packet transmission, can solve problems such as limitation, system performance impact, and system performance impact, and achieve the effects of improving efficiency, reducing overhead, and ensuring transparency

Inactive Publication Date: 2008-07-09
PEKING UNIV
View PDF0 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above-mentioned technologies have the following major defects, which lead to a significant drop in the processing efficiency and capacity of the application gateway, and cannot meet the performance requirements in a network environment with high traffic bandwidth and a large number of concurrent sessions: The IP address and port fields are modified and the checksum needs to be recalculated, which will have a certain impact on system performance; (2) NAT technology relies on connection tracking, and a session table needs to be established to store information such as IP addresses and ports for each TCP session. The time and space overhead of session tracking and session table management tasks is heavy, which will seriously affect the performance of the system; (3) in order to maintain the one-to-one correspondence between TCP connections before and after NAT conversion, it is necessary to transfer the data of different TCP connections when performing DNAT operations. The packet destination port is converted to a different local port, so the maximum number of concurrent connections that the system can support is limited by the number of available local ports (no more than 65535); (4) Data is copied multiple times between the kernel layer and the user layer Transmission, and the need to re-construct data packets when sending data, will also seriously reduce system performance

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
  • TCP data package transmission method
  • TCP data package transmission method
  • TCP data package transmission method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Taking the anti-virus application security gateway as an example, an application gateway-oriented TCP protocol processing and stream socket implementation method of the present invention will be described in detail with reference to the accompanying drawings.

[0044] Fig. 1 is a system structure diagram of this embodiment.

[0045] The kernel data structure of the TCP data packet contains a non-local data packet identification field bsepsocket, and the local network protocol stack of the application gateway distinguishes non-local data packets according to whether this field is set to 1 (that is, neither the destination IP address nor the source IP address is a local IP address). address packets) and local packets.

[0046] The kernel data structure of the data packet contains a local listening port field sepsocket_listen_port of the socket to which the data packet belongs. By setting this field, the data packet in the handshake phase of the new TCP connection is assig...

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 aims at providing a transmission method of a TCP data packet. By directly redirecting a non local TCP data packet to a local network protocol stack to process (not dependent on the network address translation technique), stream socket loading equilibrium, reducing the data copying and transmitting between an inner nuclear layer and a user layer, transmitting the TCP data packet directly among the stream sockets of the inner nuclear layer and reducing the cost of the complicated operations such as executing the construction of the data packet in the network protocol stack, the method improves the efficiency of transmitting and processing of the TCP among the modules inside the inner nuclear layer and the efficiency of transmitting data among the business programs of the inner nuclear layer and the user layer, realizes the online high-speed processing of an application gateway to the data of the TCP flow application layer, the rapid retransmission of the TCP data packet and the support on the concurrence of the TCP conversation with a large amount, and guarantees the transparency of the application gateway to a communication source end and a target end.

Description

technical field [0001] The invention belongs to the technical field of computer network and data communication, and relates to a transmission method of a TCP (Transmission Control Protocol) data packet, which can be used in equipment and software of an application gateway, so as to improve the efficiency of the gateway in transmitting TCP data packets and processing its application layer data , reducing system overhead and network latency. Background technique [0002] The application gateway usually uses transparent proxy technology to act as a middleman between the client and the server, receiving the passing TCP data packets and redirecting them to the local network protocol stack at the kernel layer, and the protocol stack performs protocol analysis and processing on the data packets. Recombine the TCP flow, restore and extract the application layer data, and then copy the application layer data from the kernel layer to the user layer through the stream socket (Stream So...

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): H04L12/56H04L29/06H04L12/743H04L12/861
Inventor 张建宇姚嘉刘晓舟廖唯棨邹维
Owner PEKING UNIV
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