# US 2025/0168107 A1 · Compute-aware routing method and apparatus

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

- Number: US 2025/0168107 A1
- Document ID: US20250168107A1
- Status: Published application
- Kind: A1
- Application number: 19/027,825
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2019-09-12
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Ruobin ZHENG
- Web page: https://patentgrep.com/patent/US20250168107A1

## CPC

- H04L 45/30: Routing of multiclass traffic
- H04L 45/44: Distributed routing
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 45/74: Address processing for routing
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- H04L 45/124: {using a combination of metrics}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a compute-aware routing method and apparatus. The method includes: a compute-aware router receives compute-aware routing information of at least one computing container, where the compute-aware routing information includes a computing code or a computing metric. The compute-aware router determines a routing information base RIB based on the compute-aware routing information, where the RIB includes either a function identifier FID of a function that can be provided by the computing container or an IP address prefix of the computing container in which the function is located and either the computing code or the computing metric, and the function includes any one of a software-defined computing program, function program, service software, or microservice that is deployed in the computing container.

## Claims

### Claim 1

A compute-aware routing method, comprising:
receiving, by a compute-aware router, compute-aware routing information of at least one computing container, wherein the compute-aware routing information comprises a computing code or a computing metric;
determining, by the compute-aware router, a routing information base RIB based on the compute-aware routing information, wherein the RIB comprises either a function identifier FID of a function that can be provided by the computing container or an IP address prefix of the computing container in which the function is located and either the computing code or the computing metric, and the function comprises any one of a software-defined computing program, function program, service software, or microservice that is deployed in the computing container; and
receiving, by the compute-aware router, a packet, and forwarding the packet based on a forwarding information base FIB, wherein the FIB is determined based on the RIB, and the FIB comprises the FID or the IP address prefix.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
sending, by the compute-aware router, the compute-aware routing information to another compute-aware router in a network.

### Claim 3 (depends on 1)

The method according to claim 1, wherein
the RIB comprises the FID, the computing metric, the IP address prefix, and an egress port;
the FID, the computing code, the IP address prefix, and an egress port;
the FID, the computing metric, an IP address of the compute-aware router, and an egress port;
the FID, the computing code, an IP address of the compute-aware router, and an egress port;
the IP address prefix, the computing metric, and an egress port;
the IP address prefix, the computing code, and an egress port;
the FID, the computing metric, and an egress port; or
the FID, the computing code, and an egress port; and
the FIB comprises the FID, the IP address prefix, and the egress port;
the FID, the IP address of the compute-aware router, and the egress port; or
the FID and the egress port.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the computing code comprises an evaluated computing delay value and/or a computing capacity level, a machine type or a weighted value α2 related to a machine type, and server load.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
agreeing, by a consumer of computing power with an owner of computing power, on a rent of computing power through a smart contract, and transferring, based on a computing capability provided by a computing container of the owner of computing power, a computing token whose quantity is equivalent to the computing capability to the smart contract.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the method further comprises:
generating, by the consumer of computing power, a computing code based on the computing token, and signing the computing code by using a private key; and
sending, by the consumer of computing power, the computing code signed by using the private key to a leaf router deployed in the computing container.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
receiving, by a first compute-aware router in a compute-aware network, a computing code signed by using a private key or a computing metric derived from the computing code signed by using the private key, and verifying validity of a signature of the computing code or a signature of the computing metric by using a public key; and
notifying, by the first compute-aware router, a smart contract of first information that indicates whether the signature of the computing code or the signature of the computing metric is valid.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the method further comprises:
sending, by the first compute-aware router to another compute-aware router in the compute-aware network, the computing code signed by using the private key or the computing metric derived from the computing code signed by using the private key.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the method further comprises:
selecting, by the first compute-aware router and another compute-aware router in the compute-aware network, a computing container based on the computing code or a computing capability provided by a computing container corresponding to the computing metric, to obtain an optimal compute-aware routing, to enable traffic to be routed to, for computation, a consumer of computing power offering a highest price.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
obtaining, by a smart contract, from a first compute-aware router in a compute-aware network, information about whether a signature of a computing code signed by using a private key or a signature of a computing metric derived from the computing code signed by using the private key is valid; and if the signature is valid, after the first compute-aware router successfully steers computing traffic, sending, by the smart contract, a computing token to an owner of computing power, wherein a quantity of computing tokens is related to a computing capability provided by a computing container of the owner of computing power.

