# US 2022/0286402 A1 · Method and apparatus for controlling data packet sending, model training method and 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 2022/0286402 A1
- Document ID: US20220286402A1
- Status: Published application
- Kind: A1
- Application number: 17/750,639
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2019-11-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wei WANG; Yiyang SHAO; Kai ZHENG
- Web page: https://patentgrep.com/patent/US20220286402A1

## CPC

- H04L 47/11: Identifying congestion
- H04L 47/10: Flow control; Congestion control
- H04L 47/28: in relation to timing considerations
- H04L 47/283: in response to processing delays, e.g. caused by jitter or round trip time [RTT]
- H04L 47/32: by discarding or delaying data units, e.g. packets or frames
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A controlling data packet sending method. The method for controlling data packet sending includes: obtaining a plurality of control models, where the plurality of control models corresponds to a plurality of conditions; selecting, based on a first condition, a first control model corresponding to the first condition from the plurality of control models, the first control model is used to process a transmission parameter of any network in at least one network; processing, by using the first control model, a transmission parameter of a first network accessed by an end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network; and controlling sending of the data packet of the first application based on the first control parameter.

## Claims

### Claim 1

A method for controlling data packet sending, wherein the method is applied to an end node, the end node runs a first application, and the method comprises:
obtaining a plurality of control models, wherein the plurality of control models corresponds to a plurality of conditions;
selecting, based on a first condition, a first control model corresponding to the first condition from the plurality of control models, wherein the first condition is used to indicate a congestion control requirement of the first application, the first control model is used to process a transmission parameter of any network in at least one network, to obtain a control parameter required for sending a data packet of the first application by using the any network, the at least one network comprises a first network accessed by the end node, the control parameter is used to control sending of the data packet of the first application, so that the any network meets the congestion control requirement of the first application, and the control parameter comprises at least one of a congestion window value or a transmit rate;
processing, by using the first control model, a transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network; and
controlling sending of the data packet of the first application based on the first control parameter.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first condition is further used to indicate an environment of the at least one network, and each network in the at least one network has a different environment.

### Claim 3 (depends on 2)

The method according to claim 2, wherein a part of the first condition that is used to indicate the environment of the at least one network comprises a range of at least one of the following first parameters:
a maximum bandwidth,
a minimum round-trip time,
a random packet loss rate, or
a size of a buffer, and the buffer comprises storage space that is in a routing/switching device in the network and that is used to cache a data packet sent by the end node.

### Claim 4 (depends on 1)

The method according to claim 1, wherein before the processing, by using the first control model, the transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network, the method further comprises:
determining the transmission parameter of the first network based on at least one of a current status parameter of the first network and a historical status parameter of the first network.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the transmission parameter comprises at least one of the following second parameters:
a round-trip time;
a time difference, wherein the time difference is a difference between a current value of the round-trip time and a minimum historical value of the round-trip time;
a transmit rate;
a receive rate;
a packet loss rate;
a value of an explicit congestion notification carried in a data packet on the network;
a congestion window value;
the round-trip time obtained after regularization processing;
the time difference obtained after regularization processing;
the transmit rate obtained after regularization processing;
the receive rate obtained after regularization processing;
the packet loss rate obtained after regularization processing;
the value of the explicit congestion notification carried in the data packet on the network that is obtained after regularization processing; and
the congestion window value obtained after regularization processing.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the transmission parameter further comprises: a change value corresponding to a target parameter in the at least one second parameter, the change value corresponding to the target parameter is related to a change amount of a current value relative to a historical value of the target parameter, and the target parameter is any parameter in the at least one second parameter.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first condition comprises an identifier of the control model corresponding to the first condition.

### Claim 8 (depends on 1)

The method according to claim 1, wherein after the controlling sending of the data packet of the first application based on the first control parameter, the method further comprises:
repeatedly executing a sending control procedure; and
the sending control procedure comprises: processing, by using the first control model, the transmission parameter of the first network accessed by the end node, to obtain the first control parameter required for sending the data packet of the first application by the end node by using the first network, and
controlling sending of the data packet of the first application based on the first control parameter.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising:
after the controlling sending of the data packet of the first application based on the first control parameter, sending at least one data packet of the first application by using the first network, wherein the sending control procedure further comprises:
sending the at least one data packet by using the first network; and
the repeatedly executing a sending control procedure comprises:
if an acknowledgement ACK packet of the at least one data packet is received by using the first network, repeatedly executing the sending control procedure.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the method further comprises:
obtaining training data corresponding to any condition of the plurality of conditions, wherein the training data corresponding to the any condition comprises a transmission parameter of the at least one network and a control parameter corresponding to any network in the at least one network, and the control parameter corresponding to the any network is used to control sending of a data packet in the any network, so that the any network meets a congestion control requirement indicated by the any condition; and
training an initial model based on the training data corresponding to the any condition, to obtain a control model corresponding to the any condition.

