CN104468136A - Billing method, analysis center and billing center - Google Patents

Billing method, analysis center and billing center Download PDF

Info

Publication number
CN104468136A
CN104468136A CN201410855958.9A CN201410855958A CN104468136A CN 104468136 A CN104468136 A CN 104468136A CN 201410855958 A CN201410855958 A CN 201410855958A CN 104468136 A CN104468136 A CN 104468136A
Authority
CN
China
Prior art keywords
resource
tenant
arbitrary
described arbitrary
use amount
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
CN201410855958.9A
Other languages
Chinese (zh)
Other versions
CN104468136B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410855958.9A priority Critical patent/CN104468136B/en
Publication of CN104468136A publication Critical patent/CN104468136A/en
Application granted granted Critical
Publication of CN104468136B publication Critical patent/CN104468136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a billing method, an analysis center and a billing center. The billing method includes the steps that the analysis center inquires the zone corresponding to each lessee and the usable area, corresponding to the lessee, in each zone according to the mark of each lessee, at least one usable area corresponding to each lessee is obtained, the project corresponding to each lessee is inquired according to the mark of the lessee, the resource information of resources used by each lessee are inquired under the usable areas corresponding to the lessee, and the use amounts of the resources are counted; finally, the resource use information of each lessee is obtained, a resource use statistic summary table is generated and sent to the billing center, and the billing center obtains the resource use information of each lessee according to the resource use statistic summary table, and determines the expenses of each lessee according to a resource price list and the resource use information of the lessee. The use of various cloud service resources can be billed in a mixed mode, and multiple cloud platforms in the multiple zones can be billed in a mixed mode.

Description

