Queue management method, device, equipment and storage medium

By detecting the change rate of data packet delay and queue length, and determining the probability of packet loss for queue management, it solves the problem of low network service quality in modern network environments and achieves more stable network performance and higher resource utilization.

CN118381769BActive Publication Date: 2024-09-27PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410687716.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-27
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing network queue management methods cannot effectively meet the network service quality requirements in modern complex network environments, leading to network congestion, packet loss, and service quality degradation.

Method used

By detecting the delay change rate and queue length when data packets arrive, the probability of packet loss is determined, and queue management is performed based on this probability to achieve timely discarding or forwarding of data packets to avoid network congestion.

Benefits of technology

This method can provide more stable network performance and higher resource utilization in modern complex network environments, improve the response speed of active queue management, and ensure high-quality network service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381769B
    Figure CN118381769B
Patent Text Reader

Abstract

The present invention belongs to the field of the Internet, and discloses a queue management method, device, equipment and storage medium. The method includes: when a new data packet is detected to arrive, obtaining the delay change rate of the data packet on the queue; determining the queue warning length and the actual length of the queue; determining the packet loss probability according to the delay change rate, the queue warning length and the actual length of the queue; and performing queue management based on the packet loss probability. Since the present invention determines the packet loss probability based on the delay change rate, the queue warning length and the actual length of the queue, queue management is performed based on the packet loss probability. Compared with the existing method of randomly discarding data packets, the above method of the present invention fully considers the two dimensions of delay and queue length, and can obtain more stable network performance and higher network resource utilization, while improving the response speed of active queue management, so as to provide users with high-quality network service quality in the environment of modern complex networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a queue management method, device, equipment and storage medium. Background Art

[0002] As the number of Internet users increases, Internet traffic surges and network load increases. At the same time, the emergence of emerging applications such as online live broadcasts and real-time competitive games has put forward higher requirements for network service quality. Limited network resources and huge network loads have led to network congestion, resulting in serious packet loss and increased packet delay, which has led to a decline in service quality or even unavailability. Therefore, in order to ensure the quality of network service, network congestion control is essential. Active queue management technology is a method of congestion control at the intermediate forwarding nodes (such as routers) in the network. By managing and scheduling the queues formed by data packets that have not been forwarded in time on the forwarding nodes, data packets are actively discarded before congestion occurs or in the initial stage, thereby avoiding congestion and improving the quality of network service.

[0003] The earliest proposed random early detection (RED) and its improved derivative WRED are both based on queue length control, and the queue length is expected to converge to the target value. Such methods are easily affected by changes in network traffic, resulting in a decrease in throughput. In order to overcome this shortcoming, researchers have proposed a packet drop and link utilization method (such as BLUE). Such methods can respond to changes in traffic load in a timely manner, but the jitter caused by parameter settings causes the queue to fluctuate violently between packet loss and low utilization. These two methods cannot meet the existing large network traffic and the demand for high-speed performance. Therefore, it is necessary to propose a queue management method that adapts to the modern complex network environment to solve the problem of the existing inability to provide users with high-quality network service quality.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a queue management method, device, equipment and storage medium, aiming to solve the technical problem of low network service quality in the prior art.

[0006] To achieve the above object, the present invention provides a queue management method, which comprises the following steps:

[0007] When a new data packet arrives, the delay change rate of the data packet in the queue is obtained;

[0008] Determine the queue warning length and the queue actual length;

[0009] Determine the packet loss probability according to the delay change rate, the queue warning length and the queue actual length;

[0010] Queue management is performed based on the packet loss probability.

[0011] Optionally, the step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length includes:

[0012] If the actual queue length is greater than the queue warning length, determining whether the delay change rate is greater than a first preset delay change rate;

[0013] When the delay change rate is greater than the first preset delay change rate, determining that the packet loss probability is the first preset packet loss probability;

[0014] If the actual queue length is less than or equal to the queue warning length, determining whether the delay change rate is less than a second preset delay change rate;

