Communication control apparatus and shaping apparatus having token bucket
AssigneeKawasaki Microelectronics, Inc.
InventorRui FUKUCHI
Life of this patent
Estimating the term…
Abstract
Various exemplary shaping apparatuses for shaping packets stored in queues are provided. The shaping apparatus includes a token bucket that accumulates tokens with a predetermined rate. When a number of tokens accumulated in the token bucket is equal to or larger than a reference number corresponding to a maximum packet length that the queues may store, the shaping apparatus allows one of the packets stored in the queues to transmit and subtracts a number of tokens corresponding to a length of the packet allowed to be transmitted. Various exemplary communication control apparatuses that incorporate the shaping apparatuses are also provided.
Claims6
A communication control apparatus for shaping packets stored in a plurality of queues that are grouped in a plurality of groups of queues, the communication control apparatus comprising:
- shaping apparatuses provided for respective ones of the groups of queues, each of the shaping apparatuses including a shaping block that includes a token bucket that accumulates tokens with a predetermined rate and a comparator, wherein:
- each of the groups of queues includes one or more of the plurality of queues that may store one or more packets having lengths equal to or less than a maximum packet length;
- and
- when the one or more of the queues of a first one of the groups of queues store one or more packets and the comparator in a first one of the shaping apparatuses provided for the first one of the groups of queues detects that a number of the tokens accumulated in the token bucket in the first one of the shaping apparatuses is equal to or larger than a reference number corresponding to the maximum packet length, the first one of the shaping apparatuses allows one of the one or more packets to transmit and subtracts a consumed number of tokens corresponding to a length of the one of the packets from the tokens in the token bucket in the first one of the shaping apparatuses.
A shaping apparatus for shaping one or more packets stored in one or more queues, the shaping apparatus comprising:
- a shaping block including a token bucket that accumulates tokens with a predetermined rate and a comparator, wherein,
- the one or more queues may store one or more packets having lengths equal to or less than a maximum packet length;
- and
- when the one or more queues store one or more packets and the comparator detects that a number of the tokens accumulated in the token bucket is equal to or larger than a reference number corresponding to the maximum packet length, the shaping apparatus allows one of the one or more packets stored in the one or more queues to transmit and subtracts a consumed number of tokens corresponding to a length of the one of packets from the tokens in the token bucket.
Dependencies are inferred from the claim text.