1. Field of the Invention
The present invention relates to a data processing program based operating method for computer networks for controlling load-balanced access by a user computer to a server computer in a computer network with multiple user and server computers.
2. Background Art
A general problem with computer networks that incorporate multiple user and server computers consists of assigning to the individual user computers in the most optimized manner a server computer that has sufficient capacities, i.e., the lowest possible load. In the state of the art, this problem has, until now, essentially been solved in such a way that one of the servers registers the calls coming from the network of user computers for programs installed on all servers, and performs an allocation between a certain server computer and the user computer. The criterion for these allocations is the desire to balance the load of all connected server computers as evenly as possible.
However, the server computer that has been given prominence in the hierarchy over the remaining server computers, which assumes the access control and is commonly referred to as the load-balancing server, has the problem that load-balanced access by the individual user computers to certain server computers is no longer possible if this computer fails.
Against the background of the described problem, the invention is based on the aim of revealing an operating method for computer networks that ensures load-balanced access by a user computer to one of multiple server computers without the need for a privileged load-balancing server.
This aim is met by an operating method comprising the following steps:
Recognizably, access is thus equal to all server computers and each of them determines its own load. Information regarding this load is processed by a user computer seeking access, after which the user computer itself selects “its” server computer with the lowest load.
Recognizably, there is no longer a load-balancing server, the failure of which could impede the load-balanced access. The optimally balanced load of the server computers that are connected to the network is thus ensured in a significantly more fail-safe manner.
Preferred embodiments of the inventive operating method, the specific characteristics and advantages of which will become apparent from the following description, in which the invention is explained in greater detail based on the appended drawings.
An operating method according to the invention is implemented on the various computers in the computer network 1 shown in
In this condition all server computers S1 through S5 wait for datagrams arriving from the user computers U1 through U5, while the load-specific data value is continually updated.
If access is now to take place by a user computer U3 from the total number of user computers U1 through U5 to initiate a program session on the server computer S1 through S5 with the lowest load, a circular datagram is transmitted by the user computer U3 to all server computers S1 through S5 in the network 1. The datagram contains a header identifying the datagram as an instruction to call up the CPU load of the respective server computer S1 through S5 over the network 1. Instead of a circular datagram, individual datagrams may also be sent to predefined server computers S1 through S5, which can be implemented based on the program configuration. The circular datagram is symbolized in
Based on the circular datagram 2, all server computers S1 through S5 return reply datagrams 3.1 through 3.5 (see arrows in
The user computer U3 now analyzes the datagrams 3.1 through 3.5 to determine which server computer has the lowest load under certain framework conditions, such as the desired data exchange protocol. If, for example, a connection is to be made via ICA, as a matter of principle only the server computers S1 and S5 are suitable. Of these two, the server computer S1 has a lower load with a CPU load of 2000, compared to the server computer S5 with a CPU load of 3000. The inventive operating method will, therefore, establish a connection between the user computer U3 and the server computer S1, as indicated at 4.1 in
However, if a connection between computers is to be made via the RDP protocol, all server computers are available. Accordingly, the server computer S2 will be selected for the connection 4.2 since, with a CPU load of 500, it has the lowest load of all server computers S1 through S5.
To summarize, access will be initiated via the inventive access method to the server computer S1 or S2 that has the lowest CPU load while providing the desired data exchange protocol.
An alternate implementation of the inventive access method is symbolized in
On the server computers S1 through S5 it is now registered, in the usual manner, which program sessions are currently running in which condition. Distinctions are made, in this context, between the conditions “disconnected”, “connected and active” and “other”. The latter condition has no specific program-related definition.
If a circular datagram 5 with user ID and domain name is now transmitted, the server computers each send reply datagrams 6.1 through 6.5 which contain, in addition to the load-specific data value for the CPU load and the available transfer protocols, also a listing of the number of program sessions currently running for this user ID and domain name. For example, no program sessions of the user computer U1 are running on the server computers S1, S3, S5, which is manifested by the information “Sessions: 0/0/0”.
On the server computer S2, two program sessions are disconnected and none are active, which is illustrated by the information “Sessions:2/0/0”. The server computer S4 reports “Sessions: 1/1/0”, which means one disconnected and one connected, active program session.
The user computer U3 now analyzes the incoming reply datagrams 6.1 through 6.5 in such a way that it registers the respective CPU loads and the fact whether a disconnected program session exists on a server computer. In
Number | Name | Date | Kind |
---|---|---|---|
6078960 | Ballard | Jun 2000 | A |
6128279 | O'Neil et al. | Oct 2000 | A |
6327622 | Jindal et al. | Dec 2001 | B1 |
6377975 | Florman | Apr 2002 | B1 |
6381748 | Lin et al. | Apr 2002 | B1 |
6389448 | Primak et al. | May 2002 | B1 |
6438652 | Jordan et al. | Aug 2002 | B1 |
6473791 | Al-Ghosein et al. | Oct 2002 | B1 |
6658479 | Zaumen et al. | Dec 2003 | B1 |
6665702 | Zisapel et al. | Dec 2003 | B1 |