摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a band control method capable of realizing high throughput and performing correctly band control, and to provide a packet processing device using the same. <P>SOLUTION: An inputted variable length packet is enqueued into any one of a plurality of queues according to the class of the variable length packet. The packet length of the inputted variable length packet is divided by the segment length of fixed length to obtain the number of segments and a remainder for each packet. The number of segments for each queue being summation of the number of segments in a queue into which the packet is enqueued is obtained and maintained. Scheduling is performed per segment, and band calculation is performed with a segment length for a selected queue. The number of segments per packet and the number of segments per queue corresponding to the head packet of the selected queue are decremented by one. If the processing is a first processing of the head packet of the selected queue, the packet is dequeued per packet. <P>COPYRIGHT: (C)2006,JPO&NCIPI</p> |