Charging method, analysis center and charging center
Technical field
The embodiment of the present invention relates to Internet technical field, particularly relates to a kind of charging method, analysis center and charging center.
Background technology
It is (English: Infrastructure as a Service that namely infrastructure of increasing income serve, be called for short: IaaS) cloud platform OpenStack is free software and the open source code project of a US National Aeronautics and Space Administration and famous cloud computing company Rackspace cooperative development, OpenStack is not a software, but the management project of a cloud platform of increasing income, OpenStack supports the cloud environment of nearly all type, project objective is to provide to be implemented simply, can expand on a large scale, abundant, the cloud computing management platform that standard is unified, it is publicly-owned cloud, privately owned cloud provides easily extensible, cloud computing platform flexibly.The development of current OpenStack is very fast, and its community has had more than 170 enterprises and 3000 developers.These mechanisms and developer choice for use OpenStack create oneself privately owned cloud platform.
But progress into academic research along with cloud computing and business applies the stage combined, the business application of cloud computing becomes cloud computing gradually and develops new direction.Under the effect of this large development trend, OpenStack also can gradually to commercialization future development.But at present the focus of OpenStack concentrates on the fields such as virtual, network, safety always, also not for the billing mechanism of OpenStack, and some existing billing mechanisms can only carry out charging to single cloud service or single cloud platform, do not support to use the resource of multiple cloud service to carry out mixing charging, do not support to carry out mixing charging to multi partition (Region) cloudy platform yet.
Summary of the invention
The embodiment of the present invention provides a kind of charging method, analysis center and charging center, in order to provide a kind of billing mechanism being applicable to OpenStack, prior art can be solved do not support to use the resource of multiple cloud service to carry out mixing charging, also not support the problem carrying out mixing charging to the cloudy platform of multi partition.
First aspect, provides a kind of charging method, and carry out charging to the resource use of cloud service under being applicable to cloud computing, described method comprises:
The subregion that first tenant is corresponding according to the identified query of the first tenant, and inquire about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtain at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
The engineering that first tenant is corresponding according to the identified query of described first tenant, obtains at least one engineering that described first tenant is corresponding;
According to the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described of at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
The use amount of resource information to each resource according at least one resource described is added up, and obtains the resource using information of described first tenant;
Resource Using statistics summary table is generated according to the resource using information of described all tenants;
Described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
In conjunction with first aspect, in the implementation that the first is possible, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, the resource information of at least one resource described in described basis is carried out statistics to the use amount of each resource and is comprised:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
In conjunction with any one in first aspect or its above-mentioned possible implementation, in the implementation that the third is possible, the available area that described in the described subregion that first tenant is corresponding according to the identified query of the first tenant and each described subregion, the first tenant is corresponding is an inquiry batch to the described charging center that is sent to by described resource Using statistics summary table;
Described described resource Using statistics summary table is sent to charging center after, perform next inquiry batch after the preset duration of interval.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, in described resource Using statistics summary table, the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
Second aspect, provides a kind of charging method, and carry out charging to the resource use of cloud service under being applicable to cloud computing, described method comprises:
The resource Using statistics summary table that receiving and analyzing center sends;
The resource using information of each tenant is obtained according to described resource Using statistics summary table;
The expense of each tenant is obtained according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
In conjunction with second aspect, in the implementation that the first is possible, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, the described resource using information obtaining each tenant according to described resource Using statistics summary table comprises:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, the expense that the described resource using information according to resource pricing table and each tenant obtains each tenant comprises:
Inquire about the unit price that described resource pricing table obtains each resource that each tenant uses;
The unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
The expense of each resource used according to each tenant calculates the total cost of each tenant.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, described default charging policy comprises:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
In conjunction with second aspect or its any one possible implementation above-mentioned, in the 6th kind of implementation, also comprise:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
The third aspect, provides a kind of analysis center, and carry out charging to the resource use of cloud service under being applicable to cloud computing, described analysis center comprises:
Enquiry module, for the subregion that the first tenant according to the identified query of the first tenant is corresponding, and inquires about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtains at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
Described enquiry module, also for the engineering that the first tenant according to the identified query of described first tenant is corresponding, obtains at least one engineering that described first tenant is corresponding;
Acquisition module, for the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described according at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
Analysis module, adds up for the use amount of resource information to each resource according at least one resource described, obtains the resource using information of described first tenant;
Described analysis module, for generating resource Using statistics summary table according to the resource using information of described all tenants;
Interface module, for described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
In conjunction with the third aspect, in the implementation that the first is possible, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described analysis module specifically for:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
In conjunction with any one in the third aspect or its above-mentioned possible implementation, in the implementation that the third is possible, to described interface module, described resource Using statistics summary table being sent to charging center from the available area that the first tenant described in the described enquiry module subregion that the first tenant is corresponding according to the identified query of the first tenant and each described subregion is corresponding is an inquiry batch;
After described resource Using statistics summary table is sent to charging center by described interface module, after the preset duration of interval, perform next described inquiry batch.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation, in described resource Using statistics summary table, the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
Fourth aspect, provides a kind of charging center, and carry out charging to the resource use of cloud service under being applicable to cloud computing, described charging center comprises:
Interface module, for the resource Using statistics summary table that receiving and analyzing center sends;
Acquisition module, for obtaining the resource using information of each tenant according to described resource Using statistics summary table;
Accounting module, for obtaining the expense of each tenant according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
In conjunction with fourth aspect, in the implementation that the first is possible, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
In conjunction with the first possible implementation of fourth aspect, in the implementation that the second is possible, described acquisition module specifically for:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
In conjunction with the implementation that the second of fourth aspect is possible, in the implementation that the third is possible, described accounting module comprises:
Unit price enquiry module, obtains the unit price of each resource that each tenant uses for inquiring about described resource pricing table;
Resource accounting module, for the unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
Tenant's accounting module, the expense for each resource used according to each tenant calculates the total cost of each tenant.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
In conjunction with the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation, described default charging policy comprises:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
In conjunction with fourth aspect or its any one possible implementation above-mentioned, in the 6th kind of implementation, described charging center also comprises: price adjustment module, and described price adjustment module is used for:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
The embodiment of the present invention provides a kind of charging method, analysis center and charging center, first by the mark of analysis center according to tenant, inquire about the subregion that each tenant is corresponding, and inquire about in the corresponding each subregion of each tenant to should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the configuration diagram of Openstack in prior art;
The structural representation of the charge system that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of charging method that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of charging method that Fig. 4 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of charging method that Fig. 5 provides for the embodiment of the present invention;
The schematic flow sheet of the resource use amount statistical method in the another kind of charging method that Fig. 6 provides for the embodiment of the present invention;
The schematic flow sheet of the tenant's expense statistical method in the another kind of charging method that Fig. 7 provides for the embodiment of the present invention;
The schematic flow sheet of the setting resource pricing operation in the another kind of charging method that Fig. 8 provides for the embodiment of the present invention;
In the another kind of charging method that Fig. 9 provides for the embodiment of the present invention, the schematic flow sheet recorded is operated to setting resource pricing;
The schematic flow sheet of the keeper's enquiry fee in the another kind of charging method that Figure 10 provides for the embodiment of the present invention;
The schematic flow sheet of the tenant's enquiry fee in the another kind of charging method that Figure 11 provides for the embodiment of the present invention;
The schematic flow sheet that resource price is adjusted in the another kind of charging method that Figure 12 provides for the embodiment of the present invention;
The structural representation of a kind of analysis center that Figure 13 provides for the embodiment of the present invention;
The structural representation of a kind of charging center that Figure 14 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 15 provides for the embodiment of the present invention;
The structural representation of the accounting module that Figure 16 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 17 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 18 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 19 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 20 provides for the embodiment of the present invention;
The structural representation of the another kind of analysis center that Figure 21 provides for the embodiment of the present invention;
The structural representation of the another kind of charging center that Figure 22 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Should understand, the technical scheme of the embodiment of the present invention can be applied to OpenStack cloud environment, under being applicable to cloud computing, charging is carried out to the resource use of cloud service, the system architecture of OpenStack can as shown in Figure 1, and OpenStack cloud environment can comprise multiple subregion (Region), or also can be called data center (Data Center, be called for short: DC), subregion can be understood as a kind of geographic area, is physical concept, and a subregion is established in such as Beijing.A subregion is established in Wuhan, and general operator can dispose a set of OpenStack system (i.e. a set of cloud platform) in zones of different.Available area is (English: Availability Zone, be called for short: AZ) be the cutting again within the scope of subregion, can comprise the actual inside Free Region that can be understood as OpenStack system of multiple AZ, AZ in a region, an OpenStack system may correspond to one or more AZ.The system architecture that the technical scheme of the embodiment of the present invention is applied can be as shown in Figure 2, comprise: charge system, and multiple subregions that charge system will be added up, this charge system comprises charging center and analysis center, this analysis center is used for being responsible for original measurement data acquisition, by obtaining the initial data of the resource service condition of the cloud service of different OpenStack system from different subregion, and stored in analytical database (Analysis Data), analytic statistics is carried out again according to the initial data in this analytical database, the KPI Key Performance Indicator generated based on the consumer behavior of tenant is (English: Key PerformanceIndicator, be called for short: KPI), this KPI is supplied to charging center (Billing Center), this KPI can be such as the use amount to (cloud service) resource of each tenant.Charging center obtains the price of each resource from billing database (Billing Data), thus carries out charging according to this KPI to the consumer behavior of each tenant, and charging center can also adjust the price of various resource according to this KPI.
The embodiment of the present invention provides a kind of charging method, and carry out charging to the resource use of cloud service under being applicable to cloud computing, as shown in Figure 3, the method comprises:
Step 101, the subregion that the first tenant is corresponding according to the identified query of the first tenant, and inquire about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtain at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants.
Step 102, the engineering that the first tenant is corresponding according to the identified query of described first tenant, obtain at least one engineering that described first tenant is corresponding.
Step 103, the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described according at least one engineering described, obtain the resource information of at least one resource that described first tenant uses.
Step 104, to add up according to the use amount of resource information to each resource of at least one resource described, obtain the resource using information of described first tenant.
Step 105, generate resource Using statistics summary table according to the resource using information of described all tenants.
Step 106, described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
On the other hand, the embodiment of the present invention also provides another kind of charging method, and carry out charging to the resource use of cloud service under being applicable to cloud computing, as shown in Figure 4, the method comprises:
The resource Using statistics summary table that step 201, receiving and analyzing center send.
Step 202, obtain the resource using information of each tenant according to described resource Using statistics summary table.
Step 203, obtain the expense of each tenant according to the resource using information of resource pricing table and each tenant.
The resource type of described resource comprises: example (Instance), mirror image (Image), simple storage service is (English: Simple Storage Service, be called for short: S3), elastomer block stores, and (English: ElasticBlock Store, be called for short: EBS), elastic load equilibrium is (English: Elastic Load Balancing, be called for short: ELB), and the one in flow (Traffic).
The embodiment of the present invention provides a kind of charging method, by the mark of analysis center according to tenant, inquire about the subregion that each tenant is corresponding, and inquire about in the corresponding each subregion of each tenant should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The technical scheme more clearly understood the embodiment of the present invention to enable those skilled in the art and provide, below by specific embodiment, the charging method that embodiments of the invention provide is described in detail, for convenience of description, below for the first tenant, this first tenant can be any one tenant in all tenants, and as shown in Figure 5, the method comprises:
Step 301, analysis center's subregion that the first tenant is corresponding according to the identified query of the first tenant the available area corresponding with described first tenant inquired about in the corresponding each subregion of described first tenant, obtain at least one available area that described first tenant is corresponding.
Exemplary, before data start collection, the interface Get/v3/domains of KeyStone (authentication module) can call to inquire about Domains (territory) list (domain list comprises the information of each subregion) in analysis center, set up the relation between each tenant, subregion and available area according to Domains list, can inquire in subregion corresponding to each tenant, each subregion should the available area of tenant according to this relation.
Therefore utilize above-mentioned relation, mark (such as tenant ID) according to the first tenant inquires about subregion corresponding to the first tenant, and the available area corresponding with the first tenant inquired about in each subregion corresponding to the first tenant, at least one available area that the first tenant is corresponding can be obtained, an available area list can be generated for this at least one available area.Wherein, the mark of this first tenant can be the tenant ID of this first tenant, and this tenant ID can be such as Token (access) ID.
Step 302, analysis center's engineering that the first tenant is corresponding according to the identified query of described first tenant, obtain at least one engineering that described first tenant is corresponding.
Exemplary, the interface Get/v3/projects that KeyStone can call according to the mark of each tenant in analysis center inquires about engineering corresponding to this tenant (projects), therefore corresponding according to identified query first tenant of the first tenant engineering, just can obtain at least one engineering that the first tenant is corresponding, can be that this at least one engineering generates engineering list.
Step 303, analysis center, according to the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described of at least one engineering described, obtain the resource information of at least one resource that described first tenant uses.
Exemplary, can the interface Get/v2/meters of Ceilometer (statistical module) call in analysis center? q.op=eq & q.value={value} & q.field={field} inquires about measure object, and this measure object is exactly the resource that uses of each engineering and resource information thereof.
Therefore according to mark (such as engineering ID) the calling interface Get/v2/meters of this at least one engineering? q.op=eq & q.value={value} & q.field={field} just can count the resource information of at least one resource that the first tenant uses, and a Resources list can be generated for the resource information of this at least one resource, this list can be stored in analytical database in case subsequent statistical time call.
Wherein, the resource information of each resource can comprise: the resource identification of this resource and resource type.Exemplary, resource type can be: example, mirror image, S3, EBS, ELB, and the one in flow.Wherein, if the resource type of a certain resource is example, then the resource identification of this resource is example ID, can be virtual machine specification title (VM SpecName), wherein VM represents virtual machine (VirtualMachine), Spec represents specification (Specification), if the resource type of a certain resource is mirror image, then the resource identification of this resource is mirror image ID, if the resource type of a certain resource is EBS, then the resource identification of this resource is volume (volume) ID or snapshot (Snapshot) ID, if the resource type of a certain resource is ELB, then the resource identification of this resource is bucket ELB title (Name), if the resource type of a certain resource is S3, then the resource identification of this resource is bucket ID.
Step 304, analysis center add up according to the use amount of the resource information of at least one resource described to each resource, obtain the resource using information of described first tenant.
Exemplary, is analysis center to the interface Get/v2/meters/{meter_name}/statistics of a certain resource transfer Ceilometer? period={value} & q.op=eq & q.value={value} & q.field={field} & groupby={value} carries out adding up the use amount that can obtain this resource, therefore each resource in the Resources list of this interface first tenant of recursive call is added up, just can obtain the use amount of each resource that the first tenant uses, the use amount of each resource the first tenant used can as the resource using information of the first tenant.
Wherein, for dissimilar resource, the tolerance of its resource use amount is also different, such as:
If the resource type of arbitrary resource is example, then adds up virtual machine corresponding to this resource according to the resource identification (VMSpecName) of this resource and use duration as the use amount of this resource.Wherein, when statistics virtual machine uses duration, using hour as linear module, duration calculating by a hour less than a hour can be used.
If the resource type of this arbitrary resource is mirror image, then use duration as the use amount of this resource virtual machine corresponding for example belonging to this resource according to the resource identification (mirror image ID) of this resource.It should be noted that, because mirror image is the child resource of example, so do not do independent statistics for the use amount of mirror image, the virtual machine that the example belonging to it is corresponding uses duration as the use amount of this mirror image.
If the resource type of this arbitrary resource is EBS, then adds up the usage space size of this resource according to the resource identification (volume ID or snapshot ID) of this resource and use duration as the use amount of this resource.Wherein, statistics duration can using hour as linear module, use duration calculating by a hour less than a hour, statistics usage space size can using GB as linear module, it should be noted that, due to the restriction of Openstack, possibly cannot inquire the use amount of each volume or snapshot, total EBS use amount of each engineering can only be inquired, now in the use amount only need adding up the EBS that each engineering uses.
If the resource type of this arbitrary resource is S3, then adds up the usage space size of this resource according to the resource identification (bucket ID) of this resource and use duration as the use amount of this resource.Wherein, statistics duration can using hour as linear module, and use duration calculating by a hour less than a hour, statistics usage space size can using GB (GB) as linear module.It should be noted that, when adding up the use amount of S3, only needing to record this S3 and belonging to which subregion, not needing to record this S3 and belong to which available area.
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as this resource of this arbitrary resource according to the resource identification (ELB title) of this resource.Same, statistics duration using hour as linear module, can use duration calculating by a hour less than a hour.
If the resource type of this arbitrary resource is flow, then using the use amount of flow value as this resource of adding up this resource according to the resource identification of this resource corresponding for this resource.Wherein, flow value can be per hour for linear module with GB/.
This completes the statistics of the resource using information to the first tenant, for the resource using information of other tenants, statistical method is identical with the first tenant, just can obtain the resource using information of all tenants by repeatedly performing step 301 ~ step 304.
Step 305, analysis center generate resource Using statistics summary table according to the resource using information of all tenants.
Concrete, the resource using information of all tenants carries out gathering and just can obtain resource Using statistics summary table by analysis center, this resource Using statistics summary table can be called that t_resource_meter shows, and records the use amount of each resource that each tenant uses in this table.
In this resource Using statistics summary table, the corresponding entry of each resource, tenant identification can be comprised in the entry that arbitrary resource is corresponding, resource type, resource identification, resource use amount, query time stabs, wherein, tenant identification is the mark of the tenant using this arbitrary resource, resource type is the resource type of this arbitrary resource, described resource identification is the resource identification of this arbitrary resource, described resource use amount is the use amount that tenant corresponding to this tenant identification uses this arbitrary resource, query time stamp is the time point of this resource use amount of inquiry, wherein, in same inquiry batch, query time stamp in the entry that each resource is corresponding is identical.In addition, other information can also be comprised, such as, the subregion described in resource and available area.In addition, above-mentioned tenant identification can be tenant ID, also can be engineering ID, use amount can be subdivided into consumption and duration, wherein duration can be subdivided into and use duration (minute) and newly-increased hourage, this newly-increased hourage is used to using duration to carry out carry, for by use duration less than one hour by one hour statistics, can be follow-up expense and calculate foundation is provided.Exemplary, an entry of resource Using statistics summary table can be as shown in table 1:
Table 1
" VARCHAR " in table 1 represents variable length string, and " NUMERIC " represents numerical value, and " M " represents necessary (Must), the form of TIME_STAMP can be set to " YYYYDDMMHH:MM ", wherein, YYYYDDMM represents a year life, HH:MM to represent hour and minute.The TIME_STAMP obtaining all entries in this resource Using statistics summary table in an acquisition tasks is identical, reserved field refer to other possible resource types.In addition, about the use of newly-increased hourage, such as, first time gathers, USETIME=15 minute, NEW_ADDED_HOUR=1, and charging calculated according to 1 hour; Second time gathers, USETIME=30, NEW_ADDED_HOUR=0 because 15 minutes time, according to 1 hourly, thus 30 minutes time can not repeat charging, until when USETIME=75, NEW_ADDED_HOUR=1, the like.
In addition, schedule backup can be carried out to resource Using statistics summary table, such as can monthly back up, the concrete beginning of each month can preserve as history lists after existing resource Using statistics summary table carries out rename, the resource Using statistics summary table that regeneration is up-to-date, such as suppose that current month is December, can by existing table called after t_resource_meter_201412, then again according to the data creation t_resource_meter of recent statistics.In addition, can also arrange, the holding time of this history lists, after exceeding this holding time, automatically delete this history lists.
Described resource Using statistics summary table is sent to charging center by step 306, analysis center.
Just complete an inquiry batch from step 301 to step 306, after the preset duration of interval, again can perform step 301 to step 306 carry out next one inquiry batch.
The resource Using statistics summary table that step 307, receiving and analyzing center, charging center send.
Step 308, charging center obtain the resource using information of each tenant according to described resource Using statistics summary table.Concrete, as shown in Figure 6, can comprise the following steps:
Step 3081, determine the tenant belonging to every bar entry according to the described tenant identification in each entry in described resource Using statistics summary table.
Step 3082, obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
Concrete, according to described in step 305, tenant identification (TENANT_ID) is had in each entry, just can know which tenant is this entry belong to according to this tenant identification, thus just can know the use amount of each resource that the resource of each tenant uses according to all entries of each tenant.
Step 309, charging center determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.Concrete, as shown in Figure 7, can comprise the following steps:
Step 3091, inquire about the unit price that described resource pricing table obtains each resource that each tenant uses.
Exemplary, resource pricing table can pre-set, and is stored in billing database, and charging center is when charging, and access billing database just can inquire about the information in this resource pricing table.Wherein, a price entry in resource pricing table can be as shown in table 2.
Table 2
" VARCHAR " in table 2 represents variable length string, and " NOT NULL " represents non-NULL, under same subregion, and identical type but to belong to the price of the resource of different AZ different.
Step 3092, the unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses.
Exemplary, the unit price of the corresponding resource of this price entry can be obtained according to Unit and MeasurementUnit in table 2.Therefore, query resource price catalog can obtain the unit price of each resource that each tenant uses, again according to the use amount of each resource that each tenant obtained in step 3082 uses, utilize the charging policy preset just can calculate the expense of each resource that each tenant uses.
Wherein, the charging policy preset can comprise:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then this tenant uses the expense of this resource to be the unit price that virtual machine corresponding to this resource uses this resource of duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then this tenant uses the expense of this resource virtual machine that example is corresponding belonging to this resource to use the unit price of this resource of duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then this tenant uses the expense of this resource to be the unit price that the usage space size * of this resource uses this resource of duration *; Wherein, EBS may be volume or snapshot, and therefore the expense of volume and snapshot should separately be added up.
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then this tenant uses the expense of this resource to be the unit price that the usage space size * of this resource uses this resource of duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then this tenant uses the expense of this resource to be the unit price of this resource of use duration * of this resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then this tenant uses the expense of this resource to be the unit price of this resource of flow value * of this resource; Wherein, should be divided into uplink traffic, downlink traffic for flow, uplink traffic and downlink traffic separate charging, and unit price is identical.
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
Wherein, after the expense obtaining each resource, it can be the expense generation resource taximeter of each resource, this table can be designated as " t_resource_price ", wherein, schedule backup can be carried out to resource taximeter, such as can monthly back up, existing resource taximeter can carry out preserving as history lists after rename by the concrete beginning of each month, the resource taximeter that regeneration is up-to-date, such as suppose that current month is December, can by existing table called after t_resource_price_201412, then again according to this t_resource_price of data creation of recent statistics.In addition, can also arrange, the holding time of this history lists, after exceeding this holding time, automatically delete this history lists.
Exemplary, generating t_resource_price can comprise:
Wherein, PayAccountName is Send only Account title, LinkedAccountName is for associate Send only Account title, PayerAccountId is payer account ID, LinkedAccountId is interlock account ID, CloudType is varieties of clouds type, ProductName is name of product, Region is subregion, TenantID is tenant ID, ResourceType is resource type, ResourceID is resource ID, ResourceSpecificationType is resource specification type, AllUsage is use amount, AllFee is expense, ItemDescription is descriptor, Time is chargeable time.
Step 3093, the expense of each resource used according to each tenant calculate the total cost of each tenant.
According to the expense of each resource that step 3092 obtains, sue for peace according to tenant's dimension, just can obtain the total cost of each tenant, and generate resource charging summary table for each tenant, this resource charging summary table can be designated as " t_resource_price_total ", and concrete can comprise:
Wherein, PayAccountName is Send only Account title, LinkedAccountName is for associate Send only Account title, PayerAccountId is payer account ID, LinkedAccountId is interlock account ID, CloudType is varieties of clouds type, ProductName is name of product, Region is subregion, TenantID is tenant ID, ResourceType is resource type, ResourceID is resource ID, ResourceSpecificationType is resource specification type, AllUsage is use amount, AllFee is expense, UsageRound is that use amount rounds, ItemDescription is descriptor, Time is chargeable time.
Just complete the charging process to each tenant from step 301 to step 309, this process can repeat according to certain hour interval, such as, can monthly perform once, to obtain each tenant expense monthly.
In addition, optionally, as shown in Figure 8, the charging method that the embodiment of the present invention provides can also comprise:
The setting resource pricing request that step 401, charging center are triggered from keeper's equipment receiving management person by administrator interfaces; The request of described setting resource pricing is: setting price request, the one of deleting in price request and inquiry price request.
Step 402, charging center perform corresponding setting resource pricing operation according to the request of described setting resource pricing to described resource pricing table.
Step 403, charging center return the response of setting resource pricing to described keeper's equipment.
Concrete, described administrator interfaces can be a kind of interactive interface be presented on keeper's equipment, the operation of setting resource pricing is realized by this interactive interface for keeper, exemplary, described administrator interfaces can be provided with three Tab (label) pages, one of them Tab page operates for the price of EBS/ELB/S3/ flow, and a Tab page is used for carrying out price operation to mirror image, and another Tab page is used for carrying out price operation to virtual machine specification.Wherein, each Tab page is provided with the list item of this page of corresponding resource, in each list item, contains resource type, present price, descriptor, update time and operation push-button etc.When after a list item in a selected Tab page, the operation push-button clicking this list item will demonstrate price and arrange interface in this administrator interfaces, and this price is arranged on interface can be provided with price input field, descriptor input field and confirmation button and cancellation button usually.Wherein, price input field is for inputting the current target price that will set, descriptor is for inputting the description about this operation, such as descriptor can be " price is successfully updated to 5.88 Euros by 3.88 Euros by keeper A; this price will come into force next month ", after the information in price input field and descriptor input field has inputted, click and confirmed that button confirms.
Keeper will trigger the setting price interface generation setting price request calling correspondence and send to charging center after clicking this confirmation button, this setting price interface can be PUT/v1/pricing, wherein PUT represents method of calling, / v1/pricing represents the URL (Uniform Resource Identifier) of interface, this setting price request comprises: the resource identification of the resource of request setting price, resource type, resource price (the current target price that will set), affiliated area (affiliated subregion, or affiliated subregion and available area), the unit of value (as Euro, dollar, RMB etc.) and linear module (as hour, GB or GB/ is per hour).In addition, can also comprise in this setting price request: operator message, descriptor etc., exemplary, the content of setting price request can be as shown in table 3.
Table 3
" O " in table 3 represents optional (Optional), in addition, exemplary, and setting price request can as follows shown in message examples:
Charging center performs operation corresponding to setting price request after receiving above-mentioned setting price request, described corresponding to described resource pricing table execution according to the request of the described setting resource pricing setting resource pricing operation now in step 402 specifically can comprise:
Judge whether there is the price entry corresponding with described resource identification, described resource type and described affiliated area in described resource pricing table;
If there is not described price entry, then create described price entry, described price entry comprises described resource identification, described resource type, described resource price, described affiliated area, the described unit of value, described linear module and entry-into-force time;
If there is described price entry, then according to described resource price, the resource price in described price entry is modified.
Can be understood as, setting price request can be divided into two kinds, insert (Insert) price and renewal (Updata) price respectively, it is insert price or upgrade price that current operation is not distinguished in charging center, when charging center receives a newly-increased price request, first according to the resource identification in setting price request, whether described resource type and described affiliated area are inquired about in resource pricing table exists corresponding price entry, if do not exist, then think that current operation is insert price, a newly-built price entry corresponding with this setting price request, generally include in this newly-built price entry: the resource identification in described setting price request, resource type, resource price, affiliated area, the unit of value, linear module, and the entry-into-force time, wherein, resource price in newly-built price entry usually can comprise present price and next month price, present price and next month price all should be set to the resource price in described setting price request.If exist, then think that current operation is upgrade price, then the present price in already present price entry is remained unchanged, price next month is revised as the resource price in described setting price request.
If the request of described setting resource pricing is described setting price request, described setting resource pricing response comprises: successful operation message.Exemplary, this successful operation message can be " STATUS CODE 202Accept " message.
Or, keeper's point triggers by this administrator interfaces the deletion price interface generation deletion price request calling correspondence and sends to charging center, can this deletion price interface be DELETE/v1/{region}/pricing/{resourceType}/{ resourceName}? az={az}, wherein DELETE is method of calling, does is the URL of this deletion price interface /v1/{region}/pricing/{resourceType}/{ resourceName}? az={az}, described deletion price request comprises: the resource identification of the resource of price is deleted in request, resource type and affiliated area (affiliated subregion, or affiliated subregion and available area).Exemplary, the content of setting price request can be as shown in table 4.
Table 4
Charging center performs after receiving described deletion price request and deletes operation corresponding to price request, and described corresponding to described resource pricing table execution according to the request of the described setting resource pricing setting resource pricing operation now in step 402 specifically can comprise:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
In described price entry, delete bit is labeled as and deletes corresponding numerical value.
Can be understood as, to the deletion action of resource pricing, and the price entry in resource pricing table is deleted by non-immediate, but is denoted as by the flag bit of corresponding record " 1 (deleting) ", ensures not affect of that month billing operation.
If the request of described setting resource pricing is described deletion price request, described setting resource pricing response comprises: successful operation message.Exemplary, this successful operation message can be " STATUS CODE 204Not Content " message.
Or, keeper's point triggers by this administrator interfaces the inquiry price interface generated query price request calling correspondence and sends to charging center, can this inquiry price interface be GET/v1/{region}/{ resourceType}/pricing? resourceName={resourceName} & az={az}, wherein GET is method of calling, does is the URL of this inquiry price interface /v1/{region}/{ resourceType}/pricing? resourceName={resourceName} & az={az}, described inquiry price request comprises: the resource identification of the resource of requesting query price, resource type and affiliated area (affiliated subregion, or affiliated subregion and available area).Exemplary, the content of inquiry price request can be as shown in table 5.
Table 5
Exemplary, inquiry price request can as follows shown in message examples:
GET/v1/region1/2/pricing?resourceName=test&az=az1
Charging center performs operation corresponding to inquiry price request after receiving described inquiry price request, described corresponding to described resource pricing table execution according to the request of the described setting resource pricing setting resource pricing operation now in step 402 specifically comprises:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in described price entry, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, described setting resource pricing response comprises: described resource identification, described resource type, described resource price, the described unit of value, described linear module and described entry-into-force time.Exemplary, the response of setting resource pricing is now the response of inquiry price request, and the content of this setting resource pricing response can be as shown in table 6.
Table 6
Parameter name Type Explanation
ResourceID string Resource ID
CurrentPrice string Present price
NextMonthPrice string Next month price
Unit string The unit of value
MeasurementUnit string Linear module
ActiveTime string Entry-into-force time
Description string Descriptor
Exemplary, can as follows shown in message examples:
Or in another kind of implementation, described inquiry price request can not comprise resource identification, then described corresponding to described resource pricing table execution according to the request of the described setting resource pricing setting resource pricing operation in step 402 specifically comprises:
The price entry of all resources corresponding with described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in the price entry of described all resources, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, the response of described setting resource pricing comprises: the resource identification of each resource, resource type, resource price, the unit of value, linear module and entry-into-force time in described all resources.
Now, the response of setting resource pricing comprises the pricing information of at least one resource, and wherein the content of the pricing information of each resource is identical with the information in table 6, repeats no more.
Can be understood as, for simplifying the data processing calling end, do not distinguish batch query or single query, if described inquiry price request, except affiliated area, carries resource type, resource identification simultaneously, then can inquire the pricing information of resource corresponding to this resource identification, if in described inquiry price request except affiliated area, only carry resource type, do not carry resource identification, then can inquire about under this region should the pricing information of all resources of resource type.
In addition, optionally, as shown in Figure 9, for performing operation corresponding to setting price request or deleting operation corresponding to price request, after each execution of step 403, the charging method that the embodiment of the present invention provides can also comprise:
The interpolation in setting resource pricing operation historical record table of step 404, charging center operates corresponding historical record entry with described setting resource pricing.
Described historical record entry comprises: by the descriptor of the resource type of the resource that operates, resource identification, affiliated area, operating personnel, operating time and the operation of described setting resource pricing.
Wherein, it is worth mentioning that, do not have fixing order between step 401 ~ 404 and step 301 ~ 309, step 401 ~ 404 can perform at any time.
Accordingly, the charging method that the embodiment of the present invention provides can also comprise:
Step 405, charging center is triggered by administrator interfaces operation note query interface generating run record queries request (for illustrating figure) calling correspondence from keeper's equipment receiving management person and is sent to charging center, can this operation note query interface be GET/v1/{region}/{ resourceType}/{ resourceName}/operatorLog? az={az} & startDate={startDate} & endDate={endDate}, wherein GET is method of calling, does is interface URL /v1/{region}/{ resourceType}/{ resourceName}/operatorLog? az={az} & startDate={startDate} & endDate={endDate}.This operation note inquiry request can comprise: the resource identification of the resource of requesting query operation note, resource type and affiliated area (affiliated subregion, or affiliated subregion and available area), time started and end time.Exemplary, the content of operation note inquiry request can be as shown in table 7.
Table 7
After charging center receives described operation note inquiry request, the operation that the request of executable operations record queries is corresponding.
Then, keeper's equipment can receive the operation note inquiry response that charging center returns, and this response can comprise: operating time (operationTime), descriptor (description).Wherein, the operating time is operating time of the price entry of resource indicated by operation note inquiry request, and descriptor is the particular content operated this entry.Such as, if operation note inquiry request is for shown in following message:
GET/v1/region1/2/testVM/operatorLog?az
=az1&startDate=2014-02-02&endDate=2014-03-02
Then corresponding, operation note inquiry response can for shown in following message:
In addition, optionally, as shown in Figure 10, the charging method that the embodiment of the present invention provides can also comprise:
The inquiry into expenses request that step 501, charging center are triggered from keeper's equipment receiving management person by keeper's inquiry into expenses interface, described inquiry into expenses request comprises the tenant identification of the tenant that described keeper specifies, and the query time that described keeper specifies.
Wherein, described keeper's inquiry into expenses interface can be a kind of inquiry into expenses interactive interface be presented on keeper's equipment, realized the inquiry into expenses of each tenant by this interactive interface for keeper, exemplary, described administrator interfaces can be provided with query time input field and tenant identification input field, corresponding this inquiry into expenses request of inquiry into expenses interface triggering generation will be called send to charging center after setting tenant identification and query time, can this inquiry into expenses interface be GET/v1/charging/bills/total/{time}? tenantId={tenantId}, wherein GET is method of calling, / v1/charging/bills/total/{time}? tenantId={tenantId} is the URL of inquiry into expenses interface, charging center will perform step 502 ~ 503 according to inquiry into expenses request after this inquiry into expenses request of acquisition.Wherein, query time can be designated as certain moon in year, exemplary, and the content of inquiry into expenses request can be as shown in table 8.
Table 8
Step 502, charging center be the cost information in described query time according to described tenant identification and the described query time described tenant specified of inquiry.
Step 503, charging center return the inquiry into expenses response of carrying described cost information to described keeper's equipment.
Wherein, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and the percentage that described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for described expense aggregate limit, the percentage that described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for described expense aggregate limit, described flow cost of use account for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit.Exemplary, the content of inquiry into expenses response can be as shown in table 9:
Table 9
Exemplary, inquiry into expenses request can as shown in following message:
GET/billingcenter/v1/charging/bills/total/201405
Corresponding, inquiry into expenses response can as shown in following message:
Finally, the keeper's equipment receiving inquiry into expenses response shows Query Result according to this inquiry into expenses response on this keeper's inquiry into expenses interface.Optionally, can also show on this keeper's inquiry into expenses interface and download case, facilitate keeper's download and inquiry result.
Or optionally, as shown in figure 11, the charging method that the embodiment of the present invention provides can also comprise:
Step 601, charging center receive the inquiry into expenses request of tenant by the triggering of tenant's inquiry into expenses interface from tenant's equipment, and described inquiry into expenses request comprises the tenant identification of described tenant, and the query time that described tenant specifies.
Wherein, described tenant inquiry into expenses circle can be a kind of inquiry into expenses interactive interface be presented on tenant's equipment, realized the inquiry into expenses of this tenant by this interactive interface for tenant, exemplary, described tenant's operator interfaces can be provided with query time input field, corresponding this inquiry into expenses request of inquiry into expenses interface triggering generation will be called send to charging center after query time is set, perform step 602 ~ 603 by charging center according to inquiry into expenses request.
Step 602, charging center inquire about the cost information of described tenant in described query time according to described tenant identification and described query time.
Step 603, charging center returns the inquiry into expenses response of carrying described cost information to described tenant's equipment, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for the percentage of described expense aggregate limit, described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for the percentage of described expense aggregate limit, described flow cost of use accounts for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit.
Wherein, except the cost information that tenant can only inquire about oneself, the content of step 602 ~ 603 is identical with the other guide of step 502 ~ 503, repeats no more.
Wherein, step 501 ~ 503 and step 601 ~ 603 are separate flow processs.
Optionally, the charging method that the embodiment of the present invention provides can also comprise:
Charging center accounts for the percentage of the expense aggregate limit of this tenant according to the expense of each tenant, and the soft limit of the fee percentages of each tenant, the hard limit of fee percentages, judges whether to carry out expense alarm and alarm level to this tenant; The hard limit of described fee percentages is greater than the soft limit of described fee percentages.
Exemplary, the expense aggregate limit of each tenant pre-sets, according to the expense of each tenant obtained, and this expense aggregate limit preset, the expense that just can obtain each tenant accounts for the percentage of the expense aggregate limit of this tenant.The soft limit of fee percentages, the hard limit of fee percentages also pre-set.
For arbitrary tenant, if the expense of described arbitrary tenant exceedes the soft limit of described fee percentages, do not exceed the hard limit of described fee percentages, then carry out alarm to this tenant, alarm level is significant alarm;
If the expense of described arbitrary tenant exceedes the hard limit of described fee percentages, then carry out alarm to this tenant, alarm level is critical alarm;
If the expense of described arbitrary tenant does not exceed the soft limit of described fee percentages, then do not carry out alarm.
Further, a floating thresholding variables (upMount) can also be set, then,
For arbitrary tenant, if the expense of described arbitrary tenant exceedes described fee percentages soft limit+floating thresholding variables, do not exceed described fee percentages hard limit+floating thresholding variables, then carry out alarm to this tenant, alarm level is significant alarm;
If the expense of described arbitrary tenant exceedes described fee percentages hard limit+floating thresholding variables, then carry out alarm to this tenant, alarm level is critical alarm;
If the expense of described arbitrary tenant does not exceed described fee percentages soft limit+floating thresholding variables, then do not carry out alarm.
In addition, if there was above-mentioned any one alarm before, reached alarm clearance condition (expense does not exceed described fee percentages soft limit+floating thresholding variables) if current, then should cleared alarm.If be critical alarm before, alarm lower than fee percentages hard limit+floating thresholding variables, but still higher than fee percentages soft limit+floating thresholding variables, then should be carried out being updated to significant alarm by current expense.
Optionally, as shown in figure 12, the charging method that the embodiment of the present invention provides can also comprise:
Step 701, charging center obtain the utilization rate of every class resource of described analysis center statistics.
Step 702, charging center are according to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
Can be understood as, be the Dynamic Pricing of resource-based busy ratio, exemplary, price adjustment policy can pre-set, such as, can be shown below:
When resource utilization reaches more than 70%, price floats 10% at basic valency;
When resource utilization reaches more than 80%, price floats 20% at basic valency;
When resource utilization reaches more than 90%, no longer accept new service request;
When resource utilization is below 40%, price lowers 10% at basic valency;
When resource utilization is below 20%, price lowers 20% at basic valency;
When resource utilization is below 10%, freely use certain hour.
Its specific implementation comprises by following steps:
A, after the use amount of each resource obtaining each tenant according to preceding method, the same resource used each tenant is sued for peace and is obtained the use total amount of each resource, and obtains the total resources of each resource;
B, obtain the use amount of each resource, concrete can be obtained by formula K3=K2/K1*100%, and wherein K3 is the utilization rate of a certain resource, and K2 is the use total amount of this resource, and K1 is the total resources of this resource;
C, monitoring K3 value, the ladder pre-set with keeper threshold values thresholding of valuate compares, if when reaching this threshold values thresholding, then the pricing adjustments of triggering busy ratio ladder are machine-processed;
D, K3 reach threshold values, trigger busy ratio ladder pricing adjustments mechanism;
E, readjust prices according to K3, price-adjusting strategy can refer to aforementioned price adjustment policy;
F, amendment valuation rule, refresh tenant's rate.
In addition, also according to other according to carrying out price adjustment, such as: different prices can be set for different subregion, be used the resource of different subregion by price driven tenant, the efficiency that resources balance uses can be reached.
Or the ladder based on large data analysis is fixed a price:
Analysis center carries out large data analysis for the behavior of tenant and historical data, sets up KPI index, realizes the price modification of dynamic ladder according to KPI index.Such as, key KPI arranges as follows:
Cloud service duration KPI: that namely rents cloud service resource takies duration, such as virtual machine uses duration, Image (mirror image) duration;
Cloud service flow KPI: namely rent the concrete flow shared by cloud service, such as ELB service, uplink traffic and downlink traffic;
Cloud service space KPI: namely rent cloud service the actual space used, such as S3/EBS stores service, specifically uses the space (GB) stored.
Wherein, the acquisition methods of each above-mentioned KPI, as shown in the present embodiment step 301 ~ 305, repeats no more.
Further, can also be combined by one or more KPI, realize ladder price modification.
Such as:
Use cloud service duration KPI (can be of that month), charging center obtains this cloud service duration KPI and carries out ladder price, such as:
Cloud service duration KPI>720 hour, resource price lowers 10% at basic valency;
Cloud service duration KPI>1440 hour, resource price lowers 20% at basic valency;
Cloud service duration KPI>2880 hour, resource price lowers 30% at basic valency.
Again such as:
Use cloud service flow KPI (can be of that month), charging center obtains this cloud service flow KPI and carries out ladder price, such as:
Cloud service flow KPI>100GB, resource price lowers 10% at basic valency;
Cloud service flow KPI>200GB, resource price lowers 20% at basic valency;
Cloud service flow KPI>500GB, resource price lowers 30% at basic valency.
Again such as:
Use cloud service space KPI (can be of that month), charging center obtains this cloud service space KPI and carries out ladder price, such as:
Cloud service space KPI>100GB, resource price lowers 10% at basic valency;
Cloud service space KPI>200GB, resource price lowers 20% at basic valency;
Cloud service space KPI>500GB, resource price lowers 30% at basic valency.
Further, mixed water price can also be carried out.
Multiple cloud service is combined and fixes a price, such as elastic cloud is calculated (English: ElasticCompute Cloud, be called for short: EC2) service and mirroring service combine, form a comprehensive example service, for tenant, only see the expense that example is served, more convenient user uses.
Or the KPI mixing ladder according to multiple cloud service is fixed a price, and such as, when resource utilization is below 40%, and tenant uses the duration KPI>720 hour of cloud service, then downward 20% (10%+10%) of fixing a price.
Above several pricing strategies are only exemplary, include but not limited to this, can also adopt other possible pricing strategies, not enumerate at this.
Wherein, it should be noted that, various interfaces mentioned in the embodiment of the present invention are exemplary, and include but not limited to this, the interface that also can have identical function for other, will not enumerate in the present embodiment.In addition, described keeper's equipment or tenant's equipment are the equipment with charging center with communication connection relation, and wherein keeper's equipment can be a part of equipment of charging center, also can be the equipment independent of charging center.
The embodiment of the present invention provides a kind of charging method, by the mark of analysis center according to tenant, inquire about the subregion that each tenant is corresponding, and inquire about in each subregion corresponding to each tenant to should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The embodiment of the present invention also provides a kind of analysis center 01, and carry out charging to the resource use of cloud service under being applicable to cloud computing, as shown in figure 13, described analysis center 01 comprises:
Enquiry module 011, for the subregion that the first tenant according to the identified query of the first tenant is corresponding, and the available area corresponding with described first tenant inquired about in each subregion corresponding to described first tenant, obtain at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
Described enquiry module 011, also for the engineering that the first tenant according to the identified query of described first tenant is corresponding, obtains at least one engineering that described first tenant is corresponding;
Acquisition module 012, for the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described according at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
Analysis module 013, adds up for the use amount of resource information to each resource according at least one resource described, obtains the resource using information of described first tenant;
Described analysis module 013, also for generating resource Using statistics summary table according to the resource using information of described all tenants;
Interface module 014, for described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
Optionally, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
Optionally, described analysis module 013 can be specifically for:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
Optionally, to described interface module, described resource Using statistics summary table being sent to charging center from the available area that the first tenant described in the described enquiry module subregion that the first tenant is corresponding according to the identified query of the first tenant and each described subregion is corresponding is an inquiry batch;
After described resource Using statistics summary table is sent to charging center by described interface module, after the preset duration of interval, perform next described inquiry batch.
Optionally, in described resource Using statistics summary table, the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
The present embodiment is used for realizing above-mentioned each embodiment of the method, and in the present embodiment, the workflow of unit and operation principle are see the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention provides a kind of analysis center, this analysis center is according to the mark of tenant, inquire about the subregion that each tenant is corresponding, and inquire about in each subregion corresponding to each tenant should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The embodiment of the present invention provides a kind of charging center 02, and carry out charging to the resource use of cloud service under being applicable to cloud computing, as shown in figure 14, described charging center 02 comprises:
Interface module 021, for the resource Using statistics summary table that receiving and analyzing center sends;
Acquisition module 022, for obtaining the resource using information of each tenant according to described resource Using statistics summary table;
Accounting module 023, for obtaining the expense of each tenant according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, S3, EBS, ELB, and the one in flow.
Optionally, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
Optionally, described acquisition module 022 can be specifically for:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
Optionally, as shown in figure 15, described accounting module 023 can comprise:
Unit price enquiry module 0231, obtains the unit price of each resource that each tenant uses for inquiring about described resource pricing table;
Resource accounting module 0232, for the unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
Tenant's accounting module 0233, the expense for each resource used according to each tenant calculates the total cost of each tenant.
Optionally, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses stores EBS for elastomer block, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses serves S3 for simple storage, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is the balanced ELB of elastic load, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
Optionally, described default charging policy can comprise:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
Optionally, as shown in figure 16, described charging center 02 can also comprise: resource pricing administration module 024;
Described interface module, the setting resource pricing request also for being triggered from keeper's equipment receiving management person by administrator interfaces; The request of described setting resource pricing is: setting price request, the one of deleting in price request and inquiry price request;
Described resource pricing administration module, for performing corresponding setting resource pricing operation according to the request of described setting resource pricing to described resource pricing table;
Described interface module is also for returning the response of setting resource pricing to described keeper's equipment.
Optionally, described setting price request comprises: ask the resource identification of the resource of setting price, resource type, resource price, affiliated area, the unit of value and linear module;
If the request of described setting resource pricing is described newly-increased price request, then described resource pricing administration module 024 can be specifically for:
Judge whether there is the price entry corresponding with described resource identification, described resource type and described affiliated area in described resource pricing table;
If there is not described price entry, then create described price entry, described price entry comprises described resource identification, described resource type, described resource price, described affiliated area, the described unit of value, described linear module and entry-into-force time;
If there is described price entry, then according to described resource price, the resource price in described price entry is modified;
If the request of described setting resource pricing is described setting price request, described setting resource pricing response comprises: successful operation message.
Optionally, described deletion price request comprises: ask the resource identification of the resource of deleting price, resource type and affiliated area;
If the request of described setting resource pricing is described deletion price request, then described resource pricing administration module 024 can be specifically for:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
In described price entry, delete bit is labeled as and deletes corresponding numerical value;
If the request of described setting resource pricing is described deletion price request, described setting resource pricing response comprises: successful operation message.
Optionally, described inquiry price request comprises: the resource identification of the resource of requesting query price, resource type and affiliated area;
If the request of described setting resource pricing is described inquiry price request, then described resource pricing administration module 024 can be specifically for:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in described price entry, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, described setting resource pricing response comprises: described resource identification, described resource type, described resource price, the described unit of value, described linear module and described entry-into-force time.
Optionally, described inquiry price request comprises: the resource type of the resource of requesting query price and affiliated area;
If the request of described setting resource pricing is described inquiry price request, then described resource pricing administration module 024 can be specifically for:
The price entry of all resources corresponding with described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in the price entry of described all resources, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, the response of described setting resource pricing comprises: the resource identification of each resource, resource type, resource price, the unit of value, linear module and entry-into-force time in described all resources.
Optionally, as shown in figure 17, described charging center 02 can also comprise:
Record management module 025, operates corresponding historical record entry for adding in setting resource pricing operation historical record table with described setting resource pricing; Described historical record entry comprises: by the descriptor of the resource type of the resource that operates, resource identification, affiliated area, operating personnel, operating time and the operation of described setting resource pricing.
Optionally, as shown in figure 18, described charging center 02 can also comprise: enquiry module 026;
The inquiry into expenses request of described interface module 021 also for being triggered from keeper's equipment receiving management person by keeper's inquiry into expenses interface, described inquiry into expenses request comprises the tenant identification of the tenant that described keeper specifies, and the query time that described keeper specifies;
Described enquiry module 026 is for the cost information in described query time according to described tenant identification and the described query time described tenant specified of inquiry;
Described interface module 021 is also for returning the inquiry into expenses response of carrying described cost information to described keeper's equipment, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for the percentage of described expense aggregate limit, described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for the percentage of described expense aggregate limit, described flow cost of use accounts for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit,
Or,
Described interface module 021 is also for receiving the inquiry into expenses request that tenant is triggered by tenant's inquiry into expenses interface from tenant's equipment, described inquiry into expenses request comprises the tenant identification of described tenant, and the query time that described tenant specifies;
Described enquiry module 026 is for inquiring about the cost information of described tenant in described query time according to described tenant identification and described query time;
Described interface module 021 is also for returning the inquiry into expenses response of carrying described cost information to described tenant's equipment, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for the percentage of described expense aggregate limit, described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for the percentage of described expense aggregate limit, described flow cost of use accounts for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit.
Optionally, as shown in figure 19, described charging center 02 can also comprise:
Alarm module 027, for after the expense obtaining each tenant, the percentage of the expense aggregate limit of this tenant is accounted for according to the expense of each tenant, and the soft limit of the fee percentages of each tenant, the hard limit of fee percentages, judge whether to carry out expense alarm and alarm level to this tenant; The hard limit of described fee percentages is greater than the soft limit of described fee percentages;
Wherein, for arbitrary tenant, if the expense of described arbitrary tenant exceedes the soft limit of described fee percentages, do not exceed the hard limit of described fee percentages, then carry out alarm to described arbitrary tenant, alarm level is significant alarm;
If the expense of described arbitrary tenant exceedes the hard limit of described fee percentages, then carry out alarm to described arbitrary tenant, alarm level is critical alarm;
If the expense of described arbitrary tenant does not exceed the soft limit of described fee percentages, then do not carry out alarm.
Optionally, as shown in figure 20, described charging center 02 can also comprise: price adjustment module 028, and described price adjustment module 028 may be used for:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
The present embodiment is used for realizing above-mentioned each embodiment of the method, and in the present embodiment, the workflow of unit and operation principle are see the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention provides a kind of charging center, first by the mark of analysis center according to tenant, inquire about the subregion that each tenant is corresponding, and inquire about in each subregion corresponding to each tenant to should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The embodiment of the present invention also provides another kind of analysis center 03, under being applicable to cloud computing, charging is carried out to the resource use of cloud service, as shown in figure 21, described analysis center 03 comprises: processor 031, memory 032, interface 033, processor 031, memory 032 are connected by bus 034 with interface 033, wherein interface 033 is for mutual with other network elements, memory 032 is for storing computer program 0321, processor 031 for performing computer program 0321, processor 031 perform computer program 0321 for:
The subregion that first tenant is corresponding according to the identified query of the first tenant, and inquire about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtain at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
The engineering that first tenant is corresponding according to the identified query of described first tenant, obtains at least one engineering that described first tenant is corresponding;
According to the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described of at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
The use amount of resource information to each resource according at least one resource described is added up, and obtains the resource using information of described first tenant;
Resource Using statistics summary table is generated according to the resource using information of described all tenants;
Described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
Optionally, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, S3, EBS, ELB, and the one in flow.
Optionally, processor 031 perform computer program 0321 can be specifically for:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
Optionally, the available area that the first tenant described in the described subregion that first tenant is corresponding according to the identified query of the first tenant and each described subregion is corresponding is an inquiry batch to the described charging center that is sent to by described resource Using statistics summary table;
Described described resource Using statistics summary table is sent to charging center after, perform next inquiry batch after the preset duration of interval.
Optionally, in described resource Using statistics summary table, the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
The present embodiment is used for realizing above-mentioned each embodiment of the method, and in the present embodiment, the workflow of unit and operation principle are see the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention provides a kind of analysis center, this analysis center is according to the mark of tenant, inquire about the subregion that each tenant is corresponding, and inquire about in each subregion corresponding to each tenant to should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The embodiment of the present invention provides a kind of charging center 04, under being applicable to cloud computing, charging is carried out to the resource use of cloud service, as shown in figure 22, described charging center 04 comprises: processor 041, memory 042, interface 043, processor 041, memory 042 are connected by bus 044 with interface 043, wherein interface 043 is for mutual with other network elements, memory 042 is for storing computer program 0421, processor 041 for performing computer program 0421, processor 041 perform computer program 0421 for:
The resource Using statistics summary table that receiving and analyzing center sends;
The resource using information of each tenant is obtained according to described resource Using statistics summary table;
The expense of each tenant is obtained according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, S3, EBS, ELB, and the one in flow.
Optionally, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
Optionally, processor 041 perform computer program 0421 can be specifically for:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
Optionally, processor 041 perform computer program 0421 can be specifically for:
Inquire about the unit price that described resource pricing table obtains each resource that each tenant uses;
The unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
The expense of each resource used according to each tenant calculates the total cost of each tenant.
Optionally, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses stores EBS for elastomer block, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses serves S3 for simple storage, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is the balanced ELB of elastic load, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
Optionally, described default charging policy comprises:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
Optionally, optionally, processor 041 perform computer program 0421 can also for:
From the setting resource pricing request that keeper's equipment receiving management person is triggered by administrator interfaces; The request of described setting resource pricing is: setting price request, the one of deleting in price request and inquiry price request;
According to the request of described setting resource pricing, corresponding setting resource pricing operation is performed to described resource pricing table;
The response of setting resource pricing is returned to described keeper's equipment.
Optionally, described setting price request comprises: ask the resource identification of the resource of setting price, resource type, resource price, affiliated area, the unit of value and linear module;
If the request of described setting resource pricing is described newly-increased price request, then processor 041 perform computer program 0421 can be specifically for:
Judge whether there is the price entry corresponding with described resource identification, described resource type and described affiliated area in described resource pricing table;
If there is not described price entry, then create described price entry, described price entry comprises described resource identification, described resource type, described resource price, described affiliated area, the described unit of value, described linear module and entry-into-force time;
If there is described price entry, then according to described resource price, the resource price in described price entry is modified;
If the request of described setting resource pricing is described setting price request, described setting resource pricing response comprises: successful operation message.
Optionally, described deletion price request comprises: ask the resource identification of the resource of deleting price, resource type and affiliated area;
If the request of described setting resource pricing is described deletion price request, then processor 041 perform computer program 0421 can be specifically for:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
In described price entry, delete bit is labeled as and deletes corresponding numerical value;
If the request of described setting resource pricing is described deletion price request, described setting resource pricing response comprises: successful operation message.
Optionally, described inquiry price request comprises: the resource identification of the resource of requesting query price, resource type and affiliated area;
If the request of described setting resource pricing is described inquiry price request, then processor 041 perform computer program 0421 can be specifically for:
The price entry corresponding with described resource identification, described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in described price entry, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, described setting resource pricing response comprises: described resource identification, described resource type, described resource price, the described unit of value, described linear module and described entry-into-force time.
Optionally, described inquiry price request comprises: the resource type of the resource of requesting query price and affiliated area;
If the request of described setting resource pricing is described inquiry price request, then processor 041 perform computer program 0421 can be specifically for:
The price entry of all resources corresponding with described resource type and described affiliated area is found at described resource pricing table;
Obtain the resource price in the price entry of described all resources, the unit of value, linear module, entry-into-force time, linear module and entry-into-force time;
If the request of described setting resource pricing is described inquiry price request, the response of described setting resource pricing comprises: the resource identification of each resource, resource type, resource price, the unit of value, linear module and entry-into-force time in described all resources.
Optionally, processor 041 perform computer program 0421 can also for:
Add in setting resource pricing operation historical record table and operate corresponding historical record entry with described setting resource pricing; Described historical record entry comprises: by the descriptor of the resource type of the resource that operates, resource identification, affiliated area, operating personnel, operating time and the operation of described setting resource pricing.
Optionally, processor 041 perform computer program 0421 can also for:
From the inquiry into expenses request that keeper's equipment receiving management person is triggered by keeper's inquiry into expenses interface, described inquiry into expenses request comprises the tenant identification of the tenant that described keeper specifies, and the query time that described keeper specifies;
The cost information in described query time according to described tenant identification and the described query time described tenant specified of inquiry;
The inquiry into expenses response of carrying described cost information is returned to described keeper's equipment, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for the percentage of described expense aggregate limit, described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for the percentage of described expense aggregate limit, described flow cost of use accounts for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit,
Or,
Receive the inquiry into expenses request of tenant by the triggering of tenant's inquiry into expenses interface from tenant's equipment, described inquiry into expenses request comprises the tenant identification of described tenant, and the query time that described tenant specifies;
The cost information of described tenant in described query time is inquired about according to described tenant identification and described query time;
The inquiry into expenses response of carrying described cost information is returned to described tenant's equipment, described cost information comprises: example usage charges, EBS usage charges, S3 usage charges, ELB usage charges, flow usage charges and total cost, and described example usage charges account for the percentage of the expense aggregate limit of described tenant, described EBS usage charges account for the percentage of described expense aggregate limit, described S3 usage charges account for the percentage of described expense aggregate limit, described ELB usage charges account for the percentage of described expense aggregate limit, described flow cost of use accounts for the percentage that the percentage of described expense aggregate limit and described total cost account for described expense aggregate limit.
Optionally, processor 041 perform computer program 0421 can also for: after described charging center obtains the expense of each tenant, the percentage of the expense aggregate limit of this tenant is accounted for according to the expense of each tenant, and the soft limit of the fee percentages of each tenant, the hard limit of fee percentages, judge whether to carry out expense alarm and alarm level to this tenant; The hard limit of described fee percentages is greater than the soft limit of described fee percentages;
Wherein, for arbitrary tenant, if the expense of described arbitrary tenant exceedes the soft limit of described fee percentages, do not exceed the hard limit of described fee percentages, then carry out alarm to described arbitrary tenant, alarm level is significant alarm;
If the expense of described arbitrary tenant exceedes the hard limit of described fee percentages, then carry out alarm to described arbitrary tenant, alarm level is critical alarm;
If the expense of described arbitrary tenant does not exceed the soft limit of described fee percentages, then do not carry out alarm.
Optionally, processor 041 perform computer program 0421 can also for:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
The present embodiment is used for realizing above-mentioned each embodiment of the method, and in the present embodiment, the workflow of unit and operation principle are see the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention provides a kind of charging center, first by the mark of analysis center according to tenant, inquire about the subregion that each tenant is corresponding, and inquire about in each subregion corresponding to each tenant to should the available area of tenant, obtain at least one available area that each tenant is corresponding, also corresponding according to each tenant of the identified query of tenant engineering, thus under at least one available area that each tenant is corresponding, inquire about the resource information of at least one resource that this tenant uses, then again the use amount of each resource is added up, finally obtain the resource using information of each tenant, generate resource Using statistics summary table, and this resource Using statistics summary table is sent to charging center, this charging center can obtain the resource using information of each tenant according to resource Using statistics summary table, the expense of each tenant is determined according to the resource using information of resource pricing table and each tenant.Can realize using the resource of multiple cloud service carrying out mixing charging, and realize carrying out mixing charging to the cloudy platform of multi partition.
The embodiment of the present invention also provides a kind of charge system, comprise: the analysis center 01 or 03 described in previous embodiment, and the charging center 02 or 04 described in previous embodiment, can also comprise, analytical database and billing database, relation wherein between analysis center, charging center, analytical database, billing database and multiple subregion is identical with the system architecture shown in Fig. 1, repeats no more.
In several embodiment provided by the present invention, should be understood that, disclosed method, device, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various can be program code stored medium.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (24)

