# US 2021/0286654 A1 · Method, device and computer program product for processing computing job

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

- Number: US 2021/0286654 A1
- Document ID: US20210286654A1
- Status: Published application
- Kind: A1
- Application number: 16/845,692
- Filed: 2020-04-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Jinpeng Liu; Jin Li; Sanping Li; Zhen Jia
- Web page: https://patentgrep.com/patent/US20210286654A1

## CPC

- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 2209/5017: Task decomposition
- G06F 2209/5022: Workload threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first set of requirements of a first set of computing tasks for computing resources in a computing system is acquired respectively. Based on a determination that the requirement of a computing task in the first set of computing tasks for a computing resource satisfies a resource threshold condition, the computing task is divided into a plurality of sub-tasks. The resource threshold condition describes the threshold of a computing resource provided by a computing device in a plurality of computing devices in the computing system. A merging task for merging a plurality of sub-results of the plurality of sub-tasks into a result of the computing task is generated. Based on other computing tasks than the computing task in the set of computing tasks, the plurality of sub-tasks, and the merging task, a second set of computing tasks of the computing job is determined so as to process the computing job.

## Claims

### Claim 1

A method for processing a computing job which comprises a first set of computing tasks, the method comprising:
acquiring a first set of requirements of the first set of computing tasks for computing resources in a computing system, respectively;
dividing, based on a determination that the requirement of a computing task in the first set of computing tasks for a computing resource satisfies a resource threshold condition, the computing task into a plurality of sub-tasks, wherein the resource threshold condition describes the threshold of a computing resource provided by a computing device in a plurality of computing devices in the computing system;
generating a merging task for merging a plurality of sub-results of the plurality of sub-tasks into a result of the computing task; and
determining, based on other computing tasks than the computing task in the set of computing tasks, the plurality of sub-tasks, and the merging task, a second set of computing tasks of the computing job so as to process the computing job.

### Claim 2 (depends on 1)

The method of claim 1, wherein dividing the computing task into the plurality of sub-tasks comprises:
determining the number of the plurality of sub-tasks according to the requirement of the computing task for the computing resource and the resource threshold condition; and
dividing the computing task into the plurality of sub-tasks according to the determined number.

### Claim 3 (depends on 2)

The method of claim 2, wherein dividing the computing task into the plurality of sub-tasks according to the determined number comprises:
acquiring an input data format of the computing task, wherein the input data format comprises at least a plurality of channels; and
dividing the computing task into the plurality of sub-tasks according to the plurality of channels.

### Claim 4 (depends on 3)

The method of claim 3, wherein the computing task comprises a convolution operation, and dividing the computing task into the plurality of sub-tasks according to the plurality of channels comprises:
determining, in the plurality of sub-tasks, a sub-task used to perform convolution between part of the plurality of channels and the convolution kernel of the convolution operation to form a sub-result in the plurality of sub-results.

### Claim 5 (depends on 2)

The method of claim 2, wherein dividing the computing task into the plurality of sub-tasks according to the determined number comprises:
acquiring an input data format of the computing task, wherein the input data format comprises at least a resolution of input data of the computing task; and
dividing, based on a determination that the resolution satisfies a resolution threshold condition, the computing task into the plurality of sub-tasks according to the resolution.

### Claim 6 (depends on 5)

The method of claim 5, wherein the computing task comprises a convolution operation, and dividing the computing task into the plurality of sub-tasks according to the resolution comprises:
dividing the input data format into a plurality of sub-formats according to the resolution; and
generating the plurality of sub-tasks based on the plurality of sub-formats respectively, a sub-task in the plurality of sub-tasks being used to perform convolution between input data in one of the plurality of sub-formats and the convolution kernel of the convolution operation to form a sub-result in the plurality of sub-results.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
allocating the second set of computing tasks to the plurality of computing devices according to the requirements of the second set of computing tasks for the computing resources.

### Claim 8 (depends on 7)

The method of claim 7, wherein allocating the second set of computing tasks to the plurality of computing devices comprises:
dividing the second set of computing tasks into a plurality of sets of computing tasks according to the requirements of the second set of computing tasks for the computing resources and in accordance with a time dependency between computing tasks in the second set of computing tasks; and
allocating the plurality of sets to the plurality of computing devices, respectively.

### Claim 9 (depends on 1)

The method of claim 1, wherein the method is implemented at a compiler for compiling the computing job into an executable program.

### Claim 10 (depends on 1)

