×

Methods and apparatus for managing deactivation and shutdown of a server

  • US 5,907,675 A
  • Filed: 03/22/1995
  • Issued: 05/25/1999
  • Est. Priority Date: 03/22/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for managing clients of a server that is arranged to provide services to a plurality of clients, the server being responsive to service requests from various clients and deactivation requests, the method including the computer controlled steps of:

  • (a) in response to each service request, determining only once for a particular service request whether the server is in a locked state, wherein when the server is in the locked state the server will reject and not handle the service request and thus the server will never perform a requested service corresponding to the particular service request if the particular service request was received while the server is in the locked state, but, when the server is in an unlocked state, the server will accept and subsequently handle the service request, and incrementing a transaction counter by a predetermined value when it is determined that the server is in the unlocked state, the transaction counter being indicative of the number of service requests actively utilizing the server;

    (b) performing the requested service when it is determined in step (a) that the server is in the unlocked state;

    (c) decrementing the transaction counter by the predetermined value after each requested service having a corresponding service request that was accepted has been completed;

    (d) in response to a deactivation request, setting the server to the locked state and checking the transaction counter to determine whether there are any active service requests prior to deactivating the server; and

    (e) when it is determined that there is at least one active service request, waiting to deactivate the server until it is determined based on the transaction counter that all of the active service requests have been completed, wherein the server is deactivated only after it is determined that all of the active service requests have been completed,whereby when the server is to be deactivated, new service requests are refused since the server is in the locked state and existing service requests are completed prior to deactivation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×