Multi-cloud platform cost management method and system
By cleaning bill data of multi-cloud platforms and identifying business types, the complexity of cloud platform cost management is solved, unified calculation of costs in multi-cloud environments and instance-level cost summary, improving the transparency and accuracy of cost management.
Patent Information
- Application Number
- PCT/CN2024/118858
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-11
- Filing Date
- 2024-09-13
- Publication Date
- 2025-07-17
AI Technical Summary
At present, cloud platform cost management has problems such as huge amount consumption, detailed bill size, difficult understanding, low perception and inconsistent, especially in multi-cloud platform environments.
Provide a multi-cloud platform cost management method and system, which cleans the cloud platform bill data, determines the business type, calculates the cost of each type, and finally determines the actual business cost.
The converged calculation of prepaid and postpaid bills for multi-cloud platforms is realized, and costs can be summarized at the instance level, helping enterprises to timely and accurately grasp the operating costs of business, cloud platforms and cloud products.
Smart Images

Figure CN2024118858_17072025_PF_FP_ABST
Abstract
Description
Multi-cloud platform cost management method and system
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 11, 2024, with application number 202410044911.8, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of cost management technology, and for example, to a multi-cloud platform cost management method and system. Background Art
[0003] Current cloud platform cost management has the following problems: (1) Huge amount of money consumed and fine billing granularity: After most enterprises move their businesses to the cloud, they run a large number of cloud resource components and instances, generating huge amounts of consumption. In addition, many paid products generate orders in seconds, resulting in huge bill items that are difficult to calculate. (2) Difficulty in understanding: Cloud providers' costs and bills are IT-centric, which cannot be matched with the business and are difficult to understand. (3) Low perception: Using cloud products may generate many types of payment operations, making it difficult to intuitively understand usage and usage amounts, and it is difficult to perceive changes in cloud platform unit prices or discounts in a timely manner. (4) Inconsistency: Using multiple cloud platforms, each cloud platform has its own billing method, cost and billing report.
[0004] Summary of the Invention
[0005] Based on this, the purpose of this application is to provide a multi-cloud platform cost management method and system.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] A multi-cloud platform cost management method, comprising:
[0008] Obtain cloud platform billing data and clean the billing data;
[0009] Determine the business types included in the billing data; the business types include newly purchased resources, refunded resources, postpaid resources, resource packages, and vouchers;
[0010] Calculate the cost of each of the aforementioned business types;
[0011] The actual transaction costs are determined based on the costs of each of the described transaction types.
[0012] To achieve the above objectives, this application also provides the following solutions:
[0013] A multi-cloud platform cost management system, comprising:
[0014] A billing data acquisition and cleaning module is configured to acquire cloud platform billing data and clean the billing data;
[0015] A service type determination module configured to determine the service types included in the billing data; the service types include newly purchased resources, refunded resources, postpaid resources, resource packages, and vouchers;
[0016] A first cost calculation module, configured to calculate the cost of each of the business types;
[0017] The second cost calculation module is configured to determine the actual business cost according to the cost of each business type.
[0018] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0019] This application can integrate and calculate the prepaid and postpaid bills of multiple cloud platforms and aggregate them to the instance level, and calculate costs based on the company's business type, so that cloud enterprise users can timely and accurately understand the operating costs of their business, cloud platform, cloud products and instances. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] FIG1 is a flow chart of the multi-cloud platform cost management method provided by this application;
[0022] FIG2 is another flow chart of the multi-cloud platform cost management method provided by this application;
[0023] FIG3 is a flowchart of cost saving for purchasing resource packages based on post-payment predictions provided by this application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the drawings and specific embodiments.
[0025] Example 1
[0026] As shown in Figures 1 and 2, the multi-cloud platform cost management method provided in this embodiment includes the following steps:
[0027] S1: Obtain cloud platform billing data and cleanse the billing data.
[0028] Pull all historical orders from each cloud platform account, including both prepaid and postpaid orders. Daily, synchronize all orders from the previous day across all accounts to determine the corresponding billing data. Each order contains multiple InstanceIDs or a single InstanceID. The project to which the order belongs is retrieved based on the management information of the CMDB instance-associated project. Order settlement is amortized based on the number of days each instance was purchased and the number of instances.
[0029] S2: Determine the business types included in the billing data; business types include newly purchased resources, refunded resources, postpaid resources, resource packages, and vouchers.
[0030] S3: Calculate the cost of each business type.
[0031] (1) When the business type is new resource purchase, calculate the daily purchase cost.
[0032] Total purchase amount / total purchase period (days) = initial daily purchase cost
[0033] Initial daily purchase cost + expansion amount / remaining expansion period (days) = daily purchase cost after expansion;
[0034] Initial daily purchase cost - reduction amount / remaining reduction period (days) = daily purchase cost after reduction.
[0035] (2) When the business type is refund resources, calculate the cost of the refund on the day.
[0036] Total purchase amount – refund amount – [daily purchase cost * (number of days used - 1)] = cost on the day of refund.
[0037] (3) When the service type is postpaid resources, calculate the total instance cost.
[0038] Number of postpaid resources * postpaid unit price + daily purchase cost = total instance cost.
[0039] (4) When the business type is resource package, calculate the total instance cost.
[0040] Postpaid resource package purchase amount / resource package period (days) + daily purchase cost = total instance cost.
[0041] (5) When the business type is voucher, calculate the voucher cost.
[0042] Total amount of vouchers received this year / total amount of consumption last year = discount ratio of vouchers
[0043] Voucher cost = amount payable (including voucher portion) * (1-voucher discount rate).
[0044] Financial calculation: Vouchers are equal to the company's operating income, and the amount payable - income = actual cost.
[0045] However, the total discount calculation amount must be within the total amount of the voucher. For example, if the voucher is worth 8 million, the discount will no longer be available after the 8 million orders are calculated.
[0046] (6) When the business type is shared by multiple users, calculate the actual instance cost of the business.
[0047] 1) Service type product sharing
[0048] Service type fee / shared business quantity = shared service instance cost.
[0049] 2) Instance products are allocated based on volume
[0050] Total instance cost * business setting monitoring usage percentage = shared instance cost.
[0051] S4: Determine the actual business cost based on the cost of each business type.
[0052] For shared product costs, the cost is calculated as follows: for service-type products, the cost is shared equally. For instance-type products, the total billing usage and the percentage of each business monitoring usage are calculated and then multiplied by the total cost to obtain the cost allocated to each business.
[0053] The multi-cloud platform cost management method provided in this implementation also includes: predicting the cost savings of purchasing resource packages based on post-payment. As shown in Figure 3, it specifically includes:
[0054] Estimate next month's usage based on last month's postpaid usage and growth rate data;
[0055] Calculate the purchase range of resource packages based on next month's usage;
[0056] When the unit price of a resource package within the purchase range is lower than the original price, purchase the resource package;
[0057] Calculate cost savings based on next month's actual usage, original unit price, and resource package purchase costs.
[0058] Example 2
[0059] In order to execute the method corresponding to the above embodiment 1 and achieve the corresponding functions and technical effects, a multi-cloud platform cost management system is provided below.
[0060] The above system includes:
[0061] The billing data acquisition and cleaning module is configured to acquire cloud platform billing data and clean the billing data.
[0062] The business type determination module is configured to determine the business types included in the billing data; business types include newly purchased resources, refunded resources, postpaid resources, resource packages, and vouchers.
[0063] The first cost calculation module is configured to calculate the cost of each business type.
[0064] The second cost calculation module is configured to determine the actual business cost based on the cost of each business type.
[0065] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0066] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of this application. In summary, the content of this specification should not be construed as limiting this application.
Claims
1. A method for multi-cloud platform cost management, comprising: Obtaining cloud platform bill data and cleaning the bill data; Determining the business types included in the bill data; the business types include newly purchased resources, refunded resources, post-paid resources, resource packages, and vouchers; Calculating the costs of each of the business types; Determining the actual business costs based on the costs of each of the business types.
2. The method for managing the cost of a multi-cloud platform according to claim 1, wherein, Calculating the costs of each of the business types includes: When the business type is newly purchased resources, calculating the daily purchase cost; When the business type is refunded resources, calculating the cost on the refund day; When the business type is post-paid resources, calculating the total instance cost; When the business type is resource packages, calculating the total instance cost; When the business type is vouchers, calculating the voucher cost.
3. The cost management method for a multi-cloud platform according to claim 2, wherein, When the business type is newly purchased resources, calculating the daily purchase cost includes: Calculating the initial daily purchase cost based on the total purchase amount and total purchase period of the newly purchased resources; Calculating the daily purchase cost after expansion based on the initial daily purchase cost, expansion amount, and remaining expansion period; Calculating the daily purchase cost after reduction based on the initial daily purchase cost, reduction amount, and remaining reduction period.
4. The method for cost management of a multi-cloud platform according to claim 2, wherein, When the business type is refunded resources, calculating the cost on the refund day includes: Calculating the cost on the refund day based on the total purchase amount, refund amount, daily purchase cost, and number of days used of the refunded resources.
5. The multi-cloud platform cost management method according to claim 2, wherein, When the business type is post-paid resources, calculating the total instance cost includes: Calculating the total instance cost based on the number of post-paid resources, post-paid unit price, and daily purchase cost.
6. The method for cost management of a multi-cloud platform according to claim 2, wherein, When the business type is resource packages, calculating the total instance cost includes: Calculating the total instance cost based on the purchase amount of the post-paid resource package, resource package period, and daily purchase cost cost.
7. The multi-cloud platform cost management method according to claim 2, wherein, When the business type is vouchers, calculating the voucher cost includes: Calculating the discount ratio of the voucher based on the total voucher amount and total historical consumption amount; Calculating the voucher cost based on the payable amount and the discount ratio.
8. The multi-cloud platform cost management method according to claim 1, the method further comprising: Calculating the cost savings from predicting the purchase of resource packages for post-paid resources.
9. The cost management method for a multi-cloud platform according to claim 8, wherein, Calculating the cost savings from predicting the purchase of resource packages for post-paid resources includes: Estimating the usage volume for the next month based on the post-paid usage volume of the previous month and the growth rate data; Calculating the purchase range of the resource package based on the usage volume for the next month; When the unit price of the resource package purchased within the purchase range is lower than the original unit price, purchasing the resource package; Calculating the cost savings based on the actual usage volume for the next month, the original unit price, and the cost of purchasing the resource package.
10. A multi-cloud platform cost management system, comprising: A bill data acquisition and cleaning module configured to obtain cloud platform bill data and clean the bill data; A business type determination module configured to determine the business types included in the bill data; the business types include newly purchased resources, refunded resources, post-paid resources, resource packages, and vouchers; A first cost calculation module configured to calculate the costs of each of the business types; A second cost calculation module configured to determine the actual business costs based on the costs of each of the business types.
Citation Information
Patent Citations
Cloud cost prediction method and system based on service awareness
CN112767027A
Resource consumption statistical method, system and device and readable storage medium
CN113283856A
Cloud resource cost analysis method and device applied to multi-cloud management system
CN114756574A
Multi-cloud platform cost management method and system
CN117853149A
Switchboard earth fault protection detector
KR1020230106284A