CN111193756B - VXLAN tunnel load balancing method and related equipment - Google Patents

VXLAN tunnel load balancing method and related equipment Download PDF

Info

Publication number
CN111193756B
CN111193756B CN201811352663.4A CN201811352663A CN111193756B CN 111193756 B CN111193756 B CN 111193756B CN 201811352663 A CN201811352663 A CN 201811352663A CN 111193756 B CN111193756 B CN 111193756B
Authority
CN
China
Prior art keywords
service data
identification information
server
current service
vxlan message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811352663.4A
Other languages
Chinese (zh)
Other versions
CN111193756A (en
Inventor
许赛群
严思韵
晁军显
张涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811352663.4A priority Critical patent/CN111193756B/en
Publication of CN111193756A publication Critical patent/CN111193756A/en
Application granted granted Critical
Publication of CN111193756B publication Critical patent/CN111193756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a VXLAN tunnel load balancing method and related equipment, wherein the method comprises the following steps: the gateway equipment receives a service message sent by user equipment, wherein the service message comprises identification information of the user equipment, and the identification information is used for uniquely identifying the user equipment; the gateway equipment extracts the identification information from the service message; the gateway equipment sets the identification information in the VXLAN message and carries out tunnel encapsulation; and the gateway equipment sends the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information. In this manner, the load balancer can achieve user-level load balancing.

Description

VXLAN tunnel load balancing method and related equipment
Technical Field
The invention relates to the technical field of network communication, in particular to a VXLAN tunnel load balancing method and related equipment.
Background
With the development of network communication technology, user equipment such as a mobile phone, an ipad and the like are used more and more, and the user equipment can realize work, entertainment and other services. Generally, due to the limited processing capability of the user equipment, some services in the user equipment need to be handed over to a server for processing, and if all the user equipment uniformly sends the services to one server for processing, the server needs to process heavy tasks and is low in working efficiency. More servers are required to load balance the traffic of the user equipment.
In the prior art, the load of the traffic of the user equipment to different servers is mainly achieved by the following methods:
please refer to fig. 1, which shows an application scenario in the prior art. As shown in fig. 1, the scenario includes 4 user devices, 3 routers, 2 gateway devices, 1 Load Balance (LB), and 3 servers.
As shown in fig. 1, the service packets forwarded by the same router are load-balanced by the load balancer to the same server. For example, the traffic packets of the user equipments 3-4 are all forwarded via the router 3, so the traffic packets of the user equipments 3-4 are load-balanced by the load balancer to the same router (such as the router 3).
Therefore, when the traffic volume forwarded by a certain router is large, the router uniformly load-balances the large number of traffic messages to the same server, which is easy to cause heavy traffic processing of the server. When the service message amount forwarded by another router is less, the router uniformly balances the load of the less service messages to another server, and the server has small processing service amount and is idle.
Therefore, in the load balancing scheme in the prior art, when the load balancer carries the service packet to the server in a balanced manner, only which router sends the service packet is known, and which user equipment sends the service packet cannot be known. Therefore, the existing load balancing scheme only achieves load balancing at the router level and does not achieve load balancing at the user level.
Disclosure of Invention
The embodiment of the invention provides a VXLAN tunnel load balancing method and related equipment, which are used for realizing load balancing at a user level.
In a first aspect, an embodiment of the present invention provides a VXLAN tunnel load balancing method, where the method includes:
the method comprises the steps that gateway equipment receives a service message sent by user equipment, wherein the service message comprises identification information of the user equipment, and the identification information is used for uniquely identifying the user equipment;
the gateway equipment extracts the identification information from the service message;
the gateway equipment sets the identification information in a VXLAN message and performs tunnel encapsulation;
and the gateway equipment sends the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, the service message further includes current service data of the user equipment, and the gateway device sets the identification information in a VXLAN message, and performs tunnel encapsulation, including:
the gateway equipment performs HASH operation on the source IP address to obtain an HASH value;
the gateway equipment sets the HASH value in a field in a message header of the VXLAN message;
the network device sets the current service data in other fields in the VXLAN message.
Optionally, the HASH value is in a source port field of an outer UDP header of the VXLAN packet.
In a second aspect, an embodiment of the present invention provides a VXLAN tunnel load balancing method, where the method includes:
a load balancer receives a VXLAN message sent by gateway equipment, wherein the VXLAN message comprises identification information of user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the load balancer determines a server corresponding to the identification information according to a preset strategy and the identification information;
and the load balancer sends the VXLAN message to the determined server so that the server analyzes the VXLAN message to obtain the current service data and processes the current service data.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, the determining, by the load balancer, a server corresponding to the identification information according to a preset policy and the identification information includes:
the load balancer determines a server with the current load capacity smaller than a preset load capacity; or
The load balancer determines a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
And the load balancer determines the server to which the last VXLAN message sent by the source IP address is loaded.
Optionally, the method comprises:
the method comprises the steps that a server receives a VXLAN message sent by gateway equipment, wherein the VXLAN message comprises identification information of user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the server acquires service data which is sent by the user equipment before the current service data and is associated with the current service data;
and the server processes the current service data based on the associated service data and the current service data.
Optionally, before the server processes the current service data based on the associated service data and the current service data, the method further includes:
and the server carries out decapsulation processing on the VXLAN message to obtain the current service data in the VXLAN message.
Optionally, the obtaining, by the server, service data associated with the current service data sent by the user equipment before sending the current service data includes:
data synchronization between the server and other servers;
and the server acquires the service data which is sent by the user equipment before the current service data and is associated with the current service data from the other servers.
In a third aspect, an embodiment of the present invention provides a gateway device, including: a receiving unit, a processing unit and a transmitting unit; wherein the content of the first and second substances,
the receiving unit is configured to receive a service packet sent by a user equipment, where the service packet includes identification information of the user equipment, and the identification information is used to uniquely identify the user equipment;
the processing unit is configured to extract the identification information from the service packet;
the processing unit is also used for setting the identification information in a VXLAN message and carrying out tunnel encapsulation;
and the sending unit is used for sending the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, the service message further includes current service data of the user equipment, and when the processing unit is configured to set the identification information in a VXLAN message and perform tunnel encapsulation, the processing unit is specifically configured to:
performing HASH operation on the source IP address to obtain an HASH value;
setting the HASH value in a field in a message header of the VXLAN message;
and setting the current service data in other fields in the VXLAN message.
Optionally, the HASH value is in a source port field of an outer UDP header of the VXLAN packet.
In a fourth aspect, an embodiment of the present invention provides a gateway device, including: a receiver, a processor, and a transmitter; wherein the content of the first and second substances,
the receiver is configured to receive a service packet sent by a user equipment, where the service packet includes identification information of the user equipment, and the identification information is used to uniquely identify the user equipment;
the processor is used for extracting the identification information from the service message;
the processor is also used for setting the identification information in a VXLAN message and carrying out tunnel encapsulation;
and the sender is used for sending the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, the service message further includes current service data of the user equipment, and when the processor is configured to set the identification information in the VXLAN message and perform tunnel encapsulation, the processor is specifically configured to:
performing HASH operation on the source IP address to obtain an HASH value;
setting the HASH value in a field in a message header of the VXLAN message;
and setting the current service data in other fields in the VXLAN message.
Optionally, the HASH value is in a source port field of an outer UDP header of the VXLAN packet.
In a fifth aspect, an embodiment of the present invention provides a load balancer, including: a receiving unit, a processing unit and a transmitting unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises identification information of the user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the processing unit is used for determining a server corresponding to the identification information according to a preset strategy and the identification information;
and the sending unit is used for sending the VXLAN message to the determined server so that the server analyzes the VXLAN message to obtain the current service data and processes the current service data.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, when the processing unit is configured to determine, according to a preset policy and the identification information, a server corresponding to the identification information, the processing unit is specifically configured to:
determining a server with the current load less than a preset load; or
Determining a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
And determining the server to which the last VXLAN message sent by the source IP address is loaded.
In a sixth aspect, an embodiment of the present invention provides a load balancer, including: a receiver, a processor, and a transmitter; wherein the content of the first and second substances,
the receiver is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises identification information of the user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the processor is used for determining a server corresponding to the identification information according to a preset strategy and the identification information;
and the sender is used for sending the VXLAN message to the determined server so that the server analyzes the VXLAN message to obtain the current service data and processes the current service data.
Optionally, the identification information includes a source IP address of the user equipment.
Optionally, when the processor is configured to determine, according to a preset policy and the identification information, a server corresponding to the identification information, the processor is specifically configured to:
determining a server with the current load less than a preset load; or
Determining a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
And determining the server to which the last VXLAN message sent by the source IP address is loaded.
In a seventh aspect, an embodiment of the present invention provides a server, including: a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises identification information of the user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the processing unit is configured to acquire service data associated with the current service data, which is sent by the user equipment before the current service data is sent;
the processing unit is further to: and processing the current service data based on the associated service data and the current service data.
Optionally, when the processing unit is configured to, before processing the current service data based on the associated service data and the current service data, specifically:
and decapsulating the VXLAN message to obtain the current service data in the VXLAN message.
Optionally, when the processing unit is configured to obtain service data associated with the current service data, which is sent by the user equipment before sending the current service data, the processing unit is specifically configured to:
data synchronization with processing units of other servers;
and acquiring the service data which is sent by the user equipment before the current service data is sent and is associated with the current service data from the processing unit of the other server.
In an eighth aspect, an embodiment of the present invention provides a server, including: a receiver, a processor; wherein the content of the first and second substances,
the receiver is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises identification information of the user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the processor is configured to acquire service data associated with the current service data, which is sent by the user equipment before the current service data is sent;
the processor is further configured to: and processing the current service data based on the associated service data and the current service data.
Optionally, when the processor is configured to, before processing the current service data based on the associated service data and the current service data, specifically:
and carrying out decapsulation processing on the VXLAN message to obtain the current service data in the VXLAN message.
Optionally, when the processor is configured to acquire service data associated with the current service data that is sent by the user equipment before the current service data is sent, the processor is specifically configured to:
data synchronization with processors of other servers;
and acquiring the service data which is sent by the user equipment before the current service data is sent and is associated with the current service data from the processor of the other server.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, the computer program including program instructions that, when executed by a computer, cause the computer to perform the method of the first aspect or any one of the possible designs of the first aspect; or, when executed by a computer, cause the computer to perform the second aspect or any one of the possible design methods of the second aspect; alternatively, the program instructions, when executed by a computer, cause the computer to perform the third aspect or any one of the possible design methods of the third aspect described above.
In a tenth aspect, an embodiment of the present invention provides a computer program product, where the computer program product stores a computer program, and the computer program includes program instructions, which, when executed by a computer, cause the computer to execute the first aspect or any one of the possible design methods of the first aspect; alternatively, the program instructions, when executed by a computer, cause the computer to perform the method of the second aspect or any one of the possible designs of the second aspect described above; alternatively, the program instructions, when executed by a computer, cause the computer to perform the third aspect or any one of the possible design methods of the third aspect described above.
The invention has the following beneficial effects:
in the technical scheme of the embodiment of the invention, gateway equipment receives a service message sent by user equipment, wherein the service message comprises identification information of the user equipment, and the identification information is used for uniquely identifying the user equipment; the gateway equipment extracts identification information from the service message; the gateway equipment sets the identification information in the VXLAN message and carries out tunnel encapsulation; and the gateway equipment sends the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information. In this manner, the load balancer can achieve user-level load balancing.
Drawings
FIG. 1 is a diagram of an application scenario in the prior art;
fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 3A is a schematic flowchart of a VXLAN tunnel load balancing method according to an embodiment of the present invention;
fig. 3B is a schematic diagram of a VXLAN message according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a gateway device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another gateway device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a load balancer according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another load balancer provided in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The shapes and sizes of the various elements in the drawings are not to scale and are merely intended to illustrate the invention.
Fig. 2 is a schematic diagram of an application scenario according to an embodiment of the present invention. As shown in fig. 2, the application scenario includes a plurality of user equipments (for example, 4 user equipments in fig. 2), a plurality of gateway equipments (for example, 2 gateway equipments in fig. 2), and a plurality of servers (for example, 3 servers in fig. 2). Each gateway device may receive service packets (including current service data) sent by multiple user devices, for example, the gateway device 1 may receive service packets sent by the user devices 1 and 2, and the gateway device 2 may receive service packets sent by the user devices 3 and 4.
In the VXLAN tunnel load balancing method provided in the embodiment of the present invention, a service packet sent by a user equipment to a gateway device carries current service data and identification information for uniquely identifying the user equipment, where the identification information may be a source Internet Protocol (IP) Address, or other identification information (such as a device identifier, an MAC Address, and the like) for identifying the user equipment. For example, the service packet 1 carries the identification information 1 (IP 1) of the user equipment 1.
And the gateway equipment extracts the identification information from the service message and sets the identification information and the current service data in the VXLAN message for tunnel encapsulation. For example, the gateway device 1 extracts the IP1 from the service message 1, and sets the IP1 and the current service data in the service message 1 in the VXLAN message for tunnel encapsulation. And the gateway equipment 1 sends the encapsulated VXLAN message to a load balancer. The load balancer decides to which server (a specific implementation manner is described below), such as the server 1, to send the VXLAN message according to a preset policy and the identification information.
The server 1 decapsulates the received VXLAN message, acquires the current service data of the user, and performs service processing according to the current service data.
In summary, since the identification information can uniquely identify the user equipment, when the gateway device performs balanced load on the service packet to the server through the load balancer, the load balancer knows which user equipment the service packet belongs to, and thus the load balancer can perform user-level load balancing.
Fig. 3A is a schematic flow chart of a VXLAN tunnel load balancing method according to an embodiment of the present invention. The method is applicable to the application scenario shown in fig. 2 or a similar application scenario. As shown in fig. 3A, the flow of the method includes:
s301, the user equipment sends a service message to the gateway equipment. The service packet includes identification information (hereinafter, the identification information is taken as an example of a source IP address) and current service data.
Optionally, the user equipment may be a terminal device such as a computer, a mobile phone, and an iPad. The plurality of user equipments may be the same type of terminal equipment or different types of terminal equipment, and the embodiment of the present invention is not limited.
Optionally, the user equipment may send the service packet to the gateway device through multiple paths, which is not limited in the embodiment of the present invention. For example, the user equipment may directly send the service packet to the gateway device (i.e., the packet is not forwarded between the user equipment and the gateway device through other devices). For another example, the user equipment may send the service packet to the gateway device via the router (i.e., the router forwards the service packet of the user equipment to the gateway device). In the following, the user equipment directly sends the service packet to the gateway device is taken as an example.
Optionally, the service packet received by the gateway device and sent by the user device includes identification information of the user device and current service data, where the identification information is used to uniquely identify the user device. Optionally, the identification information may be used to uniquely identify the user equipment, and the identification information may be a source IP address, or other identification information (such as a device identifier of the user equipment, a MAC address, and the like) that may uniquely identify the user equipment, which is not limited in the embodiment of the present invention. For example, please refer to fig. 2 continuously, the gateway device 1 receives the service packet 1 sent by the user device 1, where the service packet includes an IP1 of the user device, and the IP1 is used to uniquely identify the user device 1. The identification information is taken as a source IP address as an example.
S302, the gateway device extracts the source IP address from the service message, and sets the source IP address and the current service data in the service message in the VXLAN message for tunnel encapsulation.
Optionally, the VXLAN message includes a five-tuple parameter, where the five-tuple parameter includes a source IP address, a destination IP address, a protocol number, a source port number, and a destination port number.
Optionally, the gateway device may set the source IP address and the current service data in the service message in the VXLAN message in various ways to perform tunnel encapsulation. For example, the gateway device performs HASH operation on the source IP address to obtain a HASH value, sets the HASH value in one field of the packet header of the VXLAN packet (for example, the HASH value is in the source port number field of the outer UDP header of the VXLAN packet), sets the current service data in the service packet in the other fields of the VXLAN packet, and performs tunnel encapsulation. For example, please continue to refer to fig. 2, the gateway device 1 may extract IP1 from the service packet 1 (for example, IP1 is 192.168.1.25), the gateway device 1 performs HASH operation on IP1 to obtain a HASH value, sets the HASH value in a source port field of an outer UDP header of a packet header of the VXLAN packet, sets current service data in other fields in the VXLAN packet, and performs tunnel encapsulation.
For example, please refer to fig. 3B, which is a schematic diagram of a VXLAN message provided in the embodiment of the present application. And the gateway equipment extracts the source IP address in the service message and performs HASH operation to obtain an HASH value. The gateway device sets the HASH value in the source port number field. The gateway device then sets the packet including the source port number field in the outer UDP header in the VXLAN packet and the current traffic data in the last field (i.e., the original data) in the VXLAN packet. Of course, fig. 3B is only an example, and the source IP address of the ue may also be set in a certain field in other messages, as long as the load balancer can know which ue sent different service messages.
In general, a general load balancer can only resolve a five-tuple parameter, and in the prior art, since information required for load balancing by the load balancer is set in a reserved field in a VXLAN message, the general load balancer cannot resolve the reserved field in the VXLAN message, and thus a load balancer capable of resolving the reserved field in the VXLAN message needs to be customized. However, the source IP address in the implementation of the present invention is set in the source port number field of the outer UDP header of the VXLAN message, so the ordinary load balancer can identify the source port number field of the outer UDP header of the VXLAN message. Therefore, a common load balancer is adopted without customizing a corresponding load balancer to analyze the VXLAN message.
S303, the gateway device sends the encapsulated VXLAN packet (the VXLAN packet includes the source IP address and the current service data) to the load balancer.
Optionally, the gateway device may send the encapsulated VXLAN message (the VXLAN message includes the source IP address and the current service data) to the load balancer, so that the load balancer performs load balancing on the VXLAN message according to the source IP address.
S304, the load balancer analyzes the source IP address in the VXLAN message, and determines the server corresponding to the source IP address according to the preset strategy and the source IP address.
Optionally, when the load balancer receives a VXLAN message encapsulated by the gateway device, the load balancer parses the VXLAN message to obtain a source IP address, and determines a server corresponding to the source IP address according to a preset policy and the source IP address.
Optionally, the load balancer may determine the server corresponding to the source IP address in various ways by presetting a policy and the source IP address. For example, the preset policy may be that the load balancer determines the server according to a load balancing algorithm (for example, a load balancing algorithm such as a source IP address hashing algorithm, a polling algorithm, a random algorithm, and the like, which is not limited in the embodiment of the present invention).
Three preset strategies are listed below.
Strategy one: the load balancer may determine a server having a current load amount less than a preset load amount.
For example, referring to fig. 2, assuming that the preset load is 5, the load balancer performs operation by using the source IP address by using a polling algorithm, and it is determined that the load of the server 1 is 4 smaller than 5, the load of the server 2 is 7, and the load of the server 3 is 8 larger than 5, and then the server corresponding to the source IP address of the load balancer is the server 1.
By the method, the phenomenon that server resources are seriously wasted due to the fact that one server has very large processing traffic and is in a busy state and other servers have very small traffic and are in an idle state can be avoided as much as possible.
And (2) strategy two: and the load balancer determines the server corresponding to the source IP address according to the preset corresponding relation between the source IP address and the server.
For example, please refer to fig. 2 continuously, the load balancer may establish a relationship between the source IP address and the server before forwarding the VXLAN packet to the server, and for example, please refer to table 1, which is a corresponding relationship between the source IP address and the server provided in the embodiment of the present invention.
TABLE 1
Source IP address Server
IP1 Server 1
IP2 Server 1
IP3 Server 2
IP4 Server 3
As shown in table 1, the load balancer determines, according to IP1, that the server 1 corresponding to IP1, that is, the service packet sent by the user equipment 1, can only be sent to the server 1, but cannot be sent to the server 2 and the server 3. Of course, the load balancer may also determine whether the server is in a suspended state (i.e., the server is in a ready-to-operate state), and if not in the suspended state (i.e., the server is not in operation), the load balancer may also reestablish the correspondence between the source IP address and the server. For example, if server 1 is not in a suspended state, the load balancer re-establishes the relationship between the source IP address and server 2 and server 3. Illustratively, the present invention provides another correspondence between source IP addresses and servers.
TABLE 2
Source IP address Server
IP1 Server 2
IP2 Server 2
IP3 Server 3
IP4 Server 3
Please refer to table 1 and table 2, the load balancer changes the corresponding relationship between IP1 and server 1 into the corresponding relationship between IP1 and server 2.
In this way, the phenomenon that the load balancer shares the same user equipment to different servers can be avoided.
Strategy three: the load balancer determines the server to which the last VXLAN message sent by the source IP address was loaded.
For example, continuing with fig. 2, the load balancer determines that the server to which the last VXLAN message sent by IP1 was loaded is server 1, and then VXLAN messages sent after IP1 are forwarded by the load balancer to server 1. For example, the service packet 1 sent by the IP1 may be divided into two sub-service packets, for example, the sub-service packet 1 and the sub-service packet 2, and the service packet 1 can only be completed when both the sub-service packet 1 and the sub-service packet 2 are completed. When the VXLAN message encapsulated by sub-service message 1 is sent by the load balancer to server 1, then the VXLAN message encapsulated by sub-service message 2 sent after IP1 is forwarded by the load balancer on to server 1.
In this way, the phenomenon that the load balancer shares the service data of the same user equipment to different servers can be avoided. Further, the problem that the associated service of one user equipment is shared by different servers to cause service interruption can be avoided.
S305, the load balancer forwards the VXLAN message to the determined server.
S306, the server decapsulates the VXLAN message to obtain the current service data, and performs service processing according to the current service data.
Alternatively, the server may perform service processing on the current service data in various ways. For example, the server obtains the last service data of the user equipment associated with the current service data from other servers (i.e. the servers may use a data synchronization mechanism for service data processing). And the server processes the service based on the previous service data and the current service data.
For example, with continued reference to FIG. 2, the servers 1-3 use databases for data synchronization and status synchronization. The service message 1 sent by the user equipment 1 includes a sub-service message 1 and a sub-service message 2, and the service data in the sub-service message 2 needs to be processed according to the related processing result of the current service data in the sub-service message 1. When the current service data in the sub service message 1 is forwarded to the server 1 for processing, the server 1 synchronizes a related processing result for processing the current service data in the sub service message 1 to the server 2 and the server 3, and if the server 1 is in a non-suspended state, if the current service data in the sub service message 2 is forwarded to the server 2 for processing, the server 2 may process the current service data in the sub service message 2 according to the related processing result of the current service data in the sub service message 1.
In this way, the servers adopt a data synchronization mechanism to process the service data, so that the service message sent by the user equipment is not interrupted.
As can be seen from the above description, in the technical solution of the embodiment of the present invention, the gateway device receives a service packet sent by the user equipment, where the service packet includes identification information of the user equipment, and the identification information is used for uniquely identifying the user equipment; the gateway equipment extracts identification information from the service message; the gateway equipment sets the identification information in a VXLAN message and carries out tunnel encapsulation; and the gateway equipment sends the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information. In this manner, the load balancer can perform user-level load balancing.
Based on the same inventive concept, the embodiment of the invention provides gateway equipment. Fig. 4 is a schematic structural diagram of a gateway device according to an embodiment of the present invention.
As shown in fig. 4, the gateway apparatus 400 includes: a receiving unit 401, a processing unit 402, and a transmitting unit 403; wherein the content of the first and second substances,
a receiving unit 401, configured to receive a service packet sent by a user equipment, where the service packet includes identification information of the user equipment, and the identification information is used to uniquely identify the user equipment;
a processing unit 402, configured to extract identification information from the service message;
the processing unit 402 is further configured to set the identification information in the VXLAN message, and perform tunnel encapsulation;
a sending unit 403, configured to send the encapsulated VXLAN packet to a load balancer, so that the load balancer performs load balancing on the VXLAN packet according to the identification information.
Optionally, the identification information comprises a source IP address of the user equipment.
Optionally, the service message further includes current service data of the user equipment, and when the processing unit 402 is configured to set the identification information in the VXLAN message and perform tunnel encapsulation, the processing unit is specifically configured to:
performing HASH operation on the source IP address to obtain an HASH value;
setting the HASH value in a field in a message header of the VXLAN message;
the current service data is set in other fields in the VXLAN message.
Optionally, the HASH value is in the source port field of the outer UDP header of the VXLAN message.
The gateway device 400 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, a person skilled in the art can clearly understand the implementation process of the gateway device 400 in this embodiment, so for brevity of the description, no further description is provided here.
Based on the same inventive concept, the embodiment of the invention provides gateway equipment. Fig. 5 is a schematic structural diagram of another gateway device according to an embodiment of the present invention.
As shown in fig. 5, the gateway apparatus 500 includes: a receiver 501, a processor 502, and a transmitter 503; alternatively, the receiver 501 may be a wireless receiver or a bluetooth receiver; processor 502 may be a general-purpose Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), and may be one or more Integrated circuits for controlling program execution; the transmitter 503 may be a wireless receiver or a bluetooth receiver.
Optionally, the receiver 501 is configured to receive a service packet sent by a user equipment, where the service packet includes identification information of the user equipment, and the identification information is used to uniquely identify the user equipment;
a processor 502 for extracting identification information from the service message;
the processor 502 is further configured to set the identification information in the VXLAN message, and perform tunnel encapsulation;
and a sender 503, configured to send the encapsulated VXLAN packet to a load balancer, so that the load balancer performs load balancing on the VXLAN packet according to the identification information.
Optionally, the identification information comprises a source IP address of the user equipment.
Optionally, the service message further includes current service data of the user equipment, and when the processor 502 is configured to set the identification information in the VXLAN message and perform tunnel encapsulation, the processor is specifically configured to:
performing HASH operation on the source IP address to obtain an HASH value;
setting the HASH value in a field in a message header of the VXLAN message;
the current service data is set in other fields in the VXLAN message.
Optionally, the HASH value is in a source port field of an outer UDP header of the VXLAN packet.
The gateway device 500 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, a person skilled in the art can clearly understand the implementation process of the gateway device 500 in this embodiment, so for brevity of the description, no further description is provided here.
Based on the same inventive concept, the embodiment of the invention provides a load balancer. Fig. 6 is a schematic structural diagram of a load balancer according to an embodiment of the present invention.
As shown in fig. 6, the load balancer 600 includes: a receiving unit 601, a processing unit 602, and a transmitting unit 603; wherein the content of the first and second substances,
a receiving unit 601, configured to receive a VXLAN message sent by a gateway device, where the VXLAN message includes identification information of a user device and current service data; the identification information is used for uniquely identifying the user equipment;
a processing unit 602, configured to determine, according to a preset policy and the identification information, a server corresponding to the identification information;
and a sending unit 603, configured to send the VXLAN packet to the determined server, so that the server parses the VXLAN packet to obtain current service data, and processes the current service data.
Optionally, the identification information comprises a source IP address of the user equipment.
Optionally, when the processing unit 602 is configured to determine, according to the preset policy and the identification information, a server corresponding to the identification information, specifically configured to:
determining a server with the current load less than a preset load; or alternatively
Determining a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
The server to which the last VXLAN message sent by the source IP address was loaded is determined.
The load balancer 600 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, a person skilled in the art can clearly understand the implementation process of the load balancer 600 in this embodiment, so for brevity of the description, detailed description is omitted here.
Based on the same inventive concept, the embodiment of the invention provides a load balancer. Fig. 7 is a schematic structural diagram of another load balancer according to an embodiment of the present invention.
As shown in fig. 7, the load balancer 700 includes: a receiver 701, a processor 702, and a transmitter 703; alternatively, receiver 701 may be a wireless receiver or a bluetooth receiver; processor 702 may be a general-purpose Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), and may be one or more Integrated circuits configured to control program execution; the transmitter 703 may be a wireless receiver or a bluetooth receiver.
Optionally, the receiver 701 is configured to receive a VXLAN message sent by a gateway device, where the VXLAN message includes identification information of a user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
a processor 702, configured to determine, according to a preset policy and identification information, a server corresponding to the identification information;
and the sender 703 is configured to send the VXLAN packet to the determined server, so that the server parses the VXLAN packet to obtain current service data, and processes the current service data.
Optionally, the identification information comprises a source IP address of the user equipment.
Optionally, when the processor 702 is configured to determine, according to the preset policy and the identification information, a server corresponding to the identification information, specifically, the processor is configured to:
determining a server with the current load less than a preset load; or
Determining a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
The server to which the last VXLAN message sent by the source IP address was loaded is determined.
The load balancer 700 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, those skilled in the art can clearly understand the implementation process of the load balancer 700 in this embodiment, so for brevity of the description, detailed description is omitted here.
Based on the same inventive concept, the embodiment of the invention provides a server. Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
As shown in fig. 8, the server 800 includes: a receiving unit 801, a processing unit 802; wherein, the first and the second end of the pipe are connected with each other,
a receiving unit 801, configured to receive a VXLAN message sent by a gateway device, where the VXLAN message includes identification information of a user device and current service data; the identification information is used for uniquely identifying the user equipment;
a processing unit 802, configured to obtain service data associated with current service data sent by a user equipment before sending the current service data;
the processing unit 802 is further configured to: and processing the current service data based on the associated service data and the current service data.
Optionally, when the processing unit 802 is configured to, before processing the current service data based on the associated service data and the current service data, specifically:
and carrying out decapsulation processing on the VXLAN message to obtain the current service data in the VXLAN message.
Optionally, when the processing unit 802 is configured to obtain service data associated with current service data, which is sent by the user equipment before sending the current service data, the processing unit is specifically configured to:
data synchronization with processing units of other servers;
and acquiring the service data which is transmitted by the user equipment before the current service data and is associated with the current service data from the processing unit of the other server.
The server 800 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the same idea, and through the foregoing detailed description of the VXLAN tunnel load balancing method, a person skilled in the art can clearly understand an implementation process of the server 800 in this embodiment, and therefore, for brevity of the description, details are not described herein again.
Based on the same inventive concept, the embodiment of the invention provides a server. Fig. 9 is a schematic structural diagram of another server according to an embodiment of the present invention.
As shown in fig. 9, the server 900 includes: receiver 901, processor 902. Alternatively, the receiver 901 may be a wireless receiver or a bluetooth receiver; the processor 902 may be a general-purpose Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), and may be one or more Integrated circuits configured to control the execution of programs.
Optionally, the receiver 901 is configured to receive a VXLAN message sent by a gateway device, where the VXLAN message includes identification information of a user device and current service data; the identification information is used for uniquely identifying the user equipment;
a processor 902, configured to obtain service data associated with current service data sent by a user equipment before sending the current service data;
the processor 902 is further configured to: and processing the current service data based on the associated service data and the current service data.
Optionally, when the processor 902 is configured to, before processing the current service data based on the associated service data and the current service data, specifically:
and decapsulating the VXLAN message to obtain the current service data in the VXLAN message.
Optionally, the processor 902, when configured to acquire service data associated with current service data sent by the user equipment before sending the current service data, is specifically configured to:
data synchronization with processors of other servers;
and acquiring service data which is transmitted by the user equipment before the current service data and is associated with the current service data from the processor of the other server.
The server 900 in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, a person skilled in the art can clearly understand the implementation process of the server 900 in this embodiment, so for brevity of the description, detailed description is not repeated here.
Based on the same inventive concept, the embodiment of the invention provides a computer-readable storage medium. Optionally, the computer readable storage medium has a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the steps of the VXLAN tunnel load balancing method described above. Since the computer program in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, those skilled in the art can clearly understand the implementation process of the computer program in this embodiment, so that no further description is provided herein for brevity of the description.
Based on the same inventive concept, embodiments of the present invention provide a computer program product, in which a computer program is stored, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the VXLAN tunnel load balancing method described above. Since the computer program product in this embodiment and the VXLAN tunnel load balancing method shown in fig. 3A are based on the invention under the same concept, and through the foregoing detailed description of the VXLAN tunnel load balancing method, those skilled in the art can clearly understand the implementation process of the computer program product in this embodiment, so that no further description is provided herein for brevity of the description.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (17)

