摘要 |
A method and system for adaptive bandwidth allocation are disclosed. The method includes evenly allocating the whole bandwidth to each user according to the number of the users currently connecting to a gateway, making statistics on the traffic usage of each user within a preset period, and dynamically allocating a bandwidth to each user according to the traffic usage and the theoretical traffic of the allocated bandwidth. According to the technical scheme of the disclosure, when there is a user connecting to or disconnecting from the gateway, the bandwidth can be evenly allocated according to the number of the users currently connecting to the gateway, the bandwidth of each user can be dynamically adjusted according to actual bandwidth utilization rates of the users, the bandwidths of the users with lower bandwidth utilization rates are reduced, and the bandwidths of the users with higher bandwidth utilization rates are increased, so that reasonable bandwidth allocation is fulfilled. |