Connection establishment method, system and device and storage medium

A connection establishment and connection request technology, applied in the computer field, can solve problems such as data parsing failure of the back-end server, back-end server does not support proxy protocols, etc., and achieve the effect of meeting diverse connection requirements

Pending Publication Date: 2022-03-18
ALIBABA CLOUD COMPUTING LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some back-end servers in some load balancing clusters do not support the proxy protocol. If the client and the load balancer cannot distinguish which back-end servers do not support the proxy protocol, if the data packet carrying the proxy protocol is sent to For the backend server that does not support the proxy protocol, it will cause the data parsing failure of the backend server that does not support the proxy protocol

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
  • Connection establishment method, system and device and storage medium
  • Connection establishment method, system and device and storage medium
  • Connection establishment method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Such as figure 1 It is a schematic structural diagram of a load balancing cluster provided in the embodiment of the present application. From figure 1 As can be seen in , including clients, load balancers, and multiple backend servers. In some specific scenarios of load balancing clusters, the load balancer (Server Load Balancer, SLB) mounts the classic cloud server (Elastic Compute Service, ECS), and the load balancer uses source and destination address translation (Full Net Address Translation, FNAT) way to forward. In this case, the source information (for example, source address) in the message sent by the client to the load balancer will be replaced with the address provided by the load balancer, that is, the backend server cannot see the real source information such as the source address. terminal information. Later, after upgrading the kernel of the back-end server, the upgraded back-end server can obtain the required source information of the client. It is ...

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 embodiment of the invention provides a connection establishment method and system, equipment and a storage medium. The method comprises the following steps: receiving connection request information sent by a client; wherein the connection request information carries proxy information; when the first kernel module exists, the proxy information is ignored, and a connection response is fed back to the client based on the connection request information so as to establish connection with the client; and when the client has the second kernel module, acquiring the proxy information through the second kernel module to participate in corresponding processing, and feeding back a connection response to the client based on the connection request to establish connection with the client. According to the scheme, a plurality of different types of back-end servers can be contained in the load balancing cluster at the same time, and the protocol content is inserted into the first handshake message, so that the connection of the back-end servers which do not support the proxy protocol cannot be negatively influenced; and meanwhile, the requirement of establishing connection with a back-end server supporting a proxy protocol can be met, and diversified connection requirements can be met.

Description

technical field [0001] The present application relates to the computer field, and in particular to a connection establishment method, system, device and storage medium. Background technique [0002] Load balancing SLB (Server Load Balancer) is a service that distributes traffic on demand. It expands the throughput of the application system by distributing traffic to different back-end servers, and can eliminate single points of failure in the system and improve application performance. System availability. [0003] However, in some scenarios, FNAT conversion is performed on the client IP address, and the backend server cannot directly obtain the real IP of the client. The source information (source IP, destination IP, source port, destination port, etc.) is added to the TCP data packet header through the proxy protocol (Proxy Protocol), so that the back-end server can obtain the source information. However, some back-end servers in some load balancing clusters do not suppo...

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): H04L67/141H04L67/56H04L69/22H04L67/1001
CPCH04L67/141H04L69/22
Inventor 柯进
Owner ALIBABA CLOUD COMPUTING LTD
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