The method of claim 1, wherein the requirement of the computing task for the computing resource comprises at least one of the following: a storage resource and a thread resource.

### Claim 11

An electronic device, comprising:
at least one processor; and
a memory coupled to the at least one processor and having instructions stored therein, wherein the instructions, when executed by the at least one processor, cause the device to perform actions for processing a computing job in an application system, the computing job comprising a first set of computing tasks, and the actions comprising:
acquiring a first set of requirements of the first set of computing tasks for computing resources in a computing system, respectively;
dividing, based on a determination that the requirement of a computing task in the first set of computing tasks for a computing resource satisfies a resource threshold condition, the computing task into a plurality of sub-tasks, wherein the resource threshold condition describes the threshold of a computing resource provided by a computing device in a plurality of computing devices in the computing system;
generating a merging task for merging a plurality of sub-results of the plurality of sub-tasks into a result of the computing task; and
determining, based on other computing tasks than the computing task in the set of computing tasks, the plurality of sub-tasks, and the merging task, a second set of computing tasks of the computing job so as to process the computing job.

### Claim 12 (depends on 11)

The device of claim 11, wherein dividing the computing task into the plurality of sub-tasks comprises:
determining the number of the plurality of sub-tasks according to the requirement of the computing task for the computing resource and the resource threshold condition; and
dividing the computing task into the plurality of sub-tasks according to the determined number.

### Claim 13 (depends on 12)

The device of claim 12, wherein dividing the computing task into the plurality of sub-tasks according to the determined number comprises:
acquiring an input data format of the computing task, wherein the input data format comprises at least a plurality of channels; and
dividing the computing task into the plurality of sub-tasks according to the plurality of channels.

### Claim 14 (depends on 13)

The device of claim 13, wherein the computing task comprises a convolution operation, and dividing the computing task into the plurality of sub-tasks according to the plurality of channels comprises:
determining, in the plurality of sub-tasks, a sub-task used to perform convolution between part of the plurality of channels and the convolution kernel of the convolution operation to form a sub-result in the plurality of sub-results.

### Claim 15 (depends on 12)

The device of claim 12, wherein dividing the computing task into the plurality of sub-tasks according to the determined number comprises:
acquiring an input data format of the computing task, wherein the input data format comprises at least a resolution of input data of the computing task; and
dividing, based on a determination that the resolution satisfies a resolution threshold condition, the computing task into the plurality of sub-tasks according to the resolution.

### Claim 16 (depends on 15)

The device of claim 15, wherein the computing task comprises a convolution operation, and dividing the computing task into the plurality of sub-tasks according to the resolution comprises:
dividing the input data format into a plurality of sub-formats according to the resolution; and
generating the plurality of sub-tasks based on the plurality of sub-formats respectively, a sub-task in the plurality of sub-tasks being used to perform convolution between input data in one of the plurality of sub-formats and the convolution kernel of the convolution operation to form a sub-result in the plurality of sub-results.

### Claim 17 (depends on 11)

The device of claim 11, wherein the actions further comprise:
allocating the second set of computing tasks to the plurality of computing devices according to the requirements of the second set of computing tasks for the computing resources.

### Claim 18 (depends on 17)

The device of claim 17, wherein allocating the second set of computing tasks to the plurality of computing devices comprises:
dividing the second set of computing tasks into a plurality of sets of computing tasks according to the requirements of the second set of computing tasks for the computing resources and in accordance with a time dependency between computing tasks in the second set of computing tasks; and
allocating the plurality of sets to the plurality of computing devices, respectively.

### Claim 19 (depends on 11)

The device of claim 11, wherein the actions are implemented at a compiler for compiling the computing job into an executable program.

### Claim 20

A computer program product tangibly stored on a non-transitory computer-readable medium and containing machine-executable instructions, wherein the machine-executable instructions are used for perform steps comprising:
acquiring a first set of requirements of the first set of computing tasks for computing resources in a computing system, respectively;
dividing, based on a determination that the requirement of a computing task in the first set of computing tasks for a computing resource satisfies a resource threshold condition, the computing task into a plurality of sub-tasks, wherein the resource threshold condition describes the threshold of a computing resource provided by a computing device in a plurality of computing devices in the computing system;
generating a merging task for merging a plurality of sub-results of the plurality of sub-tasks into a result of the computing task; and
determining, based on other computing tasks than the computing task in the set of computing tasks, the plurality of sub-tasks, and the merging task, a second set of computing tasks of the computing job so as to process the computing job.