1. A VXLAN tunnel load balancing method, characterized in that the method comprises:
the method comprises the steps that gateway equipment receives a service message sent by user equipment, wherein the service message comprises identification information of the user equipment and current service data, and the identification information is used for uniquely identifying the user equipment;
the gateway equipment extracts the identification information and the current service data from the service message;
the gateway equipment sets the identification information and the current service data in a VXLAN message and carries out tunnel encapsulation; wherein, the gateway device sets the identification information and the current service data in a VXLAN message, and performs tunnel encapsulation, including: the gateway equipment performs HASH operation on the identification information to obtain an HASH value; the gateway device sets the HASH value in a source port field of an outer layer UDP header of the VXLAN message;
and the gateway equipment sends the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information.
2. The method of claim 1, wherein the identification information comprises a source IP address of the user device.
3. The method of claim 2, wherein the gateway device placing the identification information and the current service data in a VXLAN message and tunneling the VXLAN message comprises:
the gateway equipment performs HASH operation on the source IP address to obtain an HASH value;
the gateway equipment sets the HASH value in a field in a message header of the VXLAN message;
the gateway device sets the current service data in other fields in the VXLAN message.
4. A VXLAN tunnel load balancing method, the method comprising:
a load balancer receives a VXLAN message sent by gateway equipment, wherein the VXLAN message comprises a HASH value and current service data; the HASH value is obtained by HASH operation of the gateway device on identification information of user equipment, and is set in a source port field of an outer layer UDP header of the VXLAN packet, and the identification information of the user equipment is used for uniquely identifying the user equipment;
the load balancer determines a server corresponding to the HASH value according to a preset strategy and the HASH value; the preset strategy comprises that the load balancer determines a server with the current load less than a preset load;
and the load balancer sends the VXLAN message to the determined server so that the server analyzes the VXLAN message to obtain the current service data and processes the current service data.
5. The method of claim 4, wherein the identification information comprises a source IP address of the user device.
6. The method of claim 5, wherein the load balancer determining the server corresponding to the HASH value according to a preset policy and the HASH value comprises:
the load balancer determines a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
And the load balancer determines the server to which the last VXLAN message sent by the source IP address is loaded.
7. A VXLAN tunnel load balancing method, the method comprising:
a server receives a VXLAN message sent by gateway equipment, wherein the VXLAN message comprises identification information of user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the server acquiring service data associated with the current service data, which is sent by the user equipment before sending the current service data, includes: data synchronization between the server and other servers; the server acquires service data which is sent by the user equipment before the current service data is sent and is associated with the current service data from the other servers;
and the server processes the current service data based on the associated service data and the current service data.
8. The method of claim 7, wherein prior to the server processing the current traffic data based on the associated traffic data and the current traffic data, the method further comprises:
and the server carries out decapsulation processing on the VXLAN message to obtain the current service data in the VXLAN message.
9. A gateway device, comprising: a receiver, a processor, and a transmitter; wherein the content of the first and second substances,
the receiver is configured to receive a service packet sent by a user equipment, where the service packet includes identification information of the user equipment and current service data, and the identification information is used to uniquely identify the user equipment;
the processor is configured to extract the identification information and the current service data from the service packet;
the processor is further configured to set the identification information and the current service data in a VXLAN message, and perform tunnel encapsulation; wherein, the gateway device sets the identification information and the current service data in a VXLAN message, and performs tunnel encapsulation, including: the gateway equipment performs HASH operation on the identification information to obtain an HASH value; the gateway equipment sets the HASH value in a source port field of an outer layer UDP header of the VXLAN message;
and the sender is used for sending the encapsulated VXLAN message to a load balancer so that the load balancer can carry out load balancing on the VXLAN message according to the identification information.
10. The gateway device of claim 9, wherein the identification information includes a source IP address of the user device.
11. The gateway device according to claim 10, wherein the processor, when configured to set the identification information and the current service data in a VXLAN message and perform tunnel encapsulation, is specifically configured to:
performing HASH operation on the source IP address to obtain an HASH value;
setting the HASH value in a field in a message header of the VXLAN message;
and setting the current service data in other fields in the VXLAN message.
12. A load balancer, comprising: a receiver, a processor, and a transmitter; wherein the content of the first and second substances,
the receiver is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises a HASH value and current service data; the HASH value is obtained by HASH operation of the gateway device on identification information of user equipment, and is set in a source port field of an outer layer UDP header of the VXLAN packet, and the identification information of the user equipment is used for uniquely identifying the user equipment;
the processor is used for determining a server corresponding to the HASH value according to a preset strategy and the HASH value; the preset strategy comprises the step that the load balancer determines a server with the current load capacity smaller than a preset load capacity;
and the sender is used for sending the VXLAN message to the determined server so that the server analyzes the VXLAN message to obtain the current service data and processes the current service data.
13. The load balancer of claim 12, wherein the identification information comprises a source IP address of the user device.
14. The load balancer of claim 13, wherein the processor, when configured to determine the server corresponding to the HASH value according to a preset policy and the HASH value, is specifically configured to:
determining a server corresponding to a source IP address according to a preset corresponding relation between the source IP address and the server; or
And determining the server to which the last VXLAN message sent by the source IP address is loaded.
15. A server, comprising: a receiver, a processor; wherein the content of the first and second substances,
the receiver is used for receiving a VXLAN message sent by the gateway equipment, wherein the VXLAN message comprises identification information of the user equipment and current service data; the identification information is used for uniquely identifying the user equipment;
the processor is configured to acquire service data associated with the current service data, where the service data is sent by the user equipment before sending the current service data, and the acquiring includes: data synchronization between the server and other servers; the server acquires service data which is sent by the user equipment before the current service data is sent and is associated with the current service data from the other servers;
the processor is further configured to: and processing the current service data based on the associated service data and the current service data.
16. The server according to claim 15, wherein the processor, when configured to, prior to processing the current traffic data based on the associated traffic data and the current traffic data, is specifically configured to:
and decapsulating the VXLAN message to obtain the current service data in the VXLAN message.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1-8.
CN201811352663.4A 2018-11-14 2018-11-14 VXLAN tunnel load balancing method and related equipment Active CN111193756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811352663.4A CN111193756B (en) 2018-11-14 2018-11-14 VXLAN tunnel load balancing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811352663.4A CN111193756B (en) 2018-11-14 2018-11-14 VXLAN tunnel load balancing method and related equipment