### Claim 11 (depends on 1)

The method according to claim 1, further comprising:
agreeing, by an owner of computing power with a consumer of computing power, on a rent of computing power through a smart contract, and after a first compute-aware router in a compute-aware network successfully steers computing traffic, obtaining a computing token whose quantity is equivalent to a computing capability provided by a computing container of the owner of computing power.

### Claim 12

A compute-aware routing method, comprising:
obtaining, by a leaf router, a computing code of a computing container, wherein the leaf router is deployed in the computing container;
sending, by the leaf router, compute-aware routing information of the computing container to a compute-aware router connected to the leaf router, to enable the compute-aware router to send the compute-aware routing information to another compute-aware router in a network, wherein the compute-aware routing information comprises the computing code or a computing metric; and
receiving and forwarding, by the leaf router, a packet.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the obtaining, by a leaf router, a computing code of a computing container comprises:
obtaining, by the leaf router, the computing code from the computing container and/or a measurement tool, wherein the computing code comprises an evaluated computing delay value and/or a computing capacity level, a machine type or a weighted value α2 related to a machine type, and server load, and the evaluated computing delay value is measured by the measurement tool.

### Claim 14 (depends on 12)

The method according to claim 12, further comprising:
obtaining, by a leaf router deployed in a computing container, a computing code that is sent by a consumer of computing power and that is signed by using a private key; and
sending, by the leaf router over an IGP/BGP routing protocol, the computing code signed by using the private key or a computing metric derived from the computing code signed by using the private key to a first compute-aware router in a compute-aware network.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the method further comprises:
generating, by the leaf router, the computing code based on a computing token, and sending the computing code to the consumer of computing power, wherein a quantity of computing tokens is related to a computing capability provided by the computing container.

### Claim 16

A compute-aware routing apparatus, comprising:
one or more processors; and
a computer-readable memory storing a program to be executed by the one or more processors, the program including instructions that, when executed by the one or more processors, cause the apparatus to:
receive compute-aware routing information of at least one computing container, wherein the compute-aware routing information comprises a computing code or a computing metric;
determine a routing information base (RIB) based on the compute-aware routing information, wherein the RIB comprises either a function identifier (FID) of a function that can be provided by the computing container or the RIB comprises an Internet Protocol (IP) address prefix of the computing container in which the function is located and wherein either one of the computing code or the computing metric, and wherein the function comprises at least one of a software-defined computing program, a function program, a service software, or a microservice that is deployed in the computing container,
receive a packet; and
forward the packet based on a forwarding information base (FIB), wherein the FIB is determined based on the RIB, and the FIB comprises the FID or the IP address prefix.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the computing code comprises:
at least one of an evaluated computing delay value or a computing capacity level, a machine type or a weighted value α2 related to machine type, and a server load.

### Claim 18 (depends on 16)

The apparatus according to claim 16, further configured to:
receive, by a first compute-aware router in a compute-aware network, a computing code signed by using a private key or a computing metric derived from the computing code signed by using the private key, and verifying validity of a signature of the computing code or a signature of the computing metric by using a public key; and
notify, by the first compute-aware router, a smart contract of first information that indicates whether the signature of the computing code or the signature of the computing metric is valid.

### Claim 19 (depends on 18)

The apparatus according to claim 18, further configured to:
send, by the first compute-aware router to another compute-aware router in the compute-aware network, the computing code signed by using the private key or the computing metric derived from the computing code signed by using the private key.

### Claim 20 (depends on 19)

The apparatus according to claim 19, further configured to:
select, by the first compute-aware router and another compute-aware router in the compute-aware network, a computing container based on the computing code or a computing capability provided by a computing container corresponding to the computing metric, to obtain an optimal compute-aware routing, to enable traffic to be routed to, for computation, a consumer of computing power offering a highest price.
