US 12,309,072 B2
Network congestion control method and network device
Jun Zhou, Nanjing (CN); Nu Xia, Nanjing (CN); Xiaoyang Qu, Shenzhen (CN); Luyou He, Nanjing (CN); and Xia Zhu, Nanjing (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Nov. 23, 2022, as Appl. No. 17/993,346.
Application 17/993,346 is a continuation of application No. PCT/CN2021/095232, filed on May 21, 2021.
Claims priority of application No. 202010456643.2 (CN), filed on May 26, 2020.
Prior Publication US 2023/0090622 A1, Mar. 23, 2023
Int. Cl. G06F 15/173 (2006.01); H04L 47/10 (2022.01); H04L 47/127 (2022.01); H04L 47/193 (2022.01); H04L 47/27 (2022.01); H04L 47/30 (2022.01)
CPC H04L 47/27 (2013.01) [H04L 47/10 (2013.01); H04L 47/127 (2013.01); H04L 47/193 (2013.01); H04L 47/30 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
determining, by a forwarding device that forwards a Transmission Control Protocol (TCP) flow, based on a buffer status of the forwarding device, that pre-congestion occurs in a forwarding direction of the TCP flow, wherein the buffer status of the forwarding device depends on one or more of following: a quantity of packets buffered in the forwarding device, or a data volume of the packets buffered in the forwarding device, or a ratio of the data volume of the packets buffered in the forwarding device to a buffer area, and wherein it is determined that the pre-congestion occurs in the forwarding direction of the TCP flow when one or more of following are met:
a quantity of packets buffered in the forwarding device in the forwarding direction of the TCP flow is greater than a preset quantity; or
a data volume of the packets buffered in the forwarding device in the forwarding direction of the TCP flow is greater than a preset data volume; or
a ratio of the data volume of the packets buffered in the forwarding device in the forwarding direction of the TCP flow to the buffer area is greater than a preset ratio; and
when the pre-congestion occurs in the forwarding direction of the TCP flow on the forwarding device that forwards the TCP flow, reducing, by the forwarding device, a value of a receive window (RWND) field in an acknowledge (ACK) packet of a packet in the TCP flow, and wherein:
the ACK packet acknowledges receipt of the packet and is in an opposite direction to the forwarding direction of the TCP flow; and
the preset quantity or the preset data volume or the preset ratio is determined by the forwarding device based on a current throughput in the forwarding direction of the TCP flow and the quantity of packets buffered in the forwarding device or the data volume of the packets buffered in the forwarding device.