Load Balancing System, Method, and Apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsJun Zhou, Xia Zhu, Ji Li
Life of this patent
Estimating the term…
Abstract
A load balancing system, method, and apparatus, where the method includes: receiving, by a load balancing device, a first message from a client that is used to request to establish a first Transmission Control Protocol (TCP) connection; sending the first message to a server; receiving a second message from the client that is used to request to establish a second TCP connection; and determining, based on a token of the server included in the second message, that a destination device of the second message is the server, and sending the second message to the server, in order to establish the second TCP connection between the client and the server.
Claims20
A load balancing system, comprising:
- a server;
- a load balancing device;
- and
- a client configured to:
- send, to the server using the load balancing device, a first message to request establishing a first Transmission Control Protocol (TCP) connection;
- receive, from the server in response to the first message, a response message comprising a key of the server and a first function, wherein the first function is to calculate a token of the server based on the key;
- calculate the token based on the key and using the first function;
- and
- send, to the load balancing device, a second message to request establishing a second TCP connection, wherein the response message comprises a key of the server and a first function, wherein the first function is to calculate a token of the server based on the key of the server, wherein the second message comprises the token, and wherein the second TCP connection and the first TCP connection belong to a same Multipath Transport Control Protocol (MPTCP) session,
- wherein the server is configured to:
- receive the first message from the client using the load balancing device;
- and
- send the response message to the client, and
- wherein the load balancing device is configured to:
- receive the first message from the client;
- send the first message to the server;
- receive the second message from the client;
- determine, based on the token, that the server is a destination device of the second message;
- and
- send the second message to the server in order to establish the second TCP connection.
A load balancing method, comprising:
- receiving, by a server, a first message from a client using a load balancing device, wherein the first message requests establishing a first Transmission Control Protocol (TCP) connection;
- and
- sending, by the server, a response message of the first message to the client, wherein the response message comprises a key of the server and a first function, wherein the first function is for the client to calculate a token of the server based on the key in order to establish, based on the token of the server, a second TCP connection to the server, and wherein the second TCP connection belongs to a same Multipath Transport Control Protocol (MPTCP) session as the first TCP connection.
A load balancing method, comprising:
- sending, by a client to a server using a load balancing device, a first message to request establishing a first Transmission Control Protocol (TCP) connection;
- receiving, by the client in response to the first message, a response message from the server, wherein the response message comprises a key of the server and a first function, and wherein the first function is to calculate a token of the server based on the key;
- calculating, by the client, the token based on the key;
- and
- sending, to the load balancing device, a second message to request establishing a second TCP connection, wherein the second message comprises the token, wherein the token is for the load balancing device to determine that the server is a destination device of the second message in order to establish the second TCP connection between the client and the server, and wherein the second TCP connection and the first TCP connection belong to a same Multipath Transport Control Protocol (MPTCP) session.
A load balancing method, comprising:
- receiving, by a load balancing device, a first message from a client to request establishing a first Transmission Control Protocol (TCP) connection;
- sending, by the load balancing device, the first message to a server;
- receiving, by the load balancing device, a second message from the client to request establishing a second TCP connection, wherein the second TCP connection and the first TCP connection belong to a same MPTCP session, and wherein the second message comprises a token of the server;
- determining, by the load balancing device based on the token, that the server is a destination device of the second message;
- and
- sending the second message to the server in order to establish the second TCP connection between the client and the server.
A load balancing apparatus applied to a server, the load balancing apparatus comprising:
- a receiver configured to receive a first message from a client, wherein the first message requests establishing a first Transmission Control Protocol (TCP) connection;
- a processor coupled to the receiver and configured to generate a response message based on the first message;
- and
- a transmitter coupled to the processor and configured to send the response message to the client, wherein the response message comprises a key of a server and a first function, and wherein the first function is for the client to calculate a token of the server based on the key of the server, in order to establish, based on the token of the server, a second TCP connection to the server and that belongs to a same Multipath Transport Control Protocol (MPTCP) session as the first TCP connection.
A load balancing apparatus applied to a client, the load balancing apparatus comprising:
- a transmitter configured to send, to a server, a first message to request establishing a first Transmission Control Protocol (TCP) connection;
- a receiver configured to receive a response message from the server in response to the first message, wherein the response message comprises a key of the server and a first function, and wherein the first function is to calculate a token of the server based on the key;
- and
- a processor coupled to the transmitter and the receiver and configured to:
- calculate the token based on the key using the first function;
- and
- send, to the load balancing device, a second message to request establishing a second TCP connection, wherein the second message comprises the token, wherein the token is for the load balancing device to determine that the server is a destination device of the second message in order to establish the second TCP connection between a client and the server, and wherein the second TCP connection and the first TCP connection belong to a same Multipath Transport Control Protocol (MPTCP) session.
A load balancing apparatus, comprising:
- a receiver configured to receive from a client a first message that requests establishing a first Transmission Control Protocol (TCP) connection;
- a transmitter configured to send the first message to a server, wherein the receiver is further configured to receive from the client a second message that requests establishing a second TCP connection, wherein the second TCP connection and the first TCP connection belong to a same Multipath Transport Control Protocol (MPTCP) session, and wherein the second message comprises a token of the server;
- and
- a processor coupled to the receiver and the transmitter and configured to:
- determine, based on the token, that the server is a destination device of the second message;
- and
- send the second message to the server, in order to establish the second TCP connection between the client and the server.
Dependencies are inferred from the claim text.