# US 2013/0254492 A1 · Access requests with cache intentions

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

- Number: US 2013/0254492 A1
- Document ID: US20130254492A1
- Status: Published application
- Kind: A1
- Application number: 13/899,373
- 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/US20130254492A1

## 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-readable storage medium comprising instructions for controlling a computer system to cache information at a client related to remote files stored at a server, wherein the instructions, when executed at a client, cause at least one processor to perform actions comprising:
receiving access information from a software application indicating a remote file to open in an open request;
determining whether a lease exists on the client for the indicated remote file, wherein the lease provides cache coherency information associated with the remote file;
if no lease exists, sending a lease request to open the file and request a lease that identifies one or more cache intentions of the client based on the access information received from the application; and
receiving a lease response indicating whether the requested lease was granted.

### Claim 22 (depends on 21)

The computer-readable storage medium of claim 21 wherein the open request comprises a Uniform Naming Convention (UNC) path to the remote file accessible over a network.

### Claim 23 (depends on 21)

The computer-readable storage medium of claim 21 wherein determining whether the lease exists comprises looking up a UNC path associated with the remote file in a table of leases.

### Claim 24 (depends on 21)

The computer-readable storage medium of claim 21 wherein sending the lease request comprises generating a lease identifier and sending the identifier to the server with the request.

### Claim 25 (depends on 21)

The computer-readable storage medium of claim 21 wherein sending a lease request comprises providing one or more cache intentions in the lease request, wherein the cache intentions specify data associated with client access of the remote file.

### Claim 26 (depends on 21)

The computer-readable storage medium of claim 21 further comprising receiving file data and metadata for the requested remote file and storing the data and meta data in a local cache for later use.

### Claim 27 (depends on 21)

The computer-readable storage medium of claim 21 further comprising determining whether a user associated with the current request is the same as a user associated with an existing lease, and when the user is different, requesting a new lease from the server.

### Claim 28 (depends on 21)

The computer-readable storage medium of claim 21 further comprising, if an existing lease exists, determining whether a scope of access requested to the remote file is compatible with a scope of the existing lease; and
if the scope of access requested is the same as the scope of the existing lease, collapsing the current open request onto the existing lease, without making a round trip to the server.

### Claim 29

A system comprising:
a processor and memory configured to execute software instructions;
an application interface configured to provide an interface through which one or more applications submit one or more requests to open remote files on the remote server and receive file data;
a lease request component, responsive to the application interface, that is configured to send lease requests to the remote server and handle received lease responses, wherein the lease requests sent to the remote server include cache coherency information associated with the remote files and are based on information submitted by the one or more applications;
a communication component configured to transmit the lease requests and receive lease responses and the file data over a network that connects one or more clients and the remove server;
a cache component configured to cache the file data at the client based on information received from the remote server; and
a break handling component configured to respond to break notifications received from the remote server, wherein a break notification indicates that access that the remote server previously granted to the client is no longer compatible with access requests of the other clients accessing at least one of the one or more remote files.

### Claim 30 (depends on 29)

The system of claim 29 wherein the application interface provides a kernel mode interface for communicating with the remote server.

### Claim 31 (depends on 29)

The system of claim 29 wherein the application interface is further configured to receive requests to access the remote files.

### Claim 32 (depends on 29)

The system of claim 29 wherein the application interface is further configured to provide file data to the one or more applications directly from the cache component without additional communication with the remote server when the file data is available from the cache component.

### Claim 33 (depends on 29)

The system of claim 29 wherein the lease request component is further configured to receive responses from the remote server that either grant or deny a lease and, when the lease is denied, that suggest a scope of access for the lease that is lower than a requested access level.

### Claim 34 (depends on 29)

The system of claim 29 wherein the communication component is further configured to use extensions to the Server Message Block version 2 network protocol.

### Claim 35 (depends on 29)

The system of claim 29 wherein the cache component is further configured to associate a lease identifier with each cache so that the remote server can distinguish one cache provider from another.

### Claim 36 (depends on 29)

The system of claim 29 wherein the break handling component is further configured to update the remote server based on use of a remote file related to the break notification by applications on the client.

### Claim 37 (depends on 29)

The system of claim 29 wherein the application interface is further configured to include a lease identifier when submitting to the lease request component the one or more requests to open remote files on the remote server and receive file data.

### Claim 38 (depends on 29)

The system of claim 29 wherein the application interface is further configured with an interface that permits the one or more applications to cache data received from the remote server based on the terms of received leases.

### Claim 39

A method for controlling a computer system to cache information at a client related to remote files stored at a server, the method comprising:
receiving access information from a software application indicating a remote file to open in an open request;
determining whether a lease exists on the client for the indicated remote file, wherein the lease provides cache coherency information associated with the remote file;
if no lease exists, sending a lease request to open the file and request a lease that identifies one or more cache intentions of the client based on the access information received from the application; and
receiving a lease response indicating whether the requested lease was granted.

### Claim 40 (depends on 39)

The method of claim 39 wherein sending a lease request comprises providing one or more cache intentions in the lease request, wherein the cache intentions specify data associated with client access of the remote file.
