System, method and apparatus of data interaction under load balancing
First Claim
1. A system of data interaction for load balancing, comprising:
- a server load balancer, separate from a conversion apparatus, configured to receive a first data package from a client through a server load balancer gateway, select a real server according to a predefined load balancing strategy, adjust a destination address included in the first data package to a real IP (Internet Protocol) address of the selected real server to obtain a second data package, and send the second data package to the selected real server, the destination address included in the first data package sent from the client being a virtual IP address of the server load balancer;
the conversion apparatus intercepts the second data package sent from the server load balancer and transfer the second data package to the selected real server;
the selected real server configured to generate a third data package after receiving the second data package, the third data package including a source address as the real IP address of the selected real server, and to send the third data package to the client through a real sever gateway; and
the conversion apparatus, separate from the server load balancer, configured to intercept the third data package sent from the selected real server, adjust the source address included in the third data package to the virtual IP address of the server load balancer to obtain a fourth data package, and send the fourth data package to the client through the real server gateway.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a system, a method and an apparatus of data interaction under load balancing to solve the problem of heavy workload of a server load balancer under existing technologies. The system includes a server load balancer, a real server, and a conversion apparatus. A data package, which is sent from a client to a real server, is processed and sent by the server load balancer to the real server. A data package, which is sent from the real server to the client, is processed and sent by the conversion apparatus to the client. Since the traffic flowing from the real server to the client does not pass through the server load balancer but is processed and sent by the conversion apparatus to the client in the above system that is provided by the embodiments of the present disclosure, the workload on the server load balancer is thus effectively reduced.
-
Citations
17 Claims
-
1. A system of data interaction for load balancing, comprising:
-
a server load balancer, separate from a conversion apparatus, configured to receive a first data package from a client through a server load balancer gateway, select a real server according to a predefined load balancing strategy, adjust a destination address included in the first data package to a real IP (Internet Protocol) address of the selected real server to obtain a second data package, and send the second data package to the selected real server, the destination address included in the first data package sent from the client being a virtual IP address of the server load balancer; the conversion apparatus intercepts the second data package sent from the server load balancer and transfer the second data package to the selected real server; the selected real server configured to generate a third data package after receiving the second data package, the third data package including a source address as the real IP address of the selected real server, and to send the third data package to the client through a real sever gateway; and the conversion apparatus, separate from the server load balancer, configured to intercept the third data package sent from the selected real server, adjust the source address included in the third data package to the virtual IP address of the server load balancer to obtain a fourth data package, and send the fourth data package to the client through the real server gateway. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of data interaction under load balancing, comprising:
-
receiving, by a server load balancer from a client through a server load balancer gateway, a first data package including a destination address being a virtual IP (Internet Protocol) address of the server load balancer, selecting a real server according to a predefined load balancing strategy, adjusting the destination address included in the first data package to a real IP address of the selected real server to obtain a second data package, and sending the second data package to the selected real server; intercepting, by a conversion apparatus that is separate from the server load balancer, the second data package and transferring the second data package to the selected real server; intercepting, by the conversion apparatus, a third data package sent from the selected real server to the client, the third data package being generated by the selected real server based on the second data package and including a source address as the real IP address of the selected real server; adjusting, by the conversion apparatus, the source address included in the intercepted third data package to the virtual IP address of the server load balancer to obtain a fourth data package; and sending, by the conversion apparatus, the fourth data package to the client, wherein the fourth data package goes to the client from the selected real server through a real server gateway. - View Dependent Claims (8, 9, 10)
-
-
11. An apparatus of data interaction under load balancing, comprising:
-
one or more processors; and a memory including instructions executable by the one or more processors, which when executed perform the following steps; receiving, by a server load balancer from a client through a server load balancer gateway, a first data package including a destination address being a virtual IP (Internet Protocol) address of the server load balancer, selecting a real server according to a predefined load balancing strategy, adjusting the destination address included in the first data package to a real IP address of the selected real server to obtain a second data package, and sending the second data package to the selected real server; intercepting, by a conversion apparatus that is separate from the server load balancer, the second data package and transferring the second data package to the selected real server; intercepting, by the conversion apparatus, a third data package sent from the selected real server to the client, the third data package being generated by the selected real server based on the second data package and including a source address as the real IP address of the selected real server; adjusting, by the conversion apparatus, the source address included in the intercepted third data package to the virtual IP address of the server load balancer to obtain a fourth data package; and sending, by the conversion apparatus, the fourth data package to the client, wherein the fourth data package goes to the client from the selected real server through a real server gateway. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification