Access Device and Method for Controlling the Bandwidth
AssigneeHuawei Technologies Co., Ltd.
InventorsWeiping Xie, Qiupeng Zhao
Life of this patent
Estimating the term…
Abstract
An access device for controlling a bandwidth includes a token bucket module and a processing module. The token bucket module is set for each service priority of each logical connection. The processing module is used for receiving a message from a logical connection, taking a token from corresponding token bucket module according to logical connection and priority of the message, comparing byte number of the message with byte number corresponding to the token, forwarding the message if the byte number corresponding to the token is larger than that of the message, and discarding the message otherwise. A method for controlling the bandwidth is also disclosed.
Claims9
An access device, comprising:
- at least one token bucket module, wherein the each token bucket module corresponds to a service priority of a logical connection;
- a logical connection and priority based bandwidth controlling and processing module, connected with the each token bucket module, and used for receiving a message from each logical connection, taking a token from the token bucket module corresponding to the logical connection of the message as well as the service priority of the message, comparing byte number of the message with byte number corresponding to the token, if the byte number corresponding to the token is larger than that of the message, forwarding the message;
- otherwise discarding the message.
A method for controlling bandwidth comprising:
- upon receiving a message from a logical connection, extracting information of the logical connection, a service priority and byte number information of the message;
- taking a token from corresponding token bucket according to the information of the logical connection and the service priority;
- comparing byte number of the message with byte number corresponding to the token, if the byte number corresponding to the token is larger than the byte number of the message, forwarding the message;
- otherwise, discarding the message.
Dependencies are inferred from the claim text.