# US 2025/0168116 A1 · Path Determining Method and Related Device

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

- Number: US 2025/0168116 A1
- Document ID: US20250168116A1
- Status: Published application
- Kind: A1
- Application number: 19/027,916
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2022-07-27
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Liang Shan; Huafeng Wen; Tao Wu; Jun Li; Qinzhi Wu; Bingquan Wang; Xiangyu Gong
- Web page: https://patentgrep.com/patent/US20250168116A1

## CPC

- H04L 45/24: Multipath
- H04L 45/74: Address processing for routing
- H04L 45/02: Topology update or discovery
- H04L 45/12: Shortest path evaluation
- H04L 45/38: {Flow based routing}
- H04L 45/42: Centralised routing
- H04L 45/64: using an overlay routing layer
- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A path determining method includes, after obtaining first topology information including connection relationships between N second network devices and P third network devices, and obtaining communication relationships of M data flows, a first network device determining M paths based on the communication relationships of the M data flows and the first topology information, and sending the M paths to the N second network devices. The N second network devices may send the M data flows to the P third network devices based on the M paths.

## Claims

### Claim 1

A method, applied to a first network device, and comprising:
obtaining first topology information comprising connection relationships between N second network devices and P third network devices, wherein the N second network devices are upstream of the P third network devices, wherein N is an integer greater than or equal to 2, and wherein P is an integer greater than or equal to 1;
obtaining communication relationships of M data flows from the N second network devices to the P third network devices, wherein each of the communication relationships comprises source address information and destination address information, and wherein M is an integer greater than or equal to 2;
determining, based on the communication relationships and the first topology information, M paths of the M data flows are from the N second network devices to the P third network devices; and
sending the M paths to the N second network devices.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the M data flows comprise a first data flow and a second data flow, wherein first source address information of the first data flow and second source address information of the second data flow correspond to different second network devices, wherein first destination address information of the first data flow and second destination address information of the second data flow correspond to a same fourth network device, wherein the M paths comprise a first path and a second path, and wherein the first path corresponds to the first data flow, the second path corresponds to the second data flow, and the first path and the second path correspond to different third network devices.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the M paths further indicate egress ports of the M data flows on the N second network devices.

### Claim 4 (depends on 2)

The method according to claim 2, wherein determining the M paths based on the communication relationships and the first topology information comprises:
determining a first mapping relationship based on the communication relationships and the first topology information, wherein the first mapping relationship is between a second network device corresponding to the source address information of each of the M data flows and a fourth network device corresponding to the destination address information of each of the M data flows; and
determining the M paths based on the first mapping relationship.

### Claim 5 (depends on 4)

The method according to claim 4, wherein determining the M paths based on the first mapping relationship comprises:
determining first sorting information based on the first mapping relationship, wherein the first sorting information indicates sorting of a quantity of the N second network devices corresponding to K fourth network devices;
sequentially traversing egress ports on the N second network devices based on the first sorting information in order to obtain a second mapping relationship, wherein the second mapping relationship indicates mapping relationships between the egress ports and the K fourth network devices; and
determining the M paths based on the second mapping relationship.

### Claim 6 (depends on 5)

The method according to claim 5, wherein sequentially traversing the egress ports based on the first sorting information comprises:
sequentially traversing the egress ports based on the first sorting information to obtain a third mapping relationship, wherein the third mapping relationship indicates an optional quantity of the egress ports corresponding to each of the K fourth network devices; and
determining the second mapping relationship based on the third mapping relationship.

### Claim 7 (depends on 1)

The method according to claim 1, wherein obtaining the communication relationships comprises receiving the communication relationships from the N second network devices.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the M data flows correspond to one of a plurality of artificial intelligence (AI) set communication tasks.

### Claim 9

(canceled)

### Claim 10

A method, applied to a second network device, and comprising:
sending communication relationships of Q data flows to a first network device, wherein each of the communication relationships comprises source address information and destination address information, and wherein Q is an integer greater than or equal to 1;
receiving, from the first network device, Q paths of the Q data flows; and
transmitting the Q data flows based on the Q paths.

### Claim 11 (depends on 10)

The method according to claim 10, wherein each of the communication relationships further comprises path information indicating egress ports of the Q data flows on the second network device.

### Claim 12 (depends on 10)

The method according to claim 10, wherein one or more data flows correspond to one of a plurality of artificial intelligence (AI) set communication tasks.

### Claim 13