1. a charging method, carry out charging to the resource use of cloud service under being applicable to cloud computing, it is characterized in that, described method comprises:
The subregion that first tenant is corresponding according to the identified query of the first tenant, and inquire about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtain at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
The engineering that first tenant is corresponding according to the identified query of described first tenant, obtains at least one engineering that described first tenant is corresponding;
According to the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described of at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
The use amount of resource information to each resource according at least one resource described is added up, and obtains the resource using information of described first tenant;
Resource Using statistics summary table is generated according to the resource using information of described all tenants;
Described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
2. method according to claim 1, is characterized in that, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
3. method according to claim 2, is characterized in that, the resource information of at least one resource described in described basis is carried out statistics to the use amount of each resource and comprised:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
4. the method according to any one of claim 1-3, it is characterized in that, the available area that described in the described subregion that first tenant is corresponding according to the identified query of the first tenant and each described subregion, the first tenant is corresponding is an inquiry batch to the described charging center that is sent to by described resource Using statistics summary table;
Described described resource Using statistics summary table is sent to charging center after, perform next inquiry batch after the preset duration of interval.
5. method according to claim 4, is characterized in that, in described resource Using statistics summary table, and the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
6. a charging method, carry out charging to the resource use of cloud service under being applicable to cloud computing, it is characterized in that, described method comprises:
The resource Using statistics summary table that receiving and analyzing center sends;
The resource using information of each tenant is obtained according to described resource Using statistics summary table;
The expense of each tenant is obtained according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
7. method according to claim 6, is characterized in that, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
8. method according to claim 7, is characterized in that, the described resource using information obtaining each tenant according to described resource Using statistics summary table comprises:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
9. method according to claim 8, is characterized in that, the expense that the described resource using information according to resource pricing table and each tenant obtains each tenant comprises:
Inquire about the unit price that described resource pricing table obtains each resource that each tenant uses;
The unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
The expense of each resource used according to each tenant calculates the total cost of each tenant.
10. method according to claim 9, is characterized in that, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
11. methods according to claim 10, is characterized in that, described default charging policy comprises:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
12. methods according to any one of claim 6-11, is characterized in that, also comprise:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
13. 1 kinds of analysis centers, carry out charging to the resource use of cloud service under being applicable to cloud computing, it is characterized in that, described analysis center comprises:
Enquiry module, for the subregion that the first tenant according to the identified query of the first tenant is corresponding, and inquires about the available area corresponding with described first tenant in each subregion corresponding to described first tenant, obtains at least one available area that described first tenant is corresponding; Wherein said first tenant is any one tenant in all tenants;
Described enquiry module, also for the engineering that the first tenant according to the identified query of described first tenant is corresponding, obtains at least one engineering that described first tenant is corresponding;
Acquisition module, for the resource information being identified at the resource that each engineering uses in inquiry at least one engineering described under at least one available area described according at least one engineering described, obtain the resource information of at least one resource that described first tenant uses;
Analysis module, adds up for the use amount of resource information to each resource according at least one resource described, obtains the resource using information of described first tenant;
Described analysis module, for generating resource Using statistics summary table according to the resource using information of described all tenants;
Interface module, for described resource Using statistics summary table is sent to charging center, so that charging center obtains the resource using information of each tenant according to described resource Using statistics summary table, and determine the expense of each tenant according to the resource using information of resource pricing table and each tenant.
14. analysis centers according to claim 13, is characterized in that, the resource information of at least one resource described comprises: the resource identification of at least one resource described and resource type;
Wherein, described resource type comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
15. analysis centers according to claim 14, is characterized in that, described analysis module specifically for:
If the resource type of the arbitrary resource at least one resource described is example, then corresponding according to the described arbitrary resource of resource identification statistics of described arbitrary resource virtual machine uses duration as the use amount of described arbitrary resource;
If the resource type of described arbitrary resource is mirror image, then use duration as the use amount of described arbitrary resource virtual machine corresponding for example belonging to described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is EBS, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is S3, then according to usage space size and the use amount using duration as described arbitrary resource of the described arbitrary resource of resource identification statistics of described arbitrary resource;
If the resource type of described arbitrary resource is ELB, then add up the use amount of use duration as described arbitrary resource of described arbitrary resource according to the resource identification of described arbitrary resource;
If the resource type of described arbitrary resource is flow, then using the use amount of the flow value of the described arbitrary resource of the resource identification according to described arbitrary resource corresponding for described arbitrary resource statistics as described arbitrary resource.
16. analysis centers according to any one of claim 13-15, it is characterized in that, to described interface module, described resource Using statistics summary table being sent to charging center from the available area that the first tenant described in the described enquiry module subregion that the first tenant is corresponding according to the identified query of the first tenant and each described subregion is corresponding is an inquiry batch;
After described resource Using statistics summary table is sent to charging center by described interface module, after the preset duration of interval, perform next described inquiry batch.
17. analysis centers according to claim 16, is characterized in that, in described resource Using statistics summary table, and the corresponding entry of each resource; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
18. 1 kinds of charging centers, carry out charging to the resource use of cloud service under being applicable to cloud computing, it is characterized in that, described charging center comprises:
Interface module, for the resource Using statistics summary table that receiving and analyzing center sends;
Acquisition module, for obtaining the resource using information of each tenant according to described resource Using statistics summary table;
Accounting module, for obtaining the expense of each tenant according to the resource using information of resource pricing table and each tenant;
The resource type of described resource comprises: example, mirror image, simple storage service S3, and elastomer block stores EBS, the balanced ELB of elastic load, and the one in flow.
19. charging centers according to claim 18, is characterized in that, the corresponding entry of each resource in described resource Using statistics summary table; Wherein, the entry that arbitrary resource is corresponding comprises: tenant identification, resource type, resource identification, resource use amount, query time stab;
Wherein, described tenant identification is the mark of the tenant using described arbitrary resource, described resource type is the resource type of described arbitrary resource, described resource identification is the resource identification of described arbitrary resource, described resource use amount is the use amount that tenant corresponding to described tenant identification uses described arbitrary resource, the time point that described query time stamp is the described resource use amount of inquiry, wherein, in same inquiry batch, the query time stamp in the entry that each resource is corresponding is identical.
20. charging centers according to claim 19, is characterized in that, described acquisition module specifically for:
The tenant belonging to every bar entry is determined according to the described tenant identification in each entry in described resource Using statistics summary table;
Obtain the resource using information of each tenant according to all entries of each tenant, the resource using information of each tenant comprises the use amount of each resource that each tenant uses.
21. charging centers according to claim 20, is characterized in that, described accounting module comprises:
Unit price enquiry module, obtains the unit price of each resource that each tenant uses for inquiring about described resource pricing table;
Resource accounting module, for the unit price of each resource used according to each tenant, the use amount of each resource used according to each tenant and default charging policy calculate the expense of each resource that each tenant uses;
Tenant's accounting module, the expense for each resource used according to each tenant calculates the total cost of each tenant.
22. charging centers according to claim 21, is characterized in that, the use amount of each resource that each tenant uses comprises:
For arbitrary tenant, if the resource type of arbitrary resource that described arbitrary tenant uses is example, then the use amount of described arbitrary resource is that virtual machine corresponding to described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then the use amount virtual machine that example is corresponding belonging to described arbitrary resource of described arbitrary resource uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the use amount of described arbitrary resource is the usage space size of described arbitrary resource and uses duration;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then the use amount of described arbitrary resource is the use duration of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then the use amount of described arbitrary resource is the flow value of described arbitrary resource.
23. charging centers according to claim 22, is characterized in that, described default charging policy comprises:
If the resource type of arbitrary resource that described arbitrary tenant uses is example, then described arbitrary tenant uses the expense of described arbitrary resource to use the unit price of arbitrary resource described in duration * for virtual machine corresponding to described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is mirror image, then described arbitrary tenant uses the expense of the described arbitrary resource virtual machine that example is corresponding belonging to described arbitrary resource to use the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is EBS, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is S3, then the usage space size * that described arbitrary tenant uses the expense of described arbitrary resource to be described arbitrary resource uses the unit price of arbitrary resource described in duration *;
If the resource type of arbitrary resource that described arbitrary tenant uses is ELB, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the use duration * of described arbitrary resource;
If the resource type of arbitrary resource that described arbitrary tenant uses is flow, then described arbitrary tenant uses the expense of described arbitrary resource for the unit price of arbitrary resource described in the flow value * of described arbitrary resource;
Wherein, the unit price of described arbitrary resource is that resource price, the unit of value and linear module according to described arbitrary resource is determined.
24. charging centers according to any one of claim 18-23, it is characterized in that, described charging center also comprises: price adjustment module, and described price adjustment module is used for:
Obtain the utilization rate of every class resource of described analysis center statistics;
According to the utilization rate of every class resource, and the resource price of price adjustment policy to such resource corresponding to the utilization rate of every class resource preset adjusts.
CN201410855958.9A 2014-12-31 2014-12-31 Charging method, analysis center and charging center Active CN104468136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410855958.9A CN104468136B (en) 2014-12-31 2014-12-31 Charging method, analysis center and charging center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855958.9A CN104468136B (en) 2014-12-31 2014-12-31 Charging method, analysis center and charging center

