CN108833123A - Based on according to quantity cloud host charging method and device - Google Patents

Based on according to quantity cloud host charging method and device Download PDF

Info

Publication number
CN108833123A
CN108833123A CN201810320104.9A CN201810320104A CN108833123A CN 108833123 A CN108833123 A CN 108833123A CN 201810320104 A CN201810320104 A CN 201810320104A CN 108833123 A CN108833123 A CN 108833123A
Authority
CN
China
Prior art keywords
charging
cloud host
formula
item
expense
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.)
Pending
Application number
CN201810320104.9A
Other languages
Chinese (zh)
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.)
Wuxi Huayun Data Technology Service Co Ltd
Original Assignee
Wuxi Huayun Data Technology Service 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 Wuxi Huayun Data Technology Service Co Ltd filed Critical Wuxi Huayun Data Technology Service Co Ltd
Priority to CN201810320104.9A priority Critical patent/CN108833123A/en
Publication of CN108833123A publication Critical patent/CN108833123A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses based on according to quantity cloud host charging method and device, this method includes configuration step, acquisition step, selection step, invocation step, calculates step, classify to the charging item of cloud host, independent counting is carried out to each resource of cloud host, reasonable resource utilization is calculated by acquisition data, statistical information, the charging for being more bonded actual conditions is carried out to user's cloud host, really realizes charging according to quantity.On the one hand the accuracy for improving charging according to quantity, on the other hand reduces customer using cost.Preferably, if resource has the case where change, as CPU upgrading, memory upgrade, bandwidth upgrading degradations, data disks dilatation, cloud host life cycle terminate or when cloud Host Shutdown, understand and first carry out a disbursement and sattlement, charging is carried out according to new unit price later, metering period is constant.

Description