A first network device, comprising:
a memory configured to store program instructions; and
at least one processor coupled to the memory and configured to execute the program instructions to cause the first network device to:
obtain first topology information comprising connection relationships between N second network devices and P third network devices, wherein the N second network devices are upstream of the P third network devices, wherein N is an integer greater than or equal to 2, and wherein P is an integer greater than or equal to 1;
obtain communication relationships of M data flows from the N second network devices to the P third network devices, wherein each of the communication relationships comprises source address information and destination address information, and wherein M is an integer greater than or equal to 2;
determine, based on the communication relationships and the first topology information, M paths of the M data flows from the N second network devices to the P third network devices; and
send the M paths to the N second network devices.

### Claim 14 (depends on 13)

The first network device according to claim 13, wherein the M data flows comprise a first data flow and a second data flow, wherein first source address information of the first data flow and second source address information of the second data flow correspond to different second network devices, wherein first destination address information of the first data flow and second destination address information of the second data flow correspond to a same fourth network device, wherein the M paths comprise a first path and a second path, wherein the first path corresponds to the first data flow, wherein the second path corresponds to the second data flow, and wherein the first path and the second path correspond to different third network devices.

### Claim 15 (depends on 13)

The first network device according to claim 13, wherein the M paths further indicate egress ports of the M data flows on the N second network devices.

### Claim 16 (depends on 14)

The first network device according to claim 14, wherein the at least one processor is further configured to execute the program instructions to cause the first network device to:
determine a first mapping relationship based on the communication relationships and the first topology information, wherein the first mapping relationship is between a second network device corresponding to the source address information of each of the M data flows and a fourth network device corresponding to the destination address information of each of the M data flows; and
determine the M paths based on the first mapping relationship.

### Claim 17 (depends on 16)

The first network device according to claim 16, wherein the at least one processor is further configured to execute the program instructions to cause the first network device to:
determine first sorting information based on the first mapping relationship, wherein the first sorting information indicates sorting of a quantity of the N second network devices corresponding to K fourth network devices;
sequentially traverse egress ports on the N second network devices based on the first sorting information in order to obtain a second mapping relationship, wherein the second mapping relationship indicates mapping relationships between the egress ports and the K fourth network devices, wherein the K fourth network devices are configured to receive the M data flows from the P third network devices; and
determine the M paths based on the second mapping relationship.

### Claim 18 (depends on 17)

The first network device according to claim 17, wherein the at least one processor is further configured to execute the program instructions to cause the first network device to:
sequentially traverse the egress ports based on the first sorting information in order to obtain a third mapping relationship, wherein the third mapping relationship indicates an optional quantity of the egress ports corresponding to each of the K fourth network devices; and
determine the second mapping relationship based on the third mapping relationship.

### Claim 19 (depends on 13)

The first network device according to claim 13, wherein the at least one processor is further configured to execute the program instructions to cause the first network device to receive the communication relationships from the N second network devices.

### Claim 20 (depends on 13)

The first network device according to claim 13, wherein the M data flows correspond to one of a plurality of artificial intelligence (AI) set communication tasks.

### Claim 21 (depends on 13)

The first network device according to claim 13, wherein the first network device is a controller or one of the P third network devices.

### Claim 22

A second network device, comprising:
a memory configured to store program instructions;
at least one processor coupled to the memory and configured to execute the program instructions to cause the second network device to determine communication relationships of Q data flows, wherein each of the communication relationships comprises source address information and destination address information, and wherein Q is an integer greater than or equal to 1; and
a transceiver coupled to the at least one processor and configured to:
send the communication relationships of the Q data flows to a first network device;
receive Q paths from the first network device, wherein the Q paths indicate paths used when the second network device transmits the Q data flows; and
transmit the Q data flows based on the Q paths.

### Claim 23 (depends on 22)

The second network device according to claim 22, wherein each of the communication relationships further comprises path information indicating egress ports of the Q data flows on the second network device.

### Claim 24 (depends on 22)

The second network device according to claim 22, wherein one or more data flows correspond to one of a plurality of artificial intelligence (AI) set communication tasks.

### Claim 25 (depends on 2)

The method according to claim 2, wherein the M data flows comprise a third data flow and a fourth data flow, wherein third source address information of the third data flow and fourth source address information of the fourth data flow correspond to a same second network device, and wherein the M paths comprise:
a third path corresponding to the third data flow; and
a fourth path corresponding to the fourth data flow, wherein the fourth path is different from the third path.