Publications (2)

Publication Number Publication Date
CN104468136A true CN104468136A (en) 2015-03-25
CN104468136B CN104468136B (en) 2017-11-24

Family

ID=52913566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855958.9A Active CN104468136B (en) 2014-12-31 2014-12-31 Charging method, analysis center and charging center

Country Status (1)

Country Link
CN (1) CN104468136B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516199A (en) * 2017-08-01 2017-12-26 携程旅游信息技术(上海)有限公司 Container charging method, apparatus and system, equipment, the storage medium of cloud platform
CN108171540A (en) * 2017-12-26 2018-06-15 北京星河星云信息技术有限公司 For the method and apparatus of resource metering and billing
CN108234622A (en) * 2017-12-28 2018-06-29 北京星河星云信息技术有限公司 Charging method and charge system
CN108596649A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 Account book rewards settlement method, server and computer readable storage medium
CN108874638A (en) * 2017-05-12 2018-11-23 微软技术许可有限责任公司 Intelligent cloud management based on portrait information
CN108898446A (en) * 2018-07-18 2018-11-27 北京百度网讯科技有限公司 Method and apparatus for output information
CN109255602A (en) * 2018-09-26 2019-01-22 广东浪潮大数据研究有限公司 A kind of resource uses charging method, device and equipment
CN109450984A (en) * 2018-10-16 2019-03-08 深信服科技股份有限公司 A kind of management method of cloud framework, equipment and computer readable storage medium
TWI663556B (en) * 2018-01-30 2019-06-21 中華電信股份有限公司 Resource authorization control system and method with fee splitting function
CN110298677A (en) * 2018-03-22 2019-10-01 中移(苏州)软件技术有限公司 A kind of method, apparatus, electronic equipment and the storage medium of cloud computing resources charging
CN110381137A (en) * 2019-07-19 2019-10-25 浪潮云信息技术有限公司 Object storage usage amount statistical method and system based on ceph
CN110674190A (en) * 2019-09-27 2020-01-10 北京金山云网络技术有限公司 Statistical method and device for file system tasks and server
CN112054912A (en) * 2020-08-31 2020-12-08 北京易捷思达科技发展有限公司 Resource charging system and method of OpenStack open source cloud platform
CN112422299A (en) * 2020-11-18 2021-02-26 杭州飞致云信息科技有限公司 Method and device for analyzing public cloud charging data and computer readable storage medium
CN114529290A (en) * 2022-01-27 2022-05-24 广东省电信规划设计院有限公司 Charging management method and device for government affair cloud and computer storage medium
CN114629732A (en) * 2020-12-11 2022-06-14 北京金山云网络技术有限公司 Charging method and device for cloud resources, electronic equipment and medium
CN113822701B (en) * 2021-08-28 2023-12-26 济南浪潮数据技术有限公司 Cloud platform third party resource computing method, device, equipment and readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743001B1 (en) * 2005-06-21 2010-06-22 Amazon Technologies, Inc. Method and system for dynamic pricing of web services utilization
CN102594576A (en) * 2012-03-19 2012-07-18 广州亦云信息技术有限公司 Charging method based on cloud platform service
CN103166989A (en) * 2011-12-13 2013-06-19 中国电信股份有限公司 Resource use metering method and resource use metering system for cloud computing
CN103458055A (en) * 2013-09-22 2013-12-18 广州中国科学院软件应用技术研究所 Clout competing platform
CN103731278A (en) * 2011-12-31 2014-04-16 华茂云天科技(北京)有限公司 Service billing system of cloud computing platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743001B1 (en) * 2005-06-21 2010-06-22 Amazon Technologies, Inc. Method and system for dynamic pricing of web services utilization
CN103166989A (en) * 2011-12-13 2013-06-19 中国电信股份有限公司 Resource use metering method and resource use metering system for cloud computing
CN103731278A (en) * 2011-12-31 2014-04-16 华茂云天科技(北京)有限公司 Service billing system of cloud computing platform
CN102594576A (en) * 2012-03-19 2012-07-18 广州亦云信息技术有限公司 Charging method based on cloud platform service
CN103458055A (en) * 2013-09-22 2013-12-18 广州中国科学院软件应用技术研究所 Clout competing platform

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874638A (en) * 2017-05-12 2018-11-23 微软技术许可有限责任公司 Intelligent cloud management based on portrait information
US11354166B2 (en) 2017-05-12 2022-06-07 Microsoft Technology Licensing, Llc Intelligent assistant for cloud management
CN107516199A (en) * 2017-08-01 2017-12-26 携程旅游信息技术(上海)有限公司 Container charging method, apparatus and system, equipment, the storage medium of cloud platform
CN108171540A (en) * 2017-12-26 2018-06-15 北京星河星云信息技术有限公司 For the method and apparatus of resource metering and billing
CN108234622A (en) * 2017-12-28 2018-06-29 北京星河星云信息技术有限公司 Charging method and charge system
TWI663556B (en) * 2018-01-30 2019-06-21 中華電信股份有限公司 Resource authorization control system and method with fee splitting function
CN110298677B (en) * 2018-03-22 2021-08-13 中移(苏州)软件技术有限公司 Cloud computing resource charging method and device, electronic equipment and storage medium
CN108596649A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 Account book rewards settlement method, server and computer readable storage medium
CN110298677A (en) * 2018-03-22 2019-10-01 中移(苏州)软件技术有限公司 A kind of method, apparatus, electronic equipment and the storage medium of cloud computing resources charging
CN108898446A (en) * 2018-07-18 2018-11-27 北京百度网讯科技有限公司 Method and apparatus for output information
CN109255602A (en) * 2018-09-26 2019-01-22 广东浪潮大数据研究有限公司 A kind of resource uses charging method, device and equipment
CN109450984A (en) * 2018-10-16 2019-03-08 深信服科技股份有限公司 A kind of management method of cloud framework, equipment and computer readable storage medium
CN110381137A (en) * 2019-07-19 2019-10-25 浪潮云信息技术有限公司 Object storage usage amount statistical method and system based on ceph
CN110674190A (en) * 2019-09-27 2020-01-10 北京金山云网络技术有限公司 Statistical method and device for file system tasks and server
CN110674190B (en) * 2019-09-27 2022-07-15 北京金山云网络技术有限公司 Statistical method and device for file system tasks and server
CN112054912A (en) * 2020-08-31 2020-12-08 北京易捷思达科技发展有限公司 Resource charging system and method of OpenStack open source cloud platform
CN112422299A (en) * 2020-11-18 2021-02-26 杭州飞致云信息科技有限公司 Method and device for analyzing public cloud charging data and computer readable storage medium
CN114629732A (en) * 2020-12-11 2022-06-14 北京金山云网络技术有限公司 Charging method and device for cloud resources, electronic equipment and medium
CN113822701B (en) * 2021-08-28 2023-12-26 济南浪潮数据技术有限公司 Cloud platform third party resource computing method, device, equipment and readable medium
CN114529290A (en) * 2022-01-27 2022-05-24 广东省电信规划设计院有限公司 Charging management method and device for government affair cloud and computer storage medium

