摘要 |
Disclosed are a queue scheduling method and device, relating to the technical field of communications, which can not only schedule a large number of queues but can also ensure that each queue sends service data uniformly. The method in the present invention includes: respectively determining whether or not there is any service data in each data queue to be scheduled, and determining whether or not the data queue to be scheduled is allowed to send data; if it is determined that there is service data in the data queue to be scheduled and the data queue to be scheduled is allowed to send data, placing the queue mark of the data queue to be scheduled into a mark queue; successively scheduling the queue marks of the data queues to be scheduled from the mark queue, scheduling the data queues to be scheduled corresponding to the queue marks, and enabling the data queues to be scheduled corresponding to the queue marks to send service data less than a predetermined data volume. The embodiments of the present invention are mainly used during the queue scheduling process. |