CN103095471A - Charging method based on usage amount in cloud operating system (OS) - Google Patents
Charging method based on usage amount in cloud operating system (OS) Download PDFInfo
- Publication number
- CN103095471A CN103095471A CN2013100284615A CN201310028461A CN103095471A CN 103095471 A CN103095471 A CN 103095471A CN 2013100284615 A CN2013100284615 A CN 2013100284615A CN 201310028461 A CN201310028461 A CN 201310028461A CN 103095471 A CN103095471 A CN 103095471A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- usage charges
- cpu
- disk
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a charging method based on usage amount in a cloud operating system (OS). According to the method, various charging items in terms of central processing units (CPUs), internal storage, networks and disks of cloud resources are divided into two kinds of bill items including a virtual machine charge for use and a storage charge for use according to the applied characteristics. The virtual machine charge for use includes a CPU charge for use, an internal storage charge for use and a network charge for use, and the CPUs, the internal storage and the networks occupy resources and incurs charges only when virtual machines start to be used, namely the virtual machine charge for use is incurred only when the virtual machines are used. The storage charge for use includes a disk charge for use, and due to the fact that the disks have the characters of being exclusive and durable, the disks can incur charges all the time in the whole life period of the virtual machines. Therefore, the charges incurred by the storage occupied by the disks of the virtual machines are calculated individually by day. Thus, use as required and charging based on the usage amount can be really achieved, and the charging is more flexible and accurate and appeals to users.
Description
Technical field
The present invention relates to charging field in cloud OS, specifically a kind of method of usage-based billing in cloud OS.
Background technology
Cloud computing turns to service and offers the client computer resource is virtual, and the client uses these resources just as using water power.The cloud service charging platform serves as the role of cloud computing " water meter ", " ammeter ".Cloud computing is traditional grid computing, the business model of Distributed Calculation, so the demand of its service charging highlights just day by day.Research and development are applicable to the charging platform of various cloud service patterns, can reduce implementation cost and the difficulty of cloud service provider, and standard cloud service market makes use rationalization, the transparence of cloud service resource.In the process that changes the traditional business pattern, the charging problem of IT service is to stand in the breach.If can not change traditional IT service charging pattern, the elasticity advantage of cloud computing can only be mere scrap of paper.Domestic some cloud computings manufacturer adopts rent mode to provide cloud service (virtual machine service) for the user, can not collect the charges even the user does not use also, causes that the user is discontented.
Use accurate charging problem in order to solve the cloud resource, we have proposed a kind of usage-based billing method in cloud OS.
Summary of the invention
The method that the purpose of this invention is to provide usage-based billing in a kind of cloud OS.
The objective of the invention is to realize in the following manner, with cpu, internal memory, network, each charging item of disk in the cloud resource, according to its handling characteristics, be divided into virtual machine usage charges and two kinds of bill item of storage usage charges.The virtual machine usage charges comprise cpu usage charges, internal memory usage charges, Internet utilization fee, and Cpu, internal memory, network only bring into use Shi Caihui to take resource generation expense at virtual machine, and namely the virtual machine usage charges only produce when virtual machine uses; The storage usage charges comprise the disk usage charges, and because disk has exclusivity, persistence characteristics, disk can produce expense always in the whole life cycle of virtual machine so, and therefore, the expense that the storage that the virtual machine disk is taken produces is calculated separately, by day calculating.Like this, just can really accomplish to use as required, usage-based billing, concrete charging step is as follows:
(1) prerequisite:
1) unit price setting:
Cpu:XX unit/core/hour, dominant frequency is 1GHz
Internal memory: XX unit/GB/ hour
Storage: XX unit/GB/ hour
Network:
Intranet: XX unit/hour
Outer net: XX unit/hour
2) resource distribution mode:
Payable at sight is namely used mode, namely only when virtual machine is opened, just really cpu, internal memory, Resource Allocation in Networks to virtual machine;
(2) expense is calculated:
1) the virtual machine usage charges are calculated
(1) obtain virtual machine and use duration and configuration information, comprising: Intranet or outer net when cpu check figure and dominant frequency, memory size, network interface card number and network interface card use;
(2) obtain cpu, internal memory, intranet and extranet unit price information;
(3) go out cpu usage charges, internal memory usage charges, intranet and extranet usage charges according to unit price information and use duration calculation, the virtual machine usage charges are cpu usage charges, internal memory usage charges, intranet and extranet usage charges three sum;
2) the storage usage charges are calculated;
(1) obtain disk size change information and transformation period in virtual machine one day;
(2) according to the transformation period one day time division of naming a person for a particular job, calculate respectively on a time period;
(3) obtain storage unit price information;
(4) calculate disk expense in the time period according to disk size size, unit price in each time period and time period, cumulative to expense in each time period, can obtain one day disk and take storage expenses.
The invention has the beneficial effects as follows: with cpu, internal memory, network, each charging item of disk in the cloud resource, according to its handling characteristics, be divided into virtual machine usage charges and two kinds of bill item of storage usage charges.The virtual machine usage charges comprise cpu usage charges, internal memory usage charges, Internet utilization fee, and Cpu, internal memory, network only bring into use Shi Caihui to take resource generation expense at virtual machine, and namely the virtual machine usage charges only produce when virtual machine uses; The storage usage charges comprise the disk usage charges, and because disk has exclusivity, persistence characteristics, disk can produce expense always in the whole life cycle of virtual machine so, and therefore, the expense that the storage that the virtual machine disk is taken produces is calculated separately, by day calculating.Like this, just can really accomplish to use as required, usage-based billing makes charging have more elasticity, accomplishes accurate charging, attracts the user.
Description of drawings
Fig. 1 is virtual machine usage charges calculation flow charts;
Fig. 2 is storage usage charges calculation flow charts.
Embodiment
With reference to Figure of description, method of the present invention is described in detail below.
Concrete charging step is as follows:
One, prerequisite:
Unit price arranges:
Cpu:XX unit/core/hour (dominant frequency is 1GHz)
Internal memory: XX unit/GB/ hour
Storage: XX unit/GB/ hour
Network:
Intranet: XX unit/hour
Outer net: XX unit/hour
Resource distribution mode:
Payable at sight is namely used mode, namely only when virtual machine is opened, just really cpu, internal memory, Resource Allocation in Networks to virtual machine;
Two, expense is calculated:
The virtual machine usage charges are calculated
(1), obtain virtual machine and use duration and configuration information (Intranet or outer net when cpu check figure and dominant frequency, memory size, network interface card number and network interface card use)
(2), obtain cpu, internal memory, intranet and extranet unit price information
(3) go out cpu usage charges, internal memory usage charges, intranet and extranet usage charges according to unit price information and use duration calculation, the virtual machine usage charges are cpu usage charges, internal memory usage charges, intranet and extranet usage charges three sum;
The storage usage charges are calculated (by day calculating)
(1) obtain disk size change information and transformation period in virtual machine one day;
(2) according to the transformation period one day time division of naming a person for a particular job, calculate respectively on a time period;
(3) obtain storage unit price information;
(4) according to each time period, and the time period in disk size size, unit price calculate disk expense in the time period, cumulative to expense in each time period, can obtain one day disk and take storage expenses.
Except the described technical characterictic of specification, be the known technology of those skilled in the art.
Claims (1)
1. the method for usage-based billing in a cloud OS, it is characterized in that cpu, internal memory, network, each charging item of disk in the cloud resource, according to its handling characteristics, be divided into virtual machine usage charges and two kinds of bill item of storage usage charges, the virtual machine usage charges comprise cpu usage charges, internal memory usage charges, Internet utilization fee, Cpu, internal memory, network only bring into use Shi Caihui to take resource generation expense at virtual machine, and namely the virtual machine usage charges only produce when virtual machine uses; The storage usage charges comprise the disk usage charges, because disk has exclusivity, persistence characteristics, disk can produce expense always in the whole life cycle of virtual machine so, therefore, the expense that the storage that the virtual machine disk is taken produces is calculated separately, by day calculating, like this, just can really accomplish to use as required, usage-based billing, concrete charging step is as follows:
(1) prerequisite:
1) unit price setting:
Cpu:XX unit/core/hour, dominant frequency is 1GHz
Internal memory: XX unit/GB/ hour
Storage: XX unit/GB/ hour
Network:
Intranet: XX unit/hour
Outer net: XX unit/hour
2) resource distribution mode:
Payable at sight is namely used mode, namely only when virtual machine is opened, just really cpu, internal memory, Resource Allocation in Networks to virtual machine;
(2) expense is calculated:
1) the virtual machine usage charges are calculated
(1) obtain virtual machine and use duration and configuration information, comprising: Intranet or outer net when cpu check figure and dominant frequency, memory size, network interface card number and network interface card use;
(2) obtain cpu, internal memory, intranet and extranet unit price information;
(3) go out cpu usage charges, internal memory usage charges, intranet and extranet usage charges according to unit price information and use duration calculation, the virtual machine usage charges are cpu usage charges, internal memory usage charges, intranet and extranet usage charges three sum;
2) the storage usage charges are calculated;
(1) obtain disk size change information and transformation period in virtual machine one day;
(2) according to the transformation period one day time division of naming a person for a particular job, calculate respectively on a time period;
(3) obtain storage unit price information;
(4) calculate disk expense in the time period according to disk size size, unit price in each time period and time period, cumulative to expense in each time period, can obtain one day disk and take storage expenses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100284615A CN103095471A (en) | 2013-01-25 | 2013-01-25 | Charging method based on usage amount in cloud operating system (OS) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100284615A CN103095471A (en) | 2013-01-25 | 2013-01-25 | Charging method based on usage amount in cloud operating system (OS) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103095471A true CN103095471A (en) | 2013-05-08 |
Family
ID=48207634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100284615A Pending CN103095471A (en) | 2013-01-25 | 2013-01-25 | Charging method based on usage amount in cloud operating system (OS) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095471A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156303A (en) * | 2014-08-22 | 2014-11-19 | 成都致云科技有限公司 | High-accuracy virtual calculation amount calculation method |
CN104156811A (en) * | 2014-08-04 | 2014-11-19 | 浪潮电子信息产业股份有限公司 | Bill generation method based on in-cloud OS |
CN104243179A (en) * | 2013-06-07 | 2014-12-24 | 曙光信息产业(北京)有限公司 | Flexible billing strategy method |
CN105099782A (en) * | 2015-08-18 | 2015-11-25 | 北京京东世纪贸易有限公司 | Method and system for controlling big data resource of cloud environment cluster |
CN106257524A (en) * | 2016-05-13 | 2016-12-28 | 浙江大学 | A kind of charging method of cloud infrastructure services |
CN107566133A (en) * | 2017-10-26 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of resource billing method, device and platform |
CN108833123A (en) * | 2018-04-11 | 2018-11-16 | 无锡华云数据技术服务有限公司 | Based on according to quantity cloud host charging method and device |
CN110674190A (en) * | 2019-09-27 | 2020-01-10 | 北京金山云网络技术有限公司 | Statistical method and device for file system tasks and server |
US10636065B2 (en) | 2016-03-09 | 2020-04-28 | Western Digital Technologies, Inc. | Data storage device, method and system, and control of data storage device based on writing operations and lifetime |
CN111861446A (en) * | 2020-07-20 | 2020-10-30 | 北京金山云网络技术有限公司 | Charging control method, charging control device, electronic equipment, server and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238012A (en) * | 2010-04-23 | 2011-11-09 | 华为技术有限公司 | Charging method and system |
CN102387023A (en) * | 2010-08-27 | 2012-03-21 | 中兴通讯股份有限公司 | Charging method and system used for cloud computing |
CN102594576A (en) * | 2012-03-19 | 2012-07-18 | 广州亦云信息技术有限公司 | Charging method based on cloud platform service |
-
2013
- 2013-01-25 CN CN2013100284615A patent/CN103095471A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238012A (en) * | 2010-04-23 | 2011-11-09 | 华为技术有限公司 | Charging method and system |
CN102387023A (en) * | 2010-08-27 | 2012-03-21 | 中兴通讯股份有限公司 | Charging method and system used for cloud computing |
CN102594576A (en) * | 2012-03-19 | 2012-07-18 | 广州亦云信息技术有限公司 | Charging method based on cloud platform service |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243179A (en) * | 2013-06-07 | 2014-12-24 | 曙光信息产业(北京)有限公司 | Flexible billing strategy method |
CN104156811A (en) * | 2014-08-04 | 2014-11-19 | 浪潮电子信息产业股份有限公司 | Bill generation method based on in-cloud OS |
CN104156303A (en) * | 2014-08-22 | 2014-11-19 | 成都致云科技有限公司 | High-accuracy virtual calculation amount calculation method |
CN105099782A (en) * | 2015-08-18 | 2015-11-25 | 北京京东世纪贸易有限公司 | Method and system for controlling big data resource of cloud environment cluster |
US10636065B2 (en) | 2016-03-09 | 2020-04-28 | Western Digital Technologies, Inc. | Data storage device, method and system, and control of data storage device based on writing operations and lifetime |
US11205206B2 (en) | 2016-03-09 | 2021-12-21 | Western Digital Technologies, Inc. | Data storage device, method and system, and control of data storage device based on writing operations and lifetime |
CN106257524A (en) * | 2016-05-13 | 2016-12-28 | 浙江大学 | A kind of charging method of cloud infrastructure services |
CN107566133A (en) * | 2017-10-26 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of resource billing method, device and platform |
CN108833123A (en) * | 2018-04-11 | 2018-11-16 | 无锡华云数据技术服务有限公司 | Based on according to quantity cloud host charging method and device |
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 |
CN111861446A (en) * | 2020-07-20 | 2020-10-30 | 北京金山云网络技术有限公司 | Charging control method, charging control device, electronic equipment, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103095471A (en) | Charging method based on usage amount in cloud operating system (OS) | |
Jin et al. | Towards optimized fine-grained pricing of IaaS cloud platform | |
CN105049218B (en) | PhiCloud clouds charging method and system | |
CN107566133A (en) | A kind of resource billing method, device and platform | |
Souza et al. | Ecovisor: A virtual energy system for carbon-efficient applications | |
CN102594576A (en) | Charging method based on cloud platform service | |
CN104574051A (en) | Charging method and device | |
CN102339444A (en) | Cloud supermarket system | |
CN104156811A (en) | Bill generation method based on in-cloud OS | |
CN103414576A (en) | Charging method for use of cloud computing resources | |
CN108132839B (en) | Resource scheduling method and device | |
CN103475495A (en) | Cloud-computing virtual-machine resource-usage charging method | |
CN104104521A (en) | Cloud computing service flexible billing method based on actual usage | |
CN104320266A (en) | Charging method and device under cloud computing operation system | |
CN104268816A (en) | Charging system and method for calculating different fees of property business | |
CN109951302A (en) | A kind of cloud computing charge system and method based on the customized product of data dictionary | |
CN109002359A (en) | A kind of dispatching method and relevant apparatus of calculate node server | |
CN105931379A (en) | Fee deduction method and system for intelligent electric meter | |
CN104135535B (en) | A kind of tenant's method of adjustment and system towards cloud computing | |
CN105245351A (en) | Charging method and device | |
CN105610982B (en) | A kind of method that power information acquisition system electric energy meter electric price parameter issues | |
CN105931142A (en) | Method for determining electric charge collection ranks | |
CN110168503A (en) | Timeslice inserts facility | |
Schwanengel et al. | Challenges with tenant-specific cost determination in multi-tenant applications | |
CN102520243A (en) | Household one meter three reading intelligent electric meter system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130508 |