US 12,328,266 B2
Flow control method, apparatus, and device, and computer-readable storage medium
Weilin Yin, Nanjing (CN); and Yongping Zhang, Beijing (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Mar. 17, 2023, as Appl. No. 18/185,499.
Claims priority of application No. 202210273279.5 (CN), filed on Mar. 18, 2022.
Prior Publication US 2023/0300082 A1, Sep. 21, 2023
Int. Cl. H04L 47/625 (2022.01); H04L 47/10 (2022.01); H04L 47/20 (2022.01)
CPC H04L 47/627 (2013.01) [H04L 47/20 (2013.01); H04L 47/29 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A flow control method, comprising:
determining, by a flow control apparatus, a first backpressure level of a first port, wherein the first backpressure level indicates a congestion degree of the first port;
determining a flow control policy corresponding to the first backpressure level, wherein the flow control policy is determined based on a user type and a user traffic attribute; and
controlling, according to the flow control policy, traffic entering a cache queue of the first port, wherein different backpressure levels correspond to different flow control policies,
wherein the traffic entering the cache queue of the first port comprises first user traffic and second user traffic that are of different user types, and a level of a user traffic attribute of the first user traffic is lower than a level of a user traffic attribute of the second user traffic; and
determining the flow control policy corresponding to the first backpressure level further comprises:
determining that the flow control policy corresponding to the first backpressure level is a first flow control policy; and
controlling, according to the flow control policy, traffic entering the cache queue of the first port further comprises:
suppressing, according to the first flow control policy, the first user traffic from entering the cache queue of the first port.