[0015] When the delay change rate is less than the second preset delay change rate, the packet loss probability is determined to be the second preset packet loss probability.

[0016] Optionally, after the step of detecting the arrival of a new data packet, the method further includes:

[0017] Get the average latency of packets in the queue;

[0018] The step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length comprises:

[0019] The packet loss probability is determined according to the average delay, the delay change rate, the queue warning length and the queue actual length.

[0020] Optionally, the step of determining the packet loss probability according to the average delay, the delay change rate, the queue warning length and the queue actual length includes:

[0021] When the actual queue length is greater than the queue warning length, determining whether the delay change rate is less than or equal to the first preset delay change rate;

[0022] If the delay change rate is less than or equal to the first preset delay change rate, the packet loss probability is determined according to a preset drop probability algorithm.

[0023] Optionally, the step of determining the packet loss probability according to a preset drop probability algorithm includes:

[0024] Determining whether the delay change rate is greater than the second preset delay change rate;

[0025] If the delay change rate is greater than or equal to the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0026]

[0027] If the delay change rate is less than the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0028]

[0029] Among them, P is used to represent the probability of packet loss. Used to characterize the preset initial drop probability, Used to characterize the packet arrival interval. Used to characterize the minimum interval between data packets arriving. Used to characterize the maximum interval between data packets arriving. Used to characterize the delay change rate, Used to characterize the first preset delay change rate.

[0030] Optionally, the step of obtaining the delay change rate of the data packets in the queue includes:

[0031] The delay variation rate of packets in a queue is determined by the following formula:

[0032]

[0033] in, Used to characterize the delay change rate of the data packet in the queue at the kth moment, The buffer queue time used to characterize the queue at the kth moment;

[0034]

[0035] and They are used to represent the packet arrival interval and the maximum interval between packet arrivals respectively.

[0036] Optionally, the step of performing queue management based on the packet loss probability includes:

[0037] discarding the data packet based on the packet loss probability;

[0038] The remaining data packets in the queue are dequeued from the buffer.

[0039] In addition, to achieve the above object, the present invention also provides a queue management device, the device comprising:

[0040] The detection module is used to obtain the delay change rate of the data packets in the queue when a new data packet arrives;

[0041] A determination module, used to determine the queue warning length and the queue actual length;

[0042] A packet loss probability calculation module, used to determine the packet loss probability according to the delay change rate, the queue warning length and the queue actual length;

[0043] The queue management module is used to perform queue management based on the packet loss probability.

[0044] In addition, to achieve the above objectives, the present invention also proposes a queue management device, which includes: a memory, a processor, and a queue management program stored in the memory and executable on the processor, wherein the queue management program is configured to implement the steps of the queue management method described above.

[0045] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a queue management program is stored, and when the queue management program is executed by a processor, the steps of the queue management method described above are implemented.

[0046] When the arrival of a new data packet is detected, the present invention obtains the delay change rate of the data packet on the queue; determines the queue warning length and the actual queue length; determines the packet loss probability according to the delay change rate, the queue warning length and the actual queue length; and manages the queue based on the packet loss probability. Since the present invention determines the packet loss probability based on the delay change rate, the queue warning length and the actual queue length, queue management is performed based on the packet loss probability. Compared with the existing method of randomly discarding data packets, the above method of the present invention fully considers the two dimensions of delay and queue length, and can obtain more stable network performance and higher network resource utilization, while improving the response speed of active queue management, so as to provide users with high-quality network service quality in a modern complex network environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a structural diagram of a queue management device in a hardware operating environment involved in an embodiment of the present invention;

[0048] Figure 2 This is a flow chart of a first embodiment of a queue management method of the present invention;

[0049] Figure 3 A schematic diagram of a flow chart of a second embodiment of a queue management method of the present invention;

[0050] Figure 4 This is an overall flow chart of the second embodiment of the queue management method of the present invention;

[0051] Figure 5 It is a structural block diagram of the first embodiment of the queue management device of the present invention.