Publications (2)

Publication Number Publication Date
CN111193756A CN111193756A (en) 2020-05-22
CN111193756B true CN111193756B (en) 2023-04-07

Family

ID=70710528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811352663.4A Active CN111193756B (en) 2018-11-14 2018-11-14 VXLAN tunnel load balancing method and related equipment

Country Status (1)

Country Link
CN (1) CN111193756B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740907A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium
CN111614540B (en) * 2020-06-04 2022-04-08 北京百度网讯科技有限公司 Method and device for transmitting information
CN112350917A (en) * 2020-11-03 2021-02-09 优刻得科技股份有限公司 Method, system, equipment, medium and mixed cloud system for transmitting message
CN113259435B (en) * 2021-05-13 2022-07-12 上海巨印科技有限公司 Data transmission method and system for radiation measuring instrument

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN104468391A (en) * 2014-12-16 2015-03-25 盛科网络(苏州)有限公司 Method and system for achieving load balance according to user information of tunnel message
CN106470238A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 It is applied to the connection establishment method and device in server load balancing
WO2017124693A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Method and device for message decapsulation and data writing
CN108259366A (en) * 2017-07-25 2018-07-06 新华三技术有限公司 A kind of message forwarding method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736211B2 (en) * 2012-08-27 2017-08-15 Vmware, Inc. Method and system for enabling multi-core processing of VXLAN traffic
US10419330B2 (en) * 2016-07-21 2019-09-17 Alibaba Group Holding Limited Express route transmissions between virtual machines and cloud service computing devices
CN106506641A (en) * 2016-11-07 2017-03-15 杭州迪普科技股份有限公司 A kind of ident value extracting method of client device and device
CN106790675A (en) * 2017-01-23 2017-05-31 天地融科技股份有限公司 Load-balancing method, equipment and system in a kind of cluster
CN107070983A (en) * 2017-01-23 2017-08-18 天地融科技股份有限公司 A kind of load-balancing method, equipment and system forwarded based on address
CN106713499A (en) * 2017-01-23 2017-05-24 天地融科技股份有限公司 Load balancing method, equipment and system
CN107181662A (en) * 2017-05-18 2017-09-19 迈普通信技术股份有限公司 A kind of method and system of VXLAN tunnel load balancings
CN107147555B (en) * 2017-06-30 2020-06-23 联想(北京)有限公司 VXLAN network switching method and device and storage medium
CN108616456A (en) * 2018-03-20 2018-10-02 北京优帆科技有限公司 A kind of load-balancing method and load equalizer based on VXLAN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN104468391A (en) * 2014-12-16 2015-03-25 盛科网络(苏州)有限公司 Method and system for achieving load balance according to user information of tunnel message
CN106470238A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 It is applied to the connection establishment method and device in server load balancing
WO2017124693A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Method and device for message decapsulation and data writing
CN108259366A (en) * 2017-07-25 2018-07-06 新华三技术有限公司 A kind of message forwarding method and device

