# US 2020/0403904 A1 · Data Processing Method, Apparatus, and System

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

- Number: US 2020/0403904 A1
- Document ID: US20200403904A1
- Status: Published application
- Kind: A1
- Application number: 17/012,941
- Filed: 2020-09-04
- Published: 2020-12-24
- Earliest claimed: 2018-03-05
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yi Huang; Yinben Xia; Mengzhu Liu
- Web page: https://patentgrep.com/patent/US20200403904A1

## CPC

- H04L 45/64: using an overlay routing layer
- G06N 3/08: Learning methods
- G06N 3/098: Distributed learning, e.g. federated learning
- H04L 45/025: {Updating only a limited number of routers, e.g. fish-eye update}
- H04L 45/127: {based on intermediate node capabilities}
- H04L 45/20: {Hop count for routing purposes, e.g. TTL}
- H04L 45/306: {Route determination based on the nature of the carried application}
- H04L 45/42: Centralised routing
- H04L 45/74: Address processing for routing
- H04L 47/41: by acting on aggregated flows or links
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/63: Routing a service request depending on the request content or context
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

This application provides a data processing method. After receiving a processing request that is sent by a specified node and that carries identifiers of a plurality of computing nodes configured to execute a specified calculation task, a controller may determine a target switching device from switching devices configured to connect to the plurality of computing nodes; and separately send, to the target switching device and the specified node, routing information used to indicate data forwarding paths between the plurality of computing nodes and the target switching device. The target switching device is configured to combine, based on the routing information, data reported by the plurality of computing nodes, and then send combined data to each computing node. The specified node is configured to send the routing information to each computing node, and each computing node may report data to the target switching device based on the routing information.

## Claims

### Claim 1

A data processing method, wherein the method is applied to a controller in a data center network, and comprises:
receiving a processing request that is for a specified calculation task and that is sent by a specified node, wherein the processing request comprises identifiers of a plurality of computing nodes configured to execute the specified calculation task, and the plurality of computing nodes comprise the specified node;
determining a target switching device from switching devices configured to connect to the plurality of computing nodes; and
separately sending routing information corresponding to the specified calculation task to the target switching device and the specified node, wherein the routing information is used to indicate data forwarding paths between the plurality of computing nodes and the target switching device, wherein
the routing information is used for the target switching device to send, after the target switching device combines data reported by the plurality of computing nodes, the combined data to each computing node based on the routing information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the data forwarding paths between the plurality of computing nodes and the target switching device comprise at least one switching device, and the method further comprises:
determining, from the at least one switching device comprised in the data forwarding paths, a switching device connected to at least two computing nodes among the plurality of computing nodes as an intermediate switching device; and
sending the routing information to the intermediate switching device, wherein the routing information is used for the intermediate switching device to send, after the intermediate switching device combines data reported by the at least two computing nodes connected to the intermediate switching device, the combined data to the target switching device based on the routing information.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the separately sending routing information corresponding to the specified calculation task to the target switching device and the specified node comprises:
sending routing information that comprises an identifier of a directly connected device of the target switching device to the target switching device, wherein the directly connected device of the target switching device is a computing node or an intermediate switching device; and
sending routing information that comprises an identifier of a directly connected device of each computing node to the specified node, wherein the directly connected device of the computing node is the target switching device or an intermediate switching device, and the specified node is configured to send the identifier of the directly connected device of the computing node to the corresponding computing node; and
the sending the routing information to the intermediate switching device comprises:
sending routing information that comprises an identifier of a directly connected device of the intermediate switching device to the intermediate switching device, wherein the directly connected device of the intermediate switching device is a computing node, the target switching device, or another intermediate switching device.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining a target switching device from switching devices configured to connect to the plurality of computing nodes comprises:
separately calculating a sum of router hop counts between computing nodes and each switching device among the switching devices configured to connect to the plurality of computing nodes; and
determining a switching device corresponding to a minimum sum of router hop counts as the target switching device.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the determining a switching device corresponding to a minimum sum of router hop counts as the target switching device comprises:
when there are a plurality of switching devices corresponding to minimum sums of router hop counts, separately determining a performance parameter of each switching device corresponding to a minimum sum of router hop counts, wherein the performance parameter comprises at least one of available bandwidth, computing load, a throughput, or a quantity of times for which the switching device is selected as the target switching device; and
determining, from the plurality of switching devices corresponding to the minimum sums of the router hop counts, a switching device having a performance parameter that meets a preset condition as the target switching device.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the determining a switching device corresponding to a minimum sum of router hop counts as the target switching device comprises:
when there are a plurality of switching devices corresponding to minimum sums of router hop counts, separately determining balance degrees of router hop counts between each switching device corresponding to a minimum sum of router hop counts and the computing nodes; and
determining, from the plurality of switching devices corresponding to the minimum sums of the router hop counts, a switching device corresponding to a highest balance degree of router hop counts as the target switching device.

### Claim 7 (depends on 4)

The method according to claim 4, wherein before a sum of router hop counts between each switching device and the computing nodes is calculated, the method further comprises:
detecting whether the plurality of computing nodes are all directly connected to a same switching device; and
when the plurality of computing nodes are all directly connected to a same switching device, determining the switching device directly connected to the plurality of computing nodes as the target switching device; and
the calculating a sum of router hop counts between computing nodes and each switching device among the switching devices configured to connect to the plurality of computing nodes comprises:
when the plurality of computing nodes are directly connected to different switching devices, calculating a sum of router hop counts between the computing nodes and each switching device among the switching devices configured to connect to the plurality of computing nodes.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the determining a target switching device from switching devices configured to connect to the plurality of computing nodes comprises:
determining at least one alternative switching device from the switching devices configured to connect to the plurality of computing nodes, wherein each alternative switching device is connected to at least two computing nodes among the plurality of computing nodes by using downlink paths; and
determining the target switching device from the at least one alternative switching device.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the processing request further comprises a combining type corresponding to the specified calculation task, and the method further comprises:
sending the combining type corresponding to the specified calculation task to the target switching device, wherein the target switching device is configured to combine, based on the combining type, the data reported by the plurality of computing nodes.