### Claim 11 (depends on 10)

The method according to claim 10, wherein before the obtaining training data corresponding to any condition of the plurality of conditions, the method further comprises:
forwarding a data packet sent by a first node by using the any network; and
forwarding a data packet sent by a second node by using the any network; and
the obtaining training data corresponding to any condition of the plurality of conditions comprises:
obtaining the training data corresponding to the any condition based on transmission, on the any network, of the forwarded data packet sent by the first node and the forwarded data packet sent by the second node.

### Claim 12

An apparatus for controlling data packet sending, comprising:
a memory and a processor, wherein the memory is coupled to the processor; and
the memory stores program instructions, and when the program instructions are run by the processor, the processor is configured to:
obtaining a plurality of control models, wherein the plurality of control models corresponds to a plurality of conditions;
selecting, based on a first condition, a first control model corresponding to the first condition from the plurality of control models, wherein the first condition is used to indicate a congestion control requirement of the first application, the first control model is used to process a transmission parameter of any network in at least one network, to obtain a control parameter required for sending a data packet of the first application by using the any network, the at least one network comprises a first network accessed by the end node, the control parameter is used to control sending of the data packet of the first application, so that the any network meets the congestion control requirement of the first application, and the control parameter comprises at least one of a congestion window value or a transmit rate;
processing, by using the first control model, a transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network; and
controlling sending of the data packet of the first application based on the first control parameter.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the first condition is further used to indicate an environment of the at least one network, and each network in the at least one network has a different environment.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein a part of the first condition that is used to indicate the environment of the at least one network comprises a range of at least one of the following first parameters:
a maximum bandwidth,
a minimum round-trip time,
a random packet loss rate, or
a size of a buffer, and the buffer comprises storage space that is in a routing/switching device in the network and that is used to cache a data packet sent by the end node.

### Claim 15 (depends on 12)

The apparatus according to claim 12, wherein before the processing, by using the first control model, the transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network, the processor is further configured to:
determining the transmission parameter of the first network based on at least one of a current status parameter of the first network and a historical status parameter of the first network.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the transmission parameter comprises at least one of the following second parameters:
a round-trip time;
a time difference, wherein the time difference is a difference between a current value of the round-trip time and a minimum historical value of the round-trip time;
a transmit rate;
a receive rate;
a packet loss rate;
a value of an explicit congestion notification carried in a data packet on the network;
a congestion window value;
the round-trip time obtained after regularization processing;
the time difference obtained after regularization processing;
the transmit rate obtained after regularization processing;
the receive rate obtained after regularization processing;
the packet loss rate obtained after regularization processing;
the value of the explicit congestion notification carried in the data packet on the network that is obtained after regularization processing; and
the congestion window value obtained after regularization processing.

### Claim 17

A non-transitory computer-readable storage medium, storing one or more instructions that, when the medium is in an apparatus for controlling data packet sending, executed by at least one processor, cause the at least one processor to:
obtain a plurality of control models, wherein the plurality of control models corresponds to a plurality of conditions;
select, based on a first condition, a first control model corresponding to the first condition from the plurality of control models, wherein the first condition is used to indicate a congestion control requirement of the first application, the first control model is used to process a transmission parameter of any network in at least one network, to obtain a control parameter required for sending a data packet of the first application by using the any network, the at least one network comprises a first network accessed by the end node, the control parameter is used to control sending of the data packet of the first application, so that the any network meets the congestion control requirement of the first application, and the control parameter comprises at least one of a congestion window value or a transmit rate;
process, by using the first control model, a transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network; and
control sending of the data packet of the first application based on the first control parameter.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the first condition is further used to indicate an environment of the at least one network, and each network in the at least one network has a different environment.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein a part, of the first condition, that is used to indicate the environment of the at least one network comprises a range of at least one of the following first parameters: a maximum bandwidth, a minimum round-trip time, a random packet loss rate, or a size of a buffer, and the buffer comprises storage space that is in a routing/switching device in the network and that is used to cache a data packet sent by the end node.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17 wherein before the processing, by using the first control model, the transmission parameter of the first network accessed by the end node, to obtain a first control parameter required for sending the data packet of the first application by the end node by using the first network, the processor is further configured to:
determine the transmission parameter of the first network based on at least one of a current status parameter of the first network and a historical status parameter of the first network.