Also Published As

Publication number Publication date
CN111193756A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111193756B (en) VXLAN tunnel load balancing method and related equipment
CN107948076B (en) Method and device for forwarding message
CN109714274B (en) Method for acquiring corresponding relation and routing equipment
US10541899B2 (en) Data packet sending method and apparatus in IPv6 network
US11277341B2 (en) Resilient segment routing service hunting with TCP session stickiness
RU2014128627A (en) METHOD AND DEVICE FOR SERVICE TRANSMISSION MANAGEMENT
KR101938623B1 (en) Openflow communication method, system, controller, and service gateway
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN109040243B (en) Message processing method and device
CN106797335B (en) Data transmission method, data transmission device, electronic equipment and computer program product
US10693785B2 (en) Method and system for forwarding data, virtual load balancer, and readable storage medium
WO2021008591A1 (en) Data transmission method, device, and system
WO2020083269A1 (en) Method, apparatus and system for establishing subflows of multipath connection
WO2016197689A1 (en) Method, apparatus and system for processing packet
CN104468371A (en) Multicast service message processing method and device
CN116232982A (en) Route calculation method and related equipment
CN109196842B (en) Session keeping method, device and storage medium
WO2017012471A1 (en) Load balance processing method and apparatus
JP2017503407A (en) Packet processing method and apparatus
WO2017008697A1 (en) Data transmission method and device, multi-channel routing method, and user equipment
CN108667957B (en) IP address allocation method, first electronic device and first server
WO2021023141A1 (en) Method and apparatus for obtaining routing table entry, and device
CN106027599B (en) Data transmission channel establishing method, system and server
WO2015096734A1 (en) Downlink transmission method for service data, and packet data gateway
WO2017008701A1 (en) Data transmission method, apparatus, and user device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant