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

A method and device for processing drift of tcp flow separated by data and control

A technology for processing devices and data, which is applied in the field of communication, can solve problems such as increased business and clusters that cannot be directly adopted, and achieve the effects of reducing cluster costs, reducing the amount of synchronous data, and reducing bandwidth pressure

Active Publication Date: 2020-06-16
杭州圆石网络安全技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0038] 3) Solve the problem that when the business increases and the cluster needs to be expanded, it is impossible to directly adopt the linear expansion of new equipment

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 and device for processing drift of tcp flow separated by data and control
  • A method and device for processing drift of tcp flow separated by data and control
  • A method and device for processing drift of tcp flow separated by data and control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086]This embodiment is a control data processing flow of the TCP stream drift processing device for separating data and control according to the present invention. Each device in the load balancing cluster acts as a client to independently manage the TCP NAT connection conversion table information of the device, and an additional control device is deployed in the load balancing cluster to centrally store the TCP NAT connection conversion table information of the entire cluster. The control equipment can also be two, one is the main control equipment, and the other is used as the backup. If the main control equipment breaks down, it can switch to the backup control equipment to continue working.

[0087] The structure of this embodiment is as follows Figure 5 As shown, the control data processing flow is as follows:

[0088] 1) TCP flow 1 is processed by load balancing device 1, and after processing, device 1 locally stores the NAT connection translation table information o...

Embodiment 2

[0102] This embodiment is the service data processing flow of the TCP flow drift processing device for separating data and control according to the present invention.

[0103] When the TCP flow drifts, such as Figure 6 As shown, the business data processing flow is as follows:

[0104] 1) When the TCP flow does not drift, it is processed by device 1 in the load balancing cluster. When the TCP flow drifts due to various reasons, some packets are forwarded to device 3 for processing (dotted line 1);

[0105] 2) When device 3 receives the TCP message, it searches the local TCP NAT connection conversion table. Since the TCP connection is established on device 1, the relevant connection information cannot be found in device 3, and device 3 forwards the message through the internal channel to the control device for processing (dotted line 2);

[0106] 3) After the control device receives the message, it queries the global TCP NAT connection conversion table to find that the TCP c...

Embodiment 3

[0118] This embodiment is the service data processing flow of the TCP flow drift processing device for separating data and control according to the present invention.

[0119] When the TCP flow drifts, such as Figure 7 As shown, the business data processing flow is as follows:

[0120] 1) When the TCP flow does not drift, it is processed by device 1 in the load balancing cluster. When the TCP flow drifts due to various reasons, some packets are forwarded to device 3 for processing (see dotted line 1 in the figure);

[0121] 2) When device 3 receives the TCP message, it searches the local TCP NAT connection conversion table. Since the TCP connection is established on device 1, the relevant connection information cannot be found in device 3, and device 3 sends RPC to the control device through the internal channel. (Remote Procedure Call, remote procedure call) query flow ownership device (see dotted line 2 in the figure);

[0122] 3) The control device queries the connection...

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 TCP flow drift processing method and device with separated data and control. The method comprises the following steps of deploying control equipment i in a load balancing cluster, wherein TCP NAT connection conversion table information stored in each load balancing equipment is stored in the control equipment at the same time; when the load balancing equipment receives a TCP (Transmission Control Protocol) message with flow drift, sending the TCP message to the load balancing equipment; sending the TCP message to the control equipment or sending a query request of TCPconnection information to which the message belongs to the control equipment; and enabling the control equipment receiving the TCP message or the load balancing equipment receiving feedback information of the control equipment to send the message to the corresponding load balancing equipment, and enabling the corresponding load balancing equipment to forward the message to a destination server after performing NAT (Network Address Translation) on the message. By adopting the load balancing cluster provided by the invention, the NAT connection conversion table of the whole cluster can be efficiently managed, the bandwidth pressure is reduced, and the cluster cost is reduced.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a load balancing processing method and device. Background technique [0002] Definition of Key Terms [0003] load balancing cluster [0004] Load balancing technology is to build multiple processing devices with the same business function, and use a specific algorithm to connect the same VIP (Virtual IP Address, virtual IP address, which is an IP address that is not connected to a specific computer or a network card in a computer) The network traffic is balanced and distributed to multiple processing devices to run simultaneously, so as to complete work tasks collaboratively. The source IP / port used by the load balancing cluster to forward traffic to the destination server is called Local IP / Port (also called back-source IP / Port). The device responsible for evenly distributing traffic through a certain algorithm is the load balancing device. In large-scale appl...

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/12H04L29/08
CPCH04L61/2503H04L61/2521H04L61/2525H04L67/10H04L67/1023
Inventor 程行峰蓝维宇
Owner 杭州圆石网络安全技术有限公司