CN105591795B - Bandwidth allocation method and device - Google Patents

Bandwidth allocation method and device Download PDF

Info

Publication number
CN105591795B
CN105591795B CN201510422087.6A CN201510422087A CN105591795B CN 105591795 B CN105591795 B CN 105591795B CN 201510422087 A CN201510422087 A CN 201510422087A CN 105591795 B CN105591795 B CN 105591795B
Authority
CN
China
Prior art keywords
bandwidth
user
access
value
users
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510422087.6A
Other languages
Chinese (zh)
Other versions
CN105591795A (en
Inventor
吴文
邵巍
汪亮
晁岳磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510422087.6A priority Critical patent/CN105591795B/en
Publication of CN105591795A publication Critical patent/CN105591795A/en
Application granted granted Critical
Publication of CN105591795B publication Critical patent/CN105591795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a bandwidth allocation method and device. The method comprises the following steps: the access equipment acquires bandwidth allocation instruction information aiming at a user from a server according to an access request of the user and determines whether the bandwidth allocation instruction information is used for allocating a fixed bandwidth value for the user; when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user, the access equipment determines the access information of the user; and when the current residual bandwidth resource meets the preset condition, the access equipment determines the bandwidth value after being promoted on the basis of the fixed bandwidth value preset for the user requesting access according to the bandwidth distribution instruction information and the access information of the user, and distributes the bandwidth for the user requesting access according to the bandwidth value after being promoted. By applying the embodiment of the invention, the utilization rate of bandwidth resources can be improved, and the actual available bandwidth of a user can be improved.

Description

Bandwidth allocation method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method and apparatus.
Background
A Broadband Remote Access Server (BRAS) system is used for implementing Access management of a Broadband metropolitan area network. A BRAS system generally includes an authentication client, an access device, and an AAA server. The authentication client is a client terminal which is accessed to the BRAS access equipment through a local area network or a wide area network; the access equipment is mainly used for controlling the access of the authentication client to the network resources in cooperation with the AAA server, preventing the authentication client from accessing the internet resources before the authentication is passed, interacting with the AAA server in the authentication process to finish the functions of identity authentication, authorization, charging and the like of the authentication client, and allowing the authentication client to access the authorized internet resources after the authentication is passed; the AAA server is mainly used for matching with the access equipment to perform identity authentication, authorization, charging and other functions on the authentication client.
In the BRAS system, the charging mode for the authentication client to access the network resource includes charging according to flow and charging according to time periods, for example, monthly payment is a typical charging according to time periods, in the charging mode according to time periods, the authentication client pays for the fee of a packet time period, and during the packet time period, the network resource can be used without limiting flow.
In the networking based on the user packet time interval charging, the user traffic is charged according to time intervals, for example, typically, for a monthly user, the user traffic is charged according to monthly, so the real-time statistics of the traffic is no longer critical, and the size of the bandwidth that can be allocated to each user becomes the focus of attention.
At present, in a network based on user packet time interval charging, the size of a bandwidth that can be allocated by each user is a preset fixed value, specifically, the access device interacts with an AAA server for bandwidth allocation of the user, the AAA server transmits a fixed bandwidth value of the user to the access device, and the access device acquires the fixed bandwidth value and then issues the fixed bandwidth value to the access device for accessing a port of the user, thereby limiting the bandwidth of the user.
It can be seen that, the method for allocating bandwidth to users according to a fixed bandwidth value in the current packet time interval charging based networking is simpler, but also causes resource waste because: not all users of an access device are in an online state at all times, but only part of the users are in the online state at most of the time, so that the bandwidth reserved for the users who are not online cannot be effectively utilized.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for allocating bandwidth, which can improve the utilization rate of bandwidth resources and improve the actual available bandwidth of users.
The technical scheme provided by the invention is as follows:
a method of bandwidth allocation, the method comprising:
the access equipment acquires bandwidth allocation instruction information aiming at a user from a server according to an access request of the user and determines whether the bandwidth allocation instruction information is used for allocating a fixed bandwidth value for the user;
when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user, the access equipment determines the access information of the user;
and when the current residual bandwidth resource meets the preset condition, the access equipment determines the bandwidth value after being promoted on the basis of the fixed bandwidth value preset for the user requesting access according to the bandwidth distribution instruction information and the access information of the user, and distributes the bandwidth for the user requesting access according to the bandwidth value after being promoted.
A bandwidth allocation device comprises an allocation instruction acquisition module, an access information acquisition module and a bandwidth allocation module;
the allocation instruction acquisition module is used for acquiring bandwidth allocation instruction information aiming at a user from a server according to an access request of the user and determining whether the bandwidth allocation instruction information is used for allocating a fixed bandwidth value to the user;
the access information acquisition module is used for determining the access information of the user when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user;
and the bandwidth allocation module is used for determining a bandwidth value after being promoted on the basis of a fixed bandwidth value which is preset for a user requesting access according to the bandwidth allocation instruction information and the access information of the user when the current residual bandwidth resource meets a preset condition, and allocating the bandwidth for the user requesting access according to the bandwidth value after being promoted.
As can be seen from the foregoing technical solutions, in the embodiments of the present invention, bandwidth allocation instruction information obtained by an access device from a server may not allocate a fixed bandwidth value to a user, that is, the bandwidth allocation instruction information may be that an access device dynamically allocates a bandwidth to a specified user, at this time, the access device determines access information of the user, and when a current remaining bandwidth resource meets a preset condition, the access device determines, according to the access information of the user, a boosted bandwidth value on the basis of the fixed bandwidth value that is preset for a user currently requesting access according to the bandwidth allocation instruction information, and allocates a bandwidth to the user currently requesting access according to the boosted bandwidth value.
It can be seen that, in the embodiment of the present invention, instruction information for dynamically allocating bandwidth is sent to an access device by a server, and the access device determines a value of relevant access information for dynamically allocating bandwidth after receiving the instruction information, and when a current remaining bandwidth resource meets a preset condition, based on the value of the access information, a boosted bandwidth value can be allocated to a user requesting access currently on the basis of a fixed bandwidth value preset for the user requesting access currently, so that a bandwidth higher than the preset fixed bandwidth value can be allocated to a specific user under the condition that a network bandwidth resource is abundant, thereby improving a utilization rate of the bandwidth resource and increasing an actually available bandwidth of the user.
Drawings
Fig. 1 is a flowchart of a bandwidth allocation method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating components of a system using a dynamic bandwidth allocation method according to an embodiment of the present invention.
Fig. 3 is a connection diagram of a hardware structure of an access device according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a bandwidth allocation apparatus according to an embodiment of the present invention.
Detailed Description
Aiming at the problem that bandwidth resources cannot be effectively utilized in the prior art, the embodiment of the invention provides a bandwidth allocation method, which is suitable for allocation of uplink bandwidth and downlink bandwidth, can improve the actual available bandwidth of a user and improve the utilization rate of the bandwidth resources.
Fig. 1 is a flowchart of a bandwidth allocation method according to an embodiment of the present invention.
As shown in fig. 1, the process includes:
step 101, an access device acquires bandwidth allocation instruction information for a user from a server according to an access request of the user.
Step 102, the access device determines whether the bandwidth allocation instruction information is to allocate a fixed bandwidth value to the user, if so, step 103 is executed, otherwise, step 104 is executed.
Step 103, the access device allocates bandwidth to the user according to the fixed bandwidth value allocated to the user, and the process is ended.
Step 104, the access device determines the access information of the user.
And 105, when the current residual bandwidth resource meets the preset condition, the access device determines the bandwidth value after being promoted on the basis of the fixed bandwidth value preset for the user requesting access according to the bandwidth distribution instruction information and the access information of the user, and distributes the bandwidth for the user requesting access according to the bandwidth value after being promoted.
The current remaining bandwidth resource meeting the preset condition refers to that the current remaining bandwidth resource is sufficient, and specific conditions can be determined to be sufficient according to actual needs, for example, when the proportion of the number of users who have been online to the upper limit value of the number of users allowed to be online is smaller than a preset value, the remaining bandwidth resource is determined to be sufficient, for example, when the remaining bandwidth resource reaches the preset value, the limit condition is that the remaining bandwidth resource is determined to be sufficient if the current actual remaining bandwidth is larger than a fixed bandwidth value preset for the user who currently requests.
As can be seen from the method shown in fig. 1, when the access device interacts with the AAA server in the user packet period charging-based networking, the AAA server may not only pass the fixed bandwidth value of the user to the access device, then the access device allocates bandwidth for the user directly according to the fixed bandwidth value, the AAA server also can issue bandwidth allocation instruction information of dynamic bandwidth allocation for specific user, for instructing the access device to dynamically allocate bandwidth to the specific user according to the current access information, so that when the current remaining bandwidth resource meets the preset condition, allocating an elevated bandwidth value to the specific user based on a fixed bandwidth value preset for the specific user, therefore, the residual bandwidth resources can be effectively utilized, the utilization rate of the bandwidth resources is improved, and the actual available bandwidth of the user is improved.
The server may identify whether the user currently requesting access is a preset specific user, for example, whether the user currently requesting access is a preset specific user may be identified according to a user identifier, a service identifier, and the like, if so, the server sends instruction information for dynamically allocating bandwidth to the access device to instruct the access device to allocate, according to the current access information, an increased bandwidth value to the user on the basis of a preset fixed bandwidth value under the condition that the current remaining bandwidth resource is abundant, otherwise, the server sends a fixed bandwidth value to the access device to instruct the access device to allocate bandwidth to the user currently requesting access according to the fixed bandwidth value. Therefore, the embodiment of the invention can realize the dynamic bandwidth allocation aiming at the specific user under the condition that the residual bandwidth resources are abundant, thereby improving the utilization rate of the bandwidth resources and the actual available bandwidth of the specific user.
When the access device interacts with the AAA server to complete authentication and authorization of the user, the AAA server may carry bandwidth allocation instruction information in the interacted authentication information to instruct the access device to allocate bandwidth to the user according to the bandwidth allocation instruction. Generally, the AAA server carries a fixed bandwidth value in a public attribute of authentication information sent to the access device, and is used to instruct the access device to allocate bandwidth to a user according to the fixed bandwidth value. The embodiment of the invention provides that, in the authentication information sent by the AAA server to the access device, in addition to the public attribute that can carry a fixed bandwidth value, the authentication information may further include a private attribute for indicating the access device to dynamically allocate bandwidth to the user, and after the access device receives the authentication information, whether the bandwidth needs to be dynamically allocated to the user is determined by whether the authentication information carries the private attribute or the attribute value of the private attribute.
The bandwidth allocation instruction information sent by the AAA server to the access device may be only used to instruct the access device to allocate bandwidth to the user in a dynamic manner, and then the access device detects access information referred to when bandwidth is dynamically allocated to the user, and determines a specific bandwidth value based on the access information.
When the access device dynamically allocates the bandwidth for the user, as an example, one or two or more of the following related factors may be referred to: the number of users currently accessed, the current use information of bandwidth resources of users currently accessed, or the use information of bandwidth resources of users currently requesting access in a historical period. The access device can determine whether the current residual bandwidth resource is sufficient according to the current accessed user number and/or the current use information of the bandwidth resource of the current accessed user, and when the current residual bandwidth resource is sufficient, the access device allocates an improved bandwidth value to the current user requesting access on the basis of a fixed bandwidth value preset for the current user requesting access according to the value of one or more relevant factors.
When the bandwidth is dynamically allocated to the user, the bandwidth of the user which is not accessed can be reasonably utilized by referring to the number of the users which are accessed currently, and the actual use bandwidth of the user which is accessed currently can be improved and the bandwidth utilization rate can be improved by allocating the bandwidth of the user which is not accessed currently to the user which is accessed currently; by referring to the current use information of the bandwidth resources of the current accessed users, the flow condition of the current users can be evaluated in real time so as to judge whether available residual bandwidth resources are allocated to the users who are on line or not, and accordingly, the bandwidth dynamically allocated to the users can be adjusted in real time according to the real-time change of the residual bandwidth resources; by referring to the use information of bandwidth resources within a historical period of a user who requests access currently, more bandwidth resources can be allocated to the user with a large bandwidth demand under the condition that the resources are abundant, in other words, when the access device allocates bandwidth to the user who requests access currently according to the use information of bandwidth resources within the historical period of the user who requests access currently, the more bandwidth resources are used by the user who requests access currently within the historical period, the higher the proportion value of bandwidth allocated to the user who requests access currently is increased on the basis of a fixed bandwidth value which is preset for the user who requests access currently, so that the allocation of bandwidth resources can adapt to different demands of various users, and the bandwidth resources dynamically allocated to the user can be fully utilized, thereby improving the utilization rate of the bandwidth resources.
As an example, an embodiment of the present invention provides a simple method for determining a dynamically allocated bandwidth value, which only refers to a current number of access users to dynamically allocate a bandwidth to a user, so as to improve an actual available bandwidth of the user, specifically, when a current number of accessed users is smaller than an upper limit of an number of accessed users of an access device, an access device determines a first ratio of an number of un-accessed users obtained by subtracting the current number of accessed users from the upper limit of the number of accessed users to the upper limit of the number of accessed users, determines a result obtained by multiplying the first ratio by a preset second ratio as an improvement ratio, and based on a fixed bandwidth value preset for the current user requesting access, the access device improves a bandwidth value allocated for the current user requesting access by the result obtained by multiplying the fixed bandwidth value by the improvement ratio.
Such as: assuming that the upper limit number of users that can be accessed on the X link is N1, and the number of currently accessed users is N-1, the bandwidth value M dynamically allocated to the nth user currently requesting access is: m1 × (1+ (N1-N) × N N), where M1 is a fixed bandwidth value preset for the nth user, N is a preset proportional value, for example, N may be 40%, and thus, by this exemplary method, a certain bandwidth usage proportion may be increased according to the proportion of the number of users who are not on line to the upper limit number of users.
In order to avoid that the bandwidth dynamically allocated to the user is too large and affects the overall communication quality of the network, the embodiment of the present invention further provides that the access device determines whether the bandwidth value after being boosted determined according to the access information is greater than a preset upper limit value, if so, determines the bandwidth value allocated to the user currently requesting access as the upper limit value, and if not, determines the bandwidth value allocated to the user currently requesting access as the bandwidth value after being boosted determined according to the access information.
Therefore, the bandwidth value actually allocated by the access device to the user dynamically allocating bandwidth should be not less than the fixed bandwidth value preset for the user and not greater than the upper limit value set to ensure the overall communication quality of the network, and therefore, in this embodiment of the present invention, when the bandwidth value after the access device determines based on the relevant factors is M, the range of M should be between M1 and MX, that is, M2< ═ M < ═ MX, where M1 is the preset fixed bandwidth value and MX is the upper limit value, and if the M value calculated by the access device is greater than MX, the final value of M is determined as MX. For example, when a PIR parameter of a QoS CAR limits bandwidth resources allocated to a single user, the CAR has 2 key parameters of speed limit, one is CIR, and the other is PIR, where CIR is equivalent to a primary speed limit threshold, i.e., a lower limit value, and PIR is equivalent to a secondary speed limit threshold, i.e., an upper limit value, and when bandwidth resources are sufficient, PIR plays a role of speed limit, and when bandwidth resources are in a short state, CIR plays a role of speed limit.
In the embodiment of the present invention, in order to further provide different bandwidth allocation policies for users with different characteristics according to the characteristics of the users, so that the allocated bandwidth can adapt to the characteristics, and the utilization rate of network resources is improved, the bandwidth allocation instruction information for dynamically allocating bandwidth to the users may specify a currently used bandwidth promotion rule from more than two bandwidth promotion rules, so that the access device can determine a promoted bandwidth value according to different bandwidth allocation instruction information contents and different rules, so as to adapt to the requirements of users with different characteristics.
Specifically, the access device identifies a rule for determining the bandwidth value after being promoted according to the bandwidth allocation instruction information, and determines the bandwidth value after being promoted according to the identified rule; the rule for determining the promoted bandwidth value includes more than two different rules, and the different rules correspond to different bandwidth allocation instruction information contents.
When the access equipment acquires bandwidth allocation instruction information according to an access request of a user, the server determines a rule adopted by the bandwidth allocation instruction information needing to be allocated to the user requesting the access according to the user information requesting the access currently submitted by the access equipment or the user information and a current network resource allocation strategy, and sends the bandwidth allocation instruction information corresponding to the rule to the access equipment, so that the access equipment allocates the bandwidth to the user requesting the access currently according to the rule corresponding to the bandwidth allocation instruction information.
The same user information may correspond to one bandwidth allocation rule or more than two bandwidth allocation rules, and the server determines which bandwidth allocation rule is specifically adopted at present according to the network resource allocation strategy adopted at present; or, under the same network resource allocation policy, different user information may correspond to different bandwidth allocation rules, so that different bandwidth allocation policies can be adopted for users with different attributes.
Since the user access condition in the network changes with the change of time, in order to adapt the bandwidth allocation to the change of the user access condition, an embodiment of the present invention provides that the bandwidth allocation may be dynamically refreshed, specifically, an update timer is set, and when the update timer times out, the access device reallocates the bandwidth to the currently accessed user and/or the currently requested user based on the current latest access information, such as the number of currently accessed users, the current usage information of the currently accessed user for the bandwidth resource, or the usage information of the currently requested user for access for the bandwidth resource in a history period, and the like.
The timing duration of the update timer can be set according to the user access condition and the bandwidth resource occupation condition in an actual use scene, and values of the timing duration of the update timer in different preset time periods can be different, for example, if the user access number or the bandwidth resource occupancy rate changes faster in a certain time period, the timing duration of the update timer should be set to be relatively shorter, and conversely, if the user access number or the bandwidth resource occupancy rate changes slower in a certain time period, the timing duration of the update timer should be set to be relatively longer, so that the result of dynamic bandwidth allocation can adapt to the current bandwidth resource occupation condition.
As for a specific method of dynamic refresh, as an example, if after bandwidth is dynamically allocated to a part of users, a plurality of users are online and the remaining bandwidth resources are completely consumed, the access device may readjust allocation when it senses that there is no spare bandwidth to perform dynamic allocation, and limit the bandwidth of a user who has promoted the bandwidth on the basis of a fixed bandwidth value to the fixed bandwidth value, that is, the user cannot obtain the promoted bandwidth on the basis of the preset fixed bandwidth value; if the access device discovers that a large number of users are offline when the update timer expires, such that the access device has spare bandwidth available for allocation, the access device dynamically reallocates bandwidth to the particular user based on the current latest relevant factors.
The bandwidth allocation method provided by the embodiment of the invention can be suitable for allocating uplink bandwidth and can also be suitable for allocating downlink bandwidth.
The following describes an exemplary bandwidth allocation method according to an embodiment of the present invention, which is a specific example, and the example is not intended to limit the present invention, and refer to fig. 2 and the related description thereof.
Fig. 2 is a schematic diagram illustrating components of a system using a dynamic bandwidth allocation method according to an embodiment of the present invention.
As shown in fig. 2, the current access device has 1 200M access link, which is allocated to 100 users, the default value of the downstream bandwidth of each user is 2M, that is, the fixed bandwidth value set for each user in advance is 2M, assuming that there are 49 users online currently, they all perform the downstream bandwidth allocation according to the fixed bandwidth value, that is, 2M, there is 50 th user requesting to go online currently, and the 50 th user is a VIP user increasing the cost of the packet period, and the bandwidth can be dynamically adjusted.
When the 50 th user is online, currently, 50 users are online, and the remaining 50 users are not online, the bandwidth M dynamically allocated to the 50 th user is calculated according to a formula M of dynamic bandwidth allocation, where M1 (1+ (N1-N) × 40%/N), where M1 is 2M, N1 is 100, and N is 50, so that the downlink bandwidth currently and actually occupied by the 50 th user is 2.4M, and thus the downlink bandwidth currently and actually occupied by the 50 th user is increased. The access device issues the bandwidth value 2.4M dynamically allocated to the 50 th user to the response user interface of the access device, and then the 50 th user will experience the bandwidth experience higher than the set default value of 2M.
After that, if there are other users online, since the total number of users is also dynamically changed, when the update timer arrives, the bandwidth value allocated to the VIP user needs to be adjusted again according to the number of online users counted in real time.
The timing duration of the update timer may not be fixed, and a manufacturer of each access device may provide a category of dynamic adjustment based on a time period, because different access environments have different requirements for a time interval of dynamic refresh, for example, in a common home access environment, a number of users in the daytime is small, a change range is not large, and in the evening, the time interval of dynamic refresh from 18 pm to 8 am may be set to be small, and the time interval of dynamic refresh from 8 am to 18 pm may be set to be large.
In the bandwidth allocation method provided in the embodiment of the present invention, when the access device and the AAA server transmit the bandwidth allocation instruction for dynamically allocating bandwidth through the private attribute, the AAA server only instructs the access device to allocate bandwidth to the user in a dynamic allocation manner, instead of transmitting an explicit fixed bandwidth value to the access device.
The specific implementation of dynamically allocating bandwidth is performed by the access device, not by the AAA server, because the access device is convenient to detect the relevant factors that affect dynamic bandwidth allocation, such as the user access condition, the user bandwidth link usage condition, and the like.
Besides the number of users who have accessed currently, the current use information of bandwidth resources of users who have accessed currently, or the use information of bandwidth resources of users who request to access currently in a historical period, other factors can be referred to for dynamic bandwidth allocation, the general purpose is to utilize the remaining bandwidth resources, allocate the remaining bandwidth resources to users reasonably, and improve the experience of internet bandwidth of users.
Therefore, by the scheme provided by the embodiment of the invention, dynamic bandwidth allocation can be carried out on the user based on the packet time period, so that the user can reasonably utilize the residual resources to improve the actual available bandwidth of the user, and the internet surfing experience and quality are improved.
Aiming at the method, the embodiment of the invention also discloses access equipment, and the access equipment comprises a bandwidth allocation device.
Fig. 3 is a connection diagram of a hardware structure of an access device according to an embodiment of the present invention.
As shown in fig. 3, the access device includes a processor, a network interface, a memory, and a non-volatile memory, and the hardware is connected through a bus, specifically:
a non-volatile memory for storing instruction codes; the operations performed by the instruction codes when executed by the processor are mainly functions performed by the bandwidth allocation device in the memory.
And the processor is used for communicating with the nonvolatile memory, reading and executing the instruction codes stored in the nonvolatile memory and completing the functions completed by the bandwidth allocation device.
A memory, wherein when the instruction code in the non-volatile memory is executed, the operations are mainly functions performed by the bandwidth allocation device in the memory.
Fig. 4 is a schematic structural diagram of a bandwidth allocation apparatus according to an embodiment of the present invention.
As shown in fig. 4, the apparatus includes an allocation instruction acquisition module 401, an access information acquisition module 402, and a bandwidth allocation module 403.
An allocation instruction obtaining module 401, configured to obtain bandwidth allocation instruction information for a user from a server according to an access request of the user, and determine whether the bandwidth allocation instruction information is for allocating a fixed bandwidth value to the user.
An access information obtaining module 402, configured to determine access information of a user when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user.
A bandwidth allocating module 403, configured to determine, according to the access information of the user and according to the bandwidth allocation instruction information, an upgraded bandwidth value on the basis of a fixed bandwidth value preset for a user currently requesting to access, when the current remaining bandwidth resource meets a preset condition, and allocate a bandwidth to the user currently requesting to access according to the upgraded bandwidth value.
The access information obtaining module 402 may be configured to obtain a current number of users that have accessed, an upper limit of the number of users that have accessed, current usage information of bandwidth resources of users that have accessed, and/or usage information of bandwidth resources of users that have requested to access in a historical period.
The bandwidth allocation module 403 may be specifically configured to determine, when the number of currently accessed users is smaller than an upper limit of an number of accessed users of the access device, a first ratio of the number of unaccessed users obtained by subtracting the number of currently accessed users from the upper limit of the number of accessed users, determine a result obtained by multiplying the first ratio by a preset second ratio as a lifting ratio, and determine a result obtained by adding a fixed bandwidth value preset for a currently requested user to access to the fixed bandwidth value and the fixed bandwidth value multiplied by the lifting ratio as the lifted bandwidth value.
The bandwidth allocating module 403 may be specifically configured to, when bandwidth is allocated to a user currently requesting access according to usage information of bandwidth resources within a history period of the user currently requesting access, increase a bandwidth resource used by the user currently requesting access within the history period, and increase a boosting ratio of a boosted bandwidth value with respect to a fixed bandwidth value, which is determined for the user currently requesting access.
The bandwidth allocating module 403 may be specifically configured to determine whether the bandwidth value after the bandwidth boosting is greater than a preset upper limit, determine, if the bandwidth value after the bandwidth boosting is greater than the preset upper limit, the bandwidth value allocated to the user currently requesting access is determined as the upper limit, and if the bandwidth value after the bandwidth boosting is not greater than the preset upper limit, determine, as the bandwidth value after the bandwidth boosting, the bandwidth value allocated to the user currently requesting access.
The bandwidth allocation module 403 may be specifically configured to identify a rule for determining a boosted bandwidth value according to the bandwidth allocation instruction information, and determine the boosted bandwidth value according to the identified rule; the rule for determining the promoted bandwidth value includes more than two different rules, and the different rules correspond to different bandwidth allocation instruction information contents.
The apparatus may also include an update module.
The updating module is used for setting an updating timer;
the access information obtaining module 402 is configured to re-determine the access information of the user when the update timer is overtime;
the bandwidth allocating module 403 is configured to allocate bandwidth to a currently accessed user and/or a currently access-requested user according to the access information re-determined by the access information obtaining module 402; and the values of the timing duration of the updating timer in different preset time periods are different.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that are within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method of bandwidth allocation, the method comprising:
the access equipment acquires bandwidth allocation instruction information aiming at a user from a server according to an access request of the user and determines whether the bandwidth allocation instruction information is used for allocating a fixed bandwidth value for the user;
when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user, the access equipment determines the access information of the user;
when the current residual bandwidth resource meets the preset condition, the access equipment determines the bandwidth value after being promoted on the basis of the fixed bandwidth value preset for the user requesting access according to the access information of the user and the bandwidth distribution instruction information, and distributes the bandwidth for the user requesting access according to the bandwidth value after being promoted;
the current residual bandwidth resource meeting a preset condition means that the current residual bandwidth resource is sufficient, and the preset condition is one of the following three conditions:
the first condition is as follows: the proportion of the number of the online users to the upper limit value of the number of the users allowed to be online is smaller than a preset value;
and a second condition: the current residual bandwidth resource reaches a preset value;
and (3) carrying out a third condition: the current remaining bandwidth resource is larger than the fixed bandwidth value set for the user of the current request in advance.
2. The method of claim 1, wherein the access information of the user comprises: the method comprises the following steps that the number of users which are accessed currently, the upper limit of the number of accessed users, the current use information of bandwidth resources of the users which are accessed currently, and/or the use information of bandwidth resources of the users which are requested to be accessed currently in a historical period;
determining the boosted bandwidth value on the basis of the fixed bandwidth value preset for the user currently requesting access comprises:
when the number of the currently accessed users is smaller than the upper limit of the number of the accessed users of the access equipment, the access equipment determines a first proportion of the number of the unaccessed users obtained by subtracting the currently accessed users from the upper limit of the number of the accessed users in the upper limit of the number of the accessed users, and determines a result obtained by multiplying the first proportion by a preset second proportion as a lifting proportion;
the access equipment determines a result obtained by adding the fixed bandwidth value to the fixed bandwidth value which is preset for the user requesting access and multiplying the fixed bandwidth value by the lifting ratio as the lifted bandwidth value;
or, when the access device allocates bandwidth to the user currently requesting access according to the usage information of bandwidth resources within the historical period of the user currently requesting access, the more bandwidth resources the user currently requesting access uses within the historical period of time is, the higher the promotion ratio of the bandwidth value after promotion determined for the user currently requesting access to the fixed bandwidth value is.
3. The method of claim 1 or 2, wherein allocating bandwidth to the currently access-requesting user according to the promoted bandwidth value comprises:
the access device judges whether the bandwidth value after being promoted is larger than a preset upper limit value, if so, the bandwidth value distributed to the user requesting access at present is determined as the upper limit value, and if not, the bandwidth value distributed to the user requesting access at present is determined as the bandwidth value after being promoted.
4. The method of claim 1, wherein determining the boosted bandwidth value based on the fixed bandwidth value preset for the user currently requesting access according to the bandwidth allocation instruction information comprises:
identifying a rule for determining the bandwidth value after being promoted according to the bandwidth allocation instruction information, and determining the bandwidth value after being promoted according to the identified rule;
the rule for determining the promoted bandwidth value includes more than two different rules, and the different rules correspond to different bandwidth allocation instruction information contents.
5. The method of claim 1, further comprising:
setting an updating timer, when the updating timer is overtime, the access equipment re-determines the access information of the user, and allocates bandwidth for the currently accessed user and/or the currently requested user according to the re-determined access information;
and the values of the timing duration of the updating timer in different preset time periods are different.
6. A bandwidth allocation device is applied to access equipment and is characterized by comprising an allocation instruction acquisition module, an access information acquisition module and a bandwidth allocation module;
the allocation instruction acquisition module is used for acquiring bandwidth allocation instruction information aiming at a user from a server according to an access request of the user and determining whether the bandwidth allocation instruction information is used for allocating a fixed bandwidth value to the user;
the access information acquisition module is used for determining the access information of the user when the bandwidth allocation instruction information does not allocate a fixed bandwidth value to the user;
the bandwidth allocation module is used for determining a boosted bandwidth value on the basis of a fixed bandwidth value preset for a user requesting access according to the bandwidth allocation instruction information and according to the bandwidth allocation instruction information when the current residual bandwidth resource meets a preset condition, and allocating bandwidth for the user requesting access according to the boosted bandwidth value;
the current residual bandwidth resource meeting a preset condition means that the current residual bandwidth resource is sufficient, and the preset condition is one of the following three conditions:
the first condition is as follows: the proportion of the number of the online users to the upper limit value of the number of the users allowed to be online is smaller than a preset value;
and a second condition: the current residual bandwidth resource reaches a preset value;
and (3) carrying out a third condition: the current remaining bandwidth resource is larger than the fixed bandwidth value set for the user of the current request in advance.
7. The bandwidth allocation apparatus of claim 6,
the access information acquisition module is used for acquiring the number of users currently accessed, the upper limit of the number of users accessed, the current use information of bandwidth resources of the users currently accessed, and/or the use information of bandwidth resources of the users currently requesting to access in a historical period;
the bandwidth allocation module is configured to determine, when the number of currently accessed users is smaller than an upper limit of the number of accessed users of the access device, a first ratio of the number of unaccessed users obtained by subtracting the number of currently accessed users from the upper limit of the number of accessed users to the upper limit of the number of accessed users, determine a result obtained by multiplying the first ratio by a preset second ratio as a lifting ratio, and determine a result obtained by multiplying a fixed bandwidth value preset for a currently requested user by access by the fixed bandwidth value by the lifting ratio as the lifted bandwidth value;
or, the bandwidth allocation module is configured to determine that the boosted bandwidth value for the current user requesting access is higher than the boosting ratio of the fixed bandwidth value when the bandwidth resource used by the current user requesting access in the historical period is more.
8. The bandwidth allocation apparatus of claim 6,
the bandwidth allocation module is configured to determine whether the bandwidth value after being boosted is greater than a preset upper limit value, determine, if the bandwidth value after being boosted is greater than the preset upper limit value, the bandwidth value allocated to the user currently requesting access as the upper limit value, and if the bandwidth value after being boosted is not greater than the preset upper limit value, determine, as the bandwidth value after being boosted, the bandwidth value allocated to the user currently requesting access.
9. The bandwidth allocation apparatus of claim 6,
the bandwidth allocation module is used for identifying a rule for determining the bandwidth value after being promoted according to the bandwidth allocation instruction information and determining the bandwidth value after being promoted according to the identified rule;
the rule for determining the promoted bandwidth value includes more than two different rules, and the different rules correspond to different bandwidth allocation instruction information contents.
10. The apparatus according to claim 6, further comprising an update module;
the updating module is used for setting an updating timer;
the access information acquisition module is used for the access equipment to re-determine the access information of the user when the update timer is overtime;
the bandwidth allocation module is used for allocating bandwidth to the currently accessed user and/or the currently requested user according to the access information re-determined by the access information acquisition module;
and the values of the timing duration of the updating timer in different preset time periods are different.
CN201510422087.6A 2015-07-17 2015-07-17 Bandwidth allocation method and device Active CN105591795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510422087.6A CN105591795B (en) 2015-07-17 2015-07-17 Bandwidth allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510422087.6A CN105591795B (en) 2015-07-17 2015-07-17 Bandwidth allocation method and device

Publications (2)

Publication Number Publication Date
CN105591795A CN105591795A (en) 2016-05-18
CN105591795B true CN105591795B (en) 2020-03-06

Family

ID=55931054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510422087.6A Active CN105591795B (en) 2015-07-17 2015-07-17 Bandwidth allocation method and device

Country Status (1)

Country Link
CN (1) CN105591795B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792986B (en) * 2016-11-28 2021-01-08 台州市吉吉知识产权运营有限公司 Method and device for managing number of users of wireless access equipment
CN107567024A (en) * 2017-09-12 2018-01-09 中广热点云科技有限公司 A kind of business WIFI application method
CN109962856B (en) * 2017-12-26 2022-07-12 中国电信股份有限公司 Resource allocation method, device and computer readable storage medium
CN110493047B (en) * 2018-02-27 2022-08-02 贵州白山云科技股份有限公司 Method and system for distributing node server bandwidth in CDN (content delivery network)
CN110708262B (en) * 2019-10-21 2023-04-07 北京百度网讯科技有限公司 Method and apparatus for controlling bandwidth allocation
CN113055308B (en) * 2019-12-26 2024-03-05 华为云计算技术有限公司 Bandwidth scheduling method, traffic transmission method and related products
CN112491577B (en) * 2020-10-10 2023-12-05 北京思特奇信息技术股份有限公司 Bandwidth acceleration method and system
CN112566187B (en) * 2020-12-08 2023-08-22 京信网络系统股份有限公司 Bandwidth allocation method, device, computer equipment and computer readable storage medium
CN116918377A (en) * 2021-03-17 2023-10-20 华为技术有限公司 Transmission parameter adjustment method and communication device
CN113727394B (en) * 2021-08-31 2023-11-21 杭州迪普科技股份有限公司 Method and device for realizing shared bandwidth

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159699A (en) * 2007-11-27 2008-04-09 杭州华三通信技术有限公司 Distributed equipment switch network bandwidth dynamic assignment method and apparatus
CN101232449A (en) * 2008-02-27 2008-07-30 福建星网锐捷网络有限公司 Method and apparatus for distributing bandwidth
WO2010081350A1 (en) * 2008-12-30 2010-07-22 华为技术有限公司 Method, device and system for bandwidth distributing
CN102685904A (en) * 2012-05-07 2012-09-19 中兴通讯股份有限公司 Bandwidth self-adaptive allocation method and bandwidth self-adaptive allocation system
CN103338486A (en) * 2012-12-27 2013-10-02 上海华为技术有限公司 Method and system for bandwidth allocation
CN103957566A (en) * 2014-04-17 2014-07-30 华为技术有限公司 Bandwidth control method and bandwidth control equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502338C (en) * 2007-06-27 2009-06-17 中兴通讯股份有限公司 A dynamic bandwidth adjustment method in broadband access system
CN101729939B (en) * 2008-10-31 2012-12-05 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159699A (en) * 2007-11-27 2008-04-09 杭州华三通信技术有限公司 Distributed equipment switch network bandwidth dynamic assignment method and apparatus
CN101232449A (en) * 2008-02-27 2008-07-30 福建星网锐捷网络有限公司 Method and apparatus for distributing bandwidth
WO2010081350A1 (en) * 2008-12-30 2010-07-22 华为技术有限公司 Method, device and system for bandwidth distributing
CN102685904A (en) * 2012-05-07 2012-09-19 中兴通讯股份有限公司 Bandwidth self-adaptive allocation method and bandwidth self-adaptive allocation system
CN103338486A (en) * 2012-12-27 2013-10-02 上海华为技术有限公司 Method and system for bandwidth allocation
CN103957566A (en) * 2014-04-17 2014-07-30 华为技术有限公司 Bandwidth control method and bandwidth control equipment

Also Published As

Publication number Publication date
CN105591795A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN105591795B (en) Bandwidth allocation method and device
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN109041130B (en) Resource allocation method based on mobile edge calculation
KR100655939B1 (en) System and method for allocating resource and user terminal
US10630848B2 (en) Policy and charging enforcement function apparatus, online charging apparatus, and online charging method
KR102275579B1 (en) Method and apparatus for providing differentiated transmitting services
CN105897484A (en) Traffic management device, server and method
CN104113492A (en) Router based user access bandwidth adjusting method, device and system
CN106059954A (en) Network bandwidth regulation method and device
CN106255154B (en) Load balancing system and method based on resource utilization rate
WO2011077675A1 (en) Power supply apparatus, power reception apparatus, and power supply method
US11929911B2 (en) Shaping outgoing traffic of network packets in a network management system
CN103596272A (en) A method, an apparatus, and a system for allocating resource of a fixed broadband network
CN111405481B (en) Network resource scheduling method, device, system, electronic equipment and medium
CN109413502A (en) Multithreading barrage message distributing method, device, equipment and storage medium
WO2013171601A4 (en) Inter-carrier differentiation using allocation and retention priority in a wireless communication system
CN104581967A (en) Method for adjusting contention access resource, and method and device for sending contention access request
CN103974443B (en) Distributed channel connection control method and equipment
KR20150074531A (en) Apparatus and method for providing bandwidth on demand service
CN107995125B (en) Traffic scheduling method and device
CN112737806A (en) Network traffic migration method and device
JP6567977B2 (en) Information processing apparatus, information processing method, and program
CN110636624B (en) Resource allocation method, device, equipment and storage medium
CN111491323B (en) IAB-based method and device for reserving uplink transmission resources
CN104158751B (en) A kind of flow control methods and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant