CN110380904A - Bandwidth allocation methods, device, electronic equipment and storage medium - Google Patents

Bandwidth allocation methods, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110380904A
CN110380904A CN201910668098.0A CN201910668098A CN110380904A CN 110380904 A CN110380904 A CN 110380904A CN 201910668098 A CN201910668098 A CN 201910668098A CN 110380904 A CN110380904 A CN 110380904A
Authority
CN
China
Prior art keywords
bandwidth
history
use information
target
service
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
Application number
CN201910668098.0A
Other languages
Chinese (zh)
Other versions
CN110380904B (en
Inventor
周加伟
袁清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910668098.0A priority Critical patent/CN110380904B/en
Publication of CN110380904A publication Critical patent/CN110380904A/en
Application granted granted Critical
Publication of CN110380904B publication Critical patent/CN110380904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/826Involving periods of time

Abstract

The invention discloses a kind of bandwidth allocation methods, device, electronic equipment and storage mediums, belong to network technique field.The described method includes: obtaining multiple types of service of active user;History bandwidth use information based on multiple types of service obtains the history bandwidth use information under multiple combinations of multiple types of service;According to the history bandwidth use information and target bandwidth under multiple combinations, objective cross is determined, the maximum bandwidth in history bandwidth use information under objective cross is greater than target bandwidth;It is active user's bandwidth allocation based on objective cross.Multiple types of service by being combined by the present invention, analyze whether maximum bandwidth in the history bandwidth use information under each combination is greater than target bandwidth, obtain the objective cross for meeting the target bandwidth that user provides in advance, be not in be not achieved user in advance as defined in target bandwidth the order of magnitude the problem of, meet the demand of user, the accuracy of bandwidth allocation is improved, allocation result is more preferable.

Description

Bandwidth allocation methods, device, electronic equipment and storage medium
Technical field
The present invention relates to network technique field, in particular to a kind of bandwidth allocation methods, device, electronic equipment and storage are situated between Matter.
Background technique
With the development of network technology, network data can be provided for user by content distributing network, to meet user's Network demand.By content distributing network (Content Delivery Network, CDN), by apart from the closer electronics of user Content needed for equipment sends it to user avoids network congestion, improves user's access response speed and hit rate.Generally, exist It can be user's bandwidth allocation according to the demand of user, so that being based on by the content distributing network should in the content distributing network The bandwidth of distribution provides corresponding network service for the user.
Currently, the bandwidth demand of different user may be different, and some bandwidth used by a user can in bandwidth allocation methods It can include multiple types of service, for the user including multiple business type, user or related technical personnel may simply roots According to the understanding to the multiple business type, it is combined, is combined into when carrying out bandwidth allocation for the user according to the group It is distributed.
It is to be appreciated that carrying out various combination to multiple types of service, the bandwidth cost of generation may be different.The above method In, simply the multiple business type is combined, and according to the combination bandwidth allocation after, the bandwidth after combination may reach Less than user in advance as defined in target bandwidth the order of magnitude, can not meet the demand of the user, the accuracy of distribution is poor, distribution knot Fruit is poor.
Summary of the invention
The embodiment of the invention provides a kind of bandwidth allocation methods, device, electronic equipment and storage mediums, are able to solve phase The problem of accuracy difference and allocation result difference in the technology of pass.The technical solution is as follows:
On the one hand, a kind of bandwidth allocation methods are provided, which comprises
Obtain multiple types of service of active user;
History bandwidth use information based on the multiple type of service, obtains multiple combinations of the multiple type of service Under history bandwidth use information;
According to the history bandwidth use information and target bandwidth under the multiple combination, objective cross, the target are determined The maximum bandwidth in history bandwidth use information under combination is greater than the target bandwidth;
The objective cross based on the multiple type of service is active user's bandwidth allocation.
On the one hand, a kind of bandwidth allocation device is provided, described device includes:
Module is obtained, for obtaining multiple types of service of active user;
Module is obtained, the history bandwidth use information based on the multiple type of service is also used to, obtains the multiple industry History bandwidth use information under multiple combinations of service type;
Determining module, for determining target according to the history bandwidth use information and target bandwidth under the multiple combination It combines, the maximum bandwidth in history bandwidth use information under the objective cross is greater than the target bandwidth;
Distribution module distributes band for the objective cross based on the multiple type of service for the active user It is wide.
In a kind of possible implementation, the acquisition module is used for:
Obtain the corresponding target user of each type of service;
Obtain the history bandwidth use information of each target user;
History bandwidth use information based on each target user, obtains multiple combinations of the multiple type of service Under history bandwidth use information.
In a kind of possible implementation, the history bandwidth use information of each target user includes that the target is used The history bandwidth that family each moment within the first object period uses;
The acquisition module is used to combine either one or two of the multiple type of service, any one described combination is corresponded to At least one target user within the first object period history bandwidth at each moment and value, obtain it is described at least one The synthesis history bandwidth that user uses at each moment within the first object period, using the comprehensive history bandwidth as institute State the history bandwidth use information under any one combination.
In a kind of possible implementation, the module that obtains is also used to use when the history bandwidth of any one target user When the order of magnitude difference of the order of magnitude of information and the target bandwidth, according to the order of magnitude of the target bandwidth, to described any The history bandwidth use information of a target user zooms in and out, using the history bandwidth use information after scaling as it is described any one The history bandwidth use information of target user.
In a kind of possible implementation, the acquisition module is also used to obtain the second target time section and described second The corresponding scaling of target time section;
The determining module is also used to based on the corresponding scaling of the second target time section, to second object time History bandwidth use information in section zooms in and out, and based on the history bandwidth use information after scaling, executes according to described more History bandwidth use information and target bandwidth under a combination, the step of determining objective cross.
In a kind of possible implementation, the determining module is any one of following for executing:
When the maximum bandwidth in the multiple combination in history bandwidth use information is greater than the combination packet of the target bandwidth When including one, the combination that the maximum bandwidth in the history bandwidth use information is greater than the target bandwidth is determined as the mesh Mark combination;
When the maximum bandwidth in the multiple combination in history bandwidth use information is greater than the combination packet of the target bandwidth When including multiple, the maximum bandwidth in the multiple combination in history bandwidth use information is greater than to the group cooperation of the target bandwidth For candidate combinations, multiple candidate combinations are obtained;According to the history bandwidth use information under the multiple candidate combinations and own The history bandwidth use information of user obtains the ratio of the maximum bandwidth and bandwidth cost under each candidate combinations;Most by ratio Big candidate combinations are as the objective cross.
In a kind of possible implementation, the determining module is at least one of following for executing:
For the first candidate combinations, by the first object moment in the history bandwidth use information under first candidate combinations History bandwidth as the bandwidth cost, obtain the maximum belt in the history bandwidth use information under first candidate combinations The wide ratio with the bandwidth cost, first candidate combinations include a type of service, and the first object moment is institute At the time of stating corresponding to the maximum history bandwidth in the history bandwidth use information of all users;
For the second candidate combinations, by the second object time in the history bandwidth use information under first candidate combinations History bandwidth as the bandwidth cost, obtain the maximum belt in the history bandwidth use information under second candidate combinations The wide ratio with the bandwidth cost, second candidate combinations include multiple types of service, and second object time is institute When stating corresponding to the maximum history bandwidth in the synthesis history bandwidth use information of all users and second candidate combinations It carves.
On the one hand, a kind of electronic equipment is provided, the electronic equipment includes one or more processors and one or more A memory is stored at least one instruction in one or more of memories, and described instruction is by one or more of Reason device is loaded and is executed to realize operation performed by the bandwidth allocation methods.
On the one hand, provide a kind of computer readable storage medium, be stored in the computer readable storage medium to A few instruction, described instruction are loaded as processor and are executed to realize operation performed by the bandwidth allocation methods.
Multiple types of service are combined by the embodiment of the present invention by multiple types of service of acquisition active user, and Analyze whether maximum bandwidth in the history bandwidth use information under each combination is greater than target bandwidth, to obtain meeting user's thing The objective cross of the target bandwidth first provided, be not in combination after bandwidth may be not achieved user in advance as defined in mesh The problem of marker tape wide order of magnitude, the demand of user is met, the above method improves the accuracy of bandwidth allocation, obtained point It is more preferable with result.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of implementation environment of bandwidth allocation methods provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of bandwidth allocation methods provided in an embodiment of the present invention;
Fig. 3 is a kind of tendency chart of the history bandwidth use information of target user provided in an embodiment of the present invention;
Fig. 4 is a kind of tendency chart of the history bandwidth use information of target user provided in an embodiment of the present invention;
Fig. 5 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Fig. 6 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Fig. 7 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Fig. 8 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Fig. 9 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Figure 10 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Figure 11 is the bandwidth tendency chart under a kind of a kind of combination of type of service provided in an embodiment of the present invention;
Figure 12 is a kind of target time section setting provided in an embodiment of the present invention and bandwidth scale schematic diagram;
Figure 13 is a kind of tendency chart of the history bandwidth use information of all users provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of bandwidth allocation device provided in an embodiment of the present invention
Figure 15 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 16 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of implementation environment of bandwidth allocation methods provided in an embodiment of the present invention, as shown in Figure 1, the implementation ring Border may include user equipment 101 and content distributing network 102, and user equipment 101 can pass through network and content distributing network 102 are attached, which may include multiple electronic equipments.
Wherein, user equipment 101 can send network request to content distributing network 102, and content distributing network 102 receives To after network request, network data can be obtained based on the network request, be sent to user equipment 101.
In a kind of possible implementation, the step of electronic equipment 101 can execute bandwidth allocation methods, another kind can It is able to achieve in mode, the step of electronic equipment in content distributing network 102 can execute bandwidth allocation methods, the present invention is implemented Example does not limit this.
It should be noted that the electronic equipment in above-mentioned electronic equipment 101 and content distributing network 102 all can be whole End, or server, it is not limited in the embodiment of the present invention.
Fig. 2 is a kind of flow chart of bandwidth allocation methods provided in an embodiment of the present invention, and referring to fig. 2, this method can answer For electronic equipment, this method be may comprise steps of:
201, electronic equipment obtains multiple types of service of active user.
In embodiments of the present invention, multiple types of service of the available user of electronic equipment, to be based on multiple industry Service type, for user's bandwidth allocation.Wherein, type of service can refer to the type of the network data of offer.For example, the business Type may include short-sighted frequency, live streaming, web data, game etc..
A corresponding user, the bandwidth which uses may only include a type of service, it is also possible to including multiple industry Service type then can include in embodiments of the present invention user's progress bandwidth allocation of multiple types of service for the bandwidth Correlation analysis, the case where to determine bandwidth allocation.
Specifically, electronic equipment can be gone when carrying out bandwidth allocation to active user with reference to the multiple of the active user Type of service analyzes the various combination of multiple type of service, to determine how the multiple types of service of combination, Ke Yiman The requirement of the foot user-defined target bandwidth, to be based on the analysis as a result, being user's bandwidth allocation.
For multiple types of service of the active user, can be provided by the active user when bandwidth application is distributed, It can be analyzed to obtain by the history bandwidth use information that the electronic equipment is the active user, the embodiment of the present invention is more to this The specific source of a type of service is without limitation.
202, electronic equipment obtains the corresponding target user of each type of service.
Electronic equipment after getting multiple types of service of active user, can combination to multiple type of service into Row analysis, in analysis, the history bandwidth that type of service can be characterized with the history bandwidth use information of target user is used Information, and then obtain the data foundation analyzed type of service.
Wherein, type of service can have corresponding relationship with target user, and electronic equipment can be obtained according to the corresponding relationship Take the corresponding target user of each type of service.In a kind of possible implementation, each type of service is also possible to be corresponding with more A user can select a user as target user, from multiple users when analyzing type of service with the mesh The history bandwidth use information of user is marked as data foundation.
In a kind of possible implementation, the process of electronic equipment selection target user from multiple users can be with are as follows: right In each type of service, electronic equipment from each type of service corresponding multiple users one user of random selection as mesh Mark user.In alternatively possible implementation, which can be with are as follows: for each type of service, electronic equipment was according to should The history bandwidth use information of the corresponding multiple users of each type of service, most by history bandwidth use information in multiple user Big user is as target user.
Above provide two kinds of possible modes that the electronic equipment obtains target user, electronic equipment obtains target user's Process can also be realized by other means, for example, electronic equipment judges the similarity of active user and other users, Jin Erxuan It selects maximum as target user with the similarity of the active user.The embodiment of the present invention does not do the acquisition process of target user It limits.
Specifically may be in embodiment at one, the corresponding multiple users of each type of service can store in database In, certainly, multiple user is stored in elsewhere, the embodiment of the present invention to the storage mode of this multiple user not It limits.
203, electronic equipment obtains the history bandwidth use information of each target user.
After electronic equipment gets target user, the history bandwidth use information of available each target user, by it History bandwidth use information as each type of service.
In a kind of possible implementation, the history bandwidth that electronic equipment can use each user is counted, and is obtained To the history bandwidth use information of each user, and it is classified according to type of service.In alternatively possible implementation In, which can also be executed by other electronic equipments, and the history bandwidth which needs to obtain target user makes It, can be from the history bandwidth use information for obtaining target user in statistical information from other electronic equipments when with information.This hair Bright embodiment to specifically use which kind of implementation be not construed as limiting.
In a kind of possible implementation, the history bandwidth use information of each target user includes that the target user exists The history bandwidth that each moment uses in the first object period.Wherein, which can be by the relevant technologies people Member is configured according to demand, for example, the first object period can be the previous day of current time, it is of course also possible to work as First M days of preceding time, M is positive integer, and the embodiment of the present invention is not construed as limiting this.
In a specific example, by taking the first object period is the previous day of current time as an example, this is at the first time The duration of section can be 24 hours, to include 288 moment in 24 hours, for being spaced 5 minutes between adjacent moment, The history bandwidth use information of each target user may include 288 data,.In a kind of possible implementation, this is gone through History bandwidth use information can also use the form of figure, for example, the history bandwidth of target user can be used letter by electronic equipment Breath is plotted as bandwidth tendency chart, and certainly, which can also use other forms, for example, table, the present invention Embodiment is not construed as limiting this.
It is to be appreciated that different user may be different in the bandwidth that the same type of service uses, target user is being utilized When representing active user, gap may be generated because the bandwidth used is different, electronic equipment can also be according to the current use The bandwidth at family uses standard, handles the history bandwidth use information of target user, so that the history bandwidth use information Closer to the active user, and then it is also more acurrate to analyze result.
Specifically, when the order of magnitude of the history bandwidth use information of any one target user and target bandwidth the order of magnitude not Meanwhile electronic equipment can be according to the order of magnitude of the target bandwidth, to the history bandwidth use information of any one target user It zooms in and out, using the history bandwidth use information after scaling as the history bandwidth use information of any one target user.
Wherein, target bandwidth can be the corresponding bandwidth requirement of the active user, for example, user's bandwidth application in this prior It can when the bandwidth distributed for the active user can reach the target bandwidth with pre-specified target bandwidth when distribution To obtain standard according to the expense appointed, collect the charges to the active user, and if not reaching the target bandwidth, The active user can not then pay the expense of agreement, but pay expense more less than the expense of agreement.
In above-mentioned setting, if the order of magnitude of the order of magnitude of the history bandwidth use information of target user and target bandwidth When different, the bandwidth for illustrating that the history bandwidth use information of target user is used with the active user has a long way to go, and passes through scaling Processing, then the history bandwidth use information after scaling make the history bandwidth use information of the target user closer to active user Then more representative, subsequent analysis result is also more acurrate.
For example, the scaling process can be realized by following formula one and formula two:
Formula one: a=max (A [i]) i ∈ [0,287]
Formula two:
Wherein, A indicates target user in the history bandwidth of each moment i, and value is [0, ∞], and a indicates the target user History bandwidth use information in maximum bandwidth, value range is [0, ∞], and i indicates 288 moment of section, and value range is [0,287], max () indicate that maximizing, b indicate that target bandwidth, value range are [0, ∞].
In a specific example, Fig. 3 and Fig. 4 are the tendency chart of the history bandwidth use information of any one target user. Wherein, the abscissa in figure indicates the moment, and value is [0,287], and ordinate indicates history bandwidth.Fig. 3 indicates the mesh before scaling The history bandwidth use information for marking user, being provided with target bandwidth is 10000 megabits per second (Mbps), each moment in Fig. 3 History bandwidth the order of magnitude it is different from the order of magnitude of the target bandwidth, therefore, it is possible to zoom in and out to it, scale it mesh On the wide order of magnitude of marker tape, as shown in figure 4, Fig. 4 indicates the history bandwidth use information of the target user after scaling, it should after scaling The order of magnitude of the history bandwidth use information of target user reduces, identical as the order of magnitude of target bandwidth after diminution.
204, history bandwidth use information of the electronic equipment based on each target user, obtains multiple type of service History bandwidth use information under multiple combinations.
After electronic equipment obtains the history bandwidth use information of each target user, available multiple types of service it is more History bandwidth use information under a combination divides the history bandwidth use information under multiple combinations of multiple types of service Analysis determines that the combination met the requirements, the requirement are also that can reach target bandwidth based on the analysis results.
After electronic equipment gets multiple types of service of target user, multiple type of service can be combined, Obtain multiple combinations.For example, active user is expressed as user K, the bandwidth of the user K includes three types of service: A, B, C.Electricity Sub- equipment can represent three types of service to have selected three target users A, B, C in database, that is to say, herein should Three target users A, B, C regard three types of service as.The combination of three types of service then may include A, B, C, AB, BC, AC, ABC.
History bandwidth use information corresponding to each target user in above-mentioned steps 203 includes the target user The implementation for the history bandwidth that each moment uses in one target time section, electronic equipment obtain the more of multiple type of service The process of history bandwidth use information under a combination can be with are as follows: either one or two of multiple type of service is combined, electronics is set It is standby by this any one combine at least one corresponding target user in the target time period the history bandwidth at each moment and value, The synthesis history bandwidth that at least one user uses at each moment in the target time section is obtained, by the synthesis history bandwidth History bandwidth use information as this under any one combination.
For example, the acquisition process can be realized by following formula three:
Formula three: K [i]=A [i]+B [i]+C [i] i ∈ [0,287]
Wherein, K [i] indicates that the synthesis history bandwidth that active user K is used in moment i, value are [0, ∞], A [i], B [i], C [i] respectively indicate target user A, the history bandwidth that B, C are used in moment i, and value is [0, ∞], when i indicates 288 It carves, value range is [0,287].
For example, in a specific example, what the history bandwidth use information of target user can use for target user Bandwidth tendency chart includes still 3 types of service with the bandwidth of active user K, finds 3 target user A, B, C work as to represent For three types of service, if Fig. 5, Fig. 6, Fig. 7, Fig. 8, Fig. 9, Figure 10 and Figure 11 are respectively the combination of three types of service The corresponding bandwidth tendency chart of A, B, C, AB, BC, AC, ABC, the abscissa in figure indicate the moment, and value is [0,287], ordinate Indicate history bandwidth.
It should be noted that step 202 to step 204 is the history bandwidth use information based on multiple type of service, The process of the history bandwidth use information under multiple combinations of multiple type of service is obtained, the above process is only with target user's History bandwidth use information is illustrated for the history bandwidth use information to indicate type of service, which can also pass through Other implementations realize that, for example, electronic equipment directly can carry out bandwidth statistics to type of service, electronic equipment is obtaining certain When the history bandwidth use information of a type of service, the history bandwidth that according to statistical result, can obtain type of service uses letter Breath.Specifically, the process for obtaining the history bandwidth use information of type of service can be using any of the above-described kind of implementation, this hair It is bright not limit this.
In a kind of possible implementation, the habit of bandwidth can also be used according to people, and letter is used to above-mentioned history bandwidth Breath is handled, and in this implementation, the process that electronic equipment handles history bandwidth use information can be with are as follows: electricity Sub- equipment obtains target time section and the corresponding scaling of the target time section, is based on the corresponding pantograph ratio of target time section Example, zooms in and out the history bandwidth use information in the target time section, based on the history bandwidth use information after scaling, The step of executing according to the history bandwidth use information and target bandwidth under multiple combination, determining objective cross.
It is to be appreciated that people is when being in idle condition or busy condition, it is then possible different using the amount of bandwidth.For example, People may use biggish bandwidth in idle state, and lesser bandwidth may be used in busy condition.In the realization In mode, target time section can be set, which can behave the period being in idle condition, or People is in the period of busy condition.Wherein, target time section can by related technical personnel according to the daily schedule of common people, Or the history bandwidth use information of user determines, for example, can be set: 12 noon to 2 pm was behaved in the free time Period when state, it is not limited in the embodiment of the present invention.
For example, can should be realized by following formula four based on the process that target time section zooms in and out:
Formula four:
Wherein, A [i] indicates target user in the history bandwidth of each moment i, and value is [0, ∞], and i indicates section 288 A moment, value range are [0,287], and a, b respectively indicate the starting point and end point of target time section, and the two all can be A numerical value in [0,287], a are less than b.K indicates scaling.
For example, in a specific example, as shown in figure 12, abscissa indicates the moment in figure, value can for [0, 287], ordinate indicates history bandwidth.It is [0,100], the object time that the period that someone is in idle condition, which can be set, The corresponding scaling of section is 50%, and electronic equipment can zoom in and out the history bandwidth in the target time section, after scaling History band be wider than original history bandwidth.
205, electronic equipment determines target group according to history bandwidth use information and target bandwidth under multiple combination It closes, the maximum bandwidth in history bandwidth use information under the objective cross is greater than the target bandwidth.
After electronic equipment obtains the history bandwidth use information under multiple combinations, analyze whether each combination meets the bandwidth It is required that specifically, electronic equipment may determine that whether the maximum bandwidth in combined history bandwidth use information is greater than the mesh Marker tape is wide.
In a kind of possible implementation, there may be a combination to meet bandwidth in the judgment process, in multiple combination It is required that bandwidth requirement can also be met by multiple combinations, thus, electronic equipment determines that the process of objective cross may include following It is any in two kinds of situations:
Situation one, when the maximum bandwidth in multiple combination in history bandwidth use information be greater than the target bandwidth combination When including one, the combination that the maximum bandwidth in the history bandwidth use information is greater than the target bandwidth is determined as by electronic equipment The objective cross.
In situation one, if only one combination meets bandwidth requirement in multiple combination, electronic equipment can be direct This is met into the combination of bandwidth requirement as objective cross.
Situation two, when the maximum bandwidth in multiple combination in history bandwidth use information be greater than the target bandwidth combination Including it is multiple when, maximum bandwidth in multiple combination in history bandwidth use information is greater than the target bandwidth by electronic equipment Combination is used as candidate combinations, obtains multiple candidate combinations, and electronic equipment is used according to the history bandwidth under multiple candidate combinations Information and the history bandwidth use information of all users, obtain the ratio of the maximum bandwidth and bandwidth cost under each candidate combinations Value, electronic equipment is using the maximum candidate combinations of the ratio as the objective cross.
In the situation two, if there is multiple combinations to meet bandwidth requirement in multiple combination, electronic equipment can be with Further progress is screened in multiple combination, determines a combination as objective cross.In a kind of possible implementation, electricity Sub- equipment can regard multiple combination as candidate combinations, further analyze the maximum bandwidth and bandwidth cost of each candidate combinations Ratio, using the ratio as judge foundation.
Wherein, which can be with the costs associated that will collect the user, and specifically, which can be with Expense is positively correlated, and that is to say, the maximum bandwidth is bigger, and fee charged is bigger, and maximum bandwidth is smaller, and fee charged is smaller. Then by the ratio of analysis cost and bandwidth cost, can be found from multiple candidate combinations a cost it is small while it is expensive Combination as objective cross.
In addition, for the specific acquisition process of the ratio, electronic equipment can be accomplished in the following manner, wherein this is more A candidate combinations may only include the first candidate combinations, it is also possible to only include the second candidate combinations, it is also possible to both include the first time Choosing combination, and including the second candidate combinations, the ratio acquisition modes of both candidate combinations are different, specifically can be such that
For the first candidate combinations, electronic equipment can be by the history bandwidth use information under first candidate combinations The history bandwidth of one object time obtains in the history bandwidth use information under first candidate combinations as the bandwidth cost The ratio of maximum bandwidth and the bandwidth cost, first candidate combinations include a type of service, which is should At the time of corresponding to maximum history bandwidth in the history bandwidth use information of all users.
For the second candidate combinations, electronic equipment can be by the history bandwidth use information under first candidate combinations The history bandwidth of two object times obtains in the history bandwidth use information under second candidate combinations as the bandwidth cost The ratio of maximum bandwidth and the bandwidth cost, second candidate combinations include multiple types of service, which is should At the time of corresponding to maximum history bandwidth in the synthesis history bandwidth use information of all users and second candidate combinations.
For example, electronic equipment obtains ratio can be realized by formula five:
Formula five:
Wherein, r indicates that the ratio of maximum bandwidth and bandwidth cost, Kmax indicate in user's history bandwidth use information most Big bandwidth, at the time of Kcost indicates user corresponding to the maximum history bandwidth in comprehensive history bandwidth use information under go through History bandwidth, i.e. bandwidth cost.
For example, in above-mentioned specific example, it is 700 that target bandwidth, which can be set, in A, B, C, AB, BC, and AC, ABC seven In bandwidth tendency chart under combination, the maximum bandwidth in each combined bandwidth tendency chart that is to say the peak value of bandwidth tendency chart Bandwidth can be as shown in Table 1, by table one it is known that the peak bandwidth of these three combinations of AC, BC, ABC has been more than object tape Width, and target bandwidth is not achieved in the peak bandwidth of this four combinations of A, B, C, AB, thus, this four combinations are unsatisfactory for bandwidth and want It asks, we can further screen in AC, these three combinations of BC, ABC, determine objective cross.
Table one
User's combined situation Bandwidth tendency chart peak bandwidth
A 300
B 400
C 500
AB 637
AC 729
BC 826
ABC 1064
After electronic equipment gets candidate combinations AC, BC, ABC under the conditions of meeting the target bandwidth, all users' is gone through History bandwidth use information can be as shown in figure 13, is presented as a bandwidth tendency chart, can be by the peak value in the bandwidth tendency chart As the above-mentioned first object moment at the time of corresponding.Abscissa indicates the moment in figure, and value is [0,287], and ordinate indicates History bandwidth.
Only include the case where the history bandwidth of single user in bandwidth tendency chart shown in the Figure 13, does not include after combining History bandwidth, since candidate combinations are the second candidate combinations, required the be referenced as in comprehensive history bandwidth use information Two object times, thus can be comprehensive by bandwidth tendency chart shown in Figure 13 and the bandwidth tendency chart of each candidate combinations, it obtains Bandwidth tendency chart after synthesis, and then using the peak bandwidth of the bandwidth tendency chart after synthesis as bandwidth cost, at the time of corresponding As the second object time, go to obtain the corresponding ratio r of each candidate combinations.It may refer to table two, in three candidate combinations The ratio r combined under AC is maximum, therefore, it is possible to using combination AC as objective cross.
Table two
Above situation two provides a kind of possible implementation that objective cross is determined from multiple combinations, in the realization side In formula, it can select that a cost is small, collects the combination of suitable expense in multiple combinations.The process can also pass through its other party Formula realizes that, for example, the electronic equipment can randomly choose a combination as objective cross from multiple combination, the present invention is real Apply example to specifically use which kind of mode be not construed as limiting.
206, the objective cross of electronic equipment based on multiple type of service, for active user's bandwidth allocation.
After electronic equipment obtains the objective cross of multiple types of service, the history bandwidth for obtaining the objective cross uses letter Breath is the bandwidth that active user distributes corresponding service type according to the history bandwidth use information.201 to step through the above steps Rapid 206, the bandwidth allocation problems of the user comprising complicated business type can be effectively solved, using calculating by the above process The combination arrived carries out bandwidth allocation for user, can define and meet the needs of target bandwidth, the bandwidth after avoiding combination May be not achieved user in advance as defined in target bandwidth the order of magnitude the case where, to improve the accuracy of distribution, in this way Allocation result is more preferable.
Multiple types of service are combined by the embodiment of the present invention by multiple types of service of acquisition active user, and Analyze whether maximum bandwidth in the history bandwidth use information under each combination is greater than target bandwidth, to obtain meeting user's thing The objective cross of the target bandwidth first provided, be not in combination after bandwidth may be not achieved user in advance as defined in mesh The problem of marker tape wide order of magnitude, the demand of user is met, the above method improves the accuracy of bandwidth allocation, obtained point It is more preferable with result.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 14 is a kind of structural schematic diagram of bandwidth allocation device provided in an embodiment of the present invention, referring to Figure 14, the device May include:
Module 1401 is obtained, for obtaining multiple types of service of active user;
Module 1401 is obtained, the history bandwidth use information based on multiple type of service is also used to, obtains multiple industry History bandwidth use information under multiple combinations of service type;
Determining module 1402, for determining mesh according to the history bandwidth use information and target bandwidth under multiple combination Mark combines, and the maximum bandwidth in history bandwidth use information under the objective cross is greater than the target bandwidth;
Distribution module 1403, for the objective cross based on multiple type of service, for active user's bandwidth allocation.
In a kind of possible implementation, which is used for:
Obtain the corresponding target user of each type of service;
Obtain the history bandwidth use information of each target user;
History bandwidth use information based on each target user, under the multiple combinations for obtaining multiple type of service History bandwidth use information.
In a kind of possible implementation, the history bandwidth use information of each target user includes that the target user exists The history bandwidth that each moment uses in the first object period;
The acquisition module 1401 is used to combine either one or two of multiple type of service, and by this, any one combination is corresponding At least one target user within the first object period history bandwidth at each moment and value, obtain at least one user The synthesis history bandwidth that each moment uses within the first object period, using the synthesis history bandwidth as any one group History bandwidth use information under closing.
In a kind of possible implementation, which is also used to make when the history bandwidth of any one target user When with the order of magnitude difference of the order of magnitude of information and the target bandwidth, according to the order of magnitude of the target bandwidth, to any one mesh The history bandwidth use information of mark user zooms in and out, and uses the history bandwidth use information after scaling as any one target The history bandwidth use information at family.
In a kind of possible implementation, the acquisition module 1401 be also used to obtain the second target time section and this second The corresponding scaling of target time section;
The determining module 1402 is also used to based on the corresponding scaling of the second target time section, to second object time History bandwidth use information in section zooms in and out, and based on the history bandwidth use information after scaling, executes according to multiple History bandwidth use information and target bandwidth under combination, the step of determining objective cross.
In a kind of possible implementation, the determining module 1402 is any one of following for executing:
When the combination that the maximum bandwidth in multiple combination in history bandwidth use information is greater than the target bandwidth includes one When a, the combination that the maximum bandwidth in the history bandwidth use information is greater than the target bandwidth is determined as the objective cross;
When the combination that the maximum bandwidth in multiple combination in history bandwidth use information is greater than the target bandwidth includes more When a, the maximum bandwidth in multiple combination in history bandwidth use information is greater than the combination of the target bandwidth as candidate set It closes, obtains multiple candidate combinations;According to the history of history bandwidth use information and all users under multiple candidate combinations Bandwidth use information obtains the ratio of the maximum bandwidth and bandwidth cost under each candidate combinations;By the maximum candidate of the ratio Combination is used as the objective cross.
In a kind of possible implementation, the determining module 1402 is at least one of following for executing:
For the first candidate combinations, by the first object moment in the history bandwidth use information under first candidate combinations History bandwidth obtains the maximum bandwidth in the history bandwidth use information under first candidate combinations and is somebody's turn to do as the bandwidth cost The ratio of bandwidth cost, first candidate combinations include a type of service, which is going through for all users At the time of corresponding to maximum history bandwidth in history bandwidth use information;
For the second candidate combinations, by the second object time in the history bandwidth use information under first candidate combinations History bandwidth obtains the maximum bandwidth in the history bandwidth use information under second candidate combinations and is somebody's turn to do as the bandwidth cost The ratio of bandwidth cost, second candidate combinations include multiple types of service, which is all users and should At the time of corresponding to maximum history bandwidth in the synthesis history bandwidth use information of second candidate combinations.
Device provided in an embodiment of the present invention, by obtaining multiple types of service of active user, by multiple types of service It is combined, and analyzes whether maximum bandwidth in the history bandwidth use information under each combination is greater than target bandwidth, thus It is not in that user may be not achieved in bandwidth after combination to the objective cross for meeting the target bandwidth that user provides in advance As defined in advance the problem of the order of magnitude of target bandwidth, the demand of user is met, the above method improves the standard of bandwidth allocation True property, obtained allocation result are more preferable.
It should be understood that bandwidth allocation device provided by the above embodiment is when carrying out bandwidth allocation, only with above-mentioned each The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function Can module complete, i.e., the internal structure of electronic equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, bandwidth allocation device provided by the above embodiment and bandwidth allocation methods embodiment belong to same design, Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Above-mentioned electronic equipment can be following terminals shown in figure 15, or server shown in following Figure 16, this Inventive embodiments are not construed as limiting this.
Figure 15 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.The terminal 1500 may is that intelligent hand Machine, tablet computer, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression Standard audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image Expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1500 is also possible to referred to as user and sets Other titles such as standby, portable terminal, laptop terminal, terminal console.
In general, terminal 1500 includes: one or more processors 1501 and one or more memories 1502.
Processor 1501 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1501 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1501 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1501 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1501 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1502 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1502 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1502 can Storage medium is read for storing at least one instruction, at least one instruction for performed by processor 1501 to realize this hair The bandwidth allocation methods that bright middle embodiment of the method provides.
In some embodiments, terminal 1500 is also optional includes: peripheral device interface 1503 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1501, memory 1502 and peripheral device interface 1503.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1503.Specifically, peripheral equipment includes: In radio circuit 1504, display screen 1505, CCD camera assembly 1506, voicefrequency circuit 1507, positioning component 1508 and power supply 1509 At least one.
Peripheral device interface 1503 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1501 and memory 1502.In some embodiments, processor 1501, memory 1502 and periphery Equipment interface 1503 is integrated on same chip or circuit board;In some other embodiments, processor 1501, memory 1502 and peripheral device interface 1503 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1504 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1504 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1504 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1504 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1504 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency electrical Road 1504 can also include NFC (Near Field Communication, wireless near field communication) related circuit, the present invention This is not limited.
Display screen 1505 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1505 is touch display screen, display screen 1505 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1505.The touch signal can be used as control signal and be input to place Reason device 1501 is handled.At this point, display screen 1505 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1505 can be one, and the front panel of terminal 1500 is arranged;Another In a little embodiments, display screen 1505 can be at least two, be separately positioned on the different surfaces of terminal 1500 or in foldover design; In further embodiments, display screen 1505 can be flexible display screen, is arranged on the curved surface of terminal 1500 or folds On face.Even, display screen 1505 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1505 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1506 is for acquiring image or video.Optionally, CCD camera assembly 1506 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1506 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 1507 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1501 and handled, or be input to radio circuit 1504 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1500 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1501 or radio frequency will to be come from The electric signal of circuit 1504 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1507 may be used also To include earphone jack.
Positioning component 1508 is used for the current geographic position of positioning terminal 1500, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1508 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 1509 is used to be powered for the various components in terminal 1500.Power supply 1509 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1509 includes rechargeable battery, which can support wired Charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1500 further includes having one or more sensors 1510.One or more sensing Device 1510 includes but is not limited to: acceleration transducer 1511, gyro sensor 1512, pressure sensor 1513, fingerprint sensing Device 1514, optical sensor 1515 and proximity sensor 1516.
Acceleration transducer 1511 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1500 Size.For example, acceleration transducer 1511 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1501 acceleration of gravity signals that can be acquired according to acceleration transducer 1511, control display screen 1505 with transverse views or indulge The display of direction view progress user interface.Acceleration transducer 1511 can be also used for adopting for game or the exercise data of user Collection.
Gyro sensor 1512 can detecte body direction and the rotational angle of terminal 1500, gyro sensor 1512 Acquisition user can be cooperateed with to act the 3D of terminal 1500 with acceleration transducer 1511.Processor 1501 is according to gyro sensors The data that device 1512 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or display screen 1505 in terminal 1500 can be set in pressure sensor 1513.Work as pressure When the side frame of terminal 1500 is arranged in sensor 1513, user can detecte to the gripping signal of terminal 1500, by processor 1501 carry out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1513 acquires.When pressure sensor 1513 When the lower layer of display screen 1505 is set, the pressure operation of display screen 1505 is realized to UI according to user by processor 1501 Operability control on interface is controlled.Operability control includes button control, scroll bar control, icon control, dish At least one of single control part.
Fingerprint sensor 1514 is used to acquire the fingerprint of user, is collected by processor 1501 according to fingerprint sensor 1514 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1514 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1501, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1514 can be set Set the front, the back side or side of terminal 1500.When being provided with physical button or manufacturer Logo in terminal 1500, fingerprint sensor 1514 can integrate with physical button or manufacturer Logo.
Optical sensor 1515 is for acquiring ambient light intensity.In one embodiment, processor 1501 can be according to light The ambient light intensity that sensor 1515 acquires is learned, the display brightness of display screen 1505 is controlled.Specifically, when ambient light intensity is higher When, the display brightness of display screen 1505 is turned up;When ambient light intensity is lower, the display brightness of display screen 1505 is turned down.Another In one embodiment, the ambient light intensity that processor 1501 can also be acquired according to optical sensor 1515, dynamic adjustment camera shooting The acquisition parameters of head assembly 1506.
Proximity sensor 1516, also referred to as range sensor are generally arranged at the front panel of terminal 1500.Proximity sensor 1516 for acquiring the distance between the front of user Yu terminal 1500.In one embodiment, when proximity sensor 1516 is examined When measuring the distance between the front of user and terminal 1500 and gradually becoming smaller, display screen 1505 is controlled from bright screen by processor 1501 State is switched to breath screen state;When proximity sensor 1516 detects that the distance between user and the front of terminal 1500 gradually become When big, display screen 1505 is controlled by processor 1501 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1500 of structure shown in Figure 15 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Figure 16 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 1600 can because of configuration or Performance is different and generates bigger difference, may include one or more processors (central processing units, CPU) 1601 and one or more memories 1602, wherein be stored at least one in the one or more memory 1602 Instruction, at least one instruction are loaded by the one or more processors 1601 and are executed to realize above-mentioned each embodiment of the method The bandwidth allocation methods of offer.Certainly, which can also have wired or wireless network interface, keyboard and input The components such as output interface, to carry out input and output, which can also include other for realizing functions of the equipments Component, this will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by processor to complete the bandwidth allocation methods in above-described embodiment.For example, the computer-readable storage Medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), tape, floppy disk and light data Store equipment etc..
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program being somebody's turn to do can store computer-readable deposits in a kind of In storage media, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of bandwidth allocation methods, which is characterized in that the described method includes:
Obtain multiple types of service of active user;
History bandwidth use information based on the multiple type of service, under the multiple combinations for obtaining the multiple type of service History bandwidth use information;
According to the history bandwidth use information and target bandwidth under the multiple combination, objective cross, the objective cross are determined Under history bandwidth use information in maximum bandwidth be greater than the target bandwidth;
The objective cross based on the multiple type of service is active user's bandwidth allocation.
2. the method according to claim 1, wherein the history bandwidth based on the multiple type of service makes With information, the history bandwidth use information under multiple combinations of the multiple type of service is obtained, comprising:
Obtain the corresponding target user of each type of service;
Obtain the history bandwidth use information of each target user;
History bandwidth use information based on each target user, under the multiple combinations for obtaining the multiple type of service History bandwidth use information.
3. according to the method described in claim 2, it is characterized in that, the history bandwidth use information packet of each target user Include the history bandwidth that the target user uses at each moment within the first object period;
The history bandwidth use information based on each target user, obtains multiple combinations of the multiple type of service Under history bandwidth use information, comprising:
Either one or two of the multiple type of service is combined, at least one corresponding target user of any one described combination is existed In the first object period history bandwidth at each moment and value, obtain at least one described user in the first object Between each moment uses in section synthesis history bandwidth, using the comprehensive history bandwidth as the history under any one described combination Bandwidth use information.
4. according to the method described in claim 2, it is characterized in that, the history bandwidth for obtaining each target user uses letter Breath, further includes:
When the order of magnitude difference of the order of magnitude of the history bandwidth use information of any one target user and the target bandwidth, press According to the order of magnitude of the target bandwidth, the history bandwidth use information of any one target user is zoomed in and out, will be scaled History bandwidth use information of the history bandwidth use information afterwards as any one target user.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
Obtain the second target time section and the corresponding scaling of second target time section;
Based on the corresponding scaling of the second target time section, to the history bandwidth use information in second target time section It zooms in and out, based on the history bandwidth use information after scaling, executes and used according to the history bandwidth under the multiple combination Information and target bandwidth, the step of determining objective cross.
6. the method according to claim 1, wherein the history bandwidth according under the multiple combination uses Information and target bandwidth determine objective cross, including any one of following:
When the combination that the maximum bandwidth in the multiple combination in history bandwidth use information is greater than the target bandwidth includes one When a, the combination that the maximum bandwidth in the history bandwidth use information is greater than the target bandwidth is determined as the target group It closes;
When the combination that the maximum bandwidth in the multiple combination in history bandwidth use information is greater than the target bandwidth includes more When a, the maximum bandwidth in the multiple combination in history bandwidth use information is greater than the combination of the target bandwidth as time Choosing combination, obtains multiple candidate combinations;According under the multiple candidate combinations history bandwidth use information and all users History bandwidth use information, obtain the ratio of the maximum bandwidth and bandwidth cost under each candidate combinations;Ratio is maximum Candidate combinations are as the objective cross.
7. according to the method described in claim 6, it is characterized in that, the history bandwidth according under the multiple candidate combinations Use information and the history bandwidth use information of all users obtain maximum bandwidth and bandwidth cost under each candidate combinations Ratio, including it is at least one of following:
For the first candidate combinations, the first object moment in the history bandwidth use information under first candidate combinations is gone through History bandwidth as the bandwidth cost, obtain maximum bandwidth in the history bandwidth use information under first candidate combinations with The ratio of the bandwidth cost, first candidate combinations include a type of service, and the first object moment is the institute At the time of having corresponding to the maximum history bandwidth in the history bandwidth use information of user;
For the second candidate combinations, the second object time in the history bandwidth use information under first candidate combinations is gone through History bandwidth as the bandwidth cost, obtain maximum bandwidth in the history bandwidth use information under second candidate combinations with The ratio of the bandwidth cost, second candidate combinations include multiple types of service, and second object time is the institute At the time of having corresponding to the maximum history bandwidth in the synthesis history bandwidth use information of user and second candidate combinations.
8. a kind of bandwidth allocation device, which is characterized in that described device includes:
Module is obtained, for obtaining multiple types of service of active user;
Module is obtained, the history bandwidth use information based on the multiple type of service is also used to, obtains the multiple service class History bandwidth use information under multiple combinations of type;
Determining module, for determining objective cross according to the history bandwidth use information and target bandwidth under the multiple combination, The maximum bandwidth in history bandwidth use information under the objective cross is greater than the target bandwidth;
Distribution module is active user's bandwidth allocation for the objective cross based on the multiple type of service.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes that one or more processors and one or more are deposited Reservoir is stored at least one instruction in one or more of memories, and described instruction is by one or more of processors It loads and executes to realize the operation as performed by claim 1 to claim 7 described in any item bandwidth allocation methods.
10. a kind of storage medium, which is characterized in that be stored at least one instruction in the storage medium, described instruction by Reason device is loaded and is executed to realize the behaviour as performed by claim 1 to claim 7 described in any item bandwidth allocation methods Make.
CN201910668098.0A 2019-07-23 2019-07-23 Bandwidth allocation method and device, electronic equipment and storage medium Active CN110380904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910668098.0A CN110380904B (en) 2019-07-23 2019-07-23 Bandwidth allocation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910668098.0A CN110380904B (en) 2019-07-23 2019-07-23 Bandwidth allocation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110380904A true CN110380904A (en) 2019-10-25
CN110380904B CN110380904B (en) 2021-09-21