[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0054] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a queue management device in a hardware operating environment according to an embodiment of the present invention.

[0055] like Figure 1 As shown, the queue management device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0056] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the queue management device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0057] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a queue management program.

[0058] exist Figure 1In the queue management device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the queue management device of the present invention can be set in the queue management device, and the queue management device calls the queue management program stored in the memory 1005 through the processor 1001, and executes the queue management method provided by the embodiment of the present invention.

[0059] Based on the above queue management device, an embodiment of the present invention provides a queue management method, referring to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the queue management method of the present invention.

[0060] In this embodiment, the queue management method includes the following steps:

[0061] Step S10: when the arrival of a new data packet is detected, the delay change rate of the data packet in the queue is obtained.

[0062] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a mobile phone, a tablet computer, a personal computer, etc., or an electronic device or a queue management device that can realize the above functions. The queue management device is taken as an example to illustrate this embodiment and the following embodiments.

[0063] It should be noted that the delay change rate of the data packets in the queue can be determined by the following formula:

[0064]

[0065] in, Used to characterize the delay change rate of the data packet in the queue at the kth moment, The buffer queue time used to characterize the queue at the kth moment;

[0066]

[0067] and They are used to represent the packet arrival interval and the maximum interval between packet arrivals respectively.

[0068] In a specific implementation, the queue management device may be a network intermediate forwarding node, such as a router. The queue management device is first initialized and then waits for a new data packet to arrive. When a new data packet arrives, the delay change rate of the data packet in the queue is calculated.

[0069] Step S20: Determine the queue warning length and the queue actual length.

[0070] It should be noted that when the traffic volume on the link changes, the queue length of the queue management device will also change accordingly. Therefore, the queue length can also reflect the load status to a certain extent. The queue warning length is defined. for:

[0071]

[0072] in,

[0073] is the weight coefficient, The expected queue delay is a value that is pre-defined based on actual usage scenarios and experience. is the egress link bandwidth, is the minimum average queue length threshold, is the maximum average queue length threshold, The average queue length is calculated in the same way as the Random Early Detection (RED) algorithm, using the exponentially weighted moving average of the queue length. Greater than or less than To determine in advance whether there is a tendency for congestion to occur, so as to adopt different packet loss strategies. Since the network parameters of the queue warning length are related to the specific network environment and application requirements, it can adapt to various network scenarios.

[0074] Step S30: determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length.

[0075] It should be noted that the determining of the packet loss probability according to the delay change rate, the queue warning length and the queue actual length may be that if the queue actual length is greater than the queue warning length, then determining whether the delay change rate is greater than a first preset delay change rate;

[0076] When the delay change rate is greater than the first preset delay change rate, the packet loss probability is determined to be the first preset packet loss probability, wherein the first preset packet loss probability may be 1, that is, the data packet is discarded.

[0077] If the actual queue length is less than or equal to the queue warning length, determining whether the delay change rate is less than a second preset delay change rate;

[0078] When the delay change rate is less than the second preset delay change rate, the packet loss probability is determined to be the second preset packet loss probability. The second preset packet loss probability may be 0, that is, the data packet is not discarded. The first preset delay change rate is greater than the second preset delay change rate. It is a preset value.

[0079] Step S40: performing queue management based on the packet loss probability.

[0080] It should be noted that the queue management based on the packet loss probability may be to discard or forward data packets according to the packet loss probability to provide high-quality network service quality.

[0081] When the arrival of a new data packet is detected, this embodiment obtains the delay change rate of the data packet on the queue; determines the queue warning length and the actual queue length; determines the packet loss probability based on the delay change rate, the queue warning length and the actual queue length; and manages the queue based on the packet loss probability. Since this embodiment determines the packet loss probability based on the delay change rate, the queue warning length and the actual queue length, queue management is performed based on the packet loss probability. Compared with the existing method of randomly discarding data packets, the above method of this embodiment fully considers the two dimensions of delay and queue length, and can obtain more stable network performance and higher network resource utilization, while improving the response speed of active queue management, so as to provide users with high-quality network service quality in a modern complex network environment.