Based on according to quantity cloud host charging method and device
Technical field
The present invention relates to the technical fields of cloud computing IaaS, more particularly to based on according to quantity cloud host charging method and dress It sets.
Background technique
With cloud computing fast development, IaaS and PaaS layer be served by popularize, portfolio is continuously increased, each row Each industry for cloud resource using more and more common, in addition to the requirement to operation system performance is higher and higher, in price It is also more and more sensitive.A computation-intensive product line of the cloud host as cloud computing industry basis, usage amount are the largest, Its maximum one of feature be exactly can charging according to quantity, for charging according to quantity, when some manufacturers use the use configured by elasticity Between charge, some manufacturers use by fixed configurations packet year monthly payment mode charge, such charging mode is under different scenes There is respective advantage.
The prior art one is by packet year monthly payment charging, i.e. the cloud host of user's purchase fixed configurations, and monthly prepayment is fixed The expense of configuration.The disadvantage is that carrying out charging by packet year monthly payment, the period is too long, and within one month period, the business of user is used Situation be it is non-uniform, charge according to fixed configurations, mode is single, configuration cannot be flexibly changed in use, in business load It is relatively high to fluctuate cost in biggish scene.
The prior art two, which is pressed, uses time-based charging, i.e. the cloud host of user's purchase fixed configurations, can change at any time in use Configuration, platform are deducted fees by the period of deducting fees.Such as deduct fees the period be every X minutes deduct fees it is primary, it is every to use X minute just button is once Take.The disadvantage is that by time-based charging is used, this charging granularity still in configured in one piece, is not associated with application load, It reduces cost and needs frequently change configuration, seriously affect business continuance, also bring operational complexity.
Summary of the invention
For overcome the deficiencies in the prior art, the purpose of the present invention is to provide based on according to quantity cloud host charging method and Device, it is intended to solve the prior art and cannot flexibly change configuration when charging according to fixed configurations, be needed by when using time-based charging It frequently to change the problem of configuration.
The purpose of the present invention is implemented with the following technical solutions:
It is a kind of based on cloud host charging method according to quantity, including:
Configuration step configures charging item, so that each charging item corresponds to unique charging formula, each charging is public Formula corresponds to several predefined parameters and acquisition parameter, and sets characteristic value for predefined parameter;
Acquisition step acquires metering data corresponding with acquisition parameter;
Step is selected, user is received to the selection instruction of charging item, determines the charging item of cloud host;
Invocation step inquires charging formula corresponding with identified charging item, is determined according to the charging formula inquired The acquisition parameter of required calling calls metering data corresponding with identified acquisition parameter;
Step is calculated, for each charging item, according to charging formula, the charging of the characteristic value of predefined parameter and acquisition parameter Data carry out expense calculating.
On the basis of the above embodiments, it is preferred that further include:
Step is changed, when resource alteration occurs, according to the characteristic value and acquisition parameter of charging formula, predefined parameter Metering data current expense is settled accounts, while being adjusted according to characteristic value of the resource alteration to predefined parameter; Expense calculating is then carried out according to the metering data of charging formula, the characteristic value of predefined parameter adjusted and acquisition parameter later.
On the basis of the above embodiments, it is preferred that the resource alteration includes CPU upgrading, memory upgrade, bandwidth Upgrading/degradation, data disks dilatation, cloud host life cycle terminate, one of cloud Host Shutdown or a variety of.
On the basis of above-mentioned any embodiment, it is preferred that the charging item includes CPU, memory, data disks, bandwidth, IP One of or it is a variety of.
On the basis of the above embodiments, preferably:
When charging item is CPU, the corresponding charging formula of CPU is:
Expense=CPU quota period unit price × utilization rate × duration;
When charging item is memory, the corresponding charging formula of memory is:
Expense=internal memory quota period unit price × utilization rate × duration;
When charging item is data disks, the corresponding charging formula of data disks is:
Expense=unit capacity data disks period unit price × capacity × duration+single IOPS period unit price × total IOPS Value × duration;
When charging item is bandwidth, the corresponding charging formula of bandwidth is:
Expense=unit bandwidth period unit price × flow total amount × duration;
When charging item is IP, the corresponding charging formula of IP is:
Expense=single IP period unit price × duration.
It is a kind of based on cloud host message accounting according to quantity, including:
Configuration module, for being configured to charging item, so that each charging item corresponds to unique charging formula, Mei Geji Take formula and correspond to several predefined parameters and acquisition parameter, and sets characteristic value for predefined parameter;
Acquisition module, for acquiring metering data corresponding with acquisition parameter;
Selecting module determines the charging item of cloud host for receiving user to the selection instruction of charging item;
Calling module, for inquiring charging formula corresponding with identified charging item, according to the charging formula inquired The acquisition parameter called required for determining calls metering data corresponding with identified acquisition parameter;
Computing module is used for for each charging item, according to charging formula, the characteristic value of predefined parameter and acquisition parameter Metering data carries out expense calculating.
On the basis of the above embodiments, it is preferred that further include:
Module is changed, is used for when resource alteration occurs, according to the characteristic value and acquisition of charging formula, predefined parameter The metering data of parameter settles accounts current expense, while being adjusted according to characteristic value of the resource alteration to predefined parameter It is whole;Expense meter is then carried out according to the metering data of charging formula, the characteristic value of predefined parameter adjusted and acquisition parameter later It calculates.
On the basis of the above embodiments, it is preferred that the resource alteration includes CPU upgrading, memory upgrade, bandwidth Upgrading/degradation, data disks dilatation, cloud host life cycle terminate, one of cloud Host Shutdown or a variety of.
On the basis of above-mentioned any embodiment, it is preferred that the charging item includes CPU, memory, data disks, bandwidth, IP One of or it is a variety of.
On the basis of the above embodiments, preferably:
When charging item is CPU, the corresponding charging formula of CPU is:
Expense=CPU quota period unit price × utilization rate × duration;
When charging item is memory, the corresponding charging formula of memory is:
Expense=internal memory quota period unit price × utilization rate × duration;
When charging item is data disks, the corresponding charging formula of data disks is:
Expense=unit capacity data disks period unit price × capacity × duration+single IOPS period unit price × total IOPS Value × duration;
When charging item is bandwidth, the corresponding charging formula of bandwidth is:
Expense=unit bandwidth period unit price × flow total amount × duration;
When charging item is IP, the corresponding charging formula of IP is:
Expense=single IP period unit price × duration.
Compared with prior art, the beneficial effects of the present invention are:
The invention discloses based on according to quantity cloud host charging method and device, classify to the charging item of cloud host, Independent counting is carried out to each resource of cloud host, reasonable resource utilization is calculated by acquisition data, statistical information, it is right User's cloud host carries out the charging for being more bonded actual conditions, really realizes charging according to quantity.On the one hand the standard of charging according to quantity is improved On the other hand exactness reduces customer using cost.Preferably, if resource has the case where change, such as CPU upgrading, memory Upgrading, bandwidth upgrading degradation, data disks dilatation, cloud host life cycle terminate or when cloud Host Shutdowns, can first carry out primary Disbursement and sattlement carries out charging according to new unit price later, and metering period is constant.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 shows a kind of flow diagram based on cloud host charging method according to quantity provided in an embodiment of the present invention;
Fig. 2 shows a kind of application scenarios signals based on cloud host charging method according to quantity provided in an embodiment of the present invention Figure;
Fig. 3 shows a kind of structural schematic diagram based on cloud host message accounting according to quantity provided in an embodiment of the present invention.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
Specific embodiment one
As shown in Figure 1, the embodiment of the invention provides a kind of based on cloud host charging method according to quantity, including:
Configuration step S101 configures charging item, so that each charging item corresponds to unique charging formula, Mei Geji Take formula and correspond to several predefined parameters and acquisition parameter, and sets characteristic value for predefined parameter;
Acquisition step S102 acquires metering data corresponding with acquisition parameter;
Step S103 is selected, user is received to the selection instruction of charging item, determines the charging item of cloud host;
Invocation step S104 inquires charging formula corresponding with identified charging item, according to the charging formula inquired The acquisition parameter called required for determining calls metering data corresponding with identified acquisition parameter;
Step S105 is calculated, for each charging item, according to charging formula, the characteristic value of predefined parameter and acquisition parameter Metering data carries out expense calculating.
For data write-in/reading security consideration, in step s 102, collected data are after authority checking It can store;In step S104, when receiving call request, authority checking first can be carried out to request, be verified After carry out data call.
The embodiment of the present invention classifies to the charging item of cloud host, carries out charging to each resource of cloud host, passes through Acquisition data, statistical information calculate reasonable resource utilization, and the charging for being more bonded actual conditions is carried out to user's cloud host, Really realize charging according to quantity.On the one hand the accuracy for improving charging according to quantity, on the other hand reduces customer using cost.
Preferably, the embodiment of the present invention can also include:Step S106 is changed, when resource alteration occurs, according to The metering data of charging formula, the characteristic value of predefined parameter and acquisition parameter settles accounts current expense, while according to resource Alteration is adjusted the characteristic value of predefined parameter;Later then according to the feature of charging formula, predefined parameter adjusted The metering data of value and acquisition parameter carries out expense calculating.The advantage of doing so is that if resource has the case where change, it can be first A disbursement and sattlement is carried out, carries out charging according to new unit price later, metering period is constant.
In the embodiment of the present invention, the resource alteration may include CPU upgrading, memory upgrade, bandwidth upgrading/drop Grade, data disks dilatation, cloud host life cycle terminate, one of cloud Host Shutdown or a variety of.
The embodiment of the present invention to charging item without limitation, the charging item may include CPU, memory, data disks, bandwidth, One of IP or a variety of.The charging subdivision item of cloud host mainly includes CPU, memory, data disks, bandwidth and IP;CPU and interior Depositing can be according to configuration resource utilization (statistics is calculated) charging, and data disks can be according to space usage amount charging, bandwidth It can then be deducted fees according to quantity and duration based accounting by the standing charge period according to bandwidth and total flow charging, IP.
1, when charging item is CPU, the corresponding charging formula of CPU can be:Expense=CPU quota period unit price × utilization Rate × duration.It needs to select quota information when cloud resource is in purchase:It is open-minded to carry out resource for the size of CPU, memory.CPU The unit of quota period unit price can be member;The unit of utilization rate can be %, and be calculated by 95 methods;The unit of duration It can be period proportional.
CPU quota period unit price is illustrated:Such as selecting the quota of CPU for 2 cores when purchase, the quota period is single Valence is that 2 core CPU use a complete cycle corresponding expense in the case where utilization rate 100%, and quota is higher, and unit price is higher.
Utilization rate can take the utilization rate every five seconds clock of CPU since last metering period end point using 95 methods One value is sorted according to utilization rate, removes preceding 5% numerical value from high to low until this metering period terminates, and takes remaining numerical value row The value of sequence first, the data point as utilization rate.
Duration was referred to since last metering period end point, was arrived before current charge end cycle point, in non- The time of Power off/metering period.
2, when charging item is memory, the corresponding charging formula of memory can be:Expense=internal memory quota period unit price × Utilization rate × duration.The unit of internal memory quota period unit price can be member;The unit of utilization rate can be %, and pass through 95 method meters It obtains;The unit of duration can be period proportional.
Internal memory quota period unit price is illustrated:Such as select the quota of memory for 4G when purchase, the quota period Unit price be in 4G there are utilization rate 100% in the case where use the corresponding expense of a complete cycle, substantially quota is higher Unit price is higher.
Utilization rate illustrates with CPU part, is not repeated herein.
Duration illustrates with CPU part, is not repeated herein.
The embodiment of the present invention is acquired the utilization rate of CPU, memory, takes utilization rate 100% instead of original default Charging mode, value is carried out for acquisition data using 95 methods approved in the industry, it is relatively reasonable.
3, when charging item is data disks, the corresponding charging formula of data disks can be:Expense=unit capacity data disks Period unit price × capacity × duration+single IOPS period unit price × total IOPS value × duration.Unit capacity can be G, single G The unit of the period unit price of data disks is member/G;The unit of capacity can be G;The unit of duration can be period proportional;Single The unit of the period unit price of IOPS can for member/time;The unit of total IOPS value can be secondary.
The period unit price of single G data disk refers to the data disks of 1G capacity, uses the corresponding expense of a complete cycle.
Selected data disk amount of capacity when capacity refers to opening.
The period unit price of single IOPS refers to the period unit price of an IOPS.
Total IOPS value was referred to since last metering period end point, was arrived before current charge end cycle point, total The aggregate-value of IOPS.
Duration referred to since last metering period end point, time/meter to before current charge end cycle point Take the period.
4, when charging item is bandwidth, the corresponding charging formula of bandwidth can be:Expense=unit bandwidth period unit price × Flow total amount × duration.Unit bandwidth can be as unit of M, and the unit of single M bandwidth cycle unit price can be member/M;Flow total amount Unit can be M;The unit of duration can be period proportional.
Flow total amount was referred to since last metering period end point, was arrived before current charge end cycle point, was generated The accumulated number of flow.
Duration referred to since last metering period end point, time/week to before current charge end cycle point Phase ratio.
5, when charging item is IP, the corresponding charging formula of IP can be:Expense=single IP period unit price × duration. The unit of the period unit price of single IP can be member;The unit of duration can be period proportional.
The period unit price of single IP refers to that an IP uses the corresponding expense of a complete cycle.
Duration referred to since last metering period end point, the time to before current charge end cycle point.
When buying public network IP, it can need to select the quota information of bandwidth according to business, charging item is the expense and band of IP Wide cost of use.
The embodiment of the invention provides a kind of more accurate, the more charging modes of fitting actual use scene.Data disks use Compound charging method, with the capacity of data disks and IOPS value for compound charging content, being more in line with data disks is actual use shape State.Charging for bandwidth is then using the more accurate charging to using the total amount of flow to carry out after counting.
As shown in Fig. 2, an application scenarios of the embodiment of the present invention can be:
Metric Client is data collector, and component Instance therein is used to acquire the CPU and memory of cloud host Utilization rate and use duration, Network is used to acquire the usage amount and duration of IP, bandwidth, Other for acquire except it is aforementioned with The content of the charging item of other outer resources.
StackWatch is monitoring alarm service, and component Metric therein is recorded for measuring from Metric Client The data to come are acquired, Billing is used for charging, and when request of deducting fees is triggered, Billing goes to call the number in Metric According to carrying out disbursement and sattlement by formula in conjunction with the unit price of Billing self record.
IAM is authentication service, when Metric Client needs to go to be written toward StackWatch or read data It waits, will go at IAM to be authorized, access StackWatch can just be removed by taking authorization, and StackWatch receives access request When, it will go to carry out verifying authorization at IAM, be verified, receive the request of Metric Client.
In above-mentioned specific embodiment one, provide based on cloud host charging method according to quantity, corresponding, sheet Application is also provided based on cloud host message accounting according to quantity.Since Installation practice is substantially similar to embodiment of the method, so retouching State fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Installation practice described below is only Schematically.
Specific embodiment two
As shown in figure 3, the embodiment of the invention provides a kind of based on cloud host message accounting according to quantity, including:
Configuration module 201, for being configured to charging item, so that each charging item corresponds to unique charging formula, often A charging formula corresponds to several predefined parameters and acquisition parameter, and sets characteristic value for predefined parameter;
Acquisition module 202, for acquiring metering data corresponding with acquisition parameter;
Selecting module 203 determines the charging item of cloud host for receiving user to the selection instruction of charging item;
Calling module 204, it is public according to the charging inquired for inquiring charging formula corresponding with identified charging item The acquisition parameter that formula is called required for determining, calls metering data corresponding with identified acquisition parameter;
Computing module 205, for being joined according to charging formula, the characteristic value of predefined parameter and acquisition for each charging item Several metering datas carries out expense calculating.
The embodiment of the present invention classifies to the charging item of cloud host, carries out charging to each resource of cloud host, passes through Acquisition data, statistical information calculate reasonable resource utilization, and the charging for being more bonded actual conditions is carried out to user's cloud host, Really realize charging according to quantity.On the one hand the accuracy for improving charging according to quantity, on the other hand reduces customer using cost.
Preferably, the embodiment of the present invention can also include:Module 206 is changed, the root when resource alteration occurs is used for Current expense is settled accounts according to the metering data of charging formula, the characteristic value of predefined parameter and acquisition parameter, while according to money Source alteration is adjusted the characteristic value of predefined parameter;Later then according to the spy of charging formula, predefined parameter adjusted The metering data of value indicative and acquisition parameter carries out expense calculating.The advantage of doing so is that if there is the case where change, meeting in resource A disbursement and sattlement is first carried out, carries out charging according to new unit price later, metering period is constant.
The embodiment of the present invention to resource alteration without limitation, it is preferred that the resource alteration may include CPU Upgrading, memory upgrade, bandwidth upgrading/degradation, data disks dilatation, cloud host life cycle terminate, one of cloud Host Shutdown Or it is a variety of.
The embodiment of the present invention to charging item without limitation, it is preferred that the charging item may include CPU, memory, data One of disk, bandwidth, IP or a variety of.
Preferably:
When charging item is CPU, the corresponding charging formula of CPU can be:
Expense=CPU quota period unit price × utilization rate × duration;
When charging item is memory, the corresponding charging formula of memory can be:
Expense=internal memory quota period unit price × utilization rate × duration;
When charging item is data disks, the corresponding charging formula of data disks can be:
Expense=unit capacity data disks period unit price × capacity × duration+single IOPS period unit price × total IOPS Value × duration;
When charging item is bandwidth, the corresponding charging formula of bandwidth can be:
Expense=unit bandwidth period unit price × flow total amount × duration;
When charging item is IP, the corresponding charging formula of IP can be:
Expense=single IP period unit price × duration.
The present invention is from using in purpose, and in efficiency, the viewpoints such as progressive and novelty are illustrated, the practical progress having Property, oneself meets the function that Patent Law is emphasized and promotes and use important document, and more than the present invention explanation and attached drawing are only of the invention Preferred embodiment and oneself, the present invention is not limited to this, therefore, it is all constructed with the present invention, device, wait the approximations, thunder such as levy With, i.e., all according to equivalent replacement made by present patent application range or modification etc., the patent application that should all belong to of the invention is protected Within the scope of shield.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.Although present invention has been a degree of descriptions, it will be apparent that, in the item for not departing from the spirit and scope of the present invention Under part, the appropriate variation of each condition can be carried out.It is appreciated that the present invention is not limited to the embodiments, and it is attributed to right and wants The range asked comprising the equivalent replacement of each factor.It will be apparent to those skilled in the art that can as described above Various other corresponding changes and deformation are made in technical solution and design, and all these change and deformation is all answered Within this is belonged to the protection scope of the claims of the invention.

Claims (10)

1. a kind of based on cloud host charging method according to quantity, which is characterized in that including:
Configuration step configures charging item, so that each charging item corresponds to unique charging formula, each charging formula pair Several predefined parameters and acquisition parameter are answered, and sets characteristic value for predefined parameter;
Acquisition step acquires metering data corresponding with acquisition parameter;
Step is selected, user is received to the selection instruction of charging item, determines the charging item of cloud host;
Invocation step inquires charging formula corresponding with identified charging item, needed for being determined according to the charging formula inquired The acquisition parameter to be called calls metering data corresponding with identified acquisition parameter;
Step is calculated, for each charging item, according to charging formula, the metering data of the characteristic value of predefined parameter and acquisition parameter Carry out expense calculating.
2. according to claim 1 based on cloud host charging method according to quantity, which is characterized in that further include:
Step is changed, when resource alteration occurs, according to charging formula, the meter of the characteristic value of predefined parameter and acquisition parameter Expense data settle accounts current expense, while being adjusted according to characteristic value of the resource alteration to predefined parameter;Later Expense calculating is then carried out according to the metering data of charging formula, the characteristic value of predefined parameter adjusted and acquisition parameter.
3. according to claim 2 based on cloud host charging method according to quantity, which is characterized in that the resource alteration Terminate, in cloud Host Shutdown including CPU upgrading, memory upgrade, bandwidth upgrading/degradation, data disks dilatation, cloud host life cycle It is one or more.
4. according to claim 1 or 2 based on cloud host charging method according to quantity, which is characterized in that the charging item packet Include one of CPU, memory, data disks, bandwidth, IP or a variety of.
5. according to claim 4 based on cloud host charging method according to quantity, it is characterised in that:
When charging item is CPU, the corresponding charging formula of CPU is:
Expense=CPU quota period unit price × utilization rate × duration;
When charging item is memory, the corresponding charging formula of memory is:
Expense=internal memory quota period unit price × utilization rate × duration;
When charging item is data disks, the corresponding charging formula of data disks is:
Expense=unit capacity data disks period unit price × capacity × duration+single IOPS period unit price × total IOPS value × Duration;
When charging item is bandwidth, the corresponding charging formula of bandwidth is:
Expense=unit bandwidth period unit price × flow total amount × duration;
When charging item is IP, the corresponding charging formula of IP is:
Expense=single IP period unit price × duration.
6. a kind of based on cloud host message accounting according to quantity, which is characterized in that including:
Configuration module, for configuring to charging item, so that each charging item corresponds to unique charging formula, each charging is public Formula corresponds to several predefined parameters and acquisition parameter, and sets characteristic value for predefined parameter;
Acquisition module, for acquiring metering data corresponding with acquisition parameter;
Selecting module determines the charging item of cloud host for receiving user to the selection instruction of charging item;
Calling module is determined for inquiring charging formula corresponding with identified charging item according to the charging formula inquired The acquisition parameter of required calling calls metering data corresponding with identified acquisition parameter;
Computing module is used for for each charging item, according to charging formula, the charging of the characteristic value of predefined parameter and acquisition parameter Data carry out expense calculating.
7. according to claim 6 based on cloud host message accounting according to quantity, which is characterized in that further include:
Module is changed, is used for when resource alteration occurs, according to the characteristic value and acquisition parameter of charging formula, predefined parameter Metering data current expense is settled accounts, while being adjusted according to characteristic value of the resource alteration to predefined parameter; Expense calculating is then carried out according to the metering data of charging formula, the characteristic value of predefined parameter adjusted and acquisition parameter later.
8. according to claim 7 based on cloud host message accounting according to quantity, which is characterized in that the resource alteration Terminate, in cloud Host Shutdown including CPU upgrading, memory upgrade, bandwidth upgrading/degradation, data disks dilatation, cloud host life cycle It is one or more.
9. according to claim 6 or 7 based on cloud host message accounting according to quantity, which is characterized in that the charging item packet Include one of CPU, memory, data disks, bandwidth, IP or a variety of.
10. according to claim 9 based on cloud host message accounting according to quantity, it is characterised in that:
When charging item is CPU, the corresponding charging formula of CPU is:
Expense=CPU quota period unit price × utilization rate × duration;
When charging item is memory, the corresponding charging formula of memory is:
Expense=internal memory quota period unit price × utilization rate × duration;
When charging item is data disks, the corresponding charging formula of data disks is:
Expense=unit capacity data disks period unit price × capacity × duration+single IOPS period unit price × total IOPS value × Duration;
When charging item is bandwidth, the corresponding charging formula of bandwidth is:
Expense=unit bandwidth period unit price × flow total amount × duration;
When charging item is IP, the corresponding charging formula of IP is:
Expense=single IP period unit price × duration.
CN201810320104.9A 2018-04-11 2018-04-11 Based on according to quantity cloud host charging method and device Pending CN108833123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810320104.9A CN108833123A (en) 2018-04-11 2018-04-11 Based on according to quantity cloud host charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810320104.9A CN108833123A (en) 2018-04-11 2018-04-11 Based on according to quantity cloud host charging method and device

Publications (1)

Publication Number Publication Date
CN108833123A true CN108833123A (en) 2018-11-16

Family

ID=64155296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810320104.9A Pending CN108833123A (en) 2018-04-11 2018-04-11 Based on according to quantity cloud host charging method and device

Country Status (1)

Country Link
CN (1) CN108833123A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783312A (en) * 2018-12-18 2019-05-21 华为技术有限公司 A kind of metering method of resource usage, apparatus and system
CN112000317A (en) * 2020-08-26 2020-11-27 济南浪潮数据技术有限公司 Resource charging method and device, electronic equipment and storage medium
WO2021115085A1 (en) * 2019-12-12 2021-06-17 北京金山云网络技术有限公司 Cloud computing metering and charging method and apparatus, and electronic device and storage medium
CN114629732A (en) * 2020-12-11 2022-06-14 北京金山云网络技术有限公司 Charging method and device for cloud resources, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594576A (en) * 2012-03-19 2012-07-18 广州亦云信息技术有限公司 Charging method based on cloud platform service
CN103095471A (en) * 2013-01-25 2013-05-08 浪潮电子信息产业股份有限公司 Charging method based on usage amount in cloud operating system (OS)
CN104156811A (en) * 2014-08-04 2014-11-19 浪潮电子信息产业股份有限公司 Bill generation method based on in-cloud OS
CN106936601A (en) * 2015-12-31 2017-07-07 华为技术有限公司 A kind of business charging method and device
CN107194275A (en) * 2017-04-28 2017-09-22 苏州蜗牛数字科技股份有限公司 A kind of private clound operation management platform and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594576A (en) * 2012-03-19 2012-07-18 广州亦云信息技术有限公司 Charging method based on cloud platform service
CN103095471A (en) * 2013-01-25 2013-05-08 浪潮电子信息产业股份有限公司 Charging method based on usage amount in cloud operating system (OS)
CN104156811A (en) * 2014-08-04 2014-11-19 浪潮电子信息产业股份有限公司 Bill generation method based on in-cloud OS
CN106936601A (en) * 2015-12-31 2017-07-07 华为技术有限公司 A kind of business charging method and device
CN107194275A (en) * 2017-04-28 2017-09-22 苏州蜗牛数字科技股份有限公司 A kind of private clound operation management platform and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783312A (en) * 2018-12-18 2019-05-21 华为技术有限公司 A kind of metering method of resource usage, apparatus and system
WO2021115085A1 (en) * 2019-12-12 2021-06-17 北京金山云网络技术有限公司 Cloud computing metering and charging method and apparatus, and electronic device and storage medium
CN112990952A (en) * 2019-12-12 2021-06-18 北京金山云网络技术有限公司 Cloud computing metering charging method and device, electronic equipment and storage medium
CN112000317A (en) * 2020-08-26 2020-11-27 济南浪潮数据技术有限公司 Resource charging method and device, electronic equipment and storage medium
CN114629732A (en) * 2020-12-11 2022-06-14 北京金山云网络技术有限公司 Charging method and device for cloud resources, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108833123A (en) Based on according to quantity cloud host charging method and device
CN110418022B (en) Method and device for adjusting flow package for multiple user identifications
CN110493016B (en) Flow service charging method and device
CN108171540A (en) For the method and apparatus of resource metering and billing
CN107566133A (en) A kind of resource billing method, device and platform
US9870597B2 (en) Systems and methods allowing multi-family property owners to consolidate retail electric provider charges with landlord provided utilities and services
CN101883178A (en) Method and system for automatically timing and metering during surfing Internet with cell phone on basis of cell phone terminal
CN100571316C (en) Quick constant expense computing system based on memory file and real-time synchronization technique
CN112202871A (en) Metering and charging method, device and system for cloud computing resources and electronic equipment
CN109327815B (en) Income calculation method and device for logic station
CN110163721A (en) A kind of pair of copyright revenue, which is divided into, carries out the method and device that block chain deposits card
CN108023735A (en) A kind of charging method based on dynamic resource
CN111651345A (en) System testing method and device and electronic equipment
CN112149398B (en) System for quickly generating profit-facilitating report forms of e-commerce and enterprise
AU2012346010B2 (en) Configurable billing with subscriptions having conditional components
CN110298677A (en) A kind of method, apparatus, electronic equipment and the storage medium of cloud computing resources charging
CN114285848A (en) Scalable method, system, electronic device and readable medium for blockchain resources
US4754217A (en) Seasonal reset for electric watthour meter registers
CN110300000A (en) Charging mode variation, device, electronic equipment and readable storage medium storing program for executing
CN113839974A (en) Container platform charging method and system
CN110675235B (en) Financial data processing method and device, electronic equipment and storage medium
CN110852857A (en) Fare reimbursement method, device and storage medium
CN117196543B (en) Multi-purpose ammeter recharging management method and system based on fund pool
CN111083656B (en) Flow package management method and device and storage medium
CN111861612B (en) Resource allocation method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181116