Also Published As

Publication number Publication date
CN104468136B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN104468136A (en) Billing method, analysis center and billing center
JP6254288B2 (en) Customer selectable power source options for network accessible service units
US11645592B2 (en) Analyzing cloud backup service options using historical data protection activities
Martens et al. Costing of cloud computing services: A total cost of ownership approach
CN108446975B (en) Quota management method and device
CN107038166B (en) Method and device for inquiring reservable warehouse capacity, reserving and canceling reservation warehousing
CN105074664A (en) Cost-minimizing task scheduler
CN1979483A (en) File system, storage system and method for providing file system
CN104580446A (en) Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform
CN103414576A (en) Charging method for use of cloud computing resources
CN103475495A (en) Cloud-computing virtual-machine resource-usage charging method
CN109951302A (en) A kind of cloud computing charge system and method based on the customized product of data dictionary
US10152449B1 (en) User-defined capacity reservation pools for network-accessible resources
CN109445711A (en) A kind of method and device for business processing based on cloud platform
CN112434982A (en) Task processing method, device and system, storage medium and electronic equipment
CN112054912B (en) Resource charging system and method of OpenStack open source cloud platform
CN1783120A (en) Analytic technology of computer system
US20170270111A1 (en) System migration using selective envelope management
CN110267717B (en) Method and device for automatically generating automatic scaling call rules according to different independent tenants in multi-tenant environment
CN101071489A (en) Work flow management system and method for realizing work process automation
CN104715421A (en) Method and device for processing electric charge data
CN114201679A (en) Data management method, device, equipment and storage medium
CN114493756A (en) Resource management method, device, equipment and storage medium
CN113743791A (en) Business evaluation method and device for business work order, electronic equipment and medium
CN110503386B (en) Data processing system for marketized project

Legal Events

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