[0082] refer to Figure 3 , Figure 3 It is a flowchart of the second embodiment of the queue management method of the present invention.

[0083] Based on the first embodiment above, in this embodiment, after the step of detecting the arrival of a new data packet, the method further includes:

[0084] Get the average latency of packets in the queue;

[0085] The step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length comprises:

[0086] The packet loss probability is determined according to the average delay, the delay change rate, the queue warning length and the queue actual length.

[0087] It should be noted that the average delay of data packets in the queue can be obtained by the following formula:

[0088]

[0089] in, It is used to characterize the average delay of data packets in the queue at the kth moment. It is used to characterize the average delay of the data packets in the queue at the k+1th time. Used to characterize the buffer queue time of the queue at the kth moment.

[0090] The step of determining the packet loss probability according to the average delay, the delay change rate, the queue warning length and the queue actual length comprises:

[0091] Step S301: when the actual queue length is greater than the queue warning length, determining whether the delay change rate is less than or equal to the first preset delay change rate.

[0092] It should be noted that the delay change rate reflects the changing trend of the queue delay. The delay change rate can better grasp the traffic change characteristics in the network. Configurable parameters , when the delay change rate When the delay change rate is When , the average delay of the data packets in the queue is increasing; when When , the average delay of the data packets in the queue tends to be stable. In this embodiment, It can be expressed as a first preset delay change rate, which is a preset value. The first preset delay change rate and The settings can be customized according to the actual network scenario, and this embodiment does not limit this.

[0093] Step S302: If the delay change rate is less than or equal to the first preset delay change rate, determining the packet loss probability according to a preset drop probability algorithm.

[0094] It should be noted that the preset discard probability algorithm may be an algorithm for calculating the discard probability of a data packet.

[0095] In order to improve the network service quality, the step S302 may include: determining whether the delay change rate is greater than the second preset delay change rate;

[0096] If the delay change rate is greater than or equal to the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0097]

[0098] If the delay change rate is less than the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0099]

[0100] Among them, P is used to represent the probability of packet loss. Used to represent the preset initial drop probability, which is a pre-set custom value. It is used to characterize the packet arrival interval (the time interval between the arrival of the last packet). Used to characterize the minimum interval between data packets arriving. Used to characterize the maximum interval between data packets arriving. Used to characterize the delay change rate, Used to characterize the first preset delay change rate.

[0101] Specifically, the network environment is the root cause of the changes in delay and queue length. Therefore, the delay change trend and queue length can be combined to predict the next network load situation. The specific process of determining the packet loss probability according to the average delay, the delay change rate, the queue warning length and the actual queue length is as follows:

[0102] (1) When hour:

[0103] 1) If , discard probability ;

[0104] 2) If , the discard probability is:

[0105]

[0106] 3) If , the discard probability is:

[0107]

[0108] (2) When hour:

[0109] 1) If , the discard probability is:

[0110]

[0111] 2) If , the discard probability is:

[0112]

[0113] 3) If , discard probability .

[0114] In the specific implementation, please refer to Figure 4 , Figure 4 is an overall flow chart of the second embodiment of the queue management method of the present invention; Figure 4 , the specific steps of this embodiment are as follows:

[0115] Step (1): Initialize and wait for new data packets.

[0116] Step (2): When a new data packet arrives, calculate the average delay of the data packet in the queue and delay change rate , calculate the queue length and queue guard length .

[0117] Step (3): If and , forward the data packet and go to step (2).

[0118] Step (4): If and , discard the packet and go to step (2).

[0119] Step (5): According to and as well as and The corresponding drop probability is calculated based on the relationship between , and the new data packet is dropped according to the calculated drop probability, and the remaining data packets are dequeued from the buffer, and then go to step (2).

