Reducing round trips across a wide area network for resource locking by extended locking and delayed unlocking
First Claim
Patent Images
1. A computer-implemented method for accessing a data resource by a client, comprising the steps of:
- receiving across a local area network a first request from said client to lock a first portion of said data resource;
responsively to said first request, communicating across a wide area network to impose an extended lock on said data resource that reserves a range of said data resource for access thereof by said client; and
while avoiding modifying said extended lock by communication across said wide area network, performing the steps of;
issuing a grant of said first request to said client across said local area network;
thereafter receiving across said local area network a second request from said client to lock or unlock a second portion of said data resource within a range of said extended lock; and
issuing a grant of said second request to said client across said local area network.
3 Assignments
0 Petitions
Accused Products
Abstract
A locking mechanism for a data resource is disclosed, which can operate across LANs and a WAN. The technique temporarily imposes an extended lock on the requested data resource. While the extended lock is in force, all lock and unlock requests issued by the same client for the resource are managed exclusively by the local server. Once the last lock has been released, or after a timeout interval, the extended lock is canceled. Traffic across the WAN is reduced to a minimum of one round trip.
31 Citations
32 Claims
-
1. A computer-implemented method for accessing a data resource by a client, comprising the steps of:
-
receiving across a local area network a first request from said client to lock a first portion of said data resource;
responsively to said first request, communicating across a wide area network to impose an extended lock on said data resource that reserves a range of said data resource for access thereof by said client; and
while avoiding modifying said extended lock by communication across said wide area network, performing the steps of;
issuing a grant of said first request to said client across said local area network;
thereafter receiving across said local area network a second request from said client to lock or unlock a second portion of said data resource within a range of said extended lock; and
issuing a grant of said second request to said client across said local area network. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method for accessing a data resource by a client on a first local area network, which is held on a file server on a second local area network, comprising the steps of:
-
intercepting in a local server a first request from said client to lock a first portion of said data resource, said local server being connected to said first local area network;
responsively to said first request, transmitting a first message via a wide area network from said local server to a remote server that is connected to said second local area network, requesting an extended lock on said data resource, said extended lock reserving all of said data resource for access thereof by said client;
receiving a second message from said remote server by said local server granting said extended lock;
responsively to said second message, issuing a grant of said first request to said client by said local server;
thereafter intercepting in said local server a second request from said client to lock a second portion of said data resource within a range of said extended lock; and
responsively to said second request, while said extended lock is in force issuing a grant of said second request to said client by said local server. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer software product accessing a data resource by a client on a first local area network, which is held on a file server on a second local area network, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer connected to said first local area network, cause the computer to:
-
intercept a first request from said client to lock a first portion of said data resource;
transmit a first message via a wide area network to a remote server that is connected to said second local area network, requesting an extended lock on said data resource, said extended lock reserving a range of said data resource for access thereof by said client;
receive a second message from said remote server granting said extended lock;
issue, responsively to said second message, a grant of said first request to said client;
intercept thereafter a second request from said client to lock a second portion of said data resource within a range of said extended lock; and
issue, responsively to said second request, and while said extended lock is in force, a grant of said second request to said client. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A networked server for enabling access to a data resource by a client on a first local area network, which is held on a file server on a second local area network, comprising:
-
a first interface to said first local area network;
a second interface to a wide area network; and
one or more processors configured to;
intercept via said first interface a first request from said client to lock a first portion of said data resource;
transmit a first message via said second interface to a remote server that is connected to said second local area network, requesting an extended lock on said data resource, said extended lock reserving a range of said data resource for access thereof by said client;
receive via said second interface a second message from said remote server granting said extended lock;
issue, responsively to said second message, a grant of said first request to said client via said first interface;
intercept thereafter via said first interface a second request from said client to lock a second portion of said data resource within a range of said extended lock; and
issue, via said first interface, responsively to said second request, while said extended lock is in force and while avoiding communication with said remote server, a grant of said second request to said client. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A server apparatus, connected to a first local area network, for enabling access to a data resource, which is held on a file server on a second local area network by a client on said first local area network comprising:
-
means for intercepting a first request from said client to lock a first portion of said data resource;
means for transmitting a first message via a wide area network to a remote server that is connected to said second local area network, requesting an extended lock on said data resource, said extended lock reserving all of said data resource for access thereof by said client;
means for receiving a second message from said remote server granting said extended lock; and
means for issuing, responsively to said second message, a grant of said first request to said client, said means for receiving operative for thereafter intercepting a second request from said client to lock a second portion of said data resource within the rang of said extended lock, and wherein said means for issuing is operative for granting said second request to said client, responsively to said second request, and while said extended lock is in force.
-
Specification