CN104378310B - A kind of resource regulating method and device - Google Patents

A kind of resource regulating method and device Download PDF

Info

Publication number
CN104378310B
CN104378310B CN201410691240.0A CN201410691240A CN104378310B CN 104378310 B CN104378310 B CN 104378310B CN 201410691240 A CN201410691240 A CN 201410691240A CN 104378310 B CN104378310 B CN 104378310B
Authority
CN
China
Prior art keywords
idc
resource
stored
storage region
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410691240.0A
Other languages
Chinese (zh)
Other versions
CN104378310A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410691240.0A priority Critical patent/CN104378310B/en
Publication of CN104378310A publication Critical patent/CN104378310A/en
Application granted granted Critical
Publication of CN104378310B publication Critical patent/CN104378310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of resource regulating method and device, it is related to communication technical field, the resource utilization for solving the problems, such as IDC in the prior art is low.In the technical scheme that the present invention is provided, IDC obtains remaining storage capacity and IDC bandwidth left situations, and capacity index is received by being calculated IDC, control centre is carried out scheduling of resource according to IDC receiving capacity indexes.The embodiment of the present invention is mainly used in the flow of IDC scheduling of resource.

Description

A kind of resource regulating method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of resource regulating method and device.
Background technology
Operator stores user resources by IDC (Internet Data Center, Internet data center).Mesh Before, user increases the demand of IDC, but for operator, is limited by the resource constraints such as electric power, soil, operator Single IDC resource-constraineds, it is impossible to meet user's request, this is accomplished by multiple IDC resource consolidations to together to meet user's Demand.
In the integration process of multiple IDC resources, control centre disclosure satisfy that according to the remaining storage capacity of IDC, lookup The IDC of user's whole demand, and then by current user resources storage to be stored a to IDC.But as IDC needs place The data of reason are increasingly increased sharply, and when storage needs to interact to the user resources in two IDC, if such scheme is carried out IDC scheduling of resource, can cause the horizontal flow between IDC to increase, now between IDC because the data stored in IDC are more and more Data transfer can take more bandwidth, and the total bandwidth of IDC is limited, and data transfer can take between this total bandwidth includes IDC Bandwidth, carry out data transmission and between IDC and user equipment take bandwidth.So, data transfer increases between IDC, inevitable The bandwidth that carries out data transmission between IDC and user equipment can be caused to reduce, so, when IDC scheduling of resource is carried out, IDC with use The bandwidth that family equipment room carries out data transmission is reduced and will reduce data transmission efficiency between IDC and user equipment.
The content of the invention
The embodiment of the invention provides a kind of resource regulating method and device, can significantly improve IDC and user equipment it Between data transmission efficiency.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of resource regulating method, including:
Obtaining IDC can currently accommodate the first operation values of stock number and total resources, and first operation values are used to represent IDC residue storage capacities;
The second operation values of the current available bandwidth and IDC total bandwidths carried out data transmission between IDC and user equipment are obtained, Second operation values are used to represent IDC bandwidth left situations;
Calculated according to first operation values and second operation values, obtain IDC and receive capacity index, to cause scheduling Capacity index is received in center according to the IDC, and scheduling of resource is carried out to the IDC.
A kind of resource scheduling device, it is characterised in that including:
Acquiring unit, the first operation values of stock number and total resources, first fortune can be currently accommodated for obtaining IDC Calculation is worth for representing IDC residue storage capacities;
The acquiring unit, is additionally operable to obtain the current available bandwidth and IDC carried out data transmission between IDC and user equipment Second operation values of total bandwidth, second operation values are used to represent IDC bandwidth left situations;
Computing unit, for being calculated according to first operation values and second operation values, obtains IDC and receives ability to refer to Mark, to cause that control centre receives capacity index according to the IDC, scheduling of resource is carried out to the IDC.
The embodiment of the invention provides a kind of resource regulating method and device, by IDC according to can currently accommodate stock number with The computing of the operation values of total resources, the current available bandwidth carried out data transmission and between IDC and user equipment and IDC total bandwidths Value, is calculated IDC and receives capacity index, the IDC to receive capacity index to be adjusted for indicating control centre to complete resource to be stored Degree.And scheduling of resource is simply carried out according to IDC residue storage capacities in the prior art, do not account between IDC and user equipment Data transfer bandwidth factor, when bandwidth not enough occurs congestion, can influence data transmission efficiency between IDC and user equipment.And Scheme provided in an embodiment of the present invention, enables control centre to receive capacity index to complete scheduling of resource to be stored according to IDC, excellent Change the resource regulating method of IDC, improve data transmission efficiency between IDC and user equipment.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of resource regulating method flow chart provided in an embodiment of the present invention;
Fig. 2 is another resource regulating method flow chart provided in an embodiment of the present invention;
Fig. 3 is another resource regulating method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of resource scheduling device composition schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another resource scheduling device composition schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another resource scheduling device composition schematic diagram provided in an embodiment of the present invention;
Fig. 7 is another resource scheduling device composition schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
A kind of resource regulating method is the embodiment of the invention provides, as shown in figure 1, the method includes:
101st, IDC obtains IDC and can currently accommodate the first operation values of stock number and total resources.
Wherein, the first operation values are used to represent IDC residue storage capacities.It is that the IDC exists that IDC can currently accommodate stock number After data storage, remaining memory space.
102nd, IDC obtains the second of the current available bandwidth and IDC total bandwidths carried out data transmission between IDC and user equipment Operation values.
Wherein, the second operation values are used to represent IDC bandwidth left situations.
103rd, IDC is calculated according to the first operation values and the second operation values, is obtained IDC and is received capacity index, to cause scheduling Capacity index is received in center according to IDC, and scheduling of resource is carried out to IDC.
Wherein, IDC receives capacity index, for indicating control centre to complete scheduling of resource to be stored.IDC will be calculated IDC receive capacity index report control centre, then, control centre according to IDC receive capacity index resource is carried out to IDC Scheduling.It should be noted that in different zones, Dou Youyige control centres are responsible for carrying out resource tune to the IDC in the region Degree.Also, the grade of control centre also has difference, such as, in a city-level region, there is a city-level control centre to be responsible for this The scheduling of IDC in city, and in provincial region, there is a provincial control centre, resource tune is carried out to the IDC in the range of the province Degree.
What deserves to be explained is, in following step 201 and step 202, the step of scheduling of resource is carried out to IDC to control centre Suddenly have been described in detail, will not be described here.
A kind of resource regulating method is the embodiment of the invention provides, by IDC according to can currently accommodate stock number and total resources The operation values of amount, the current available bandwidth carried out data transmission and between IDC and user equipment and the operation values of IDC total bandwidths, count Calculation obtains IDC and receives capacity index, the IDC to receive capacity index for indicating control centre to complete scheduling of resource to be stored.And Scheduling of resource is simply carried out according to IDC residue storage capacities in the prior art, the data not accounted between IDC and user equipment are passed Defeated bandwidth considerations, when bandwidth not enough occurs congestion, can influence data transmission efficiency between IDC and user equipment.And it is of the invention The scheme that embodiment is provided, enables control centre to receive capacity index to complete scheduling of resource to be stored according to IDC, optimizes The resource regulating method of IDC, improves data transmission efficiency between IDC and user equipment.
A kind of resource regulating method is provided in another embodiment that the present invention is provided, is described in detail according to the first computing Value and the second operation values are calculated, and obtain the calculation process that IDC receives capacity index, and this flow includes:
IDC is weighted according to the first operation values and the second operation values that obtain, obtains IDC and receives capacity index.
Wherein, weighted calculation refers to and the first operation values and the second operation values is weighted respectively, also, the first computing The weighted value sum of the weighted value of value and the second operation values is 100%.
It should be noted that, in order to ensure calculate IDC receive capacity index when the first operation values and the second operation values all It is not 0, the weighted value that be respectively the first operation values and the second operation values sets minimum value, and the present embodiment is provided and sets minimum value Scope be 10%-20%.In addition, when the weighted value of the first operation values and the second operation values is set, the size of operation values, with The numerical values recited of the corresponding weighted value of the operation values is directly proportional.For example, the first operation values are bigger than the second operation values, then, first The weighted value of operation values is no less than the weighted value of the second operation values.Here, the present invention is not limited the concrete numerical value of weighted value Fixed, operator sets specific weighted value according to IDC residue storage capacities and the actual conditions of IDC remaining bandwidths.For the ease of First operation values, the second operation values, and the two operation values, when above-mentioned weighted calculation is carried out, can be corresponded to by description respectively Weighted value represented by corresponding letter, for example:A is the first operation values, and B is the second operation values, and M is the power of the first operation values Weight values, N is the weighted value of the second operation values, then IDC receiving capacity indexes now can be represented by formula:IDC receives energy Power index=A*M+B*N.
By being that the first operation values and the second operation values set weighted value, make the operation values of setting weighted value higher in generation IDC accounts for more ratios when receiving capacity index.For example, when IDC receiving capacity indexes are calculated, if the first computing now Value is bigger than the second operation values, then higher by what the weighted value of the first operation values was set, IDC is received capacity index The factor of more first operation values is considered, so that real flexible modulation IDC receives the effect of capacity index.
Another embodiment of the present invention provides a kind of resource regulating method, describes be calculated in this embodiment IDC is received after capacity index, and control centre carries out the idiographic flow of IDC resource allocations, as shown in Fig. 2 this flow includes:
201st, when the corresponding stock number of resource to be stored can currently accommodate stock number less than or equal to an IDC, to treat Storage resource is distributed an IDC and is stored.
Wherein, an IDC is that IDC receives capacity index highest IDC in the first storage region.First storage region For according to the storage region that resource to be stored determines.When there is user to need to be stored in resource to be stored in IDC, user can be first Storage request is sent with the control centre of resource region to be stored, is determined to be provided for user terminal by the control centre The territorial scope of storage service, this territorial scope is the first storage region.
In addition, if the first storage region that control centre determines is the so small range of storage region of city-level, then adjust Degree center can receive the residual memory space of capacity index and IDC treat and deposit when treating storage resource and being stored according to IDC Storage resource is stored.Its purpose is to prevent following situations, such as:It is 40% that first operation values of IDC1 are small, weight It is 40% to be worth, and the second operation values are big by 70%, and weighted value is 60%, and it is 0.58 to obtain the receiving capacity index of IDC 1, and IDC 2 The first operation values it is bigger than IDC 1, be 50%, the second operation values are smaller than IDC's 1, are 50%, and weighted value is 50%, obtains Receiving capacity index to IDC 2 is 0.5, and the capacity index of receiving of IDC 2 is less than the receiving capacity index of IDC 1, but IDC 2 can completely store resource to be stored.Therefore, in sum, when carrying out IDC scheduling of resource in the range of city-level, scheduling Center will also be first to the IDC in affiliated territorial scope the first operation values be compared.If resource to be stored can be stored in completely In a certain IDC, then this kind of IDC of prioritizing selection.In smaller memory range, control centre selection IDC receives capacity index high simultaneously And the enough IDC of residual memory space are stored, the bandwidth that data transfer takes between IDC can be reduced.
Wherein, after the storage that control centre receives user's resource to be stored is asked, storage resource and first can be treated IDC can currently accommodate stock number and be compared, if resource to be stored can currently accommodate stock number less than or equal to an IDC When, then resource to be stored is stored in an IDC.Otherwise, step 202 is performed.
202nd, when the corresponding stock number of resource to be stored can currently accommodate stock number more than an IDC, by money to be stored The equivalent resource of stock number can be currently accommodated with an IDC to be stored in an IDC, and deposited being removed in resource to be stored in source Enter remaining resource outside the resource in an IDC, be stored in the 2nd IDC.
Wherein, the 2nd IDC is, any one or more IDC in addition to an IDC.When resource to be stored is than an IDC Can currently accommodate stock number it is big when, IDC can first store the part in resource to be stored, and the size of this part and an IDC work as Before can to accommodate stock number size identical.Then, the remainder of resource to be stored, in storage to the 2nd IDC.Need explanation It is that remainder is stored in the 2nd IDC and is described in detail by step 301 and step 302 pair.
By remaining resource in resource to be stored in addition to the resource in being stored in an IDC, the 2nd IDC is stored in, such as Fig. 3 institutes Show, this flow includes:
301st, when an IDC can currently accommodate stock number deficiency, according to the mode for determining an IDC, in the first storage The 2nd IDC is determined in region, is remaining resource allocation second in resource to be stored in addition to the resource in being stored in an IDC IDC is stored.
302nd, when all IDC in the first storage region currently can accommodate stock number insufficient total amount, according to determination first The mode of IDC, determines the 2nd IDC in the first storage region, and after all IDC in the first storage region are filled with, the Determine that the 2nd IDC is stored in two storage regions, be except being stored in the first storage region in all IDC in resource to be stored Remaining resource allocation the 2nd IDC outside resource is stored.
Wherein, when in the first storage region resource to be stored can be stored completely, the 2nd IDC be the first storage region in remove Any one or more IDC outside first IDC.When the first storage region cannot store resource to be stored completely, the 2nd IDC It is all IDC in the first storage region in addition to an IDC, and except the exterior domain of the first storage region in the second storage region Interior any one or more IDC.When an IDC cannot store resource to be stored completely, control centre is by resource to be stored The equal resource of stock number can be accommodated with an IDC to be stored in an IDC, then arrive the remainder storage of resource to be stored In other IDC.Control centre can receive capacity index, choosing when remaining resource to be stored is stored according to the IDC of each IDC Selecting IDC in the first storage region receives capacity index time IDC high to be stored.Or, control centre deposits resource to be stored After storing up all IDC in the first storage region, when still having remaining resource to be stored, in control centre of subordinate meeting superior scheduling The heart sends resource storage request, and larger range of scheduling of resource is carried out by higher level control centre, i.e., enter in the second storage region Row scheduling of resource.It should be noted that scheduling is responsible in the region that control centre of subordinate is responsible for scheduling less than higher level control centre Region.For convenience of the understanding of the embodiment of the present invention, will be described below and be illustrated in describing:
For example:4 IDC are had in city 1, respectively IDC1-1, IDC1-2, IDC1-3, IDC1-4, IDC receives energy Power index IDC1-1>IDC1-2>IDC1-3>IDC1-4.Totally 3 IDC, respectively IDC2-1, IDC2-2, IDC2-3 in city 2, IDC receives capacity index IDC2-2>IDC2-1>IDC2-3.
Example 1:In city 1, the receiving ability highest of IDC1-1, IDC1-1 residue storage resource amounts are i, and user's 1 treats Storage resource amount is C1.When user 1 needs to store resource to be stored, control centre is preferentially by the resource to be stored of user 1 point Dispensing IDC1-1 is stored, but C1>I, that is to say, that IDC1-1 cannot accommodate resource to be stored, and control centre is first by portion Divide the resource C1 to be stored of user 1 to be stored in IDC1-1, be filled with IDC1-1, resources left stock number to be stored is C1-i.Adjust Degree center selection receiving ability time IDC1-2 high, remaining storage resource amount is j, and j<C1-i.Treated remaining control centre Storage resource C1-i is stored in IDC1-2, after being filled with IDC1-2, receiving energy of the reselection in addition to IDC1-1 and IDC1-2 Power highest IDC1-3, remaining storage resource amount is k, and k>C1-i-j.Control centre is by remaining resource C1-i-j to be stored It is stored in IDC1-3, the residual memory space of IDC1-3 can completely accommodate the remaining resource to be stored of user 1.Control centre will use The resource C1 to be stored at family 1 is stored to IDC1-1 respectively, and in IDC1-2 and IDC1-3, now, the stock number to be stored of user 1 is completed Storage.
Example 2:The stock number to be stored of user 2 is C2, is preferentially stored in city 1, but all IDC in city 1 Available storage resource and less than resource C2 to be stored, residual memory space is L, i.e. C2 to 4 IDC in city 1 altogether>L, because This, first be stored in the resource C2 to be stored of user 2 in the IDC in city 1 by the control centre in city 1, user 2 after completing to store Remaining resource to be stored is C2-L, then sends resource storage request to the provincial control centre where city 1 and city 2.Save Control centre, the resource allocation IDC remaining to be stored to user 2 in city 2 is stored.In city 2, IDC2-2's connects Receive ability highest, remaining storage resource is o, but cannot accommodate the remaining resource to be stored of user 2, o<C2-L, control centre of province Notify the control centre in city 2.First be stored in the resource of certain customers 2 in IDC2-2 by the control centre in city 2, makes IDC2-2 quilts It is filled with, then by surplus resources C2-L-o storages to the ability of receiving IDC2-1 time high, remaining storage resource is p, and p>C2- L-o, by the resource to be stored storage of remaining user 2 to IDC2-2, now, user's 2 treats at the scheduling of resource center in city 2 Storage resource C2 is stored in whole IDC in city 1 and in the IDC2-1 and IDC2-2 in city 2, and the stock number to be stored of user 2 is complete Into storage.
The territorial scope of the second memory block is more than the territorial scope of the first storage region, and the second storage region includes first Storage region.
Wherein, the first storage region can be city-level region, or provincial region.And the region of the second storage region Scope is bigger than the first storage region, can be it is provincial, great Qu grade, or whole nation level.Such as, resource to be stored is in provincial scope After interior IDC is stored, still do not store and finish, it is also possible to send storage request to great Qu grades of control centre, if should IDC resources still not to be stored enough in great Qu are stored, and can send resource storage request to the control centre of national level.Because The IDC utilization rates of different geographical are significantly different, and the energy consumption along with IDC is very high, so the low region of some IDC utilization rates will Produce the very big wasting of resources.Such as, the remote districts such as the Inner Mongol, Qinghai, operator also has IDC to be distributed in above-mentioned area, Because the user of above-mentioned zone is fewer, although IDC is distributed with, but, its resource utilization is well below such as Beijing, Shanghai etc. The utilization rate of developed regions.So, due to the embodiment of the invention provides bigger IDC scheduling of resource scopes, the IDC moneys in Beijing When source is in short supply, the Inner Mongol and Beijing belong to Hua Bei great areas, and so, Pekinese's resource to be stored is just possibly stored to the Inner Mongol In IDC.So as to by bigger scheduling of resource scope, the utilization rate of IDC can be effectively improved.
Another embodiment that the present invention is provided, for receiving capacity index to be updated the IDC in control centre, wraps Include:
When resource to be stored storage is to an IDC, or storage to after an IDC and the 2nd IDC, update an IDC and/or The IDC of the 2nd IDC receives capacity index.
After IDC often completes once to store, it will recalculate the IDC and receive capacity index, and new IDC is received into ability Index reports control centre.Control centre is carried out more according to new IDC receiving capacity indexes to original IDC receiving capacity indexes Newly, and by the data after renewal the control centre of upper level is reported, the IDC in the control centre of all ranks is received ability Index is updated to new IDC and receives capacity index.
A kind of resource regulating method is the embodiment of the invention provides, by IDC according to can currently accommodate stock number and total resources The operation values of amount, the current available bandwidth carried out data transmission and between IDC and user equipment and the operation values of IDC total bandwidths, count Calculation obtains IDC and receives capacity index, the IDC to receive capacity index for indicating control centre to complete scheduling of resource to be stored.And Scheduling of resource is simply carried out according to IDC residue storage capacities in the prior art, the data not accounted between IDC and user equipment are passed Defeated bandwidth considerations, when bandwidth not enough occurs congestion, can influence data transmission efficiency between IDC and user equipment.And it is of the invention The scheme that embodiment is provided, enables control centre to receive capacity index to complete scheduling of resource to be stored according to IDC, optimizes The resource regulating method of IDC, improves data transmission efficiency between IDC and user equipment.
The embodiment of the present invention additionally provides a kind of resource scheduling device, as shown in figure 4, including:Acquiring unit 41, calculating are single Unit 42.
Acquiring unit 41, the first of stock number and total resources can be currently accommodated for obtaining Internet data center IDC Operation values.
Wherein, the first operation values are used to represent IDC residue storage capacities.
Acquiring unit 41, the current available bandwidth for being additionally operable to carry out data transmission between acquisition IDC and user equipment is total with IDC Second operation values of bandwidth.
Wherein, the second operation values are used to represent IDC bandwidth left situations.
Computing unit 42, calculates for the first operation values obtained according to acquiring unit 41 and the second operation values, obtains IDC Capacity index is received, to cause that control centre receives capacity index according to IDC, scheduling of resource is carried out to IDC.
In the optional building form of another kind that the present invention is provided, the device also includes:
Computing unit 42, the first operation values and the second operation values for being additionally operable to be obtained according to acquiring unit 41 are weighted meter Calculate, obtain IDC and receive capacity index.
As shown in figure 5, the device also includes:IDC scheduling units 51.
IDC scheduling units 51, for can currently be accommodated less than or equal to an IDC when the corresponding stock number of resource to be stored It is that the IDC of resource allocation to be stored is stored during stock number.
Wherein, an IDC is that IDC receives capacity index highest IDC in the first storage region, the first storage region For according to the storage region that resource to be stored determines.
IDC scheduling units 51, are additionally operable to currently accommodate resource more than an IDC when the corresponding stock number of resource to be stored During amount, the equivalent resource of stock number will can be currently accommodated in resource to be stored with an IDC and is stored in an IDC, and will wait to deposit Remaining resource in storage resource in addition to the resource in being stored in an IDC, is stored in the 2nd IDC.
Wherein, the 2nd IDC is, any one or more IDC in addition to an IDC.
As shown in fig. 6, IDC scheduling units 51, also include:The first scheduling scheduling subelement 512 of subelement 511, second.
First scheduling subelement 511, for when an IDC can currently accommodate stock number deficiency, according to the first IDC of determination Mode, the 2nd IDC is determined in the first storage region, be in resource to be stored in addition to the resource in being stored in an IDC Remaining resource allocation the 2nd IDC is stored.
Wherein, the 2nd IDC is any one or more IDC in addition to an IDC in the first storage region;
Second scheduling subelement 512, for stock number total amount currently can be accommodated not as all IDC in the first storage region When sufficient, according to the mode for determining an IDC, the 2nd IDC is determined in the first storage region, and when the institute in the first storage region After thering is IDC to be filled with, determine that the 2nd IDC is stored in the second storage region, be except being stored in the first storage in resource to be stored Remaining resource allocation the 2nd IDC outside resource in region in all IDC is stored.
Wherein, the 2nd IDC is all IDC in addition to an IDC in the first storage region, and is stated in the second storage region Any one or more IDC in the exterior domain of the first storage region.
Wherein, the territorial scope of the second memory block is more than the territorial scope of the first storage region, and the second storage region bag Include the first storage region.
In another optional constituted mode that the present invention is provided, as shown in fig. 7, the device also includes:Updating block 61.
Updating block 61, for being stored to an IDC when resource to be stored, or stores to after an IDC and the 2nd IDC, The IDC for updating an IDC and/or the 2nd IDC receives capacity index.
What deserves to be explained is, the device in the present embodiment as shown in Figures 4 to 7 is above-mentioned as Fig. 1 to Fig. 3 is retouched for realizing The method flow stated.
The embodiment of the invention provides a kind of resource scheduling device, acquiring unit obtain IDC can currently accommodate stock number and The computing of the operation values of total resources, the current available bandwidth carried out data transmission and between IDC and user equipment and IDC total bandwidths Value, computing unit is calculated IDC and receives capacity index, the IDC to receive capacity index to wait to deposit for indicating control centre to complete Storage scheduling of resource.And scheduling of resource is simply carried out according to IDC residue storage capacities in the prior art, do not account for IDC and user The data transfer bandwidth factor of equipment room, when bandwidth not enough occurs congestion, can influence data transfer between IDC and user equipment Efficiency.And scheme provided in an embodiment of the present invention, enable control centre to receive capacity index to complete resource to be stored according to IDC Scheduling, optimizes the resource regulating method of IDC, improves data transmission efficiency between IDC and user equipment.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which by hardware, but the former is more preferably in many cases Implementation method.Based on such understanding, the portion that technical scheme substantially contributes to prior art in other words Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used to so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform method described in each embodiment of the invention.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (8)

