A packet scheduling method, wherein the method comprises: when a quantity of remaining tokens in a first token bucket of a first device does not satisfy that a first packet is to be removed from a queue, determining, by the first device, whether a length of a packet cached in the queue is less than a first threshold; and in response to that the length of the packet cached in the queue is not less than the first threshold, issuing, by the first device, a token in a second token bucket to the first packet, and removing the first packet from the queue, wherein the method is characterized by further comprising: when the quantity of remaining tokens in the first token bucket of the first device does not satisfy that a second packet is to be removed from the queue, determining, by the first device, whether the length of the packet cached in the queue is less than the first threshold; and in response to that the length of the packet cached in the queue is less than the first threshold, keeping, by the first device, the second packet in the queue before the quantity of remaining tokens in the first token bucket can satisfy that the second packet is to be removed from the queue, and wherein after the keeping the second packet in the queue, the method further comprises: determining, by the first device, that the quantity of remaining tokens in the first token bucket satisfies that the second packet is to be removed from the queue; and issuing, by the first device, a token in the first token bucket to the second packet, and removing the second packet from the queue. when a quantity of remaining tokens in a first token bucket of a first device does not satisfy that a first packet is to be removed from a queue, determining, by the first device, whether a length of a packet cached in the queue is less than a first threshold; and in response to that the length of the packet cached in the queue is not less than the first threshold, issuing, by the first device, a token in a second token bucket to the first packet, and removing the first packet from the queue, wherein the method is characterized by further comprising: when the quantity of remaining tokens in the first token bucket of the first device does not satisfy that a second packet is to be removed from the queue, determining, by the first device, whether the length of the packet cached in the queue is less than the first threshold; and in response to that the length of the packet cached in the queue is less than the first threshold, keeping, by the first device, the second packet in the queue before the quantity of remaining tokens in the first token bucket can satisfy that the second packet is to be removed from the queue, and wherein after the keeping the second packet in the queue, the method further comprises: determining, by the first device, that the quantity of remaining tokens in the first token bucket satisfies that the second packet is to be removed from the queue; and issuing, by the first device, a token in the first token bucket to the second packet, and removing the second packet from the queue. when the quantity of remaining tokens in the first token bucket of the first device does not satisfy that a second packet is to be removed from the queue, determining, by the first device, whether the length of the packet cached in the queue is less than the first threshold; and in response to that the length of the packet cached in the queue is less than the first threshold, keeping, by the first device, the second packet in the queue before the quantity of remaining tokens in the first token bucket can satisfy that the second packet is to be removed from the queue, and wherein after the keeping the second packet in the queue, the method further comprises: determining, by the first device, that the quantity of remaining tokens in the first token bucket satisfies that the second packet is to be removed from the queue; and issuing, by the first device, a token in the first token bucket to the second packet, and removing the second packet from the queue. determining, by the first device, that the quantity of remaining tokens in the first token bucket satisfies that the second packet is to be removed from the queue; and issuing, by the first device, a token in the first token bucket to the second packet, and removing the second packet from the queue.