[0120] This embodiment takes latency as an important measurement consideration, introduces the average latency and latency change rate of queue packets, and judges the queue change trend by the latency change rate. It also measures the queue length and introduces the parameter of the alert queue length to measure the network status. Then, based on the latency change rate and queue length, the queue is divided into different states, and packet loss strategies are implemented according to the classification.

[0121] This embodiment fully considers the two dimensions of delay and queue length, and can better control the queue delay while maintaining the queue length near the expected value, so as to obtain more stable network performance and higher network resource utilization, and at the same time improve the response speed of queue management. It is simple and easy to deploy, and can provide users with high-quality network service quality in a modern complex network environment.

[0122] Reference Figure 5 , Figure 5 It is a structural block diagram of the first embodiment of the queue management device of the present invention.

[0123] like Figure 5 As shown, the queue management device proposed in the embodiment of the present invention includes:

[0124] The detection module 10 is used to obtain the delay change rate of the data packets in the queue when a new data packet arrives;

[0125] A determination module 20, used to determine the queue warning length and the queue actual length;

[0126] A packet loss probability calculation module 30, configured to determine the packet loss probability according to the delay change rate, the queue warning length and the queue actual length;

[0127] The queue management module 40 is used to perform queue management based on the packet loss probability.

[0128] When the arrival of a new data packet is detected, this embodiment obtains the delay change rate of the data packet on the queue; determines the queue warning length and the actual queue length; determines the packet loss probability based on the delay change rate, the queue warning length and the actual queue length; and manages the queue based on the packet loss probability. Since this embodiment determines the packet loss probability based on the delay change rate, the queue warning length and the actual queue length, queue management is performed based on the packet loss probability. Compared with the existing method of randomly discarding data packets, the above method of this embodiment fully considers the two dimensions of delay and queue length, and can obtain more stable network performance and higher network resource utilization, while improving the response speed of active queue management, so as to provide users with high-quality network service quality in a modern complex network environment.

[0129] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0130] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the queue management method provided in any embodiment of the present invention, and will not be repeated here.

[0131] Based on the above-mentioned first embodiment of the queue management device of the present invention, a second embodiment of the queue management device of the present invention is proposed.

[0132] In this embodiment, the packet loss probability calculation module 30 is further used to determine whether the delay change rate is greater than a first preset delay change rate if the actual queue length is greater than the queue warning length;

[0133] When the delay change rate is greater than the first preset delay change rate, determining that the packet loss probability is the first preset packet loss probability;

[0134] If the actual queue length is less than or equal to the queue warning length, determining whether the delay change rate is less than a second preset delay change rate;

[0135] When the delay change rate is less than the second preset delay change rate, the packet loss probability is determined to be the second preset packet loss probability.

[0136] Furthermore, the packet loss probability calculation module 30 is also used to obtain the average delay of the data packets in the queue;

[0137] The step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length comprises:

[0138] The packet loss probability is determined according to the average delay, the delay change rate, the queue warning length and the queue actual length.

[0139] Furthermore, the packet loss probability calculation module 30 is further configured to determine whether the delay change rate is less than or equal to the first preset delay change rate when the actual queue length is greater than the queue warning length;

[0140] If the delay change rate is less than or equal to the first preset delay change rate, the packet loss probability is determined according to a preset drop probability algorithm.

[0141] Furthermore, the packet loss probability calculation module 30 is further used to determine whether the delay change rate is greater than the second preset delay change rate;

[0142] If the delay change rate is greater than or equal to the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0143]

[0144] If the delay change rate is less than the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm:

[0145]

[0146] Among them, P is used to represent the probability of packet loss. Used to characterize the preset initial drop probability, Used to characterize the packet arrival interval. Used to characterize the minimum interval between data packets arriving. Used to characterize the maximum interval between data packets arriving. Used to characterize the delay change rate, Used to characterize the first preset delay change rate.

[0147] Furthermore, the detection module 10 is further configured to determine the delay change rate of the data packets in the queue by using the following formula:

[0148]

[0149] in, Used to characterize the delay change rate of the data packet in the queue at the kth moment, The buffer queue time used to characterize the queue at the kth moment;