1. a kind of resource regulating method, it is characterised in that including:
Obtaining Internet data center IDC can currently accommodate the first operation values of stock number and total resources, first computing It is worth for representing IDC residue storage capacities;
The second operation values of the current available bandwidth and IDC total bandwidths carried out data transmission between IDC and user equipment are obtained, it is described Second operation values are used to represent IDC bandwidth left situations;
Calculated according to first operation values and second operation values, obtain IDC and receive capacity index, to cause control centre Capacity index is received according to the IDC, scheduling of resource is carried out to the IDC;
It is described to be stored when the corresponding stock number of resource to be stored can currently accommodate stock number less than or equal to an IDC An IDC is stored described in resource allocation, and an IDC is IDC receiving capacity indexes in the first storage region Highest IDC, first storage region is, according to the storage region that the resource to be stored determines;
When the corresponding stock number of the resource to be stored can currently accommodate stock number more than an IDC, wait to deposit by described The equivalent resource of stock number can be currently accommodated with an IDC to be stored in an IDC, and wait to deposit by described in storage resource Remaining resource in addition to the resource in being stored in an IDC in storage resource, is stored in the 2nd IDC, and the 2nd IDC is, Any one or more IDC in addition to an IDC.
2. method according to claim 1, described to be calculated according to first operation values and second operation values, obtains IDC receives capacity index, specifically includes:
First operation values and second operation values according to obtaining are weighted, and obtain the IDC and receive ability Index.
3. method according to claim 1, it is characterised in that it is described will be in the resource to be stored except being stored in described first Remaining resource outside resource in IDC, is stored in the 2nd IDC, including:
When an IDC can currently accommodate stock number deficiency, according to the mode for determining an IDC, described first The 2nd IDC is determined in storage region, be its in the resource to be stored in addition to the resource in being stored in an IDC The 2nd IDC is stored described in remaining resource allocation, the 2nd IDC be first storage region in except an IDC it Outer any one or more IDC;
When all IDC in first storage region currently can accommodate stock number insufficient total amount, according to determination described first The mode of IDC, determines the 2nd IDC in first storage region, and as all IDC in first storage region After being filled with, determine that the 2nd IDC is stored in the second storage region, be except being stored in described the in the resource to be stored 2nd IDC described in remaining resource allocation outside resource in one storage region in all IDC is stored;
2nd IDC is all IDC in addition to an IDC in first storage region, and second storage Except any one or more IDC in the exterior domain of first storage region in region;
The territorial scope of second memory block is more than the territorial scope of first storage region, and second storage region Including first storage region.
4. the method according to claims 1 to 3 any one, it is characterised in that including:
After the resource storage to be stored is to an IDC, or an IDC and the 2nd IDC is arrived in storage, update The IDC of the first IDC and/or the 2nd IDC receives capacity index.
5. a kind of resource scheduling device, it is characterised in that including:
Acquiring unit, the first operation values of stock number and total resources can be currently accommodated for obtaining Internet data center IDC, First operation values are used to represent IDC residue storage capacities;
The acquiring unit, is additionally operable to obtain the current available bandwidth and the total bands of IDC carried out data transmission between IDC and user equipment Second operation values wide, second operation values are used to represent IDC bandwidth left situations;
Computing unit, calculates according to first operation values and second operation values, obtains IDC and receives capacity index, so that Obtain control centre and capacity index is received according to the IDC, scheduling of resource is carried out to the IDC;
IDC scheduling units, for can currently accommodate stock number less than or equal to an IDC when the corresponding stock number of resource to be stored When, be the resource allocation to be stored described in an IDC stored, an IDC be the IDC receive capacity index exist Highest IDC in first storage region, first storage region is, according to the storage region that the resource to be stored determines;
The IDC scheduling units, are additionally operable to currently hold more than an IDC when the corresponding stock number of the resource to be stored Receive stock number when, will can currently be accommodated with an IDC in the resource to be stored the equivalent resource of stock number be stored in it is described In first IDC, and by remaining resource in the resource to be stored in addition to the resource in being stored in an IDC, is stored in In two IDC, the 2nd IDC is any one or more IDC in addition to an IDC.
6. device according to claim 5, it is characterised in that
The computing unit, first operation values and second operation values for being additionally operable to be obtained according to the acquiring unit are entered Row weighted calculation, obtains the IDC and receives capacity index.
7. device according to claim 5, it is characterised in that the IDC scheduling units also include:
First scheduling subelement, for when an IDC can currently accommodate stock number deficiency, according to determination described first The mode of IDC, determines the 2nd IDC in first storage region, is except being stored in described the in the resource to be stored 2nd IDC described in remaining resource allocation outside resource in one IDC is stored, and the 2nd IDC is the described first storage Any one or more IDC in region in addition to an IDC;
Second scheduling subelement, for can currently accommodate stock number insufficient total amount as all IDC in first storage region When, according to the mode for determining an IDC, the 2nd IDC is determined in first storage region, and when described first After all IDC in storage region are filled with, determine that the 2nd IDC is stored in the second storage region, be described to wait to deposit 2nd IDC described in remaining resource allocation in storage resource in addition to the resource being stored in first storage region in all IDC Stored;
2nd IDC is all IDC in addition to an IDC in first storage region, and second storage Except any one or more IDC in the exterior domain of first storage region in region;
The territorial scope of second memory block is more than the territorial scope of first storage region, and second storage region Including first storage region.
8. the device according to claim 5 to 7 described in any one, it is characterised in that described device also includes:
Updating block, for when the resource to be stored storage a to IDC, or storage is to an IDC and described After 2nd IDC, the IDC for updating an IDC and/or the 2nd IDC receives capacity index.
CN201410691240.0A 2014-11-26 2014-11-26 A kind of resource regulating method and device Active CN104378310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410691240.0A CN104378310B (en) 2014-11-26 2014-11-26 A kind of resource regulating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410691240.0A CN104378310B (en) 2014-11-26 2014-11-26 A kind of resource regulating method and device