Family

ID=68255228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910668098.0A Active CN110380904B (en) 2019-07-23 2019-07-23 Bandwidth allocation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110380904B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079045A (en) * 2021-03-26 2021-07-06 北京达佳互联信息技术有限公司 Bandwidth allocation method, device, server and storage medium
CN113950056A (en) * 2021-10-20 2022-01-18 中国联合网络通信集团有限公司 Bandwidth allocation method, device and storage medium
CN114006843A (en) * 2021-11-02 2022-02-01 中国工商银行股份有限公司 Method and device for determining bandwidth and electronic equipment
CN114048018A (en) * 2022-01-14 2022-02-15 北京大学深圳研究生院 System, method and device for distributing cloud native tasks based on block chains
CN114391250A (en) * 2020-08-05 2022-04-22 华为技术有限公司 Bandwidth management method and device, computer storage medium and chip
CN114866553A (en) * 2022-04-27 2022-08-05 阿里云计算有限公司 Data distribution method, equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207454A (en) * 2006-12-21 2008-06-25 华为技术有限公司 Method for indicating channelized set of codes and sending terminal of channelized set of codes information
CN102711179A (en) * 2012-05-04 2012-10-03 北京邮电大学 Multi-service dynamic bandwidth distribution method in heterogeneous wireless network environment
US20140200036A1 (en) * 2012-09-06 2014-07-17 Dell Products, Lp Method and Apparatus for Context Aware Management of Location Optimization of Virtual Machines for Mobility and Real-time Enterprise Applications
CN104243345A (en) * 2013-06-08 2014-12-24 中国移动通信集团公司 Traffic scheduling method, system and device based on service types
CN105101270A (en) * 2014-05-12 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Traffic managing device and traffic managing method for terminal
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device
CN106559834A (en) * 2015-09-28 2017-04-05 大唐移动通信设备有限公司 A kind of regulation and control method of composite service and its device
CN107071698A (en) * 2013-07-29 2017-08-18 奇卡有限公司 Data bandwidth management system and method
CN107465708A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 A kind of CDN bandwidth scheduling systems and method
CN107547154A (en) * 2016-06-23 2018-01-05 华为技术有限公司 A kind of method and device for establishing video traffic prediction model
CN107769977A (en) * 2017-10-31 2018-03-06 广东电网有限责任公司电力调度控制中心 A kind of powerline network resource allocation methods based on soft switch
CN107770091A (en) * 2017-09-15 2018-03-06 北京国电通网络技术有限公司 Power optical fiber is to family bandwidth allocation methods and device
CN108989238A (en) * 2018-07-20 2018-12-11 浪潮电子信息产业股份有限公司 A kind of method and relevant device for distributing service bandwidth
CN109495317A (en) * 2018-12-13 2019-03-19 中国南方电网有限责任公司 Data network method for predicting and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207454A (en) * 2006-12-21 2008-06-25 华为技术有限公司 Method for indicating channelized set of codes and sending terminal of channelized set of codes information
CN102711179A (en) * 2012-05-04 2012-10-03 北京邮电大学 Multi-service dynamic bandwidth distribution method in heterogeneous wireless network environment
US20140200036A1 (en) * 2012-09-06 2014-07-17 Dell Products, Lp Method and Apparatus for Context Aware Management of Location Optimization of Virtual Machines for Mobility and Real-time Enterprise Applications
CN104243345A (en) * 2013-06-08 2014-12-24 中国移动通信集团公司 Traffic scheduling method, system and device based on service types
CN107071698A (en) * 2013-07-29 2017-08-18 奇卡有限公司 Data bandwidth management system and method
CN105101270A (en) * 2014-05-12 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Traffic managing device and traffic managing method for terminal
CN106559834A (en) * 2015-09-28 2017-04-05 大唐移动通信设备有限公司 A kind of regulation and control method of composite service and its device
CN107465708A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 A kind of CDN bandwidth scheduling systems and method
CN107547154A (en) * 2016-06-23 2018-01-05 华为技术有限公司 A kind of method and device for establishing video traffic prediction model
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device
CN107770091A (en) * 2017-09-15 2018-03-06 北京国电通网络技术有限公司 Power optical fiber is to family bandwidth allocation methods and device
CN107769977A (en) * 2017-10-31 2018-03-06 广东电网有限责任公司电力调度控制中心 A kind of powerline network resource allocation methods based on soft switch
CN108989238A (en) * 2018-07-20 2018-12-11 浪潮电子信息产业股份有限公司 A kind of method and relevant device for distributing service bandwidth
CN109495317A (en) * 2018-12-13 2019-03-19 中国南方电网有限责任公司 Data network method for predicting and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114391250A (en) * 2020-08-05 2022-04-22 华为技术有限公司 Bandwidth management method and device, computer storage medium and chip
CN113079045A (en) * 2021-03-26 2021-07-06 北京达佳互联信息技术有限公司 Bandwidth allocation method, device, server and storage medium
CN113950056A (en) * 2021-10-20 2022-01-18 中国联合网络通信集团有限公司 Bandwidth allocation method, device and storage medium
CN114006843A (en) * 2021-11-02 2022-02-01 中国工商银行股份有限公司 Method and device for determining bandwidth and electronic equipment
CN114048018A (en) * 2022-01-14 2022-02-15 北京大学深圳研究生院 System, method and device for distributing cloud native tasks based on block chains
CN114048018B (en) * 2022-01-14 2022-04-15 北京大学深圳研究生院 System, method and device for distributing cloud native tasks based on block chains
CN114866553A (en) * 2022-04-27 2022-08-05 阿里云计算有限公司 Data distribution method, equipment and storage medium

