-
公开(公告)号:US20190132262A1
公开(公告)日:2019-05-02
申请号:US16233894
申请日:2018-12-27
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Shengwei ZHENG , Dehong DING , Xiong YANG
IPC: H04L12/879 , H04L12/883 , H04L12/863 , H04L12/873
Abstract: A queue management method and apparatus are disclosed. The queue management method includes: storing a first packet to a first buffer cell included in a first macrocell, where the first macrocell is enqueued to a first entity queue, the first macrocell includes N consecutive buffer cells, and the first buffer cell belongs to the N buffer cells; correcting, based on a packet length of the first packet, an average packet length in the first macrocell that is obtained before the first packet is stored, to obtain a current average packet length in the first macrocell; and generating, based on the first macrocell and the first entity queue, queue information corresponding to the first macrocell of the first macrocell in the first entity queue, a head pointer in the first macrocell, a tail pointer in the first macrocell, and the current average packet length in the first macrocell.