[0150]

[0151] and They are used to represent the packet arrival interval and the maximum interval between packet arrivals respectively.

[0152] Furthermore, the queue management module 40 is further configured to discard the data packet based on the packet loss probability;

[0153] The remaining data packets in the queue are dequeued from the buffer.

[0154] Other embodiments or specific implementations of the queue management device of the present invention may refer to the above-mentioned method embodiments and will not be described in detail here.

[0155] In addition, an embodiment of the present invention further provides a storage medium, on which a queue management program is stored. When the queue management program is executed by a processor, the steps of the queue management method described above are implemented.

[0156] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0157] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0158] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0159] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A queue management method, characterized in that: The queue management method comprises the following steps: When a new data packet arrives, the delay change rate of the data packet in the queue is obtained; Determine the queue warning length and the queue actual length; Determine the packet loss probability according to the delay change rate, the queue warning length and the queue actual length; performing queue management based on the packet loss probability; The step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length comprises: If the actual queue length is greater than the queue warning length, determining whether the delay change rate is greater than a first preset delay change rate; When the delay change rate is greater than the first preset delay change rate, determining that the packet loss probability is the first preset packet loss probability; If the actual queue length is less than or equal to the queue warning length, determining whether the delay change rate is less than a second preset delay change rate; When the delay change rate is less than the second preset delay change rate, determining that the packet loss probability is the second preset packet loss probability; After the step of detecting the arrival of a new data packet, the method further comprises: Get the average latency of packets in the queue; The step of determining the packet loss probability according to the delay change rate, the queue warning length and the queue actual length comprises: When the actual queue length is greater than the queue warning length, determining whether the delay change rate is less than or equal to the first preset delay change rate; If the delay change rate is less than or equal to the first preset delay change rate, determining whether the delay change rate is greater than the second preset delay change rate; If the delay change rate is greater than or equal to the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm: If the delay change rate is less than the second preset delay change rate, the packet loss probability is determined by the following preset drop probability algorithm: Among them, P is used to characterize the packet loss probability, P0 is used to characterize the preset initial drop probability, interval is used to characterize the data packet arrival interval, min_interval is used to characterize the minimum interval for data packet arrival, max_interval is used to characterize the maximum interval for data packet arrival, Δavg_del is used to characterize the delay change rate, and δ is used to characterize the first preset delay change rate.

2. The queue management method according to claim 1, characterized in that: The step of obtaining the delay change rate of the data packets in the queue includes: The delay variation rate of packets in a queue is determined by the following formula: Aavg_del(k+1) (1-ω)·Aavg_del(k)+ωω(T(k)T(k-1)) where Δavg_del(k) is used to characterize the delay change rate of the data packets on the queue at the kth moment, and T(k) is used to characterize the buffer queuing time of the queue at the kth moment; interval and max_interval are used to represent the packet arrival interval and the maximum interval of packet arrival respectively.

3. The queue management method according to claim 1, characterized in that: The step of performing queue management based on the packet loss probability comprises: discarding the data packet based on the packet loss probability; The remaining data packets in the queue are dequeued from the buffer.

4. A queue management device, characterized in that: The queue management device is applied to the queue management method according to any one of claims 1 to 3, and the queue management device includes: The detection module is used to obtain the delay change rate of the data packets in the queue when a new data packet arrives; A determination module, used to determine the queue warning length and the queue actual length; A packet loss probability calculation module, used to determine the packet loss probability according to the delay change rate, the queue warning length and the queue actual length; The queue management module is used to perform queue management based on the packet loss probability.

5. A queue management device, characterized in that: The device comprises: a memory, a processor, and a queue management program stored in the memory and executable on the processor, wherein the queue management program is configured to implement the steps of the queue management method according to any one of claims 1 to 3.

6. A storage medium, characterized in that: The storage medium stores a queue management program, and when the queue management program is executed by the processor, the steps of the queue management method according to any one of claims 1 to 3 are implemented.