# US 2022/0292061 A1 · Optimizing file access statistics collection

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

- Number: US 2022/0292061 A1
- Document ID: US20220292061A1
- Status: Published application
- Kind: A1
- Application number: 17/202,342
- Filed: 2021-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Abhay Kumar JAIN; Wenguang WANG; Richard P. SPILLANE
- Web page: https://patentgrep.com/patent/US20220292061A1

## CPC

- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Optimizing file access includes a process for identifying a file access event for a first accessed file, and incrementing a first access counter in an access list in a memory, which also includes access counters for other accessed files. The process further includes exporting the first access counter to a performance monitoring dashboard, or exporting to a storage allocator and, based on the value, moving the first accessed file between a first storage and a second storage. The process also includes determining whether the value of the first access counter meets a first threshold, or a sum of values of the access counters for the other accessed files meets a second threshold. Based on meeting the first threshold or meeting the second threshold, the process includes persisting the access counters on a storage media. The access counters also provide security monitoring (e.g., identifying excessive file access).

## Claims

### Claim 1

A method of optimizing file access, the method comprising:
identifying a file access event for a first accessed file;
based on at least the identified file access event, incrementing a first access counter for the first accessed file in an access list in a memory, the access list comprising a plurality of access counters for a plurality of accessed files, the plurality of access counters including the first access counter;
exporting the first access counter to:
a performance monitoring dashboard, and displaying a value of the first access counter for the first accessed file; or
a storage allocator, and based on at least the value of the first access counter for the first accessed file, moving the first accessed file between a first storage and a second storage;
determining whether:
the value of the first access counter for the first accessed file meets a first threshold; or
a sum of values of the plurality of access counters for the plurality of accessed files meets a second threshold; and
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, persisting the plurality of access counters on a storage media.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
adjusting the first threshold or the second threshold to rebalance a computational burden of persisting the plurality of access counters on the storage media versus a risk of losing the access list in the memory; and
monitoring, with a machine learning (ML) component, the rebalancing of the computational burden, wherein adjusting the first threshold or the second threshold comprises adjusting the first threshold or the second threshold with the ML component.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining whether a computing apparatus comprising the memory is shutting down; and
based on at least the computing apparatus comprising the memory shutting down, persisting the plurality of access counters on the storage media.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, performing a load balancing operation for an application accessing the first accessed file.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, generating a security alert.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining whether the file access event for the first accessed file comprises a file deletion; and
based on at least the file access event for the first accessed file comprising a file deletion, removing the first access counter from the access list.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
storing a user identification or a count of file access denials or both in the access list.

### Claim 8

A computer system comprising:
a processor; and
a non-transitory computer readable medium having stored thereon program code, the program code causing the processor to:
identify a file access event for a first accessed file;
based on at least the identified file access event, increment a first access counter for the first accessed file in an access list in a memory, the access list comprising a plurality of access counters for a plurality of accessed files, the plurality of access counters including the first access counter;
export the first access counter to:
a performance monitoring dashboard, and display a value of the first access counter for the first accessed file; or
a storage allocator, and based on at least the value of the first access counter for the first accessed file, move the first accessed file between a first storage and a second storage;
determine whether:
the value of the first access counter for the first accessed file meets a first threshold; or
a sum of values of the plurality of access counters for the plurality of accessed files meets a second threshold; and
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, persist the plurality of access counters on a storage media.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
adjust the first threshold or the second threshold to rebalance a computational burden of persisting the plurality of access counters on the storage media versus a risk of losing the access list in the memory; and
monitor, with a machine learning (ML) component, the rebalancing of the computational burden, wherein adjusting the first threshold or the second threshold comprises adjusting the first threshold or the second threshold with the ML component.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
determine whether a computing apparatus comprising the memory is shutting down; and
based on at least the computing apparatus comprising the memory shutting down, persist the plurality of access counters on the storage media.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, perform a load balancing operation for an application accessing the first accessed file.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, generate a security alert.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
determine whether the file access event for the first accessed file comprises a file deletion; and
based on at least the file access event for the first accessed file comprising a file deletion, remove the first access counter from the access list.

### Claim 14 (depends on 8)

The computer system of claim 8, wherein the program code is further operative to:
store a user identification or a count of file access denials or both in the access list.

### Claim 15

A non-transitory computer storage medium having stored thereon program code executable by a processor, the program code embodying a method comprising:
identifying a file access event for a first accessed file;
based on at least the identified file access event, incrementing a first access counter for the first accessed file in an access list in a memory, the access list comprising a plurality of access counters for a plurality of accessed files, the plurality of access counters including the first access counter;
exporting the first access counter to:
a performance monitoring dashboard, and displaying a value of the first access counter for the first accessed file; or
a storage allocator, and based on at least the value of the first access counter for the first accessed file, moving the first accessed file between a first storage and a second storage;
determining whether:
the value of the first access counter for the first accessed file meets a first threshold; or
a sum of values of the plurality of access counters for the plurality of accessed files meets a second threshold; and
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, persisting the plurality of access counters on a storage media.

### Claim 16 (depends on 15)

The computer storage medium of claim 15, wherein the program code further comprises:
adjusting the first threshold or the second threshold to rebalance a computational burden of persisting the plurality of access counters on the storage media versus a risk of losing the access list in the memory; and
monitoring, with a machine learning (ML) component, the rebalancing of the computational burden, wherein adjusting the first threshold or the second threshold comprises adjusting the first threshold or the second threshold with the ML component.

### Claim 17 (depends on 15)

The computer storage medium of claim 15, wherein the program code further comprises:
determining whether a computing apparatus comprising the memory is shutting down; and
based on at least the computing apparatus comprising the memory shutting down, persisting the plurality of access counters on the storage media.

### Claim 18 (depends on 15)

The computer storage medium of claim 15, wherein the program code further comprises:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, performing a load balancing operation for an application accessing the first accessed file.

### Claim 19 (depends on 15)

The computer storage medium of claim 15, wherein the program code further comprises:
based on at least the value of the first access counter for the first accessed file meeting the first threshold, or the sum of values of the plurality of access counters for the plurality of accessed files meeting the second threshold, generating a security alert.

### Claim 20 (depends on 15)

The computer storage medium of claim 15, wherein the program code further comprises:
determining whether the file access event for the first accessed file comprises a file deletion; and
based on at least the file access event for the first accessed file comprising a file deletion, removing the first access counter from the access list.
