×

Method and apparatus for reducing client-server messages associated with opening a file

  • US 7,716,307 B1
  • Filed: 10/21/2005
  • Issued: 05/11/2010
  • Est. Priority Date: 10/21/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of reducing client-server messages, comprising the computer-implemented steps of:

  • receiving a first request to open a file, wherein the first request includes first information that indicates a first access mode for opening the file;

    wherein the first request is sent from a client to a file server that manages access to the file;

    modifying the first information to indicate a most extended access mode for opening the file;

    sending the first request with the modified first information to the file server that manages access to the file;

    receiving a first response from the file server, wherein the first response comprises second information which indicates a specific access mode for opening the file that is granted by the file server;

    wherein the specific access mode is different and less restrictive than the first access mode;

    storing the second information in a cache;

    responding to the first request by creating and sending a second response to the client, wherein the second response indicates that the file is opened in the first access mode even though at the file server the file is opened in the specific access mode;

    in response to a second request to close the file, delaying the closing of the file;

    wherein the closing of the file is delayed for a specified interval of time that represents an interval of time during which no requests to open the file have been received; and

    closing the file on the file server after the specified interval of time expires;

    wherein the method is performed by one or more computer systems.

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