# US 2023/0053663 A1 · Task processing method and apparatus, and electronic device

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

- Number: US 2023/0053663 A1
- Document ID: US20230053663A1
- Status: Published application
- Kind: A1
- Application number: 17/794,457
- Filed: 2021-01-22
- Published: 2023-02-23
- Earliest claimed: 2020-01-23
- Assignees: Novnet Computing System Tech Co., Ltd.
- Applicants: Novnet Computing System Tech Co., Ltd.
- Inventors: Yushi SHEN; Congchong RU; Chuanjun MA; Zhengbin YAO
- Web page: https://patentgrep.com/patent/US20230053663A1

## CPC

- H04L 41/12: Discovery or management of network topologies
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- H04L 43/0852: Delays
- H04L 43/106: using time related information in packets, e.g. by adding timestamps
- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 41/509: {wherein the managed service relates to media content delivery, e.g. audio, video or TV}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention provide a task processing method and apparatus, and an electronic device. The method comprises: acquiring target data and target algorithm required by a target task to be executed; acquiring from a network topology at least one first-type node capable of providing the target data and at least one second-type node capable of executing the target algorithm; selecting, from the at least one first-type node, a node that provides one set of target data as a first target node, and selecting, from the at least one second-type node, a node that provides one set of target algorithm as a second target node; and controlling the second target node to process the target data in the first target node by using the target algorithm. Therefore, the solution of the present invention can solve the problem of increase in design costs of the entire network topology when a task that needs to be completed involves a large amount of data, and the node that executes the task is required to have strong capabilities.

## Claims

### Claim 1

A task processing method, applied to a network topology, wherein the network topology comprises a plurality of nodes; and the task processing method comprises:
acquiring target data and target algorithm required by a target task to be executed;
acquiring at least one first-type node capable of providing the target data and at least one second-type node capable of executing the target algorithm from the network topology;
selecting a node that provides one set of the target data as a first target node from the at least one first-type node, and selecting a node that provides one set of the target algorithm as a second target node from the at least one second-type node; and
controlling the second target node to process the target data in the first target node by using the target algorithm;
selecting the node that provides one set of the target data as the first target node from the at least one first-type node, and selecting the node that provides one set of the target algorithm as the second target node from the at least one second-type node comprising:
acquiring a combination formed by the node that provides one set of the target data and the node that provides one set of the target algorithm;
selecting one target combination according to capability information of each combination, determining the node that provides one set of the target data in the target combination as the first target node, and determining the node that provides one set of the target algorithm in the target combination as the second target node;
wherein, the capability information of the combination comprises at least one of a time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination;
or, the capability information of the combination comprises at least one of a time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination, and a duration required for the node that provides one set of the target algorithm to execute the target algorithm;
or, the capability information of the combination comprises at least one of a time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination, and a cache space size of the node that provides one set of the target algorithm.

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5

(canceled)

### Claim 6

(canceled)

### Claim 7

(canceled)

### Claim 8

(canceled)

### Claim 9

(canceled)

### Claim 10

(canceled)

### Claim 11

(canceled)

### Claim 12

(canceled)

### Claim 13

(canceled)

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18

(canceled)

### Claim 19

(canceled)

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

(canceled)

### Claim 25

(canceled)

### Claim 26 (depends on 1)

The task processing method according to claim 1, wherein selecting one target combination according to the capability information of each combination, comprises:
selecting a combination corresponding to a minimum value of the time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination as the target combination;
or,
selecting a combination corresponding to a minimum value of a sum of the time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination and the duration required for the node that provides one set of the target algorithm to execute the target algorithm in the combination as the target combination;
or,
selecting a combination corresponding to a minimum value of a first ratio in the combination as the target combination, wherein the first ratio is a ratio of the time delay from the node that provides one set of the target data to the node that provides one set of the target algorithm in the combination to a value of the cache space size of the node that provides one set of the target algorithm in the combination.

### Claim 27 (depends on 1)

The task processing method according to claim 1, wherein before acquiring the target data and the target algorithm required by the target task to be executed, the method further comprises:
according to capability information of the nodes in the network topology, splitting the task to be executed into at least one subtask, and determining one subtask thereof as the target task.

### Claim 28 (depends on 1)

The task processing method according to claim 1, wherein when the target data comprises a video stream or an audio stream, controlling the second target node to process the target data in the first target node by using the target algorithm, comprises:
controlling the second target node to process a received first data packet of the target data sent by the first target node by using the target algorithm;
herein, the first data packet comprises a video stream or an audio stream with a preset duration.

### Claim 29 (depends on 28)

The task processing method according to claim 28, wherein after controlling the second target node to process the received first data packet of the target data sent by the first target node by using the target algorithm, the method further comprises:
in the process of receiving the processed first data packet sent by the second target node, controlling the second target node to process a received second data packet of the target data sent by the first target node by using the target algorithm;
wherein, the second data packet comprises a video stream or an audio stream with a preset duration.

### Claim 30 (depends on 1)

The task processing method according to claim 1, wherein controlling the second target node to process the target data in the first target node by using the target algorithm, comprises:
sending first instruction information to the first target node, wherein the first instruction information is configured for instructing the first target node to send the target data to the second target node;
sending second instruction information to the second target node, wherein the second instruction information is configured for instructing the second target node to process the target data by using the target algorithm; and
receiving the data sent by the second target node acquired after processing the target data by using the target algorithm.

### Claim 31

A task processing apparatus applied to a network topology, wherein the network topology comprises at least a plurality of nodes; and the task processing apparatus comprises:
a first acquisition module configured for acquiring target data and target algorithm required by a target task to be executed;
a second acquisition module configured for acquiring from the network topology at least one first-type node capable of providing the target data and at least one second-type node capable of executing the target algorithm;
a selection module configured for selecting, from the at least one first-type node, a node that provides one set of target data as a first target node, and selecting, from the at least one second-type node, a node that provides one set of target algorithm as a second target node; and
a control module configured for controlling the second target node to process a received first data packet of the target data sent by the first target node by using the target algorithm;
the selection module comprises:
a combination submodule configured for acquiring a combination formed by the node that provides one set of target data and the node that provides one set of target algorithm; and
a selection submodule configured for selecting one target combination according to capability information of each combination, determining the node that provides one set of target data in the target combination as the first target node, and determining the node that provides one set of target algorithm in the target combination as the second target node.

### Claim 32 (depends on 1)

An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the task processing method according to claim 1.

### Claim 33 (depends on 1)

A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the task processing method according to claim 1.