Also Published As

Publication number Publication date
CN110380904B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN110380904A (en) Bandwidth allocation methods, device, electronic equipment and storage medium
CN108900858A (en) A kind of method and apparatus for giving virtual present
CN109982102A (en) The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end
CN108683927A (en) Main broadcaster recommends method, apparatus and storage medium
CN108924737A (en) Localization method, device, equipment and computer readable storage medium
CN110290421A (en) Frame per second method of adjustment, device, computer equipment and storage medium
CN109840584B (en) Image data classification method and device based on convolutional neural network model
CN110210045A (en) Number evaluation method, device and the storage medium of target area
CN109327608A (en) Method, terminal, server and the system that song is shared
CN109168073A (en) The method and apparatus that direct broadcasting room cover is shown
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN108900925A (en) The method and apparatus of live streaming template are set
CN108897597A (en) The method and apparatus of guidance configuration live streaming template
CN110102052A (en) Virtual resource put-on method, device, electronic device and storage medium
CN108427630A (en) Performance information acquisition methods, device, terminal and computer readable storage medium
CN110418152A (en) It is broadcast live the method and device of prompt
CN109634688A (en) Display methods, device, terminal and the storage medium at session interface
CN113032587A (en) Multimedia information recommendation method, system, device, terminal and server
CN109889858A (en) Information processing method, device and the computer readable storage medium of virtual objects
CN109544117A (en) Meeting room information display method, device, terminal, server and storage medium
CN110535890A (en) The method and apparatus that file uploads
CN108922533A (en) Determine whether the method and apparatus sung in the real sense
CN110532474B (en) Information recommendation method, server, system, and computer-readable storage medium
CN108196813B (en) Method and device for adding sound effect
CN113344650B (en) Method and device for determining quantity of resources, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant