The application provides a kind of
active queue management method based on dynamic bandwidth
perception, comprising: S1, real-
time response data
packet arrival, obtain the available bandwidth value of current
network link and the length of data packet
queue;S2, according to the available bandwidth value of current
network link and the preset target forwarding
delay, calculate the current congestion threshold;S3, compare the length of current data packet
queue and the size of current congestion threshold, when the length of current data packet
queue is greater than or equal to current congestion threshold, it is congestion state;When in congestion state, further judge whether the
data stream to which the current arrived data packet belongs is aggressive flow, if it is aggressive flow, then according to the preset
packet loss method, the current arrived data packet is randomly discarded.The application maps the changing link available bandwidth into dynamic threshold to manage queue, so that network device can efficiently utilize network bandwidth;Through dynamic identification of aggressive flow and targeted setting of
packet loss strategy, network device can provide forwarding service more fairly.