# US 2013/0254272 A1 · Client-based caching of remote files

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254272 A1
- Document ID: US20130254272A1
- Status: Published application
- Kind: A1
- Application number: 13/899,337
- Filed: 2013-05-21
- Published: 2013-09-26
- Earliest claimed: 2009-01-15
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Mathew George; David M. Kruse; James T. Pinkerton; Thomas E. Jolly
- Web page: https://patentgrep.com/patent/US20130254272A1

## CPC

- G06F 12/0815: Cache consistency protocols
- G06F 12/0813: with a network or matrix configuration
- G06F 16/172: Caching, prefetching or hoarding of files
- G06F 16/182: Distributed file systems
- G06F 16/183: {Provision of network file services by network file servers, e.g. by using NFS, CIFS (network file access protocols H04L67/1097)}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 2212/264: Remote server
- G06F 2212/463: File
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A lease system is described herein that allows clients to request a lease to a remote file, wherein the lease permits access to the file across multiple applications using multiple handles without extra round trips to a server. When multiple applications on the same client (or multiple components of the same application) request access to the same file, the client specifies the same lease identifier to the server for each open request or may handle the request from the cache based on the existing lease. Because the server identifies the client's cache at the client level rather than the individual file request level, the client receives fewer break notifications and is able to cache remote files in more circumstances. Thus, by providing the ability to cache data in more circumstances common with modern applications, the lease system reduces bandwidth, improves server scalability, and provides faster access to data.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A computer-implemented method for controlling a client to handle a break notification from a server, the method comprising:
transmitting a lease request over a network that connects one or more clients and servers, wherein the lease request includes a lease identifier provided by a client when the client opened a remote file managed by the server and accessible by other clients;
receiving a lease response over the network, wherein the lease response includes information from the remote file managed by the server;
caching data at the client based upon the information received from the server;
receiving the break notification from the server;
in response to receiving the break notification, flushing cached data and sending an acknowledgement request to the server that indicates that the client has handled the break and requests a new scope of access to the remote file based on application requests on the client; and
receiving an acknowledgement response from the server that indicates whether the server granted the new scope of access to the remote file.

### Claim 22 (depends on 21)

The method of claim 21 wherein the break notification includes a current lease state of the lease held by the client and a new lease state available to the client based on the access of one or more other clients to the remote file.

### Claim 23 (depends on 21)

The method of claim 21 wherein the client was caching writes to the remote file before the break notification and wherein flushing cached data comprises flushing pending written data to the server before responding to the break notification.

### Claim 24 (depends on 21)

The method of claim 21 further comprising, after receiving and handling the break notification, handling application requests from the cache that are compatible with a grant of the new scope of access and sending other requests to the server without caching.

### Claim 25 (depends on 21)

The method of claim 21 wherein the lease request is configured to provide one or more cache intentions in the lease request.

### Claim 26 (depends on 25)

The method of claim 25 wherein the cache intentions specify a manner in which the client accesses the remote file.

### Claim 27 (depends on 21)

The method of claim 21 wherein the lease request comprises a UNC path to the remote file.

### Claim 28 (depends on 21)

The method of claim 21 wherein the lease request comprises an extended create parameter (ECP) and the lease response comprises the ECP.

### Claim 29

A computer-readable storage medium comprising instructions for controlling a client to handle a break notification from a server, wherein the instructions, when executed by at least one processor at the client, cause the at least one processer to perform actions comprising:
transmitting a lease request over a network that connects one or more clients and servers, wherein the lease request includes a lease identifier provided by the client when the client opened a remote file managed by the server and accessible by other clients;
receiving a lease response over the network, wherein the lease response includes information from the remote file managed by the server;
caching data at the client based upon the information received from the server;
receiving the break notification from the server;
in response to receiving the break notification, flushing cached data and sending an acknowledgement request to the server that indicates that the client has handled the break and requests a new scope of access to the remote file based on application requests on the client; and
receiving an acknowledgement response from the server that indicates whether the server granted the new scope of access to the remote file.

### Claim 30 (depends on 29)

The computer-readable storage medium of claim 29 wherein the break notification includes a current lease state of the lease held by the client and a new lease state available to the client based on the access of one or more other clients to the remote file.

### Claim 31 (depends on 29)

The computer-readable storage medium of claim 29 wherein the client was caching writes to the remote file before the break notification and wherein flushing cached data comprises flushing pending written data to the server before responding to the break notification.

### Claim 32 (depends on 29)

The computer-readable storage medium of claim 29 further comprising, after receiving and handling the break notification, handling application requests from the cache that are compatible with a grant of the new scope of access and sending other requests to the server without caching.

### Claim 33 (depends on 29)

The computer-readable storage medium of claim 29 wherein the lease request is configured to provide one or more cache intentions in the lease request.

### Claim 34 (depends on 33)

The computer-readable storage medium of claim 33 wherein the cache intentions specify a manner in which the client accesses the remote file.

### Claim 35 (depends on 29)

The computer-readable storage medium of claim 29 wherein the lease request comprises a UNC path to the remote file.

### Claim 36 (depends on 29)

The computer-readable storage medium of claim 29 wherein the lease request comprises an extended create parameter (ECP) and the lease response comprises the ECP.

### Claim 37

A system comprising:
one or more processors;
a memory coupled to the one or more processors, the memory for storing instructions which, when executed by the one or more processors, performs a method for controlling a client to handle a break notification from a server, the method comprising:
transmitting a lease request over a network that connects one or more clients and servers, wherein the lease request includes a lease identifier provided by a client when the client opened a remote file managed by the server and accessible by other clients;
receiving a lease response over the network, wherein the lease response includes information from the remote file managed by the server;
caching data at the client based upon the information received from the server;
receiving the break notification from the server;
in response to receiving the break notification, flushing cached data and sending an acknowledgement request to the server that indicates that the client has handled the break and requests a new scope of access to the remote file based on application requests on the client; and
receiving an acknowledgement response from the server that indicates whether the server granted the new scope of access to the remote file.

### Claim 38 (depends on 37)

The system of claim 37, wherein the break notification includes a current lease state of the lease held by the client and a new lease state available to the client based on the access of one or more other clients to the remote file.

### Claim 39 (depends on 37)

The system of claim 37 wherein the client was caching writes to the remote file before the break notification and wherein flushing cached data comprises flushing pending written data to the server before responding to the break notification.

### Claim 40 (depends on 37)

The system of claim 37 wherein the lease request is configured to provide one or more cache intentions in the lease request.