Publications (2)

Publication Number Publication Date
CN104378310A CN104378310A (en) 2015-02-25
CN104378310B true CN104378310B (en) 2017-07-04

Family

ID=52556974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410691240.0A Active CN104378310B (en) 2014-11-26 2014-11-26 A kind of resource regulating method and device

Country Status (1)

Country Link
CN (1) CN104378310B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154953A (en) * 2016-03-03 2017-09-12 阿里巴巴集团控股有限公司 Resource provider method and device
CN108259532B (en) * 2016-12-29 2021-01-22 中国电信股份有限公司 Scheduling method and device of cloud resources
CN110460879B (en) * 2019-08-28 2021-11-26 北京奇艺世纪科技有限公司 Video request scheduling method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035660A (en) * 2009-09-24 2011-04-27 ***通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102123084A (en) * 2011-01-19 2011-07-13 浪潮(北京)电子信息产业有限公司 Resource scheduling method and system in cloud computing operating system
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN103297349A (en) * 2013-05-30 2013-09-11 北京蓝汛通信技术有限责任公司 Method and device for adjusting network resource provision modes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672748B1 (en) * 2011-09-19 2017-04-05 Huawei Technologies Co., Ltd. Load prediction method, apparatus and energy-saving control communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035660A (en) * 2009-09-24 2011-04-27 ***通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102123084A (en) * 2011-01-19 2011-07-13 浪潮(北京)电子信息产业有限公司 Resource scheduling method and system in cloud computing operating system
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN103297349A (en) * 2013-05-30 2013-09-11 北京蓝汛通信技术有限责任公司 Method and device for adjusting network resource provision modes

