SYSTEM AND METHOD FOR TRANSFERRING SERVICE REQUESTS

Abstract
A method for transferring service requests is provided. The method includes the steps of: proving a storage in a control server (1) for storing preset commands and server status codes; selecting a TCP/UDP port of the control server and allocating a first proxy server (3) for the control server according to the TCP/UDP port; detecting whether the first proxy server is operational according to a server status code returned from the fist proxy server; transmitting a service request from a client computer (2) to the first proxy server if the first proxy server is operational; receiving a returned results from the proxy server; and transmitting the returned results to the client computer. A related system is also disclosed.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of hardware configuration of a system for transferring service requests in accordance with the preferred embodiment;



FIG. 2 is a schematic diagram of function modules of a control server; and



FIG. 3 is flow chart of a preferred method for transferring service requests by implementing the system of FIG. 1.


Claims
  • 1. A system for transferring service requests, comprising at least one proxy server and at least one control server connected to a plurality of client computers, the at least one control server comprising: a service request transferring unit configured for allocating a first proxy server for the control server, allocating a second proxy server when the first proxy server is not operational, and for transferring data between the client computers and the proxy servers; anda storage configured for storing at least a preset command and server status codes.
  • 2. The system according to claim 1, wherein the service request transferring unit comprises a server selecting module configured for selecting a TCP/UDP port of the control server according to information sent from one of the client computers, allocating the first proxy server for the control server according to the TCP/UDP port, and for allocating the second proxy server for the control server when the first proxy server is not operational.
  • 3. The system according to claim 1, wherein the service request transferring unit comprises a transmitting module configured for transmitting the preset command to the first allocated proxy server.
  • 4. The system according to claim 1, wherein the service request transferring unit comprises a receiving module configured for receiving a server status code returned from the first allocated proxy server, receiving service requests from one of the client computers, and for receiving returned results from the first allocated proxy server.
  • 5. The system according to claim 1, wherein the service request transferring unit comprises a status detecting module configured for detecting whether the first allocated proxy server is operational.
  • 6. The system according to claim 4, wherein the transmitting module is further configured for transmitting a service request from the client computer to the proxy server when the receiving module receives the service request, and transmitting corresponding returned results from the proxy server to the client computer.
  • 7. An enabled-computerized method for transferring service requests, the method comprising the steps of: proving a storage for storing preset commands and server status codes;selecting a TCP/UDP port of a control server and allocating a first proxy server for the control server according to the TCP/UDP port;detecting whether the first proxy server is operational according to a server status code returned from the fist proxy server;transmitting a service request from one of client computers to the first proxy server if the first proxy server is operational;receiving a returned results from the first proxy server; andtransmitting the returned results to the client computer.
  • 8. The method according to claim 7, further comprising the steps of: transmitting a preset command to the first proxy server; andreceiving a server status code returned from the first proxy server.
  • 9. The method according to claim 7, further comprising the step of: allocating a second proxy server for the control server if the first proxy server is not operational.
  • 10. The method according to claim 7, wherein the server status code includes a failure code and a success code.
  • 11. The method according to claim 10, wherein the detecting step further comprising the step of: returning the success code to the control server if the first proxy server is operational; or returning the failure code to the control server if the first proxy server is not operational.
Priority Claims (1)
Number Date Country Kind
200610032808.3 Jan 2006 CN national