摘要 |
A service scheduling method and device are disclosed by the present invention, which solve the problem of large delay and jitter of a service in a high priority queue in the prior art. The service scheduling method includes: allocating token thresholds to queues according to priorities of the queues, where a token threshold corresponding to a low priority queue is greater than a token threshold corresponding to a high priority queue; and determining the number of tokens in a token bucket when the queue needs to be sent, stopping sending the queue if the number of the tokens is smaller than the token threshold, and sending the queue if the number of the tokens is greater than the token threshold. The service scheduling method and device are mainly used for various network services, such as a protocol message service, a voice message service, and a 1588 message service. |