摘要 |
The present invention discloses a method for determining a transmission buffer size, including: acquiring a transmission delay of a data packet that is sent by a transmit end on a transmission link between the transmit end and a receive end; if a primary congestion status of the transmission link is congested, updating a minimum transmission delay according to the transmission delay and based on a first update period, and if the primary congestion status is non-congested, updating the minimum transmission delay according to the transmission delay and based on a second update period, where a period length of the first update period is shorter than a period length of the second update period; and obtaining a minimum transmission delay of the transmission link, and determining a transmission buffer size of the transmission link according to the transmission delay and the minimum transmission delay. According to the method, an abnormally high point, appearing in a transmission process, of a transmission buffer size can be removed or smoothened in a timely manner when a primary congestion status is congested, so that a minimum transmission delay of the transmission link is more accurate, thereby making the transmission buffer size of the transmission link more accurate. |