CN105721350A - Intelligent bandwidth allocation method and apparatus - Google Patents
Intelligent bandwidth allocation method and apparatus Download PDFInfo
- Publication number
- CN105721350A CN105721350A CN201610124811.1A CN201610124811A CN105721350A CN 105721350 A CN105721350 A CN 105721350A CN 201610124811 A CN201610124811 A CN 201610124811A CN 105721350 A CN105721350 A CN 105721350A
- Authority
- CN
- China
- Prior art keywords
- service
- bandwidth
- type
- grade
- remaining
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/803—Application aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses an intelligent bandwidth allocation method and apparatus. The method comprises: receiving a service bandwidth request of a terminal device; collecting statistics of a service total bandwidth requested within a preset duration; determining whether the requested service total bandwidth exceeds a total bandwidth that can be allocated, and if no, allocating service bandwidths according to a service type and a bandwidth allocation weight value of each service grade, and if yes, allocating a service bandwidth to the service type with the highest service grade in priority; and according to the service bandwidths requested by the remaining service types that nothing is allocated to and a threshold of a bandwidth that can be allocated of each service grade, allocating remaining service bandwidths to the remaining service types that nothing is allocated to. According to the method and apparatus disclosed by the present invention, network bandwidths can be effectively and intelligently managed, so as to avoid network congestion or resource waste.
Description
Technical field
The invention belongs to communication technical field, particularly relate to method and the device of a kind of smart allocation bandwidth.
Background technology
Currently, our various activities, as information inquiry, telecommunication, message synchronize, it is dependent on the Internet network.Appearance along with many new applications, for instance the BT software of mad download, sudden peal of thunder P2P software, takies massive band width, under shared network condition, affects other people and uses.
In prior art, the network equipment is that the terminal unit distribution bandwidth accessed is generally adopted the fixed value pre-setting distribution bandwidth in systems, lacks motility, it is impossible to dynamically distribute the network bandwidth, easily causing network congestion or the wasting of resources, the online affecting user is experienced.
Summary of the invention
The present invention provides method and the device of a kind of smart allocation bandwidth, solves network bandwidth allocation efficiency in prior art low, it is easy to the problem causing network congestion or the wasting of resources.
The method of a kind of smart allocation bandwidth provided by the invention, including:
The service bandwidth request of receiving terminal apparatus, the request of described service bandwidth comprises the grade of service corresponding to type of service, described type of service and requested bandwidth corresponding to described type of service;
Add up the business total bandwidth that described terminal unit is requested in preset time period, and judge that whether described requested business total bandwidth is beyond assignable total bandwidth;
If without departing from assignable total bandwidth, then according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for described type of service;
If beyond assignable total bandwidth, the then preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, the described threshold values distributing bandwidth is the described product that can distribute bandwidth and described bandwidth right of distribution weight values.
The device of a kind of smart allocation bandwidth provided by the invention, including:
Receiver module, the service bandwidth for receiving terminal apparatus is asked, and the request of described service bandwidth comprises the grade of service corresponding to type of service, described type of service and requested bandwidth corresponding to described type of service;
Statistical module, for adding up the business total bandwidth that described terminal unit is requested in preset time period;
Judge module, for judging that whether described requested business total bandwidth is beyond assignable total bandwidth;
Distribution module, if for without departing from assignable total bandwidth, then according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for described type of service;And, if for exceeding assignable total bandwidth, the then preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, the described threshold values distributing bandwidth is the described product that can distribute bandwidth and described bandwidth right of distribution weight values.
From the invention described above embodiment, the method of smart allocation bandwidth provided by the invention and device, in the embodiment of the present invention, by setting the grade of service and the different bandwidth right of distribution weight values of the tandem of distribution bandwidth for the type of service of requested service bandwidth, assignable bandwidth is determined according to this bandwidth right of distribution weight values, and determine that the sequencing of distribution bandwidth comes for the requested corresponding bandwidth of traffic assignments according to the grade of service, compared to prior art, the network bandwidth can be managed effectively intelligently, avoid network congestion or the wasting of resources, both management cost had been reduced, the online that can improve again user is experienced.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be first embodiment of the invention provide smart allocation bandwidth method realize schematic flow sheet;
Fig. 2 is the structural representation of the device of the smart allocation bandwidth that second embodiment of the invention provides;
Fig. 3 is the structural representation of the device of the smart allocation bandwidth that third embodiment of the invention provides.
Detailed description of the invention
For making the goal of the invention of the present invention, feature, the advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, and not all embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to the smart allocation bandwidth that Fig. 1, Fig. 1 provide for first embodiment of the invention method realize schematic flow sheet, the method comprises the following steps:
S101, receiving terminal apparatus service bandwidth request, the request of this service bandwidth comprises the grade of service corresponding to type of service, this type of service and requested bandwidth corresponding to this type of service;
The service bandwidth request of network equipment receiving terminal apparatus, for distributing bandwidth for the service request network equipment.The request of this service bandwidth comprises the grade of service corresponding to type of service, this type of service and requested bandwidth corresponding to this type of service.Business bandwidth request can comprise the bandwidth request to multiple business type.
Wherein, the network equipment includes the network management devices such as gateway.Terminal unit can include customer terminal equipment (CPE, CustomerPremiseEquipment).Type of service includes the network related services such as web page browsing, video playback, online game, download file.Type of service can be divided into the different grades of service according to the tandem of distribution bandwidth, for instance, it is divided into high, medium and low three grades of service, the type of service that grade is more high, the order priority of distribution bandwidth is more high, for instance the type of service of the high grade of service, can by priority allocation service bandwidth.The business of web page browsing type can be divided into the high grade of service, enjoys the authority being preferentially assigned with bandwidth.
After the service bandwidth request of receiving terminal apparatus, the network equipment is according to the different grades of service, by the corresponding relation classification write mapping table between requested service bandwidth corresponding to the type of service of service bandwidth request, the grade of service and each grade of service.So, the network equipment would know that the bandwidth that the grade of service corresponding to the requested bandwidth of terminal unit, the bandwidth of each type of service, each grade of service are corresponding and requested business total bandwidth.
It should be noted that, pre-set the grade of service that type of service is corresponding in the network device, and, pre-set the bandwidth right of distribution weight values that different business grade is corresponding, the bandwidth right of distribution weight values that the different grade of service is corresponding different, bandwidth right of distribution weight values refers to the ratio of assignable total bandwidth shared by the assignable bandwidth of each grade of service.Wherein, bandwidth right of distribution weight values is more big, distributes to the ratio of total bandwidth shared by the bandwidth of this grade of service more big, otherwise, bandwidth right of distribution weight values is more little, distributes to the ratio of total bandwidth shared by the bandwidth of this grade of service more little.
Further, can also pre-setting the threshold values of the distributed bandwidth being allocated to different business grade in the network device, this threshold values that the different grades of service is corresponding different, this threshold values is allocated to the maximum value bandwidth of each grade of service.
When original allocation bandwidth, the bandwidth distributed for each grade of service can not more than the threshold values of the distributed bandwidth of this grade of service.If the total bandwidth in this preset time period each is BW, this threshold values is BWi, then the threshold values that always can distribute bandwidth of all grades of service is Σ BWi=BW.Namely, when being this terminal unit distribution services broadband first, according to the threshold values of the distributed bandwidth of this preset grade of service, for the traffic assignments bandwidth of this premises equipment requests so that the bandwidth of distribution is less than the threshold values of the distributed bandwidth of this type of service correspondence grade of service.
S102, add up the business total bandwidth that this terminal unit is requested in preset time period;
This preset time period is generally Millisecond, it is possible to need self-defined numerical value according to system.
This requested business total bandwidth refers to the total bandwidth that all types of service requested in this this preset time period of terminal unit place are corresponding.
S103, judge that this requested business total bandwidth is whether beyond assignable total bandwidth;
Assignable total bandwidth refers to that this network equipment can distribute to all bandwidth of all terminal units in this preset time period.This assignable total bandwidth can be obtained by the mode of the data on flows of each port of this network equipment of monitoring.
If without departing from assignable total bandwidth, perform step S104, if beyond assignable total bandwidth, perform step S105.
S104, according to this type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for this type of service;
Specifically, if the requested business total bandwidth of terminal unit is without departing from the assignable total bandwidth of the network equipment, then determine the target service grade that this type of service in business bandwidth request is corresponding, namely, it is first determined the grade of service corresponding to this type of service is which grade in the high, medium and low grade of service.Bandwidth right of distribution weight values further according to this target service grade and preset each grade of service, determine the bandwidth right of distribution weight values that this target service grade is corresponding, namely, after determining target service grade, determine the bandwidth right of distribution weight values of this target service grade again, and bandwidth right of distribution weight values corresponding for this target service grade is multiplied with remaining unappropriated service bandwidth, obtain the remaining service bandwidth distributed for this type of service, and calculated remaining service bandwidth is distributed to this type of service.
Such as, in this preset time period, the requested total bandwidth of the high grade of service is Qh, the requested total bandwidth of the middle grade of service is Qm, the requested total bandwidth of the low grade of service is Ql。
So, Q is worked ash+Qm+QlDuring < BW, by remaining unassigned bandwidth, namely total bandwidth BW deducts the residual value of the bandwidth summation of requested each grade of service, it is allocated by the bandwidth right of distribution weight values of each grade of service, bandwidth right of distribution weight values corresponding for this each grade of service is multiplied with remaining unappropriated service bandwidth, obtaining the remaining service bandwidth distributed for this type of service, the total bandwidth that therefore actual each grade of service is distributed is that the requested service bandwidth of each terminal unit is plus the remaining bandwidth sum distributed according to the bandwidth right of distribution weight values that each grade of service is corresponding.Wherein, the bandwidth distributing to affiliated type of service is divided equally in the service bandwidth request of same type of service (or same grade of service).
Citing 1, assume to be respectively received in 1 millisecond from terminal unit A, B, 4 service bandwidth request: A-video-10MB (million) of C, A-webpage-300KB (kilobytes), B-webpage-50KB, C-game-5MB, carry out being categorized as (A-video-10MB) according to corresponding type of service by these 4 requests, (A-webpage-300KB, B-webpage-50KB), (C-game-5MB), if above-mentioned 4 are asked requested business total bandwidth without departing from assignable total bandwidth, then it is first according to above-mentioned 4 bandwidth asking requested bandwidth to be above-mentioned 4 request distribution correspondences, then remaining bandwidth (being assumed to be 500MB) is distributed to above-mentioned 4 requests according to the grade of service corresponding to type of service and bandwidth right of distribution weight values thereof, specifically, assume that the grade of service corresponding to web page class business is for height, weighted value is 50%, during the grade of service corresponding to game class business be, weighted value is 30%, the grade of service corresponding to video class business is low, weighted value is 20%, request distribution 500MB × 50%=250MB that then respectively web page class business is corresponding, for request distribution 500MB × 30%=150MB that game class business is corresponding, for request distribution 500MB × 20%=100MB that video class business is corresponding, it is finally based on the principle of the request mean allocation of the same grade of service (or same type), except above-mentioned 4 the bandwidth 10MB asking oneself request, 300KB, outside 50KB and 5MB, also it is required to be the bandwidth of request A-video-10MB reallocation 100MB, bandwidth for request A-webpage-300KB reallocation 250MB ÷ 2=125MB, bandwidth for request B-webpage-50KB reallocation 250MB ÷ 2=125MB, bandwidth for request C-game-5MB reallocation 150MB.
Further, it is also possible to reference to the network rate that the request of each service bandwidth is corresponding, adjust the bandwidth finally distributing to the request of each service bandwidth.Specifically, obtain the network rate that the service bandwidth request received is corresponding, and according to type of service, and the bandwidth right of distribution weight values of preset each grade of service, after distributing remaining service bandwidth for type of service, according to these network rate and default regulation rule, it is adjusted to the service bandwidth of respectively this type of service distribution.
Citing 2, assume from terminal unit A, B, the service bandwidth request 1 of C, 2, network rate respectively 200 yuan/month of 3 correspondences, 300 yuan/month, 400 yuan/month, wherein service bandwidth request 1, 2, the type of 3 respectively webpage, game, video, the then corresponding grade of service is respectively high, in, low, corresponding bandwidth right of distribution weight values respectively 50%, 30%, 20%, according to above-mentioned bandwidth right of distribution weight values, the bandwidth respectively 50MB of the service bandwidth request of above-mentioned three types should be distributed to, 30MB, 20MB, but owing to the network rate of service bandwidth request 1 are minimum, the network rate of service bandwidth request 3 are the highest, then according to preset regulation rule, the bandwidth being actually allocated to this type of service of webpage is reduced to 45MB, the bandwidth being actually allocated to this type of service of video is increased to 25MB.
Or, still for 4 requests in above-mentioned example 1, if terminal unit A, B, network rate respectively 200 yuan/month of C, 300 yuan/month, 400 yuan/month, namely, network rate corresponding with request A-webpage-300KB for request A-video-10MB are 200 yuan/month, network rate corresponding for request B-webpage-50KB are 300 yuan/month, network rate corresponding for request C-game-5MB are 400 yuan/month, wherein, request A-webpage-300KB belongs to same type of service with request B-webpage-50KB, owing to asking the network rate of B-webpage-50KB to be higher than the network rate of request A-webpage-300KB, then when distributing remaining bandwidth, it can be the request B-webpage-50KB bandwidth distributing > 125MB, it is reduced to the bandwidth of request A-webpage-300KB distribution to < 125MB simultaneously, but total amount remains in that as 250MB.
It should be noted that above-mentioned regulation rule can customize, it is not specifically limited herein.
S105, the preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, this threshold values that can distribute bandwidth is that this can distribute the product of bandwidth and this bandwidth right of distribution weight values.
If the requested business total bandwidth of terminal unit is beyond the assignable total bandwidth of the network equipment, i.e. work as Qh+Qm+QlDuring >=BW, preferentially service bandwidth is distributed to the type of service of the highest grade of service, for instance, distribute to web-browsing service.
Further, threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, this threshold values that can distribute bandwidth is that this can distribute the product of bandwidth and this bandwidth right of distribution weight values.Specifically, compare the size of the threshold values of the distributed bandwidth remaining requested service bandwidth corresponding to unappropriated type of service and each grade of service, and using the less value that compares out as the bandwidth distributing to the unappropriated type of service of this residue.Such as, remain unappropriated type of service and be video playback and download file, wherein, the requested service bandwidth 10G that video playback is corresponding, video playback corresponding the threshold values of distributed bandwidth be 15G, then the smaller value comparing out both this is 10G, and 10G bandwidth is distributed to video playback.Download requested service bandwidth 100G corresponding to file, download file corresponding the threshold values of distributed bandwidth be 90G, then the smaller value comparing out both this is 90G, and 90G bandwidth is distributed to download file.
Further, after above-mentioned bandwidth is distributed, if there is remaining bandwidth, then this remaining bandwidth is distributed to requested service bandwidth more than other types of service of the threshold values that can distribute bandwidth.That is, checking as the service bandwidth requested in other type of service type of service more than the threshold values of corresponding distributed bandwidth, if there is such type of service, then remaining bandwidth being fully allocated to this type of service.When the quantity of this kind of type of service is multiple, according to the bandwidth right of distribution weight values of each self-corresponding grade of service of these other types of service, this remaining bandwidth is distributed to requested service bandwidth more than respectively these other types of service of the threshold values that can distribute bandwidth.
Further, after completing the distribution of above-mentioned bandwidth, then checking whether the type of service of remaining bandwidth, if having, then remaining bandwidth being distributed to this type of service.If no, then bandwidth is assigned, and waits the bandwidth request allocation in next preset time period, repeats above-mentioned bandwidth allocation.
In the embodiment of the present invention, by setting the grade of service and the different bandwidth right of distribution weight values of the tandem of distribution bandwidth for the type of service of requested service bandwidth, assignable bandwidth is determined according to this bandwidth right of distribution weight values, and determine that the sequencing of distribution bandwidth comes for the requested corresponding bandwidth of traffic assignments according to the grade of service, compared to prior art, the network bandwidth can be managed effectively intelligently, avoid network congestion or the wasting of resources, both having reduced management cost, the online that can improve again user is experienced.
Consult the structural representation that Fig. 2, Fig. 2 are the devices of the smart allocation bandwidth that second embodiment of the invention provides, for the ease of illustrating, illustrate only the part relevant to the embodiment of the present invention.The device of the smart allocation bandwidth of Fig. 2 example can be the executive agent of the method for the smart allocation bandwidth that aforementioned embodiment illustrated in fig. 1 provides, and this device can be the network equipment, it is also possible to be a functional module in the network equipment.
The device of smart allocation bandwidth shown in Fig. 2, including: receiver module 201, statistical module 202, judge module 203 and distribution module 204.
Each functional module describes in detail as follows above:
Wherein, receiver module 201, the service bandwidth for receiving terminal apparatus is asked, and comprises the grade of service corresponding to type of service, this type of service and requested bandwidth corresponding to this type of service in the request of this service bandwidth;
Statistical module 202, for adding up the business total bandwidth that this terminal unit is requested in preset time period;
Judge module 203, for judging that whether this requested business total bandwidth is beyond assignable total bandwidth;
Distribution module 204, if for without departing from assignable total bandwidth, then according to this type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for this type of service;And, if for exceeding assignable total bandwidth, the then preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, this threshold values that can distribute bandwidth is that this can distribute the product of bandwidth and this bandwidth right of distribution weight values.
The details that the present embodiment is not most, refers to the description of aforementioned embodiment illustrated in fig. 1, repeats no more herein.
It should be noted that, in the embodiment of the device of the smart allocation bandwidth of figure 1 above example, the division of each functional module is merely illustrative of, can be as required in practical application, the convenient consideration of the configuration requirement of such as corresponding hardware or the realization of software, and above-mentioned functions distribution is completed by different functional modules, it is divided into different functional modules by the internal structure of the device of smart allocation bandwidth, to complete all or part of function described above.And, in practical application, the corresponding functional module in the present embodiment can be realized by corresponding hardware, it is also possible to is performed corresponding software by corresponding hardware and completes.Each embodiment that this specification provides all can apply foregoing description principle, below repeats no more.
In the embodiment of the present invention, by setting the grade of service and the different bandwidth right of distribution weight values of the tandem of distribution bandwidth for the type of service of requested service bandwidth, assignable bandwidth is determined according to this bandwidth right of distribution weight values, and determine that the sequencing of distribution bandwidth comes for the requested corresponding bandwidth of traffic assignments according to the grade of service, compared to prior art, the network bandwidth can be managed effectively intelligently, avoid network congestion or the wasting of resources, both having reduced management cost, the online that can improve again user is experienced.
Refer to Fig. 3, the structural representation of the device of the smart allocation bandwidth that third embodiment of the invention provides, this device and the device shown in Fig. 2 are different in that:
Distribution module 204, the target service grade corresponding specifically for determining this type of service;Bandwidth right of distribution weight values according to this target service grade and preset each grade of service, it is determined that the bandwidth right of distribution weight values that this target service grade is corresponding;And, bandwidth right of distribution weight values corresponding for this target service grade is multiplied with remaining unappropriated service bandwidth, obtains the remaining service bandwidth distributed for this type of service, and calculated remaining service bandwidth is distributed to this type of service;
Distribution module 204, also particularly useful for the size of the threshold values comparing the distributed bandwidth remaining requested service bandwidth corresponding to unappropriated type of service and each grade of service, and using less value as the bandwidth distributing to the unappropriated type of service of this residue;
Distribution module 204, also particularly useful for using less value as after the bandwidth distributing to the unappropriated type of service of this residue, if there is remaining bandwidth, then this remaining bandwidth is distributed to requested service bandwidth more than other types of service of the threshold values that can distribute bandwidth;
Distribution module 204, if being multiple also particularly useful for these other types of service, then according to the bandwidth right of distribution weight values of each self-corresponding grade of service of these other types of service, this remaining bandwidth is distributed to requested service bandwidth more than respectively these other types of service of the threshold values that can distribute bandwidth.
Further, distribution module 204, it is additionally operable to first for this terminal unit distribution services broadband time, threshold values according to the distributed bandwidth of this preset grade of service, traffic assignments bandwidth for this premises equipment requests so that the bandwidth of distribution is less than the threshold values of the distributed bandwidth of this type of service correspondence grade of service.
This device may further comprise:
Writing module 205, for according to the different grades of service, the corresponding relation classification between the type of service asked by the service bandwidth of this terminal unit, the grade of service, requested service bandwidth writes in mapping table.
Further, distribute module 204, be additionally operable to obtain the network rate that service bandwidth request is corresponding, according to network rate and default regulation rule, be adjusted to the service bandwidth of each type of service distribution.
The details that the present embodiment is not most, refers to the description of earlier figures 1 to embodiment illustrated in fig. 2, repeats no more herein.
In the embodiment of the present invention, by setting the grade of service and the different bandwidth right of distribution weight values of the tandem of distribution bandwidth for the type of service of requested service bandwidth, assignable bandwidth is determined according to this bandwidth right of distribution weight values, and determine that the sequencing of distribution bandwidth comes for the requested corresponding bandwidth of traffic assignments according to the grade of service, compared to prior art, the network bandwidth can be managed effectively intelligently, avoid network congestion or the wasting of resources, both having reduced management cost, the online that can improve again user is experienced.
In multiple embodiments provided herein, it should be understood that disclosed method and apparatus, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described module, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple modules or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication linkage can be through INDIRECT COUPLING or the communication linkage of some interfaces, device or module, it is possible to be electrical, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, and the parts shown as module can be or may not be physical module, namely may be located at a place, or can also be distributed on multiple mixed-media network modules mixed-media.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing module, it is also possible to be that modules is individually physically present, it is also possible to two or more modules are integrated in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes.
If described integrated module is using the form realization of software function module and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
It should be noted that, for aforesaid each embodiment of the method, in order to simplicity describes, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, it might not be all necessary to the present invention that embodiment described in this description belongs to preferred embodiment, involved action and module.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments.
It is more than the method to smart allocation bandwidth provided by the present invention and the description of device, for those skilled in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this specification content should not be construed as limitation of the present invention.
Claims (13)
1. the method for a smart allocation bandwidth, it is characterised in that described method includes:
The service bandwidth request of receiving terminal apparatus, the request of described service bandwidth comprises the grade of service corresponding to type of service, described type of service and requested bandwidth corresponding to described type of service;
Add up the business total bandwidth that described terminal unit is requested in preset time period, and judge that whether described requested business total bandwidth is beyond assignable total bandwidth;
If without departing from assignable total bandwidth, then according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for described type of service;
If beyond assignable total bandwidth, the then preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, the described threshold values distributing bandwidth is the described product that can distribute bandwidth and described bandwidth right of distribution weight values.
2. method according to claim 1, it is characterised in that described according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for described type of service and include:
Determine the target service grade that described type of service is corresponding;
Bandwidth right of distribution weight values according to described target service grade and preset each grade of service, it is determined that the bandwidth right of distribution weight values that described target service grade is corresponding;
Bandwidth right of distribution weight values corresponding for described target service grade is multiplied with remaining unappropriated service bandwidth, obtains the remaining service bandwidth distributed for described type of service, and calculated remaining service bandwidth is distributed to described type of service.
3. method according to claim 1 and 2, it is characterized in that, the described threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, includes for remaining the unappropriated type of service remaining service bandwidth of distribution:
Relatively remain the size of the threshold values of the distributed bandwidth of requested service bandwidth corresponding to unappropriated type of service and each grade of service, and using less value as the bandwidth distributing to the unappropriated type of service of described residue.
4. method according to claim 3, it is characterised in that described less value is also included after the bandwidth of the unappropriated type of service of described residue:
If there is remaining bandwidth, then described remaining bandwidth is distributed to requested service bandwidth more than other types of service of the threshold values that can distribute bandwidth.
5. method according to claim 4, it is characterised in that if other types of service described are multiple, then described remaining bandwidth are distributed to requested service bandwidth and include more than other types of service of the threshold values that can distribute bandwidth:
According to the bandwidth right of distribution weight values of each self-corresponding grade of service of other types of service described, described remaining bandwidth is distributed to requested service bandwidth more than other types of service each described of the threshold values that can distribute bandwidth.
6. method according to claim 5, it is characterised in that described method also includes:
When being described terminal unit distribution services broadband first, threshold values according to the distributed bandwidth of the preset described grade of service, traffic assignments bandwidth for described premises equipment requests so that the bandwidth of distribution is less than the threshold values of the distributed bandwidth of the described type of service correspondence grade of service.
7. method according to claim 6, it is characterised in that include after the service bandwidth request of described receiving terminal apparatus:
According to the different grades of service, in the corresponding relation classification write mapping table between the type of service that the service bandwidth of described terminal unit is asked, the grade of service, requested service bandwidth.
8. method according to claim 1, it is characterised in that described method also includes:
Obtain the network rate that the request of described service bandwidth is corresponding;
Described according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, also include after distributing remaining service bandwidth for described type of service:
According to described network rate and default regulation rule, it is adjusted to the service bandwidth of each described type of service distribution.
9. the device of a smart allocation bandwidth, it is characterised in that described device includes:
Receiver module, the service bandwidth for receiving terminal apparatus is asked, and the request of described service bandwidth comprises the grade of service corresponding to type of service, described type of service and requested bandwidth corresponding to described type of service;
Statistical module, for adding up the business total bandwidth that described terminal unit is requested in preset time period;
Judge module, for judging that whether described requested business total bandwidth is beyond assignable total bandwidth;
Distribution module, if for without departing from assignable total bandwidth, then according to described type of service, and the bandwidth right of distribution weight values of preset each grade of service, distribute remaining service bandwidth for described type of service;And, if for exceeding assignable total bandwidth, the then preferential type of service that service bandwidth is distributed to the highest grade of service, and the threshold values according to the distributed bandwidth remaining the requested service bandwidth of unappropriated type of service and each grade of service, distributing remaining service bandwidth for remaining unappropriated type of service, the described threshold values distributing bandwidth is the described product that can distribute bandwidth and described bandwidth right of distribution weight values.
10. device according to claim 9, it is characterised in that
Described distribution module, the target service grade corresponding specifically for determining described type of service;Bandwidth right of distribution weight values according to described target service grade and preset each grade of service, it is determined that the bandwidth right of distribution weight values that described target service grade is corresponding;And, bandwidth right of distribution weight values corresponding for described target service grade is multiplied with remaining unappropriated service bandwidth, obtains the remaining service bandwidth distributed for described type of service, and calculated remaining service bandwidth is distributed to described type of service;
Described distribution module, also particularly useful for the size of the threshold values comparing the distributed bandwidth remaining requested service bandwidth corresponding to unappropriated type of service and each grade of service, and using less value as the bandwidth distributing to the unappropriated type of service of described residue;
Described distribution module, also particularly useful for using less value as after the bandwidth distributing to the unappropriated type of service of described residue, if there is remaining bandwidth, then described remaining bandwidth is distributed to requested service bandwidth more than other types of service of the threshold values that can distribute bandwidth;
Described distribution module, if being multiple also particularly useful for other types of service described, then according to the bandwidth right of distribution weight values of each self-corresponding grade of service of other types of service described, described remaining bandwidth is distributed to requested service bandwidth more than other types of service each described of the threshold values that can distribute bandwidth.
11. the device according to claim 9 or 10, it is characterised in that
Described distribution module, it is additionally operable to first for described terminal unit distribution services broadband time, threshold values according to the distributed bandwidth of the preset described grade of service, traffic assignments bandwidth for described premises equipment requests so that the bandwidth of distribution is less than the threshold values of the distributed bandwidth of the described type of service correspondence grade of service.
12. device according to claim 11, it is characterised in that described device also includes:
Writing module, for according to the different grades of service, the corresponding relation classification between the type of service asked by the service bandwidth of described terminal unit, the grade of service, requested service bandwidth writes in mapping table.
13. device according to claim 12, it is characterized in that, described distribution module, be additionally operable to obtain the network rate that the request of described service bandwidth is corresponding, according to described network rate and default regulation rule, it is adjusted to the service bandwidth of each described type of service distribution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124811.1A CN105721350B (en) | 2016-03-04 | 2016-03-04 | A kind of method and device of smart allocation bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124811.1A CN105721350B (en) | 2016-03-04 | 2016-03-04 | A kind of method and device of smart allocation bandwidth |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721350A true CN105721350A (en) | 2016-06-29 |
CN105721350B CN105721350B (en) | 2019-11-26 |
Family
ID=56156361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610124811.1A Active CN105721350B (en) | 2016-03-04 | 2016-03-04 | A kind of method and device of smart allocation bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721350B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453143A (en) * | 2016-10-31 | 2017-02-22 | 北京百度网讯科技有限公司 | Bandwidth setting method, device and system |
CN106506391A (en) * | 2016-10-28 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | A kind of distribution method of network traffics and router |
CN107612846A (en) * | 2017-11-01 | 2018-01-19 | 北京天创凯睿科技有限公司 | A kind of business datum adaptive transmission method and device |
CN109788061A (en) * | 2019-01-23 | 2019-05-21 | 中科驭数(北京)科技有限公司 | Calculating task dispositions method and device |
CN110011937A (en) * | 2019-02-26 | 2019-07-12 | 贵阳忆联网络有限公司 | A kind of broadband resource dynamic allocation method and system |
CN110061563A (en) * | 2019-03-08 | 2019-07-26 | 国网浙江省电力有限公司 | Intelligent distribution transformer terminals |
CN110138610A (en) * | 2019-05-10 | 2019-08-16 | 新华三信息安全技术有限公司 | A kind of sending method and device of service message |
CN110493144A (en) * | 2019-07-31 | 2019-11-22 | 华为技术有限公司 | A kind of data processing method and device |
CN110611578A (en) * | 2018-06-15 | 2019-12-24 | 华为技术有限公司 | Method and device for allocating network resources |
CN111224884A (en) * | 2018-11-27 | 2020-06-02 | 华为技术有限公司 | Processing method for congestion control, message forwarding device and message receiving device |
CN111385463A (en) * | 2018-12-29 | 2020-07-07 | 华为技术有限公司 | Method for controlling camera, control device, network equipment and camera |
CN112565108A (en) * | 2020-12-07 | 2021-03-26 | 中国平安人寿保险股份有限公司 | Method, device, equipment and storage medium for controlling service flow |
CN112929294A (en) * | 2019-12-06 | 2021-06-08 | 华为技术有限公司 | Message scheduling method and device |
CN114466226A (en) * | 2022-01-28 | 2022-05-10 | 杭州灵伴科技有限公司 | Method, device, equipment and computer readable medium for determining bandwidth duration ratio |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953353A (en) * | 2006-06-28 | 2007-04-25 | 北京邮电大学 | A distribution method of dynamic bandwidth based on multiple-grade service in the gigabit passive optical network |
US20070133409A1 (en) * | 2000-05-19 | 2007-06-14 | Mckinnon Martin W Iii | Allocating access across shared communication medium to user classes |
CN102395060A (en) * | 2011-11-03 | 2012-03-28 | 北京邮电大学 | Novel bandwidth allocation algorithm based on OFDM-PON |
CN102523539A (en) * | 2011-12-15 | 2012-06-27 | 北京讯风光通信技术开发有限责任公司 | Passive optical network system having dynamic bandwidth allocation function |
CN102571583A (en) * | 2012-01-11 | 2012-07-11 | 浙江工业大学 | Quality of service (QoS) aware self-adaptive bandwidth distribution system for wireless-optical broadband access networks (WOBAN) and self-adaptive bandwidth distribution method |
CN102791032A (en) * | 2012-08-14 | 2012-11-21 | 华为终端有限公司 | Network bandwidth distribution method and terminal |
CN103441958A (en) * | 2013-08-15 | 2013-12-11 | 国家电网公司 | Dynamic remote passive optical network bandwidth allocation method |
-
2016
- 2016-03-04 CN CN201610124811.1A patent/CN105721350B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070133409A1 (en) * | 2000-05-19 | 2007-06-14 | Mckinnon Martin W Iii | Allocating access across shared communication medium to user classes |
CN1953353A (en) * | 2006-06-28 | 2007-04-25 | 北京邮电大学 | A distribution method of dynamic bandwidth based on multiple-grade service in the gigabit passive optical network |
CN102395060A (en) * | 2011-11-03 | 2012-03-28 | 北京邮电大学 | Novel bandwidth allocation algorithm based on OFDM-PON |
CN102523539A (en) * | 2011-12-15 | 2012-06-27 | 北京讯风光通信技术开发有限责任公司 | Passive optical network system having dynamic bandwidth allocation function |
CN102571583A (en) * | 2012-01-11 | 2012-07-11 | 浙江工业大学 | Quality of service (QoS) aware self-adaptive bandwidth distribution system for wireless-optical broadband access networks (WOBAN) and self-adaptive bandwidth distribution method |
CN102791032A (en) * | 2012-08-14 | 2012-11-21 | 华为终端有限公司 | Network bandwidth distribution method and terminal |
CN103441958A (en) * | 2013-08-15 | 2013-12-11 | 国家电网公司 | Dynamic remote passive optical network bandwidth allocation method |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506391A (en) * | 2016-10-28 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | A kind of distribution method of network traffics and router |
CN106506391B (en) * | 2016-10-28 | 2020-01-07 | 上海斐讯数据通信技术有限公司 | Network traffic distribution method and router |
CN106453143A (en) * | 2016-10-31 | 2017-02-22 | 北京百度网讯科技有限公司 | Bandwidth setting method, device and system |
CN106453143B (en) * | 2016-10-31 | 2019-10-11 | 北京百度网讯科技有限公司 | Bandwidth setting method, device and system |
CN107612846A (en) * | 2017-11-01 | 2018-01-19 | 北京天创凯睿科技有限公司 | A kind of business datum adaptive transmission method and device |
CN110611578B (en) * | 2018-06-15 | 2021-08-27 | 华为技术有限公司 | Method and device for allocating network resources |
US11265221B2 (en) | 2018-06-15 | 2022-03-01 | Huawei Technologies Co., Ltd. | Network resource allocation method and apparatus |
CN110611578A (en) * | 2018-06-15 | 2019-12-24 | 华为技术有限公司 | Method and device for allocating network resources |
CN111224884A (en) * | 2018-11-27 | 2020-06-02 | 华为技术有限公司 | Processing method for congestion control, message forwarding device and message receiving device |
CN111224884B (en) * | 2018-11-27 | 2023-02-24 | 华为技术有限公司 | Processing method for congestion control, message forwarding device and message receiving device |
US11805071B2 (en) | 2018-11-27 | 2023-10-31 | Huawei Technologies Co., Ltd. | Congestion control processing method, packet forwarding apparatus, and packet receiving apparatus |
CN111385463A (en) * | 2018-12-29 | 2020-07-07 | 华为技术有限公司 | Method for controlling camera, control device, network equipment and camera |
CN111385463B (en) * | 2018-12-29 | 2021-12-28 | 华为技术有限公司 | Method for controlling camera, control device, network equipment and camera |
CN109788061A (en) * | 2019-01-23 | 2019-05-21 | 中科驭数(北京)科技有限公司 | Calculating task dispositions method and device |
CN110011937A (en) * | 2019-02-26 | 2019-07-12 | 贵阳忆联网络有限公司 | A kind of broadband resource dynamic allocation method and system |
CN110061563A (en) * | 2019-03-08 | 2019-07-26 | 国网浙江省电力有限公司 | Intelligent distribution transformer terminals |
CN110138610A (en) * | 2019-05-10 | 2019-08-16 | 新华三信息安全技术有限公司 | A kind of sending method and device of service message |
CN110138610B (en) * | 2019-05-10 | 2022-04-22 | 新华三信息安全技术有限公司 | Service message sending method and device |
CN110493144B (en) * | 2019-07-31 | 2023-03-10 | 华为技术有限公司 | Data processing method and device |
CN110493144A (en) * | 2019-07-31 | 2019-11-22 | 华为技术有限公司 | A kind of data processing method and device |
CN112929294A (en) * | 2019-12-06 | 2021-06-08 | 华为技术有限公司 | Message scheduling method and device |
CN112565108A (en) * | 2020-12-07 | 2021-03-26 | 中国平安人寿保险股份有限公司 | Method, device, equipment and storage medium for controlling service flow |
CN112565108B (en) * | 2020-12-07 | 2024-04-05 | 中国平安人寿保险股份有限公司 | Service flow control method, device, equipment and storage medium |
CN114466226A (en) * | 2022-01-28 | 2022-05-10 | 杭州灵伴科技有限公司 | Method, device, equipment and computer readable medium for determining bandwidth duration ratio |
CN114466226B (en) * | 2022-01-28 | 2023-12-08 | 杭州灵伴科技有限公司 | Bandwidth duration duty cycle determination method, device, equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN105721350B (en) | 2019-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105721350A (en) | Intelligent bandwidth allocation method and apparatus | |
CN101447939B (en) | Functional distribution method and load balancer | |
US7933249B2 (en) | Grade of service and fairness policy for bandwidth reservation system | |
CN109547517B (en) | Method and device for scheduling bandwidth resources | |
CN113037869B (en) | Method and apparatus for back-sourcing of content distribution network system | |
CN102791032A (en) | Network bandwidth distribution method and terminal | |
CN103763343A (en) | Method and device for processing service access | |
CN108055309B (en) | Data transmission system and method | |
US20200050479A1 (en) | Blockchain network and task scheduling method therefor | |
CN103747047A (en) | CDN file storage method, file distribution control center and system thereof | |
CN103746934A (en) | CDN bandwidth balancing method, CDN control center and system | |
CN102142990A (en) | Traffic monitoring method and device | |
CN102075425A (en) | Business allocation method and load balancer | |
Tran et al. | Optimal mapping of virtual networks considering reactive reconfiguration | |
CN102932271A (en) | Method and device for realizing load balancing | |
CN108924203B (en) | Data copy self-adaptive distribution method, distributed computing system and related equipment | |
CN103001892A (en) | Network resource distribution method and system based on cloud computing | |
CN106936867A (en) | The response method and device of a kind of service request | |
CN104202305A (en) | Transcoding processing method and device, server | |
US20150004928A1 (en) | Group data plan quota allocation for mobile devices | |
CN105530202A (en) | Bandwidth allocation method and server | |
CN104580066A (en) | QoS (Quality of Service) implementation method of enterprise-level multimedia communication based on OpenFlow network | |
CN103874133A (en) | Method and device for bandwidth control and access point | |
CN111988388B (en) | Flow distribution method, device, electronic equipment and storage medium | |
CN105656794A (en) | Data distribution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |