Bandwidth Control Method and Apparatus, and Device
AssigneeHuawei Technologies Co., Ltd.
InventorsXianyin Xin, Bo Zhao, Guilin Sun
Life of this patent
Estimating the term…
Abstract
A bandwidth control method, apparatus, and a device, in the field of computer technologies includes determining an upper bandwidth limit of the device when providing a service for registered clients, resetting an upper bandwidth limit of each client based on a working status of each client and the upper bandwidth limit of the device, and reallocating a bandwidth to each client based on the upper bandwidth limit of each client.
Claims20
A bandwidth control method, comprising:
- obtaining a first upper bandwidth limit of a network device, wherein the first upper bandwidth limit indicates a maximum data read/write amount of the network device per unit of time, and wherein the network device provides a service for a plurality of clients that have registered with the network device;
- resetting a second upper bandwidth limit of each of the clients based on the first upper bandwidth limit and a working status of each of the clients, wherein the working status comprises an offline state, an on-hook state, and a transmission state, wherein a client has not established a connection to the network device in the offline state, wherein the client has established the connection to the network device and a bandwidth is less than a preset threshold bandwidth in the on-hook state, and wherein the client has established the connection to the network device and the bandwidth is greater than the preset threshold bandwidth in the transmission state;
- and
- reallocating a first bandwidth to each of the clients based on the second upper bandwidth limit.
A network device, comprising:
- a memory configured to store data and a program;
- and
- a processor coupled to the memory and configured to invoke the program, wherein the program is configured to cause the processor to:
- provide a service for a plurality of clients that have registered with the network device;
- obtain a first upper bandwidth limit of the network device, wherein the first upper bandwidth limit indicates a maximum data read/write amount of the network device per unit of time;
- reset a second upper bandwidth limit of each of the clients based on the first upper bandwidth limit and a working status of each of the clients, wherein the working status comprises an offline state, an on-hook state, and a transmission state, wherein a client has not established a connection to the network device in the offline state, wherein the client has established the connection to the network device and a bandwidth is less than a preset threshold bandwidth in the on-hook state, and wherein the client has established the connection to the network device and the bandwidth is greater than the preset threshold bandwidth in the transmission state;
- and
- reallocate a first bandwidth to each of the clients based on the second upper bandwidth limit.
A computer program product comprising computer-executable instructions for storage on a non-transitory computer-readable medium that, when executed by a processor of an apparatus, cause the apparatus to:
- obtain a first upper bandwidth limit of a network device, wherein the first upper bandwidth limit indicates a maximum data read/write amount of the network device per unit of time, and wherein the network device provides a service for a plurality of clients that have registered with the network device;
- reset a second upper bandwidth limit of each of the clients based on the first upper bandwidth limit and a working status of each of the clients, wherein the working status comprises an offline state, an on-hook state, and a transmission state, wherein a client has not established a connection to the network device in the offline state, wherein the client has established the connection to the network device and a bandwidth is less than a preset threshold bandwidth in the on-hook state, and wherein the client has established the connection to the network device and the bandwidth is greater than the preset threshold in the transmission state;
- and
- reallocate a first bandwidth to each of the clients based on the second upper bandwidth limit.
Dependencies are inferred from the claim text.