# US 2020/0348965 A1 · Methods, devices and computer program products for processing task

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

- Number: US 2020/0348965 A1
- Document ID: US20200348965A1
- Status: Published application
- Kind: A1
- Application number: 16/443,181
- Filed: 2019-06-17
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Hu Chenxi; Kun Wang; Sanping Li; Junping Zhao
- Web page: https://patentgrep.com/patent/US20200348965A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06N 3/08: Learning methods
- G06N 3/098: Distributed learning, e.g. federated learning
- G06F 2209/5017: Task decomposition
- H04L 69/164: Adaptation or special uses of UDP protocol
- H04L 69/22: Parsing or analysis of headers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present disclosure provide methods, devices, and computer program products for processing a task. A method of processing a task comprises: receiving, at a network device and from a set of computing devices, a set of processing results derived from processing the task by the set of computing devices; in response to receiving the set of processing results, executing a reduction operation on the set of processing results; and transmitting a result of the reduction operation to the set of computing devices. In this way, embodiments of the present disclosure can significantly reduce an amount of data exchanged among a plurality of devices processing a task in parallel, and thus reduce network latency caused by data exchange.

## Claims

### Claim 1

A method of processing a task, comprising:
receiving, at a network device and from a set of computing devices, a set of processing results derived from processing the task by the set of computing devices;
in response to receiving the set of processing results, executing a reduction operation on the set of processing results; and
transmitting a result of the reduction operation to the set of computing devices.

### Claim 2 (depends on 1)

The method of claim 1, wherein the network device is a programmable switch.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of computing devices comprises a first computing device, the set of processing results comprises a first processing result transmitted from the first computing device, and wherein the method further comprises:
after transmitting the result of the reduction operation to the set of computing devices,
in response to receiving the first processing result from the first computing device again, retransmitting the result of the reduction operation to the set of computing devices.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
before receiving the set of processing results,
receiving, from the set of computing devices, a set of requests for executing the reduction operation; and
in response to receiving the set of requests, transmitting, to each of the set of computing devices, a response to the set of requests.

### Claim 5 (depends on 4)

The method of claim 4, wherein receiving the set of processing results comprises:
determining, based on the received set of requests, respective network information of the set of computing devices; and
receiving, based on the respective network information of the set of computing devices, the set of processing results from the set of computing devices.

### Claim 6 (depends on 4)

The method of claim 4, wherein the set of computing devices comprises a second computing device, the set of requests comprises a second request transmitted from the second computing device, and wherein the method further comprises:
after transmitting the response to each of the set of computing devices,
in response to receiving the second request from the second computing device again, retransmitting the response to the second computing device.

### Claim 7

A method of processing a task, comprising:
deriving, at a computing device, a processing result from processing the task, the task being processed by a set of computing devices comprising the computing device, and the set of computing devices deriving, from processing the task, a set of processing results comprising the processing result;
transmitting, to a network device, the processing result to enable the network device to execute a reduction operation on the set of processing results; and
receiving, from the network device, a result of the reduction operation.

### Claim 8 (depends on 7)

The method of claim 7, wherein the network device is a programmable switch.

### Claim 9 (depends on 7)

The method of claim 7, wherein transmitting the processing result to the network device comprises:
pre-processing the processing result such that the pre-processed processing result is adapted for the reduction operation to be executed by the network device; and
transmitting, to the network device, the pre-processed processing result.

### Claim 10 (depends on 9)

The method of claim 9, wherein pre-processing the processing result comprises at least one of the following:
converting the processing result into a predetermined value range;
converting the processing result from a negative value into a positive value; and
converting the processing result from a floating point number into an integer.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
in response to receiving the result of the reduction operation, performing post-processing opposite to the pre-processing on the result of the reduction operation.

### Claim 12 (depends on 7)

The method of claim 7, further comprising:
in response to failing to receive the result of the reduction operation within a first threshold period after transmitting the processing result, retransmitting the processing result to the network device.

### Claim 13 (depends on 7)

The method of claim 7, wherein transmitting the processing result to the network device comprises:
before transmitting the processing result, transmitting a request for executing the reduction operation to the network device; and
in response to receiving a response to the request from the network device, transmitting the processing result to the network device.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
in response to failing to receive the response to the request within a second threshold period after transmitting the request, retransmitting the request to the network device.

### Claim 15

A network device, comprising:
a processor; and
a memory storing computer program instructions, the processor executing the computer program instructions stored in the memory to cause the network device to perform acts comprising:
receiving, from a set of computing devices, a set of processing results derived from processing the task by the set of computing devices;
in response to receiving the set of processing results, executing a reduction operation on the set of processing results; and
transmitting a result of the reduction operation to the set of computing devices.

### Claim 16 (depends on 15)

The network device of claim 15, wherein the network device is a programmable switch.

### Claim 17 (depends on 15)

The network device of claim 15, wherein the set of computing devices comprises a first computing device, the set of processing results comprises a first processing result transmitted from the first computing device, and wherein the acts further comprise:
after transmitting the result of the reduction operation to the set of computing devices,
in response to receiving the first processing result from the first computing device again, retransmitting the result of the reduction operation to the set of computing devices.

### Claim 18 (depends on 7)

A computing device, comprising:
a processor; and
a memory storing computer program instructions, the processor executing the computer program instructions stored in the memory to cause the computing device to perform the method of claim 7.

### Claim 19 (depends on 1)

A computer program product tangibly stored on a non-transient computer storage medium and comprising machine-executable instructions, the machine-executable instructions, when executed by a device, causing the device to carry out the method of claim 1.

### Claim 20 (depends on 7)

A computer program product tangibly stored on a non-transient computer storage medium and comprising machine-executable instructions, the machine-executable instructions, when executed by a device, causing the device to carry out the method of claim 7.
