# US 2021/0279098 A1 · File Operation Task Optimization

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

- Number: US 2021/0279098 A1
- Document ID: US20210279098A1
- Status: Published application
- Kind: A1
- Application number: 17/303,381
- Filed: 2021-05-27
- Published: 2021-09-09
- Earliest claimed: 2013-11-25
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Chi Ma; Kenneth J. Goldman; Yonggang Zhao; Stephen P.G. Gildea
- Web page: https://patentgrep.com/patent/US20210279098A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G06F 16/16: File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F 16/182: Distributed file systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving, by a data processing apparatus, a plurality of file operation requests, each file operation request including a priority, a deadline, and an operation type and representing a request to perform an operation on at least one file maintained in a distributed file system; identifying, by the data processing apparatus, a group of file operation requests to be executed together from the plurality of file operation requests, the identification based at least in part on at least one of: the file operations in the group of file operations being directed to a same storage system, or file operations in the group of file operations sharing a common operation type; and sending a request to execute the group of file operation requests to a system configured to perform the group of file operation requests.

## Claims

### Claim 1

A computer-implemented method when executed on data processing hardware causes the data processing hardware to perform operations comprising:
receiving a first operation request specifying an operation to perform on a file residing in a distributed file system, the operation specified by the first operation request comprising an operation type from among a plurality of different operation types;
waiting a threshold amount of time after receiving the first operation request before requesting the distributed file system to perform the operation on the file;
after receiving the first operation request, receiving one or more additional operation requests specifying operations to perform, each operation specified by the one or more additional operation requests comprising the same operation type as the operation specified by the first operation request, wherein the one or more additional operation requests are received before the threshold amount of time is satisfied;
grouping the first operation request and each of the one or more additional operation requests into a group of operation requests;
after grouping the first operation request and the one or more additional operation requests into the group of operation requests, determining the threshold amount of time is satisfied; and
in response to determining the threshold amount of time is satisfied, sending a single request to the distributed file system requesting performance of each operation specified by the operation requests in the group of operation requests.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the operation type comprises one or more of a file copy operation, a file deletion operation, or a file merge operation.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein each of the received operation requests comprise a priority indicating an urgency of the respective operation request.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the operations further comprise:
determining that a particular operation request should be divided into two or more divided operation requests; and
dividing the particular operation request into two or more operation requests.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein each of the received operation requests comprises a process association indicating a particular process of the respective operation request.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the operations further comprise:
determining that the particular process of the respective operation request has terminated; and
in response to determining that the particular process of the respective operation request has terminated, sending a request to execute the respective operation request.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein sending the single request comprises sending a remote procedure call.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein each of the received operation requests comprises a soft deadline and a hard deadline to execute the corresponding operation specified by the operation request.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the operations further comprise:
identifying an operation request specifying an operation that will not be executed by the soft deadline of the identified operation request;
notifying a requestor associated with the identified operation request that the operation will not be complete before the soft deadline; and
continuing execution of the operation specified by the identified operation request.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein the operations further comprise:
identifying an operation request specifying an operation that will not be executed by the hard deadline of the identified operation request; and
aborting execution of the operation specified by the identified operation request.

### Claim 11

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed by the data processing hardware cause the data processing hardware to perform operations comprising:
receiving a first operation request specifying an operation to perform on a file residing in a distributed file system, the operation specified by the first operation request comprising an operation type from among a plurality of different operation types;
waiting a threshold amount of time after receiving the first operation request before requesting the distributed file system to perform the operation on the file;
after receiving the first operation request, receiving one or more additional operation requests specifying operations to perform, each operation specified by the one or more additional operations requests comprising the same operation type as the operations specified by the first operation request, wherein the one or more additional operation requests are received before the threshold amount of time is satisfied;
grouping the first operation request and each of the one or more additional operation requests into a group of operation requests;
after grouping the first operation request and the one or more additional operation requests into the group of operation requests, determining the threshold amount of time is satisfied; and
in response to determining the threshold amount of time is satisfied, sending a single request to the distributed file system requesting performance of each operation specified by the operation requests in the group of operation requests.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operation type comprises one or more of a file copy operation, a file deletion operation, or a file merge operation.

### Claim 13 (depends on 11)

The system of claim 11, wherein each of the received operation requests comprise a priority indicating an urgency of the respective operation request.

### Claim 14 (depends on 11)

The system of claim 11, wherein the operations further comprise:
determining that a particular operation request should be divided into two or more divided operation requests; and
to dividing the particular operation request into two or more operation requests.

### Claim 15 (depends on 11)

The system of claim 11, wherein each of the received operation requests comprises a process association indicating a particular process of the respective operation request.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operations further comprise:
determining that the particular process of the respective operation request has terminated; and
in response to determining that the particular process of the respective operation request has terminated, sending a request to execute the respective operation request.

### Claim 17 (depends on 11)

The system of claim 11, wherein sending the single request comprises sending a remote procedure call.

### Claim 18 (depends on 11)

The system of claim 11, wherein each of the received operation requests comprises a soft deadline and a hard deadline to execute the corresponding operation specified by the operation request.

### Claim 19 (depends on 18)

The system of claim 18, wherein the operations further comprise:
identifying an operation request specifying an operation that will not be executed by the soft deadline of the identified operation request;
notifying a requestor associated with the identified operation request that the operation will not be complete before the soft deadline; and
continuing execution of the operation specified by the identified operation request.

### Claim 20 (depends on 18)

The system of claim 18, wherein the operations further comprise:
identifying an operation request specifying an operation that will not be executed by the hard deadline of the identified operation request; and
aborting execution of the operations specified by the identified operation request.