### Claim 10

A data processing apparatus, wherein the apparatus is applied to a controller in a data center network, and comprises:
one or more communications interfaces configured to:
receive a processing request that is for a specified calculation task and that is sent by a specified node, wherein the processing request comprises identifiers of a plurality of computing nodes configured to execute the specified calculation task, and the plurality of computing nodes comprise the specified node; and
separately send routing information corresponding to the specified calculation task to a target switching device and the specified node, wherein the routing information is used to indicate data forwarding paths between the plurality of computing nodes and the target switching device;
a processor;
a memory storing a computer program;
the processor being execute the computer program to: determine the target switching device from switching devices configured to connect to the plurality of computing nodes,
wherein the routing information is used for the target switching device to send, after the target switching device combines data reported by the plurality of computing nodes, the combined data to each computing node based on the routing information.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the data forwarding paths between the plurality of computing nodes and the target switching device comprise at least one switching device;
the processor being execute the computer program further to determine, from the at least one switching device comprised in the data forwarding paths, a switching device that is connected to at least two computing nodes among the plurality of computing nodes as an intermediate switching device; and
one or more communications interfaces are further configured to send the routing information to the intermediate switching device, wherein the routing information is used for the intermediate switching device to send, after the intermediate switching device combines data reported by the at least two computing nodes connected to the intermediate switching device, the combined data to the target switching device based on the routing information.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the one or more communications interfaces are configured to send routing information that comprises an identifier of a directly connected device of the target switching device to the target switching device, wherein the directly connected device of the target switching device is a computing node or an intermediate switching device;
send routing information that comprises an identifier of a directly connected device of each computing node to the specified node, wherein the directly connected device of the computing node is the target switching device or an intermediate switching device, and the specified node is configured to send the identifier of the directly connected device of the computing node to the corresponding computing node; and
send routing information that comprises an identifier of a directly connected device of the intermediate switching device to the intermediate switching device, wherein the directly connected device of the intermediate switching device is a computing node, the target switching device, or another intermediate switching device.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein the processor being execute the computer program to calculate a sum of router hop counts between the computing nodes and each switching device among the switching devices configured to connect to the plurality of computing nodes; and determine a switching device corresponding to a minimum sum of router hop counts as the target switching device.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the processor being execute the computer program to:
when there are a plurality of switching devices corresponding to minimum sums of router hop counts, separately determine a performance parameter of each switching device corresponding to a minimum sum of router hop counts, wherein the performance parameter comprises at least one of available bandwidth, computing load, a throughput, or a quantity of times for which the switching device is selected as the target switching device; and
determine, from the plurality of switching devices corresponding to the minimum sums of the router hop counts, a switching device having a performance parameter that meets a preset condition as the target switching device.

### Claim 15 (depends on 13)

The apparatus according to claim 13, wherein the processor being execute the computer program to:
when there are a plurality of switching devices corresponding to minimum sums of router hop counts, separately determine balance degrees of router hop counts between each switching device corresponding to a minimum sum of router hop counts and the computing nodes; and
determine, from the plurality of switching devices corresponding to the minimum sums of the router hop counts, a switching device corresponding to a highest balance degree of router hop counts as the target switching device.

### Claim 16 (depends on 13)

The apparatus according to claim 13, wherein the processor being execute the computer program further to
detect whether the plurality of computing nodes are all directly connected to a same switching device; and
when the plurality of computing nodes are all directly connected to a same switching device, determine the switching device directly connected to the plurality of computing nodes as the target switching device, wherein
when the plurality of computing nodes are directly connected to different switching devices, calculate a sum of router hop counts between the computing nodes and each switching device among the switching devices configured to connect to the plurality of computing nodes.

### Claim 17

A data processing apparatus, wherein the apparatus is applied to a switching device in a data center network, and comprises:
a switching chip configured to receive routing information that is corresponding to a specified calculation task and that is sent by a controller, wherein the routing information is used to indicate data forwarding paths between a plurality of computing nodes and a target switching device, and the plurality of computing nodes are configured to execute the specified calculation task; and send combined data based on the routing information;
a processor;
a memory storing a computer program;
the processor being execute the computer program to:
combine data reported by the plurality of computing nodes, wherein
the routing information is sent by the controller after the controller receives a processing request that is for the specified calculation task and that is sent by a specified node, and determines the target switching device from switching devices configured to connect to the plurality of computing nodes.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the switching chip is further configured to: before the data reported by the plurality of computing nodes is combined, receive a combining type that is corresponding to the specified calculation task and that is sent by the controller; and
the processor being execute the computer program to:
combine, based on the combining type, the data reported by the plurality of computing nodes.

### Claim 19 (depends on 17)

The apparatus according to claim 17, wherein the switching device is the target switching device; and the switching chip is configured to: send the combined data to each computing node based on the routing information.

### Claim 20 (depends on 17)

The apparatus according to claim 17, wherein the switching device is an intermediate switching device configured to connect to the target switching device and at least two computing nodes;
the processor being execute the computer program to combine data reported by the at least two computing nodes; and
the switching chip is configured to send the combined data to the target switching device based on the routing information.
