CN103391585B - The method of adjustment and device of bandwidth - Google Patents
The method of adjustment and device of bandwidth Download PDFInfo
- Publication number
- CN103391585B CN103391585B CN201210141773.2A CN201210141773A CN103391585B CN 103391585 B CN103391585 B CN 103391585B CN 201210141773 A CN201210141773 A CN 201210141773A CN 103391585 B CN103391585 B CN 103391585B
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- user
- users
- currently accessed
- 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.)
- Active
Links
Abstract
The invention discloses a kind of method of adjustment of bandwidth and devices.Wherein, this method comprises: obtaining the practical occupied bandwidth for being currently accessed user;According to the practical occupied bandwidth for the one or more users being currently accessed in user and pre-assigned bandwidth, the distribution of bandwidth is adjusted.Pass through the above method, obtain the practical occupied bandwidth for being currently accessed user, then according to the practical occupied bandwidth for the one or more users being currently accessed in user and pre-assigned bandwidth, adjust the distribution of bandwidth, solve move in the related technology hot spot product can not differentiation distributing user bandwidth, the problem of being affected so as to cause multi-user's use, so as to dynamically adjust user bandwidth, bandwidth utilization rate is improved, the experience of user is improved.
Description
Technical field
The present invention relates to the communications fields, in particular to the method for adjustment and device of a kind of bandwidth.
Background technique
With the high speed development of mobile broadband service, can only provide single user using function data card product gradually
Mobile broadband market has been exited, data card function can be provided, while can support multi-user radio fidelity (Wireless
Fidelity, referred to as WIFI) access mobile hot spot class product, gradually as user's first choice mobile broadband network access sets
It is standby.
For current mobile hot spot product, it is capable of providing the use of 3 ~ 5 users mostly, individual product even props up
It holds 10 users of access and wireless networking business is provided.Pass through the investigation discovery to mobile broadband hot spot product user, active user
It is main to use business after accessing mobile broadband hot spot product are as follows: browsing news checks web page contents, listens to music online,
Line video class program browsing, down loading network resource, software, game etc..
Since the major function appeal point of mobile hot spot product is " multiple users share login technique ", consumer is come
It says, the access of multi-user uses the primary demand just become to mobile hot spot product.But by all on current market
The investigation discovery of mobile hotspot device, after realizing multiple access function, bandwidth stream of the mobile hot spot product to access device
Amount has carried out completely average bandwidth allocation, since browsing video or downloading resource are very big to bandwidth occupancy, it is possible to can go out
The case where existing " 1 user's download games, 9 users are not available ", seriously affect other users to network bandwidth requirements compared with
The normal use of small business.
For move in the related technology hot spot product can not differentiation distributing user bandwidth, so as to cause multi-user's use by
To the problem of influence, currently no effective solution has been proposed.
Summary of the invention
For move in the related technology hot spot product can not differentiation distributing user bandwidth, so as to cause multi-user's use by
To the problem of influence, the present invention provides a kind of method of adjustment of bandwidth and devices, at least to solve the above problems.
According to an aspect of the invention, there is provided a kind of method of adjustment of bandwidth, is currently accessed this method comprises: obtaining
The practical occupied bandwidth of user;According to the practical occupied bandwidth for the one or more users being currently accessed in user with allocate in advance
Bandwidth, adjust the distribution of bandwidth.
According to the practical occupied bandwidth for the one or more users being currently accessed in user and pre-assigned bandwidth, adjustment
The distribution of bandwidth may include: whether detection is currently accessed in user and has one or more users to be not at bandwidth full load condition;
If there is one or more users are not at bandwidth full load condition, the remaining bandwidth of said one or multiple users is distributed to it
Remaining user;If being currently accessed user all in bandwidth full load condition, the above-mentioned pre-assigned band for being currently accessed user is maintained
It is wide.
According to the practical occupied bandwidth for the one or more users being currently accessed in user and pre-assigned bandwidth, adjustment
The distribution of bandwidth may include: when the practical occupied bandwidth of one or more users and the difference of pre-assigned bandwidth are more than the
When one threshold value, it is adjusted to the bandwidth of said one or multiple users distribution or is adjusted to be currently accessed the bandwidth of user's distribution;
Alternatively, being adjusted to one or more when above-mentioned difference ratio shared in above-mentioned pre-assigned bandwidth is more than second threshold
The bandwidth of a user's distribution is adjusted to be currently accessed the bandwidth of user's distribution.
The above method can also include: whether detection is currently accessed the number of users of user and changes, and be tied according to detection
Fruit is currently accessed user's progress bandwidth allocation to above-mentioned.
If may include: according to testing result to detect above-mentioned number of users to being currently accessed user to carry out bandwidth allocation
Increase, extracts the band of specified size respectively from the above-mentioned occupied bandwidth of one or more users being currently accessed in user
The bandwidth allocation extracted is given the user newly increased by width;If detecting that above-mentioned number of users is reduced, by the user institute of reduction
The bandwidth allocation of occupancy is to remaining one or more users.
By the occupied bandwidth allocation of the user of reduction to remaining one or more users after, the above method can be with
It include: whether to there are one or more users to be not at bandwidth full load condition in the remaining user of detection;If there is one or more
User is not at bandwidth full load condition, and the remaining bandwidth of said one or multiple users is distributed to remaining user;If remaining
User all in bandwidth full load condition, maintain the bandwidth allocation of above-mentioned remaining user.
Obtaining and being currently accessed the practical occupied bandwidth of user may include: to obtain to be currently accessed user's according to the specified period
Practical occupied bandwidth.
According to another aspect of the present invention, a kind of adjustment device of bandwidth is provided, which includes: acquisition module, is used
The practical occupied bandwidth of user is currently accessed in acquisition;Module is adjusted, is currently accessed for what is obtained according to above-mentioned acquisition module
The practical occupied bandwidth of one or more users in user and pre-assigned bandwidth, adjust the distribution of bandwidth.
Above-mentioned adjustment module can also include: detection unit, for detecting be currently accessed in user whether have one or more
A user is not at bandwidth full load condition;First allocation unit, for when above-mentioned detection unit testing result be have one or
When multiple users are not at bandwidth full load condition, the remaining bandwidth of said one or multiple users is distributed into remaining user;The
Two allocation units, for tieing up when the testing result of above-mentioned detection unit is to be currently accessed user all in bandwidth full load condition
Hold the above-mentioned above-mentioned pre-assigned bandwidth for being currently accessed user.
Above-mentioned adjustment module can also include: the first adjustment unit, for the practical occupancy band as one or more users
When the wide difference with pre-assigned bandwidth is more than first threshold, be adjusted to said one or multiple users distribution bandwidth or
It is adjusted to be currently accessed the bandwidth of user's distribution;Alternatively, second adjustment unit, for when above-mentioned difference is above-mentioned pre-assigned
When shared ratio is more than second threshold in bandwidth, it is adjusted to the bandwidth of one or more user's distribution or is adjusted to currently to connect
The bandwidth of access customer distribution.
Whether above-mentioned apparatus can also include: distribution module, be currently accessed the number of users of user for detecting and become
Change, is currently accessed user's progress bandwidth allocation to above-mentioned according to testing result.
Above-mentioned distribution module may include: third allocation unit, for when detecting the increase of above-mentioned number of users, from upper
The bandwidth for extracting specified size in the occupied bandwidth of one or more users being currently accessed in user respectively is stated, will be extracted
Bandwidth allocation give the user that newly increases;4th allocation unit, for when detect above-mentioned number of users reduce when, by reduction
The occupied bandwidth allocation of user is to remaining one or more users.
Above-mentioned apparatus can also include: state detection module, for detecting in remaining user whether have one or more
User is not at bandwidth full load condition;First bandwidth allocation module is to have for the testing result when above-mentioned state detection module
When one or more users are not at bandwidth full load condition, the remaining bandwidth of said one or multiple users is distributed into remaining use
Family;Second bandwidth allocation module is that remaining user is full all in bandwidth for the testing result when above-mentioned state detection module
When load state, the bandwidth allocation of above-mentioned remaining user is maintained.
Above-mentioned acquisition module may include: acquiring unit, for obtaining the reality for being currently accessed user according to the specified period
Occupied bandwidth.
Through the invention, the practical occupied bandwidth for being currently accessed user is obtained, then according to one be currently accessed in user
The practical occupied bandwidth of a or multiple users and pre-assigned bandwidth, adjust the distribution of bandwidth, solve and move in the related technology
Dynamic hot spot product can not differentiation distributing user bandwidth, the problem of being affected so as to cause multi-user's use, so as to move
State adjusts user bandwidth, improves bandwidth utilization rate, improves the experience of user.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the method for adjustment flow chart of bandwidth according to an embodiment of the present invention;
Fig. 2 is the structural block diagram of the adjustment device of bandwidth according to an embodiment of the present invention;
Fig. 3 is the first specific block diagram of the adjustment device of bandwidth according to an embodiment of the present invention;
Fig. 4 is second of specific block diagram of the adjustment device of bandwidth according to an embodiment of the present invention;
Fig. 5 is the third specific block diagram of the adjustment device of bandwidth according to an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of dynamic adjusting device according to an embodiment of the present invention;
Fig. 7 is the flow chart of dynamic adjusting bandwidth according to an embodiment of the present invention;
The flow chart of dynamic adjusting bandwidth when Fig. 8 is according to an embodiment of the present invention Adds User;
The flow chart of dynamic adjusting bandwidth when Fig. 9 is reduction user according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
For mobile hotspot device, the sum of accessing user and the bandwidth demand of accessing user are in one for a long time
The state of variation, in the related art, the bandwidth for user's distribution cannot achieve real-time adjustment, be based on this, the embodiment of the present invention
Provide the method for adjustment and device of a kind of bandwidth.It is described in detail below by embodiment.
Present embodiments provide a kind of method of adjustment of bandwidth, this method can mobile broadband network access device (under
Face is referred to as mobile device) on realize, such as the mobile device can be and be capable of providing data card function, and support multi-user
The mobile hot spot class product of WIFI access, Fig. 1 is the method for adjustment flow chart of bandwidth according to an embodiment of the present invention, such as Fig. 1 institute
Show, this approach includes the following steps (step S102- step S104):
Step S102, mobile device obtain the practical occupied bandwidth for being currently accessed user;
Step S104, mobile device is according to the practical occupied bandwidth of the one or more users being currently accessed in user and pre-
The bandwidth first distributed adjusts the distribution of bandwidth.
By the above method, the practical occupied bandwidth for being currently accessed user is obtained, then basis is currently accessed in user
The practical occupied bandwidth of one or more users and pre-assigned bandwidth, adjust the distribution of bandwidth, solve in the related technology
Can not differentiation distributing user bandwidth, the problem of being affected so as to cause multi-user's use, so as to dynamically adjust user
Bandwidth improves bandwidth utilization rate, improves the experience of user.
When mobile device acquisition is currently accessed the practical occupied bandwidth of user, it can obtain according to the specified period and currently connect
The practical occupied bandwidth of access customer.In a preferred embodiment, after user accesses mobile device, according to being currently accessed use
The quantity at family carries out different operations, if it is single user, then without bandwidth adjustment operate, if it is multi-user, then into
The adjustment of row bandwidth operates.Assuming that there is N number of user to access mobile device, current bandwidth is divided into N parts, divided respectively by mobile device
Each user of dispensing.Then, the bandwidth occupancy situation of each user is monitored, and obtains the reality for being currently accessed user
Occupied bandwidth, then, mobile device is according to the practical occupied bandwidth of the one or more users being currently accessed in user and in advance
The bandwidth of distribution adjusts the distribution of bandwidth.It certainly, can be according to the specified period to the monitoring of the bandwidth occupancy situation of each user
To operate.
With the variation for the upper net operation for being currently accessed user, such as browsing video or downloading resource etc., it is currently accessed
The practical occupied bandwidth of user can be also changed accordingly.In a preferred embodiment, if being currently accessed user's
The variation of practical occupied bandwidth is little, then continues to current bandwidth allocation, if being currently accessed the practical occupancy band of user
Wide variation is more than certain threshold value, for example is currently accessed the practical occupied bandwidth of user and the difference of pre-assigned bandwidth is more than
Certain threshold value, alternatively, above-mentioned difference ratio shared in pre-assigned bandwidth is more than certain threshold value, in these cases,
Mobile device can be adjusted correspondingly the distribution of bandwidth.Certainly, above-mentioned adjustment operation can be above-mentioned just for meeting
The variation of practical occupied bandwidth is more than that the user of the condition of certain threshold value carries out the adjustment of bandwidth allocation, is also possible to work as to all
Preceding accessing user carries out the adjustment of bandwidth allocation, and specific implementation process can determine according to the actual situation.
A kind of preferred embodiment is present embodiments provided, i.e., has the reality of one or more users in being currently accessed user
In the case that the difference of border occupied bandwidth and pre-assigned bandwidth is more than first threshold, it is adjusted to said one or multiple users
The bandwidth of distribution is adjusted to the above-mentioned bandwidth for being currently accessed user's distribution;Alternatively, being allocated in advance in above-mentioned difference above-mentioned
Bandwidth in the case that shared ratio is more than second threshold, be adjusted to said one or multiple users distribution bandwidth or
It is adjusted to the above-mentioned bandwidth for being currently accessed user's distribution.By the above-mentioned means, the variation in the practical occupied bandwidth of user reaches
When certain threshold value, the distribution of bandwidth is adjusted, improves the utilization rate of bandwidth, reduces the waste of bandwidth.
According to the practical occupied bandwidth and pre-assigned bandwidth for being currently accessed one or more users in user, adjust
When the distribution of whole bandwidth, in order to ensure bandwidth allocation more rationally, can also be first to the bandwidth occupancy shape for being currently accessed user
State is detected, according to the bandwidth for being currently accessed the practical occupied bandwidth of user and whether equaling or exceeding predistribution, to being currently accessed
The bandwidth of user carries out sub-distribution again.Therefore, a kind of preferred embodiment is present embodiments provided, i.e. detection is currently accessed user
In whether there are one or more users to be not at bandwidth full load condition, if there is one or more users be not at bandwidth be fully loaded with shape
State, distributes to remaining user for the remaining bandwidth of one or more users, is fully loaded with shape all in bandwidth if being currently accessed user
State maintains the above-mentioned pre-assigned bandwidth for being currently accessed user.The process of above-mentioned bandwidth allocation can be set according to user's
Before the step of variation of practical occupied bandwidth is adjusted the distribution of bandwidth, the tune for directly carrying out bandwidth also can choose
It is whole, it is operated without above-mentioned bandwidth allocation.In addition, the process of above-mentioned bandwidth allocation can be executed according to the specified period,
Specific implementation process can determine according to the actual situation.
After N number of user accesses mobile device, it is possible that newly increasing accessing user or reducing the feelings of accessing user
Condition just needs to be adjusted the bandwidth for being currently accessed user of mobile device at this time, to improve the utilization rate of bandwidth.Therefore,
A kind of preferred embodiment is present embodiments provided, that is, detects whether the above-mentioned number of users for being currently accessed user changes,
According to testing result to be currently accessed user carry out bandwidth allocation.Certainly, which can execute according to the specified period.
Specifically, if detecting that number of users increases, from the occupied bandwidth of one or more users being currently accessed in user
The bandwidth allocation extracted, is given the user newly increased by the bandwidth for extracting specified size respectively;If detecting that number of users subtracts
It is few, the occupied bandwidth of the user of reduction is given into remaining one or more users.
According to above-mentioned bandwidth allocation, when number of users increases, can from the N number of user being currently accessed each use
When extracting the bandwidth of specified size in the bandwidth at family, such as increasing a user, 1/N can be extracted from the bandwidth of each user
Part, then the bandwidth allocation extracted is given the user newly increased.M(M < N can also be selected from N number of user) a use
The bandwidth of suitable size is extracted at family from the bandwidth of M user, then the bandwidth allocation of extraction is given to the user newly increased, M's
Specific size can determine according to the actual situation.
Likewise, the bandwidth of the user of reduction can be given to remaining N number of user when number of users is reduced, certainly,
In order to improve efficiency, workload is reduced, the bandwidth of the user of reduction can be distributed equally.Alternatively, it is also possible to reduce
The bandwidth of user give M(M < N) a user, the specific size of M can determine according to the actual situation.
After the bandwidth of the user of reduction is given remaining user, the bandwidth of remaining users increases, and may result in
Bandwidth is fully loaded, therefore, in order to optimize the method for adjustment of bandwidth, keeps the distribution of bandwidth more reasonable, present embodiments provides one kind
Preferred embodiment, i.e., after the occupied bandwidth of the user of reduction being given remaining one or more users, detection is surplus
Whether there are one or more users to be not at bandwidth full load condition in remaining user, if there is one or more users are not at band
The remaining bandwidth of said one or multiple users is distributed to remaining user by wide full load condition, if remaining user all in
Bandwidth full load condition maintains the bandwidth allocation of remaining user.
Corresponding to the method for adjustment of above-mentioned bandwidth, the present embodiment additionally provides a kind of adjustment device of bandwidth, which uses
In realization above-described embodiment.Fig. 2 is the structural block diagram of the adjustment device of bandwidth according to an embodiment of the present invention, as shown in Fig. 2, should
Device includes: to obtain module 20 and adjustment module 22.The structure is illustrated below.
Module 20 is obtained, for obtaining the practical occupied bandwidth for being currently accessed user;
Module 22 is adjusted, is connected to and obtains module 20, is currently accessed in user for what is obtained according to acquisition module 20
The practical occupied bandwidth of one or more users and pre-assigned bandwidth, adjust the distribution of bandwidth.
By above-mentioned apparatus, obtains module 20 and obtain the practical occupied bandwidth for being currently accessed user, then adjust module 22
According to the practical occupied bandwidth for the one or more users being currently accessed in user and pre-assigned bandwidth, point of bandwidth is adjusted
Match, solve move in the related technology hot spot product can not differentiation distributing user bandwidth, so as to cause multi-user's use by
The problem of influence, improves bandwidth utilization rate so as to dynamically adjust user bandwidth, improves the experience of user.
When mobile device acquisition is currently accessed the practical occupied bandwidth of user, it can obtain according to the specified period and currently connect
The practical occupied bandwidth of access customer.Therefore, above-mentioned acquisition module 20 can also include: acquiring unit, for according to the specified period
Obtain the practical occupied bandwidth for being currently accessed user.
When user just accesses mobile device, bandwidth is given each user by mobile device, then, with being currently accessed
The variation of the upper net operation of user, the practical occupied bandwidth for being currently accessed user can be also changed accordingly, if it changes
Amount is more than certain threshold value, and adjustment module 22 just needs to be adjusted the pre-assigned bandwidth of user, to improve bandwidth
Utilization rate reduces the waste of bandwidth.
Based on this, a kind of preferred embodiment is present embodiments provided, Fig. 3 is the tune of bandwidth according to an embodiment of the present invention
The first specific block diagram of engagement positions, as shown in figure 3, the device other than including the modules in above-mentioned Fig. 2, is adjusted
Mould preparation block 22 further include: the first adjustment unit 220 or second adjustment unit 222.Fig. 3 includes the first adjustment to adjust module 22
It is illustrated for unit 220, the structure is illustrated below.
The first adjustment unit 220, for as one or more users practical occupied bandwidth and pre-assigned bandwidth
When difference is more than first threshold, it is adjusted to the bandwidth of said one or multiple users distribution or is adjusted to be currently accessed user point
The bandwidth matched;Alternatively,
Second adjustment unit 222, for being more than the second threshold when above-mentioned difference ratio shared in pre-assigned bandwidth
When value, it is adjusted to the bandwidth of said one or multiple users distribution or is adjusted to be currently accessed the bandwidth of user's distribution.
In order to ensure bandwidth allocation more rationally, can also be before carrying out Bandwidth adjustment, first to being currently accessed user
Bandwidth occupancy states detected, according to the band for being currently accessed the practical occupied bandwidth of user and whether equaling or exceeding predistribution
Width carries out sub-distribution again to the bandwidth for being currently accessed user.Therefore, a kind of preferred embodiment, such as Fig. 4 are present embodiments provided
Shown in bandwidth adjustment device second of specific block diagram, the device in addition to include above-mentioned Fig. 3 in modules it
Outside, module 22 is adjusted further include: detection unit 224, the first allocation unit 226 and the second allocation unit 228.Below to the structure
It is illustrated.
Detection unit 224, for detecting whether above-mentioned be currently accessed in user has one or more users to be not at bandwidth
Full load condition;
First allocation unit 226, is connected to detection unit 224, is to have one for the testing result when detection unit 224
Or the remaining bandwidth of said one or multiple users is distributed to remaining user when being not at bandwidth full load condition by multiple users;
Second allocation unit 228, is connected to detection unit 224, is currently to connect for the testing result when detection unit 224
When access customer is all in bandwidth full load condition, the pre-assigned bandwidth for being currently accessed user is maintained.
After N number of user accesses mobile device, it is possible that newly increasing accessing user or reducing the feelings of accessing user
Condition just needs to be adjusted the bandwidth for being currently accessed user of mobile device at this time, to improve the utilization rate of bandwidth.Therefore,
Present embodiments provide a kind of preferred embodiment, the third specific block diagram of the adjustment device of bandwidth as shown in Figure 5,
The device is other than including the modules in above-mentioned Fig. 4, further includes: distribution module 24 is currently accessed user for detecting
Number of users whether change, according to testing result to be currently accessed user carry out bandwidth allocation.Above-mentioned detection process can
Can also be adjusted in adjustment module 22 before or after the acquisition acquisition of module 20 is currently accessed the practical occupied bandwidth of user
Before or after the distribution of whole bandwidth.Fig. 5 is illustrated so that distribution module 24 is connected to adjustment module 22 as an example.
Distribution module 24 includes third allocation unit and the 4th allocation unit, and third allocation unit detects use for working as
When amount amount increases, specified size is extracted respectively from the occupied bandwidth of one or more users being currently accessed in user
The bandwidth allocation extracted is given the user newly increased by bandwidth;4th allocation unit detects that number of users is reduced for working as
When, the occupied bandwidth of the user of reduction is given into remaining one or more users.
After the bandwidth of the user of reduction is given remaining user, the bandwidth of remaining users increases, and may result in
Bandwidth is fully loaded, therefore, in order to optimize the method for adjustment of bandwidth, keeps the distribution of bandwidth more reasonable, present embodiments provides one kind
Preferred embodiment, i.e. above-mentioned apparatus further include: state detection module, the first bandwidth allocation module and the second bandwidth allocation mould
Block.The structure is illustrated below.
Whether state detection module has one or more users to be not at the fully loaded shape of bandwidth for detecting in remaining user
State;
First bandwidth allocation module is to have one or more users not for the testing result when above-mentioned state detection module
When in bandwidth full load condition, the remaining bandwidth of said one or multiple users is distributed into remaining user;
Second bandwidth allocation module is remaining user all in band for the testing result when above-mentioned state detection module
When wide full load condition, the bandwidth allocation of above-mentioned remaining user is maintained.
It is described in detail below with reference to realization process of the preferred embodiments and drawings to above-described embodiment.
Fig. 6 is the structural schematic diagram of dynamic adjusting device according to an embodiment of the present invention, which can be in mobile hot spot
It is realized on product, as shown in fig. 6, the device includes access device traffic monitoring module, the adjustment control of access device flow dynamics
Module, timing enquiry module and accessing user's statistical module.The structure is illustrated below.
Access device traffic monitoring module is used to periodically inquire the reality for the one or more users being currently accessed in user
The variation of occupied bandwidth, access device flow dynamics adjust the function that module 22 is adjusted in the function and above-described embodiment of control module
Can quite, the function of timing enquiry module is suitable with the function of detection unit 224 in above-described embodiment, accessing user's statistical module
72 with the detection of distribution module 24 in above-described embodiment to be currently accessed the whether changed function of number of users of user suitable,
The nucleus module of the function of above-mentioned four module compositions dynamic adjustment accessing user's bandwidth.
In addition, mobile hot spot product further includes mobile hot spot product main control chip, WIFI transmitting module and multiple access
Module, above-mentioned three constitute basic module required for complete mobile hot spot product, it is more that mobile hot spot product may be implemented
The function of user's access shared internet connection.
Based on the dynamic adjusting device of above-mentioned mobile hot spot product, mobile hot spot product adjusts user bandwidth below
Whole process is introduced, and Fig. 7 is the flow chart of dynamic adjusting bandwidth according to an embodiment of the present invention, as shown in fig. 7, this method
Include the following steps (step S702- step S718):
Step S702, accessing user's statistical module enable, and it is to be applied alone that the judgement of accessing user's statistical module, which is currently accessed user,
Family or multi-user execute step S704 if it is single user, if it is multi-user, execute step S706.
Step S704 does not trigger the dynamic adjustment function of dynamic adjusting device.
Step S706 triggers the dynamic adjustment function of dynamic adjusting device.
Step S708, access device flow dynamics adjustment control module averagely give mobile broadband product maximum bandwidth often
A user.
Step S710 triggers the function of access device traffic monitoring module and timing enquiry module.
Step S712, by the monitoring of certain time (such as can be defaulted as 30 seconds), access device traffic monitoring module
The adjustment control of access device flow dynamics will be fed back to every the flow service condition of user (or being actual bandwidth occupancy situation)
Molding block, access device flow dynamics adjust control module and carry out to the flow (or being pre-assigned bandwidth) of mean allocation
Dynamic adjustment.
Such as the bandwidth of distribution can be adjusted according to being currently accessed user and whether being in bandwidth full load condition, such as
The bandwidth of the N number of user of fruit is using reaching 100%, then this wheel dynamic adjustment terminates, and triggers access device traffic monitoring module, directly
It is adjusted again when there is certain variation to the flow of some or multiple users.If the flow service condition of N number of user is different
Causing, it is assumed that wherein M(M < N) bandwidth of a user has residue, then by M flow using the excess bandwidth of user more than needed, it is flat
Remaining N-M equipment is distributed to, while starting access device traffic monitoring module, flow is monitored.
Step S714, timing enquiry module timing monitor the flowed fluctuation situation of each user, whether judge flowed fluctuation
More than 10%, if so, step S716 is executed, if not, executing step S718.
Assuming that current access device is tri- users of A, B, C, the step of passing through front, is to the band of tri- users of A, B, C
Width is distributed, it is assumed that the bandwidth for A, B, C distribution is respectively 20%, 30%, 50%.
After the starting of timing enquiry module, timing enquiry module supervises access device flow according to the timer timing of setting
The order that module initiates inquiry access device flow is controlled, the flow of three accessing users was looked into timing enquiry module every 30 seconds
It askes, before n-th 30 seconds, the not big variation of the flow service condition of three users, therefore access device flow dynamics
Adjustment control module issues always any adjustment order.
Step S716 is again started up access device traffic monitoring module and access device flow dynamics adjustment control module,
Complete the dynamic adjustment of multi-user's bandwidth.Introduction has been carried out before specific adjustment process, details are not described herein.
Assuming that, since above-mentioned C user completes data service, being reduced to network bandwidth requirements at (n+1)th 30 seconds
1%, while the current traffic conditions of C user are fed back to access device flow dynamics adjustment control module by timing enquiry module, by
It is greater than the 5% of the flow of adjustment distribution for the first time in the changes in flow rate of C user, access device flow dynamics adjustment control module issues life
Adjustment order is enabled, the release bandwidth of C user is averagely allocated to A, B device.To make the flow of A, B, C user reach dynamic
Balance.
Reach dynamic balance and then secondary triggering timing enquiry module in the flow of user, every 30 seconds to A, B, C user
Traffic monitoring is carried out, when user there are bandwidth variations, continues dynamic and adjusts, guarantees that all users of access move in lasting
Reach the optimization of bandwidth under state adjustment.
Step S718 keeps present flow rate distribution condition.
After user accesses mobile device, it is possible that the case where newly increasing accessing user or reducing accessing user,
It just needs to be adjusted the bandwidth for being currently accessed user of mobile device at this time, to improve the utilization rate of bandwidth.Fig. 8 is basis
The flow chart of dynamic adjusting bandwidth when Adding User of the embodiment of the present invention (walks as shown in figure 8, this approach includes the following steps
Rapid S802- step S806):
Step S802, accessing user's statistical module counts have N number of before being N+1(hypothesis to the quantity for being currently accessed user
User accesses mobile device), illustrate that mobile device increases 1 accessing user newly.
Step S804, triggering access device flow dynamics adjust control module, access device flow dynamics adjustment control mould
Block by top n user flow, take 1/N parts to be supplied to the user newly increased.Certainly other flows point can also be taken
Method of completing the square is only illustrated for taking 1/N parts of bandwidth herein.
Step S806 triggers access device traffic monitoring module, and access device traffic monitoring module is to N+1 current use
The flow service condition at family is monitored, and is dynamically adjusted to current N+1 equipment.Before specific adjustment process
It is described in detail, details are not described herein.
The flow chart of dynamic adjusting bandwidth when Fig. 9 is reduction user according to an embodiment of the present invention, as shown in figure 9, the party
Method includes the following steps (step S902- step S912):
Step S902, accessing user's statistical module counts have N number of before being N-1(hypothesis to the quantity for being currently accessed user
User accesses mobile device), illustrate that mobile device reduces by 1 accessing user.
Step S904, reporting message to access device flow dynamics adjust control module, the adjustment control of equipment flow dynamics
The bandwidth allocation that module is discharged the user is 1/(N-1) part, then it is averagely allocated to current all devices.It certainly can be with
Other flow allocation methods are taken, herein only to be assigned as 1/(N-1) it is illustrated for the bandwidth of part.
Step S906 triggers access device traffic monitoring module, and access device traffic monitoring module is to N-1 current use
The flow service condition at family is monitored, and access device traffic monitoring module feeds back to access device flow dynamics for situation is monitored
Adjust control module.
Step S908, access device traffic monitoring module monitors are currently accessed in user whether have at one or more users
In bandwidth full load condition, if so, step S910 is executed, if it is not, executing step S912.
Step S910, access device flow dynamics adjust control module for the residue of the not up to user of bandwidth full load condition
Bandwidth allocation gives fully loaded user, then carries out dynamic Bandwidth adjustment process, has been carried out before specific adjustment process in detail
Thin to introduce, details are not described herein.
Step S912 is currently accessed user and enters dynamic balance state, by timing enquiry module and access device flow
Monitoring module carries out lasting dynamic adjustment within a certain period of time, has been carried out and is discussed in detail before specific adjustment process,
Details are not described herein.
As can be seen from the above description, for mobile hotspot device, the sum of accessing user and accessing user
Bandwidth demand be in the state of a variation for a long time, the present invention is monitored repeatedly by timer, and inquires access device
Quantity and access terminal bandwidth usage, dynamic adjustment access the user bandwidth of mobile hotspot device terminal, improve bandwidth
Utilization rate, reduce the wasting of resources of bandwidth, avoid the inconvenience in multi-user's use, improve user experience.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of method of adjustment of bandwidth characterized by comprising
Obtain the practical occupied bandwidth for being currently accessed user, wherein the bandwidth is on mobile broadband network access device or to move
The bandwidth of dynamic hot spot class product;
According to the practical occupied bandwidth of the one or more users being currently accessed in user and pre-assigned bandwidth, adjustment
The distribution of bandwidth;
Wherein, according to the practical occupied bandwidth of the one or more users being currently accessed in user and pre-assigned band
Width, the distribution for adjusting bandwidth include:
Whether be currently accessed in user described in detection has one or more users to be not at bandwidth full load condition;
If there is one or more of users are not at bandwidth full load condition, by the remaining bandwidth of one or more of users
Distribute to remaining user;If described be currently accessed user all in bandwidth full load condition, it is currently accessed user's described in maintenance
The pre-assigned bandwidth;
Wherein, according to the practical occupied bandwidth of the one or more users being currently accessed in user and pre-assigned band
Width, the distribution for adjusting bandwidth includes: the difference of the practical occupied bandwidth as one or more of users and pre-assigned bandwidth
When value is more than first threshold, it is adjusted to the bandwidth of one or more of users distribution or is adjusted to described to be currently accessed user
The bandwidth of distribution;Alternatively, when difference ratio shared in the pre-assigned bandwidth is more than second threshold, adjustment
For one or more of users distribution bandwidth or be adjusted to the bandwidth for being currently accessed user's distribution;
Wherein, the method also includes: whether the number of users that user is currently accessed described in detection changes, according to detection tie
Fruit is currently accessed user's progress bandwidth allocation to described.
2. the method according to claim 1, wherein being currently accessed user's progress band to described according to testing result
Width distributes
If detecting that the number of users increases, from the occupied band of one or more users being currently accessed in user
The bandwidth allocation extracted, is given the user newly increased by the bandwidth for extracting specified size in width respectively;
If detecting that the number of users is reduced, the occupied bandwidth allocation of the user of reduction is given to remaining one or more
User.
3. according to the method described in claim 2, it is characterized in that, by the occupied bandwidth allocation of the user of reduction to remaining
After one or more users, the method also includes:
Whether detect in remaining user has one or more users to be not at bandwidth full load condition;
If there is one or more of users are not at bandwidth full load condition, by the remaining bandwidth of one or more of users
Distribute to remaining user;If remaining user maintains the bandwidth allocation of the remaining user all in bandwidth full load condition.
4. the method according to claim 1, wherein the practical occupied bandwidth that acquisition is currently accessed user includes:
The practical occupied bandwidth for being currently accessed user is obtained according to the specified period.
5. a kind of adjustment device of bandwidth characterized by comprising
Module is obtained, for obtaining the practical occupied bandwidth for being currently accessed user, wherein the bandwidth connects for mobile broadband network
Enter in equipment or move the bandwidth of hot spot class product;
Module is adjusted, the reality of one or more users for being currently accessed in user according to the acquisition module acquisition
Border occupied bandwidth and pre-assigned bandwidth, adjust the distribution of bandwidth;
Wherein, the adjustment module includes:
Detection unit, for detecting whether described be currently accessed in user has one or more users to be not at the fully loaded shape of bandwidth
State;
First allocation unit is to have one or more of users to be not at bandwidth for the testing result when the detection unit
When full load condition, the remaining bandwidth of one or more of users is distributed into remaining user;
It is fully loaded all in bandwidth to be currently accessed user for the testing result when the detection unit for described in for second allocation unit
The pre-assigned bandwidth of user is currently accessed when state, described in maintenance;
Wherein, the adjustment module includes: the first adjustment unit, for working as the practical occupied bandwidth of one or more of users
When being more than first threshold with the difference of pre-assigned bandwidth, it is adjusted to the bandwidth or tune of one or more of user's distribution
The whole bandwidth that user's distribution is currently accessed for described in;Alternatively, second adjustment unit, for being allocated in advance when the difference described
Bandwidth in shared ratio when being more than second threshold, be adjusted to the bandwidth of one or more of users' distribution or be adjusted to
The bandwidth for being currently accessed user's distribution;
Wherein, described device further include: distribution module, for detecting whether the number of users for being currently accessed user becomes
Change, is currently accessed user's progress bandwidth allocation to described according to testing result.
6. device according to claim 5, which is characterized in that the distribution module includes:
Third allocation unit, for when detecting number of users increase, from one be currently accessed in user or
The bandwidth allocation extracted, is given the use newly increased by the bandwidth for extracting specified size in multiple occupied bandwidth of user respectively
Family;
4th allocation unit, for when detect the number of users reduce when, by the occupied bandwidth allocation of the user of reduction
To remaining one or more users.
7. device according to claim 6, which is characterized in that described device further include:
Whether state detection module has one or more users to be not at bandwidth full load condition for detecting in remaining user;
First bandwidth allocation module is to have one or more of users not for the testing result when the state detection module
When in bandwidth full load condition, the remaining bandwidth of one or more of users is distributed into remaining user;
Second bandwidth allocation module is that remaining user is full all in bandwidth for the testing result when the state detection module
When load state, the bandwidth allocation of the remaining user is maintained.
8. device according to claim 5, which is characterized in that the acquisition module includes:
Acquiring unit, for obtaining the practical occupied bandwidth for being currently accessed user according to the specified period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210141773.2A CN103391585B (en) | 2012-05-07 | 2012-05-07 | The method of adjustment and device of bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210141773.2A CN103391585B (en) | 2012-05-07 | 2012-05-07 | The method of adjustment and device of bandwidth |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103391585A CN103391585A (en) | 2013-11-13 |
CN103391585B true CN103391585B (en) | 2019-06-18 |
Family
ID=49535722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210141773.2A Active CN103391585B (en) | 2012-05-07 | 2012-05-07 | The method of adjustment and device of bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103391585B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825844A (en) * | 2014-02-14 | 2014-05-28 | 苏州海客科技有限公司 | MiFi apparatus dynamic deployment method |
CN103957566B (en) | 2014-04-17 | 2018-05-25 | 华为技术有限公司 | Band width control method and bandwidth control device |
CN103957527A (en) * | 2014-04-22 | 2014-07-30 | 常州市西屋自动化有限公司 | Wireless access equipment and method for user network bandwidth dynamic allocation |
CN104092562B (en) * | 2014-06-12 | 2018-07-10 | 可牛网络技术(北京)有限公司 | Flow managing method, system and the network equipment |
CN104158751B (en) * | 2014-07-21 | 2019-03-05 | 惠州Tcl移动通信有限公司 | A kind of flow control methods and terminal |
CN105490965A (en) * | 2014-09-17 | 2016-04-13 | 联想(北京)有限公司 | Information processing method and routing electronic equipment |
CN104320357A (en) * | 2014-10-28 | 2015-01-28 | 深圳市共进电子股份有限公司 | Automatic bandwidth distribution method |
CN104601493A (en) * | 2014-12-03 | 2015-05-06 | 中国联合网络通信集团有限公司 | Bandwidth adjustment method and system and intelligent pipe platform |
CN106550368B (en) * | 2015-09-21 | 2020-07-07 | 海能达通信股份有限公司 | Resource allocation method and related equipment |
CN105337901A (en) * | 2015-09-30 | 2016-02-17 | 北京四达时代软件技术股份有限公司 | Router intelligent bandwidth allocation method and device |
CN105188093A (en) * | 2015-10-22 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Network access point dynamic bandwidth allocation method and network access point dynamic bandwidth allocation device |
CN107231248B (en) * | 2016-03-24 | 2020-05-19 | 深圳市中兴微电子技术有限公司 | Method and device for allocating uplink bandwidth of Ethernet passive optical network |
CN105933922B (en) * | 2016-04-15 | 2020-07-03 | 北京小米移动软件有限公司 | Information sending method, information receiving method and device |
CN106161280B (en) * | 2016-06-08 | 2020-11-20 | 联想(北京)有限公司 | Bandwidth control method and device and electronic equipment |
CN107547446A (en) * | 2017-07-26 | 2018-01-05 | 新华三信息安全技术有限公司 | A kind of bandwidth adjusting method, device and the network equipment |
CN107786371B (en) * | 2017-10-09 | 2021-06-29 | 咪咕视讯科技有限公司 | Data acceleration method and device and storage medium |
CN108366022A (en) * | 2018-01-10 | 2018-08-03 | 浙江大华技术股份有限公司 | A kind of method and device of bandwidth allocation |
CN108462647B (en) * | 2018-01-31 | 2022-01-11 | 青岛海信宽带多媒体技术有限公司 | Bandwidth adjusting method and gateway |
CN110048968B (en) * | 2019-04-12 | 2021-06-22 | 网宿科技股份有限公司 | Domain name bandwidth adjusting method and device |
CN113453044B (en) * | 2020-03-25 | 2023-09-05 | 中国移动通信集团终端有限公司 | Bandwidth adjustment method, device and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244898A (en) * | 2010-05-14 | 2011-11-16 | 华为技术有限公司 | Group-based traffic control method, equipment and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7363375B2 (en) * | 2002-05-13 | 2008-04-22 | Microsoft Corporation | Adaptive allocation of last-hop bandwidth based on monitoring of end-to-end throughput |
US7218644B1 (en) * | 2002-05-29 | 2007-05-15 | Nokia Corporation | Dynamic bandwidth allocation for bluetooth access point connections |
CN1756143A (en) * | 2004-09-27 | 2006-04-05 | 华为技术有限公司 | Time period multiplex system and method for transmission network bandwidth |
CN101083825B (en) * | 2006-05-30 | 2011-09-28 | 株式会社Ntt都科摩 | Method and apparatus for distributing dynamic spectrum in coexistent plurality of wireless networks |
KR100788901B1 (en) * | 2006-09-29 | 2007-12-27 | 한국전자통신연구원 | Method for operating random access channel in mobile communication system |
CN102355425B (en) * | 2011-10-26 | 2014-10-29 | 深信服网络科技(深圳)有限公司 | Network traffic control method and device |
-
2012
- 2012-05-07 CN CN201210141773.2A patent/CN103391585B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244898A (en) * | 2010-05-14 | 2011-11-16 | 华为技术有限公司 | Group-based traffic control method, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN103391585A (en) | 2013-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103391585B (en) | The method of adjustment and device of bandwidth | |
CN104244414B (en) | Distribution method, device and the terminal of shared network bandwidth based on terminal | |
CN103024825B (en) | Method and device of distributing network source among multiple applications of terminal | |
CN109041130B (en) | Resource allocation method based on mobile edge calculation | |
CN105872079B (en) | A kind of link equalization method based on domain name system DNS | |
CN105323106B (en) | Software upgrading management method, device and system | |
CN101674602B (en) | Resource allocating method of shared network and device thereof | |
CN106792835B (en) | Control method and system for wireless equipment sharing bandwidth | |
CN104348798B (en) | A kind of method, apparatus, dispatch server and system for distributing network | |
CN103200606A (en) | Terminal and data service processing method | |
CN103096384A (en) | Method limiting slave internet traffic and system thereof | |
CN103346978B (en) | A kind of virtual machine network bandwidth fairness and stability support method | |
CN108668178A (en) | A kind of method of realizing group broadcasting and related network device | |
CN102378193B (en) | A kind of frequency spectrum distributing method and device | |
CN103874133B (en) | A kind of method, device and the access point apparatus of bandwidth control | |
CN107950061B (en) | Network channel allocation method and device | |
CN102905343B (en) | Radio switch-in method and Radio Access Controller | |
CN104967880B (en) | A kind of method and apparatus of distribution video uniform in the wireless network | |
CN105873223A (en) | Service scheduling method, service scheduling device, wireless network controller and base station | |
RU2645736C2 (en) | Coordination of traffic for sessions of communication with participation of wireless terminals and server devices | |
CN105721326A (en) | Wireless Device And Method For Setting Packet De-Queue Scheduling | |
CN104320357A (en) | Automatic bandwidth distribution method | |
CN103607242B (en) | The cut-in method of a kind of RRU and equipment | |
CN103906171B (en) | Game data communication means and terminal | |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |