CN103973458A - Method and device for metering service resources - Google Patents

Method and device for metering service resources Download PDF

Info

Publication number
CN103973458A
CN103973458A CN201310048151.XA CN201310048151A CN103973458A CN 103973458 A CN103973458 A CN 103973458A CN 201310048151 A CN201310048151 A CN 201310048151A CN 103973458 A CN103973458 A CN 103973458A
Authority
CN
China
Prior art keywords
resource
metering
resource factor
assessed value
factor
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
CN201310048151.XA
Other languages
Chinese (zh)
Other versions
CN103973458B (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 Mobile Communications Group Co Ltd
Original Assignee
China Mobile 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310048151.XA priority Critical patent/CN103973458B/en
Publication of CN103973458A publication Critical patent/CN103973458A/en
Application granted granted Critical
Publication of CN103973458B publication Critical patent/CN103973458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a device for metering service resources. The method for metering the service resources includes steps of firstly, acquiring resource service information applied by users; secondly, splitting resource factors of the resource service information; thirdly, computing rates of the resource service information according to the resource factors. The method and the device for metering the service resources have the advantages that acquired basic accessed values can be comprehensively metered according to the different resource factors, weighted metering strategies relevant to ratios of preset amounts to actual usage amounts and temporary resource ordering weighting rate strategies are set for SLA (service level agreement) information of the various resource factors of the users, accordingly, the service resources can be conveniently and reasonably priced in the future, the users can be promoted to rationally apply for the resources in the aspect of the comprehensive metered values, excessive resource application behavior can be suppressed, the requirement on the fairness among the users can be met, and the integral cloud computing resources can be assuredly efficiently utilized.

Description

A kind of metering method of Service Source and metering device
Technical field
The present invention relates to communication technique field, refer in particular to a kind of metering method and metering device of Service Source.
Background technology
In mechanics of communication, the metering method of Service Source has determined resource overall utilization rate and provides service quality etc. for user.
Taking the metering method under cloud computing environment as example, at present mostly use for reference management through quantification thinking and the model in BOSS territory for the metering of computational resource, Internet resources and storage resources, as shown in Figure 1, the main monitoring resource statistic unit by resource pool is added up the service condition of resource, and reports the management through quantification unit of cloud operation platform by interface.In service catalogue, record the service inventory that user can access, the running status of monitoring resource statistic unit charge of overseeing node, and completing user uses the statistics of node situation.Can trace back to the concrete resource using of user according to user's order, according to resource pool, resource service condition be carried out to data acquisition, can be aggregated into management through quantification unit and carry out gathering of resource service condition and analyze.
Resource metering is conventionally divided into timing metering and measures two kinds of modes by use amount.
Timing metering refers to that user is the service condition tolerance of the resource service of its time per unit, and irrelevant with its consumption, this metering method realizes simple, user is easy to accept, but impair the fairness between user, can not combine with the service condition of resource reality, be also not suitable for many COS.
By the metering of use amount, user's expense is completely relevant to the actual service condition of resource, is relatively applicable to the situation of the many resource platforms of cloud computing.There are at present following several metered scheme relevant to use amount for Internet resources:
Intelligence market metering method, main thought is in the time of network congestion, to rely on auction mechanism to determine the processing of dividing into groups.User must show to be willing to mean the ultimate cost (bid amounts bid) that each grouping pays before using network.In the time of network congestion, network can calculate a threshold value according to current network volumeter, and the grouping of only having bid amounts to be greater than this threshold value just can be transmitted, and the each grouping being transmitted can be carried out quantitative statistics according to this threshold value.
Response type metering method, according to the dynamic re-set price of the congestion condition of network, adopts closed-loop fashion to notify user, utilizes network to approach the rising of price when congested, makes user reduce traffic carrying capacity, to relax network congestion.
Priority metering method, for supporting the IP network of priority queueing.Router is put into packet in the queue of different priorities and queues up.According to priority forward, time delay or abandon.User must specify its priority needing also for the flow of different priorities pays different expenses when signing.
Equivalent bandwidth metering method, give user the responsibility of statement traffic flow parameters, require user to use exactly one group of simple numeral (as token bucket parameters) to describe Business Stream feature as far as possible, then according to the approximation of these parameter estimation equivalent bandwidths, using this as resource reservation with the foundation of metering.
Edge metering method, transfers to network edge the calculating of customer charge, instead of calculates in mode piecemeal along whole path.It seems from user, in the contract that metering is tactful, price plan is all user and the NP of access point place, specify; In the time that service relates to multiple NP, dividing of the cost between the multiple NP along forwarding on the warp of road and income is completely transparent for user.
Existing by simple timing metered scheme, do not consider the user's competition in the actual service condition of resource, make resource instream factor low; Scheme based on use amount lays particular emphasis on the metering to single network resource more, lacks support to many services type, and does not consider the cost expense that reserved resource that actual user applies for causes resource provider.
Due to the service-enriched providing under cloud platform, resource kind complexity, stoichiometric point is not often single; And in the time of a large number of users Concurrency Access, system resource will inevitably become a kind of scarce resource, occurs the competition between user, if do not adopt rational scheduling strategy, can cause the decline of all service quality, even service termination.Solve scarcity of resources problem infeasible by system own resources scheduling strategy, because can cause the unjustness between user.Supply with to ensure that by excess user's service quality is also infeasible, can cause like this significant wastage of resource, do not meet the demand for development that cloud computing resources is adjusted flexibly.Therefore need to adopt one group of metering method based on service classification, float by dosage rate, excitation user selects rational COS according to the application requirements of oneself, thereby makes system that better Differentiated Services is provided, and improves cloud computing platform entirety resource utilization.
Summary of the invention
Based on more than, the object of technical solution of the present invention is to provide a kind of metering method and metering device of Service Source, can improve the overall utilization rate of Service Source.
One aspect of the present invention provides a kind of metering method of Service Source, and described metering method comprises:
Step 1, obtains the resource service information that user applies for;
Step 2, carries out the fractionation of the resource factor to described resource service information;
Step 3, carries out the rate of described resource service information and calculates according to the described resource factor.
Preferably, described metering method, also comprises after described step 2:
According to the priority of the resource factor described in each and/or demand degree, calculate the basic assessed value of the corresponding described resource factor;
In wherein said step 3, according to described basic assessed value, carry out the rate of described resource service information and calculate, calculate the metering assessed value that resource factor pair is answered described in each.
Preferably, described metering method, described metering method also comprised before step 1:
Preserve in advance described in each of a basis the resource factor under different service ability ranks, priority level and/or demand degree condition, and corresponding relation between corresponding described basic assessed value.
Preferably, described metering method, described according to described basic assessed value, the step of calculating the metering assessed value that resource factor pair is answered described in each specifically comprises:
Step 3 A, obtains the service condition information of the resource factor described in each;
Step 3 B, according to described service condition information, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
Preferably, described metering method, described service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor.
Preferably, described metering method, described step 3 B specifically comprises:
Judge whether the described resource factor is first use, if judged result is no, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated; If the determination result is YES, whether the resource residual amount that further judgement and described resource factor pair are answered is less than predetermined value, if the determination result is YES, on the described basic assessed value basis of answering at described resource factor pair, carries out escalation rate calculating; If judged result is no, should on the basis of described basic assessed value, be weighted rate calculating at described resource factor pair.
Preferably, described metering method, also comprises after described step 3:
According to described metering assessed value, described basic assessed value is revised.
The present invention also provides a kind of metering device of Service Source on the other hand, and described metering device comprises:
Resource acquisition unit, the resource service information of applying for for obtaining user;
Resource Factorization unit, for carrying out the fractionation of the resource factor to described resource service information;
Resource Factor Score unit, calculates for the rate of carrying out described resource service information according to the described resource factor.
Preferably, described metering device, also comprises:
Resource factor model storehouse, for according to the service ability rank of the resource factor described in each, priority level and/or demand degree, calculates the basic assessed value of the corresponding described resource factor;
Wherein said resource Factor Score unit is according to described basic assessed value, carries out the rate of described resource service information and calculates, and calculates the metering assessed value that resource factor pair is answered described in each.
Preferably, described metering device, the resource factor is preserved described in each in advance under different priorities and/or demand degree condition in described resource factor model storehouse, and corresponding relation between corresponding described basic assessed value.
Preferably, described metering device, described resource Factor Score unit is according to described basic assessed value, and the mode of calculating the metering assessed value that resource factor pair is answered described in each is specially:
According to the service condition information of the resource factor described in each, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
Preferably, described metering device, described service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor.
Preferably, described metering device, described resource Factor Score unit specifically comprises:
Information subelement, for obtaining the described basic assessed value that resource factor pair is answered described in each, and for obtaining the service condition information of the resource factor described in each;
Judgment sub-unit, be used for according to described service condition information, judge whether the corresponding described resource factor is first use, and in the time judging the corresponding described resource factor for first use, further judge whether the resource residual amount of the corresponding described resource factor is less than predetermined value;
Metering subelement, when when the described resource factor be first use, is weighted rate calculating on the described basic assessed value basis of answering at described resource factor pair; When the described resource factor is first use, and while being less than predetermined value with the resource residual amount that described resource factor pair is answered, on the described basic assessed value basis of answering at described resource factor pair, carry out escalation rate calculating; When the described resource factor is first use, and while being not less than described predetermined value with the resource residual amount that described resource factor pair is answered, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated.
Preferably, described metering device also comprises:
Management through quantification unit, for feeding back to described metering assessed value in described resource factor model storehouse;
Revise described basic assessed value according to described metering assessed value in described resource factor model storehouse.
At least one in specific embodiment of the invention technique scheme has following beneficial effect:
Described metering method and metering device, on the one hand according to the different resource factors, obtain basic assessed value and carry out comprehensive metering, on the other hand for each resource factor S of user LA information, the weighting metering strategy that setting is relevant with actual use amount ratio with scheduled volume, and the weighting rate strategy of temporary resource order.So both can be so that following arm's length pricing also can promote user's rationality application resource from comprehensive metering value, suppress the excessively behavior of application resource, when having met the fairness between user, ensure the efficient utilization of cloud computing resources entirety.
Brief description of the drawings
Fig. 1 represents the structural representation of Service Source metering system under prior art cloud computing environment;
Fig. 2 represents the schematic flow sheet of the metering method of Service Source of the present invention;
Fig. 3 represents described in the specific embodiment of the invention, in metering method, according to the service condition information of the resource factor, to calculate the idiographic flow schematic diagram of metering assessed value;
Fig. 4 represents the structural representation of the metering device of Service Source described in the specific embodiment of the invention;
Fig. 5 represents to adopt the workflow schematic diagram of service unit described in the specific embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, the specific embodiment of the invention is described in detail.
If Fig. 2 is the schematic flow sheet of the metering method of Service Source as described in the specific embodiment of the invention.Consult Fig. 2, described metering method comprises step:
S210, obtains the resource service information that user applies for;
S220, carries out the fractionation of the resource factor to described resource service information;
S230, carries out the rate of described resource service information and calculates according to the described resource factor.
Described metering method is carried out the fractionation of the resource factor by the resource service information that user is applied for, for the different resource factors, can be according to practical capacity, resource requirement degree and priority etc., carry out respectively rate calculating, realize the comprehensive metering as required to Service Source, impel user's rationality application resource, thereby reach the effect of the overall utilization rate that improves Service Source.
Preferably, described metering method also comprises:
According to the service ability rank of the resource factor described in each, priority level and/or demand degree, calculate the basic assessed value of the corresponding described resource factor.
Metering method described in the specific embodiment of the invention, by preserving in advance described in each the resource factor under different service ability ranks, priority level and/or demand degree condition, and the mode of the corresponding relation between corresponding described basic assessed value, can calculate the basic assessed value of the corresponding described resource factor.
Adopt when said method, in described step S230, according to described basic assessed value, carry out the rate of described resource service information and calculate, calculate the metering assessed value that resource factor pair is answered described in each.
In described step S220, taking a computational resource as example, the split described resource factor comprises: CPU check figure, memory size, transmission volume, amount of bandwidth, this domain capacity and/or this domain memory size.
Metering method described in the employing specific embodiment of the invention, after user signs service-level agreement SLA and comes into force, automatically carrying out the resource factor according to the resource service type in service-level agreement etc. disassembles, and analyze the empirical value (determine priority and the demand degree of the resource factor) of practical business to resource factor instream factor by magnanimity, calculate the basic assessed value of the described resource factor.
Taking cloud computing platform as example, metering method described in the employing specific embodiment of the invention, first for many resource service type of cloud computing platform, such as calculated examples (physical machine, virtual machine), data transport service, stores service, resilient ip address, backup services etc., carry out the resource factor and disassemble, adopt the different metering resource factors (CPU, internal memory, graphic process unit GPU, transmission volume, bandwidth, backup window etc.) to represent the resource service information of user's application.
Preferably, in resource factor model storehouse, preserve in advance those resource factors, often newly-increased a kind of resource service all can increase the corresponding resource factor newly in resource factor model storehouse.But the active service ability of this resource factor of each resource service, resource requirement degree and/or priority etc. are formulated SLA classification, this SLA classification can be stored in resource factor model storehouse in advance, also preserve in advance described in each the resource factor under different priorities and/or demand degree condition by resource factor model storehouse, and the mode of corresponding relation between corresponding described basic assessed value.Like this, determine the base price of reaching an agreement between user and resource provider by SLA classification, the resource factor is as the minimum statistics unit of metering.
Lift row explanation, a calculated examples can be according to the mapping relations of resource service information and the resource factor in resource factor model storehouse, resource service information automatic disassemble or customization are disassembled as CPU check figure, memory size, this domain capacity, local disc-type etc., and resource factor model storehouse is also for calculating service ability rank, priority and the demand for services degree etc. of each resource factor.Wherein ability grade by resource factor model storehouse according to the existing resource ability actual conditions automatic classification of the corresponding resource factor; Demand degree derives from the comprehensive statistics of user to the historical conditions of demand of the corresponding resource factor; Priority shows the preferential satisfaction degree to the resource bid of the corresponding resource factor.
According to the COMPREHENSIVE CALCULATING of above parameter, resource factor model storehouse calculates corresponding score value and drops on different intervals, preserve in advance described in each the resource factor under different service ability ranks, priority level and/or demand degree condition by looking into get, and the corresponding relation between corresponding described basic assessed value, obtain classification and the corresponding basic assessed value of the corresponding resource factor, form as shown in table 1.As plain edition, the different service class such as CPU calculation type, internal memory enhancement mode, basic assessed value that can be corresponding different.Afterwards, be basis according to this basis assessed value of calculating, then use the meterings such as state time measurement, internal memory service condition according to calculated examples CPU under this service class.
Table 1
Adopt above-mentioned metering method, in step S230, described according to described basic assessed value, the step of calculating the metering assessed value that resource factor pair is answered described in each specifically comprises:
Obtain the service condition information of the resource factor described in each;
According to described service condition information, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
In described metering method, above-mentioned service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor.
Wherein, according to described service condition information, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain the step of corresponding described metering assessed value as shown in Figure 3, comprise step:
S310, judges whether the described resource factor is first use, if judged result is no, performs step S320 downwards, if the determination result is YES, performs step S330 downwards;
S320, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated;
S330, whether the resource residual amount that further judgement and described resource factor pair are answered is less than predetermined value, if the determination result is YES, performs step S340 downwards, if judged result is no, performs step S320;
S340, carries out escalation rate calculating on the described basic assessed value basis of answering at described resource factor pair.
Particularly, above-mentioned weighting rate and escalation rate can adopt following formula to calculate:
Weighting rate: for the resource of applying for just in use, the statistical computation resource factor is subscribed resource and real resource service condition, adjusts the weight coefficient of base rate according to ratio.Computing formula is:
F=f(T)u1/u2
Wherein f(T) be the rate of judging busy idle according to metering minimum time section T; U1 subscribes stock number in the T time period, u2 is the real resource amount of making in the T time period.
This kind of rate model is in the situation that user fully uses subscribing resource, and the rate of generation is little, can promote resource user to order as required, reduces the wasting of resources.
Escalation rate: for the resource of the new application of user or provisional application, determine weighting rate according to the rare situation of such resource.When the resource factor u of surplus resources is lower than certain threshold value θ in the resource pool limiting, will be defined as scarce resource, user will use auction mode to obtain, the moving rate r of metering width of auction is produced according to historical data analysis by resource factor model storehouse, specifically adopts following formula to calculate:
F = 1 u &GreaterEqual; &theta; Max ( r 1 , r 2 . . . . . . r n ) u < &theta;
According to above-mentioned two kinds of rates, for the actual comprehensive metering value of certain service class be:
R = P &Sigma; 1 n F / n
Wherein, P is the basic assessed value of this resource factor place service class, and a general service class is by a resource factor measuring, but the situation that monitoring is measured for many resources factor, variable is n Factors Weighting.
Adopt above-mentioned metering method, for each resource service type, determine after service class and underlying price (basic assessed value) according to resource factor model storehouse, the actual rate (metering assessed value) of the concrete resource factor also can be subject to weighting metering strategy and the tactful impact of metering of floating, thereby obtain the resource actual metered value of COMPREHENSIVE CALCULATING, the actual service condition of evaluation services resource.
Best, adopt metering method described in the specific embodiment of the invention, after step S230, also comprise step: according to described metering assessed value, described basic assessed value is revised.
By feeding back described metering assessed value, the basic assessed value in resource factor model storehouse is revised, can reach the object of impelling the reasonable adjustresources application of user specification.
Metering method described in the specific embodiment of the invention, adopt technique scheme, can realize the comprehensive metering of the many Service Sources under cloud computing environment, unsteady metering model taking the resource factor as granularity can carry out rate calculating according to real-time resource service condition, thereby promote user's rationality application resource, both the fairness between user can be met, the efficient utilization of cloud computing resources entirety can be ensured again.
The specific embodiment of the invention also provides a kind of metering device of Service Source on the other hand, and as shown in Figure 4, described metering device 100 comprises:
Resource acquisition unit 110, the resource service information of applying for for obtaining user; It will be understood by those skilled in the art that user passes through user interactions interface 180 and in service catalogue 160, signs SLA agreement, therefore specifically can from service catalogue 160, obtain the resource service information that user applies for;
Resource Factorization unit 120, for carrying out the fractionation of the resource factor to described resource service information;
Resource Factor Score unit 130, calculates for the rate of carrying out described resource service information according to the described resource factor.
Particularly, described metering device also comprises:
Resource factor model storehouse 140, for according to the service ability rank of the resource factor described in each, priority level and/or demand degree, calculates the basic assessed value of the corresponding described resource factor;
Wherein said resource Factor Score unit 130 is according to described basic assessed value, carries out the rate of described resource service information and calculates, and calculates the metering assessed value that resource factor pair is answered described in each.
Preferably, the resource factor is preserved described in each in advance under different priorities and/or demand degree condition in described resource factor model storehouse 140, and corresponding relation between corresponding described basic assessed value.
Wherein, described resource Factor Score unit 130 is according to described basic assessed value, and the mode of calculating the metering assessed value that resource factor pair is answered described in each is specially:
According to the service condition information of the resource factor described in each, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
Wherein, described service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor, described metering device 100 can also comprise monitoring resource statistic unit 170, for obtain the service condition information of the above-mentioned resource factor from resource pool 200.
Described resource Factor Score unit 130 specifically comprises:
Information subelement 131, for obtaining the described basic assessed value that resource factor pair is answered described in each, and for obtaining the service condition information of the resource factor described in each;
Judgment sub-unit 132, be used for according to described service condition information, judge whether the corresponding described resource factor is first use, and in the time judging the corresponding described resource factor for first use, further judge whether the resource residual amount of the corresponding described resource factor is less than predetermined value;
Metering subelement 133, when when the described resource factor be first use, is weighted rate calculating on the described basic assessed value basis of answering at described resource factor pair; When the described resource factor is first use, and while being less than predetermined value with the resource residual amount that described resource factor pair is answered, on the described basic assessed value basis of answering at described resource factor pair, carry out escalation rate calculating; When the described resource factor is first use, and while being not less than described predetermined value with the resource residual amount that described resource factor pair is answered, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated.
Wherein, the concrete mode that resource Factor Score unit 130 adopts above-mentioned weighting rate or escalation rate to measure assessed value calculating can be consulted the above description about metering method, does not repeat them here.
Preferably, described metering device 100 also comprises
Management through quantification unit 150, for feeding back described metering assessed value in described resource factor model storehouse 140;
Revise described basic assessed value according to described metering assessed value in described resource factor model storehouse 140.According to described metering assessed value, described basic assessed value is revised.
In addition, the resource that described management through quantification unit 150 also can be used for adding up in a period of time is used metering situation, judges the height of resource utilization according to the historical service condition of user.
According to said structure, the idiographic flow that metering device carries out rate quantitative statistics to Service Source described in the specific embodiment of the invention, as Fig. 5 represents, specifically comprises step:
S510, user signs grade of service SLA agreement according to service catalogue 160 and resource provider;
S520, judges whether agreement comes into force, and performs step S530 in the time of agreement Pending The Entry Into Force; In the time of protocol validation, perform step S540 downwards;
S530, agreement stops;
S540, resource acquisition unit 110 obtains the resource service information that user applies for, resource Factorization unit 120 carries out the fractionation of the resource factor to this resource service information, the basic assessed value P of the corresponding described resource factor, according to the service ability rank of each resource factor, priority level and/or demand degree, is calculated in resource factor model storehouse 140;
S550, resource Factor Score unit 130 obtains basic assessed value P and the metering resource factor;
S560, resource Factor Score unit 130 further judges whether this resource factor is first use; When judged result is while being no, execution step S570; When judged result is when being, execution step S630;
S570, the real-time use amount of the resource factor in least unit timing statistics is added up in resource Factor Score unit 130, and this statistics can obtain from monitoring resource statistic unit 170;
S580, the busy time-domain of spare time that this resource service is used is judged in resource Factor Score unit 130;
S590, resource Factor Score unit 130 is weighted rate in conjunction with resource factor reservation amount and calculates, and obtains the metering assessed value that this resource factor pair is answered;
S600, the metering assessed value of resource Factor Score unit 130 comprehensive each resource factors, obtains the metering result of the actual behaviour in service of resource service information, and sends result to management through quantification unit 150;
S610, management through quantification unit 150 will measure result feedback to resource factor model storehouse 140;
S620, revise basic evaluation value according to metering result in resource factor model storehouse 140, and according to all users, the attention degree of certain class resource factor is produced to the metering escalation rate r of competition separately;
S630, resource Factor Score unit 130 further judges whether this resource factor surplus is less than predetermined threshold, also determines whether scarce resource, when judged result is when being, performs step S640 downwards, when judged result is no, execution step S570; Wherein this resource factor surplus can obtain from monitoring resource statistic unit 170;
S640, resource Factor Score unit 130 carries out escalation rate calculating according to competition escalation rate r, and wherein this competition escalation rate r derives from the historical data analysis in resource factor model storehouse 140, represents the attention degree of all users to certain class resource factor.
Metering device and metering method described in the specific embodiment of the invention, multiple resources cloud computing being provided according to COS according to resource factor model storehouse model is on the one hand disassembled into the different resource factors, obtain basic assessed value and carry out comprehensive metering, on the other hand for each resource factor S of user LA information, the weighting metering strategy that setting is relevant with actual use amount ratio with scheduled volume, and the weighting rate strategy of temporary resource order.So both can be so that following arm's length pricing also can promote user's rationality application resource from comprehensive metering value, suppress the excessively behavior of application resource, when having met the fairness between user, ensure the efficient utilization of cloud computing resources entirety.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. a metering method for Service Source, is characterized in that, described metering method comprises:
Step 1, obtains the resource service information that user applies for;
Step 2, carries out the fractionation of the resource factor to described resource service information;
Step 3, carries out the rate of described resource service information and calculates according to the described resource factor.
2. metering method as claimed in claim 1, is characterized in that, after described step 2, also comprises:
According to the priority of the resource factor described in each and/or demand degree, calculate the basic assessed value of the corresponding described resource factor;
In wherein said step 3, according to described basic assessed value, carry out the rate of described resource service information and calculate, calculate the metering assessed value that resource factor pair is answered described in each.
3. metering method as claimed in claim 2, is characterized in that, described metering method also comprised before step 1:
Preserve in advance described in each the resource factor under different service ability ranks, priority level and/or demand degree condition, and corresponding relation between corresponding described basic assessed value.
4. metering method as claimed in claim 2, is characterized in that, described according to described basic assessed value, and the step of calculating the metering assessed value that resource factor pair is answered described in each specifically comprises:
Step 3 A, obtains the service condition information of the resource factor described in each;
Step 3 B, according to described service condition information, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
5. metering method as claimed in claim 4, is characterized in that, described service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor.
6. metering method as claimed in claim 5, is characterized in that, described step 3 B specifically comprises:
Judge whether the described resource factor is first use, if judged result is no, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated; If the determination result is YES, whether the resource residual amount that further judgement and described resource factor pair are answered is less than predetermined value, if the determination result is YES, on the described basic assessed value basis of answering at described resource factor pair, carries out escalation rate calculating; If judged result is no, should on the basis of described basic assessed value, be weighted rate calculating at described resource factor pair.
7. the metering method as described in claim 2 to 6 any one, is characterized in that, after described step 3, also comprises:
According to described metering assessed value, described basic assessed value is revised.
8. metering method as claimed in claim 1, it is characterized in that, in described step 2, comprise for the split described resource factor of computational resource: CPU check figure, memory size, transmission volume, amount of bandwidth, this domain capacity and/or this domain memory size, described method is applied to cloud computing platform.
9. a metering device for Service Source, is characterized in that, described metering device comprises:
Resource acquisition unit, the resource service information of applying for for obtaining user;
Resource Factorization unit, for carrying out the fractionation of the resource factor to described resource service information;
Resource Factor Score unit, calculates for the rate of carrying out described resource service information according to the described resource factor.
10. metering device as claimed in claim 9, is characterized in that, described metering device also comprises:
Resource factor model storehouse, for according to the service ability rank of the resource factor described in each, priority level and/or demand degree, calculates the basic assessed value of the corresponding described resource factor;
Wherein said resource Factor Score unit is according to described basic assessed value, carries out the rate of described resource service information and calculates, and calculates the metering assessed value that resource factor pair is answered described in each.
11. metering devices as claimed in claim 10, is characterized in that, the resource factor is preserved described in each in advance under different priorities and/or demand degree condition in described resource factor model storehouse, and corresponding relation between corresponding described basic assessed value.
12. metering devices as claimed in claim 10, is characterized in that, described resource Factor Score unit is according to described basic assessed value, and the mode of calculating the metering assessed value that resource factor pair is answered described in each is specially:
According to the service condition information of the resource factor described in each, with described basic assessed value basis that described in each, resource factor pair is answered on carry out escalation rate or weighting rate is calculated, obtain corresponding described metering assessed value.
13. metering devices as claimed in claim 12, is characterized in that, described service condition information comprises actual use amount information, scheduled volume information and/or the balance information of the described resource factor.
14. metering devices as claimed in claim 13, is characterized in that, described resource Factor Score unit specifically comprises:
Information subelement, for obtaining the described basic assessed value that resource factor pair is answered described in each, and for obtaining the service condition information of the resource factor described in each;
Judgment sub-unit, be used for according to described service condition information, judge whether the corresponding described resource factor is first use, and in the time judging the corresponding described resource factor for first use, further judge whether the resource residual amount of the corresponding described resource factor is less than predetermined value;
Metering subelement, when when the described resource factor be first use, is weighted rate calculating on the described basic assessed value basis of answering at described resource factor pair; When the described resource factor is first use, and while being less than predetermined value with the resource residual amount that described resource factor pair is answered, on the described basic assessed value basis of answering at described resource factor pair, carry out escalation rate calculating; When the described resource factor is first use, and while being not less than described predetermined value with the resource residual amount that described resource factor pair is answered, the rate that is weighted on the described basic assessed value basis of answering at described resource factor pair is calculated.
15. metering devices as described in claim 10 to 14 any one, is characterized in that, described metering device also comprises:
Management through quantification unit, for feeding back to described metering assessed value in described resource factor model storehouse;
Revise described basic assessed value according to described metering assessed value in described resource factor model storehouse.
CN201310048151.XA 2013-02-06 2013-02-06 The metering method and metering device of a kind of Service Source Active CN103973458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310048151.XA CN103973458B (en) 2013-02-06 2013-02-06 The metering method and metering device of a kind of Service Source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310048151.XA CN103973458B (en) 2013-02-06 2013-02-06 The metering method and metering device of a kind of Service Source

Publications (2)

Publication Number Publication Date
CN103973458A true CN103973458A (en) 2014-08-06
CN103973458B CN103973458B (en) 2018-03-23

Family

ID=51242528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310048151.XA Active CN103973458B (en) 2013-02-06 2013-02-06 The metering method and metering device of a kind of Service Source

Country Status (1)

Country Link
CN (1) CN103973458B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333456A (en) * 2014-10-22 2015-02-04 浪潮(北京)电子信息产业有限公司 Service charging method and system under cloud computing environment
CN106789118A (en) * 2016-11-28 2017-05-31 上海交通大学 Cloud computing charging method based on service-level agreement

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702650A (en) * 2009-11-11 2010-05-05 中兴通讯股份有限公司 Counting method of network computing service and network computing service providing system
US8019873B2 (en) * 2008-09-30 2011-09-13 Microsoft Corporation Mesh platform utility computing portal
US20110264571A1 (en) * 2010-04-26 2011-10-27 Computer Associates Think, Inc. Brokering and payment optimization for cloud computing
CN102364889A (en) * 2011-11-07 2012-02-29 中国移动通信集团山西有限公司 Shared pool resource charging method and device
CN102404126A (en) * 2011-11-25 2012-04-04 浪潮电子信息产业股份有限公司 Charging method of cloud computing during application process
CN102521662A (en) * 2011-11-29 2012-06-27 曙光信息产业(北京)有限公司 Consumption charging method in cloud computing environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019873B2 (en) * 2008-09-30 2011-09-13 Microsoft Corporation Mesh platform utility computing portal
CN101702650A (en) * 2009-11-11 2010-05-05 中兴通讯股份有限公司 Counting method of network computing service and network computing service providing system
US20110264571A1 (en) * 2010-04-26 2011-10-27 Computer Associates Think, Inc. Brokering and payment optimization for cloud computing
CN102364889A (en) * 2011-11-07 2012-02-29 中国移动通信集团山西有限公司 Shared pool resource charging method and device
CN102404126A (en) * 2011-11-25 2012-04-04 浪潮电子信息产业股份有限公司 Charging method of cloud computing during application process
CN102521662A (en) * 2011-11-29 2012-06-27 曙光信息产业(北京)有限公司 Consumption charging method in cloud computing environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEE SHIN YEO: "Pricing for Utility-Driven Resource Management and Allocation in Clusters", 《INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS》 *
YEO, CHEE SHIN: "Autonomic Metered Pricing for aUtility Computing Service", 《FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333456A (en) * 2014-10-22 2015-02-04 浪潮(北京)电子信息产业有限公司 Service charging method and system under cloud computing environment
CN106789118A (en) * 2016-11-28 2017-05-31 上海交通大学 Cloud computing charging method based on service-level agreement
CN106789118B (en) * 2016-11-28 2020-11-17 上海交通大学 Cloud computing charging method based on service level agreement

Also Published As

Publication number Publication date
CN103973458B (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN104994123B (en) A kind of traffic scheduling method of CDN cloud platforms and CDN cloud platforms
CN100365984C (en) Service quality charging method of internet business based on service grade protcol
CN102498696B (en) Usage policing in data networks
Huang et al. An optimistic job scheduling strategy based on QoS for cloud computing
US20140229210A1 (en) System and Method for Network Resource Allocation Considering User Experience, Satisfaction and Operator Interest
CN104038392A (en) Method for evaluating service quality of cloud computing resources
WO2016206486A1 (en) Promotion information processing method, apparatus, and system
CN104796449B (en) Content delivery method, device and equipment
CN105992233B (en) The capacity baseline calculation method and device of network service
CN109861850B (en) SLA-based stateless cloud workflow load balancing scheduling method
CN103164663B (en) A kind of server overload guard method based on sliding window and device
Suakanto et al. Performance measurement of cloud computing services
US20160000900A1 (en) Oligomeric influenza immunogenic compositions
CN106169121A (en) The seat layered approach of call center and system
CN106302227A (en) Hybrid network stream scheduling method and switch
CN109542608A (en) A kind of cloud artificial tasks dispatching method based on mixing queuing network
CN109697637A (en) Object type determines method, apparatus, electronic equipment and computer storage medium
CN112332404B (en) Intelligent management system and method for heating service
CN104679444B (en) The dynamic adjusting method and device of virtualized memory resource
Neglia et al. Geographical load balancing across green datacenters: A mean field analysis
CN104994149A (en) Cloud video service oriented resource provision method
CN104994150A (en) Request allocation method oriented to cloud video service
Chen et al. Overload control in QoS-aware web servers
Shang et al. An Intelligent Capacity Planning Model for Cloud Market.
CN104811467A (en) Comprehensive effect data handling method

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