CN-121985352-A - Terminal scheduling method, device, equipment and readable storage medium
Abstract
The application provides a terminal scheduling method, a device, equipment and a readable storage medium, wherein the method collects operation information of a terminal in statistical dimensions such as state, service, queue occupation and the like, determines comprehensive abnormal scores of the terminal based on the matching condition of the operation information and preset abnormal conditions, adaptively executes hierarchical scheduling operation according to the comprehensive abnormal scores, can accurately identify abnormal occupation of the terminal on shared communication resources without depending on high-cost independent queue hardware of each STA, and performs scheduling intervention on the abnormal terminal, effectively avoids complete machine forwarding jamming or blocking caused by occupation of excessive packet sending queue resources by a single abnormal terminal on the premise of not increasing hardware queue resources, and improves system robustness, resource utilization efficiency and multiuser fairness. The method can be suitable for various IP network environments and various network topologies, including fiber access scenes, such as FTTR (Fiber To The Room ) networking scenes.
Inventors
- XU HAI
Assignees
- 新华三信息技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260214
Claims (11)
- 1. A terminal scheduling method, applied to a wireless access device, the method comprising: For each terminal accessed to the wireless access equipment, acquiring operation information of the terminal under different statistical dimensions at the current moment, wherein the operation information under the different statistical dimensions is at least used for representing the behavior of the terminal when using shared communication resources in the wireless access equipment; Determining the comprehensive abnormal score of the terminal at the current moment based on the matching results of the operation information of the terminal under different statistical dimensions and each preset abnormal condition; And carrying out scheduling operation matched with the comprehensive anomaly score on the terminal based on the comprehensive anomaly score of the terminal, wherein the scheduling operation is used for adjusting the use of the shared communication resource in the access equipment by the terminal.
- 2. The method of claim 1, wherein the shared communication resources comprise an outbound queue shared by the terminals, and wherein the statistical dimension comprises: A terminal state dimension, wherein the operation information in the terminal state dimension is used for describing the operation condition of the terminal; The terminal service statistics dimension, wherein the running information under the terminal service statistics dimension is used for representing the data transmission characteristics of the terminal in service interaction; and the running information in the state dimension of the sending packet queue is used for representing the resource occupation condition of the terminal on the shared sending packet queue in the wireless access equipment.
- 3. The method of claim 1, wherein the determining the terminal's composite anomaly score at the current time comprises: Determining an abnormality score of the terminal under each preset abnormal condition based on whether characteristics conforming to the preset abnormal conditions appear in the operation information of the terminal under different statistical dimensions; and determining the comprehensive abnormal score of the terminal at the current moment according to the abnormal scores of the terminal under each preset abnormal condition.
- 4. The method of claim 3, wherein the determining an anomaly score for the terminal under the preset anomaly condition comprises: if the characteristics conforming to the preset abnormal conditions appear in the running information of the terminal under different statistical dimensions, determining that the abnormal score of the terminal under the preset abnormal conditions is a first value, wherein the first value is an abnormal score configured for the preset abnormal conditions; Otherwise, determining that the abnormality score of the terminal under the preset abnormal condition is a second value, wherein the second value indicates that the preset reference value which accords with the characteristic of the preset abnormal condition does not exist.
- 5. The method of claim 3, wherein the determining the comprehensive anomaly score of the terminal at the current time according to the anomaly scores of the terminal under each preset anomaly condition comprises: Weighting calculation is carried out based on the abnormal scores of the terminal under each preset abnormal condition, and incremental abnormal scores of the terminal at the current moment are determined; The method comprises the steps of obtaining a historical comprehensive abnormal score of the terminal at the last moment, and carrying out aging treatment on the historical comprehensive abnormal score based on a preset time attenuation strategy to obtain an attenuated reference score, wherein the time attenuation strategy is configured to enable the abnormal score to be decreased according to a preset slope along with the time; and determining the comprehensive abnormal score of the terminal at the current moment based on the incremental abnormal score and the reference score.
- 6. The method of claim 2, wherein each terminal is configured with a packet-ready queue limit, the packet-ready queue limit representing a maximum packet-ready queue length available to the terminal; The preset abnormal condition includes at least one of the following first to fifth conditions: The first condition comprises that a power state in a terminal state dimension indicates that a terminal is in a dormant state, the ratio of data to be sent to the terminal in a terminal service statistics dimension in a packet sending queue allocated to the terminal exceeds a preset data threshold, and the length of the packet sending queue occupied by the terminal in the packet sending queue state dimension continuously increases in a preset time window; The second condition comprises that the packet loss rate of the terminal in the service statistics dimension of the terminal in a preset time window is larger than or equal to a preset packet loss threshold value, and the service flow is smaller than or equal to a preset flow threshold value; the third condition comprises that the signal intensity in the terminal state dimension is smaller than or equal to a preset intensity threshold value, and the packet loss rate of the terminal in the preset time window in the terminal service statistics dimension is larger than or equal to a preset packet loss threshold value; The fourth condition comprises that the variation of the traffic flow received and transmitted by the terminal in the terminal service statistics dimension in a preset time window is lower than a preset difference threshold value, and the current backlogged data quantity of the terminal in the packet transmission queue state dimension is greater than or equal to a preset buffer threshold value; And the fifth condition comprises that the ratio of the currently occupied packet sending queue of the terminal in the packet sending queue state dimension to the corresponding packet sending queue limit is greater than or equal to a preset ratio threshold.
- 7. The method according to claim 1, wherein the scheduling operation for the terminal that matches the composite anomaly score based on the composite anomaly score for the terminal comprises: If the comprehensive anomaly score of the terminal indicates that the terminal has deterministic abnormal occupation of the shared communication resource, performing strong intervention scheduling operation matched with the anomaly degree on the basis of the anomaly degree of the comprehensive anomaly score of the terminal; And if the comprehensive abnormal score of the terminal indicates that the terminal has potential abnormal occupation tendency of the shared communication resource, executing lightweight scheduling operation on the terminal.
- 8. The method of claim 1 or 7, wherein each of the terminals is assigned a resource quota representing communication resources available to the terminal in the shared communication resources, and wherein after performing a scheduling operation on the terminal that matches the composite anomaly score, the method further comprises: acquiring the current overall occupied water level of the shared communication resource in the wireless access equipment; And if the current overall occupied water level exceeds the preset high water level threshold, executing a resource limiting strategy on other terminals except the normal terminal under the condition of maintaining the allocated resource quota of the normal terminal, wherein the normal terminal comprises terminals with comprehensive anomaly scores indicating that the terminal is in a normal use state of the shared communication resource at present, and the resource limiting strategy is used for reducing the current overall occupied water level of the shared communication resource.
- 9. A terminal scheduling apparatus, applied to a wireless access device, comprising: The system comprises a collection module, a wireless access device and a wireless access module, wherein the collection module is configured to collect operation information of the terminal under different statistical dimensions at the current moment for each terminal which is accessed to the wireless access device, wherein the operation information under the different statistical dimensions is at least used for representing the behavior of the terminal when using shared communication resources in the wireless access device; the comprehensive evaluation module is configured to determine the comprehensive abnormal score of the terminal at the current moment based on the matching result of the operation information of the terminal under different statistical dimensions and each preset abnormal condition; and the self-adaptive scheduling module is configured to perform scheduling operation matched with the comprehensive anomaly score on the terminal based on the comprehensive anomaly score of the terminal, wherein the scheduling operation is used for adjusting the use of the shared communication resource in the access equipment by the terminal.
- 10. An electronic device is characterized by comprising a memory and a processor; The memory is used for storing a computer program; the processor being operative to invoke the computer program to implement the method of any of claims 1-8.
- 11. A readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-8.
Description
Terminal scheduling method, device, equipment and readable storage medium Technical Field The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for scheduling a terminal. Background With the popularization of Wi-Fi 6/7 and smart home, modern wireless local area networks generally face the problem of terminal heterogeneity, namely, a high-speed terminal, a slow-speed terminal and an abnormal-behavior terminal coexist in the same network. The current wireless access device adopts a shared packet-sending queue architecture, when the abnormal behavior terminal cannot complete transmission of downlink data due to unresponsive acknowledgement signals, long-term dormancy or continuous retransmission, the message to be sent is continuously piled up in the shared queue, and correspondingly, the wireless access device needs to repeatedly retransmit the unacknowledged frame, a large amount of queue space and scheduling resources are not occupied during the repeated retransmission, on-chip memory and empty time slots are wasted, the resource quota of a normal terminal is squeezed, and the throughput of the whole machine is reduced and delay is increased. In the home network, after a large amount of buffers are allocated from a gateway to a high-speed downloading terminal, if the terminal suddenly goes wrong, the shared packet sending queue is occupied by the abnormality, so that the performance of the Wi-Fi of the whole house is degraded. Disclosure of Invention In view of the above, the present application provides a method, apparatus, device and readable storage medium for scheduling a terminal, which can avoid that a single abnormal terminal occupies too many packet-sending queue resources to cause the complete machine to be forwarded and blocked or blocked without increasing hardware queue resources. Specifically, the application is realized by the following technical scheme: according to a first aspect of an embodiment of the present application, there is provided a terminal scheduling method, applied to a wireless access device, the method including: For each terminal accessed to the wireless access equipment, acquiring operation information of the terminal under different statistical dimensions at the current moment, wherein the operation information under the different statistical dimensions is at least used for representing the behavior of the terminal when using shared communication resources in the wireless access equipment; Determining the comprehensive abnormal score of the terminal at the current moment based on the matching results of the operation information of the terminal under different statistical dimensions and each preset abnormal condition; And carrying out scheduling operation matched with the comprehensive anomaly score on the terminal based on the comprehensive anomaly score of the terminal, wherein the scheduling operation is used for adjusting the use of the shared communication resource in the access equipment by the terminal. According to a second aspect of an embodiment of the present application, there is provided a terminal scheduling apparatus applied to a wireless access device, the apparatus including: The system comprises a collection module, a wireless access device and a wireless access module, wherein the collection module is configured to collect operation information of the terminal under different statistical dimensions at the current moment for each terminal which is accessed to the wireless access device, wherein the operation information under the different statistical dimensions is at least used for representing the behavior of the terminal when using shared communication resources in the wireless access device; the comprehensive evaluation module is configured to determine the comprehensive abnormal score of the terminal at the current moment based on the matching result of the operation information of the terminal under different statistical dimensions and each preset abnormal condition; and the self-adaptive scheduling module is configured to perform scheduling operation matched with the comprehensive anomaly score on the terminal based on the comprehensive anomaly score of the terminal, wherein the scheduling operation is used for adjusting the use of the shared communication resource in the access equipment by the terminal. According to a third aspect of the embodiment of the application, the electronic device comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for executing the terminal scheduling method by calling the computer program. According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described terminal scheduling metho