Also Published As

Publication number Publication date
CN104378310A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
US10317924B2 (en) Collaborative load balancing within a community of energy nodes
CN107392513B (en) Order processing method and apparatus
CN104378310B (en) A kind of resource regulating method and device
US11451890B2 (en) Virtual optical network-oriented spectrum resource trading method and system
CN107994654A (en) Charging pile clustered control adaptive tracking control method
CN106851747A (en) Dynamic resource allocation method and device in a kind of GSM
CN104426188A (en) Wireless charging method, wireless charging system, wireless charging device and wearable device
CN106528265A (en) Virtual machine management method and system based on distributed SAN (Storage Area Network) storage architecture
CN102595419B (en) Method and system for spectrum allocation in cognitive radio network
CN110166381A (en) It is a kind of to distribute the computer installation of power telecom network resource, device and method
CN115310726B (en) Calculation method of battery replacement threshold of shared electric bicycle, server and storage medium
CN104426953A (en) Method and apparatus for distributing calculation resources
CN110011858A (en) It is a kind of that mapping method is optimized based on load balancing and the switch reconfigured
CN100558071C (en) A kind of Link Resource Manager method and the transmission network and the network equipment
CN115134369B (en) CDN node distribution method and device, electronic equipment and storage medium
CN104244422B (en) Resource allocation methods and device
CN105049475B (en) The data efficient storage optimization method and system of extensive community
CN105391491A (en) Bandwidth assignment method and bandwidth assignment system applied to satellite communication system
CN108965168A (en) A kind of car networking based on utility function is dominant resource fairness distribution optimization method
CN110769023B (en) Point-to-point content distribution network system based on intelligent home gateway
CN107797766A (en) A kind of method and apparatus for creating volume
CN104376366B (en) A kind of system of selection of optimal network maximum-flow algorithm and equipment
CN103546522B (en) Determine the method and distributed memory system of storage server
CN110466384A (en) A kind of charging module group power distribution method and device
CN109981345A (en) A kind of mapping method of virtual network for distribution communication network fault self-recovery

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