Patent ID: 8375153
Filing Date: 2013-02-12
Classification: H04L

Abstract:
1. A method for data output control, comprising: setting a token bucket for each data output interface of a plurality of data output interfaces, wherein each data output interface of the plurality has a cache queue and a respective counter, and wherein idle bits in each of the cache queues of the data output interfaces are represented by tokens in the corresponding token bucket; at each data output interface, providing the respective counter of the data output interface with information indicative of data bits at the data output interface that are to be sent by the data output interface; at the respective counter of each data output interface, counting a respective number of data bits at the data output interface that are to be sent by the data output interface, and when the respective number reaches a respective threshold number for the data output interface, placing a number of tokens equal to the respective threshold number into the token bucket of the data output interface; obtaining a length of idle bits in the cache queue of each of the plurality of data output interfaces; selecting from the plurality of data output interfaces a first data output interface, wherein a length of idle bits in the cache queue of the first data output interface is equal to or greater than a length of data bits in data to be sent from an output control unit connected the cache queue of the first data output interface; and placing the data to be sent from the output control unit into the cache queue of the first data output interface.