Metering and charging method and device for cloud service product

By pre-setting component billing rules for product attributes, and obtaining and matching order information for cloud service products, the problem that traditional billing models cannot meet diverse needs is solved, and efficient and accurate order cost calculation is achieved.

CN121940233APending Publication Date: 2026-04-28INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
Filing Date
2025-09-16
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Traditional cloud service billing models are difficult to meet diverse needs, resulting in low accuracy and efficiency of billing results in complex scenarios.

Method used

By pre-setting the component billing rules corresponding to the product attributes, the key billing factors in the order information are obtained, and each is matched with the product attributes of each billing component in the pricing plan of the cloud service product to obtain the target billing rule and calculate the order cost.

Benefits of technology

It enables accurate and efficient order cost calculation in complex scenarios, improving the flexibility and efficiency of billing rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940233A_ABST
    Figure CN121940233A_ABST
Patent Text Reader

Abstract

The invention provides a metering and charging method and device for a cloud service product. The method comprises the following steps: extracting a key charging factor in order information; based on the key charging factors, matching the key charging factors with the product attributes of the charging components in the price plan one by one to obtain a target charging rule; the price plan of the cloud service product is obtained on the basis of setting a component charging rule corresponding to the product attribute for the preset charging component; according to the method provided by the invention, the component charging rule corresponding to the product attribute is set for the preset charging component in advance so as to obtain the price plan, the key charging factor in the order information is extracted, and the order cost of the order information is calculated based on the key charging factor. And matching with the product attribute of each charging component in the price plan of the cloud service product one by one to obtain the target charging rule, thereby realizing accurate and efficient calculation of the order cost. In particular, the accuracy and efficiency of the order cost of the order information with complex charging rules are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cloud platform management technology, and in particular to a metering and billing method and apparatus for cloud service products. Background Technology

[0002] With the widespread application of cloud computing technology, cloud service providers are facing increasingly complex billing needs. Traditional billing models are either fixed subscription packages or pay-as-you-go methods based on single resources, such as CPU or storage.

[0003] However, with the popularization of new technologies such as hybrid cloud, serverless, and containerization, as well as the emergence of diversified pricing strategies such as reserved instances, spot instances, and per-second billing, traditional billing models are unable to meet the diverse needs of different customer groups for cloud service products. In other words, the scalability and maintainability of the billing system are poor, which leads to lower accuracy and efficiency of billing results in complex scenarios. Summary of the Invention

[0004] This invention provides a metering and billing method and apparatus for cloud service products, which solves the shortcomings of existing cloud service product billing systems, which support only a single billing rule and have low accuracy and efficiency in billing results under complex scenarios.

[0005] This invention provides a metering and billing method for cloud service products, comprising: Obtain order information for cloud service products purchased by customers; Extract the key billing factors from the order information; Based on the key billing factors, each billing component in the pricing plan of the cloud service product is matched with its product attributes to obtain the target billing rules for the cloud service product; the pricing plan of the cloud service product is obtained based on the component billing rules corresponding to the product attributes of the pre-designed billing components. Based on the target billing rules, the order cost of the order information is calculated.

[0006] According to a cloud service product metering and billing method provided by the present invention, the pre-designed fee component includes a periodic billing component; the product attributes to be set for the periodic billing component include a pay-as-you-go unit price; The pay-as-you-go unit price is divided into stages based on the preset actual usage range of the cloud service product.

[0007] According to a metering and billing method for cloud service products provided by the present invention, the step of matching each of the key billing factors with the product attributes of each billing component in the pricing plan of the cloud service product to obtain the target billing rule for the cloud service product includes: If the key billing factor includes the pay-as-you-go price, obtain the current actual usage of the cloud service product; Based on the current actual usage, it is matched with the preset actual usage range of the periodic billing component to obtain the on-demand billing rules for the current actual usage; Based on the on-demand billing rules, the target billing rules are obtained.

[0008] According to a cloud service product metering and billing method provided by the present invention, the pre-designed fee component further includes a general billing component, which includes at least one of a discount setting component and a tax rate calculation component. The product attributes that need to be set in the discount setting component include customer level; The product attributes that the tax rate calculation component needs to set include the customer's location.

[0009] According to a cloud service product metering and billing method provided by the present invention, the pre-design fee component further includes a one-time billing component; The product attributes that the one-time billing component needs to set include the product type and the one-time amount corresponding to the product type.

[0010] According to a metering and billing method for cloud service products provided by the present invention, the step of calculating the order fee based on the target billing rule includes: The initial billing is calculated based on the target billing rule corresponding to the one-time billing component or the periodic billing component; Based on the target billing rules corresponding to the general billing component, the supplementary billing is calculated; The order cost is calculated based on the initial billing and the supplementary billing.

[0011] The present invention also provides a metering and billing device for cloud service products, comprising: The acquisition unit retrieves order information for cloud service products purchased by customers. The extraction unit extracts the key billing factors from the order information; The matching unit, based on the key billing factors, matches each billing component in the pricing plan of the cloud service product with its product attributes to obtain the target billing rule for the cloud service product; the pricing plan for the cloud service product is obtained based on the component billing rule corresponding to the product attributes set for the pre-designed billing components. The billing unit calculates the order cost of the order information based on the target billing rule.

[0012] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a metering and billing method for any of the cloud service products described above.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a metering and billing method for any of the cloud service products described above.

[0014] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a metering and billing method for any of the cloud service products described above.

[0015] The cloud service product metering and billing method and apparatus provided by this invention pre-sets component billing rules corresponding to product attributes for pre-designed fee components to obtain a pricing plan. By extracting key billing factors from order information, and matching these key billing factors one by one with the product attributes of each billing component in the cloud service product's pricing plan, a target billing rule is obtained, achieving accurate and efficient calculation of order fees. In particular, it improves the accuracy and efficiency of order fee calculation for order information with complex billing rules. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the metering and billing method for cloud service products provided by the present invention. Figure 2 This is a schematic diagram of the metering and billing device for the cloud service product provided by the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0019] To address the aforementioned issues, this invention provides a method for metering and billing cloud service products, enabling intuitive and flexible configuration of cloud service product costs, thereby achieving efficient and accurate billing. Figure 1 This is a flowchart illustrating the metering and billing method for cloud service products provided by the present invention, as shown below. Figure 1 As shown, the method includes: Step 110: Obtain the order information of the cloud service products purchased by the customer.

[0020] Specifically, order information for cloud service products purchased by customers can be obtained from the customer order system. This order information includes details such as the specifications of the product instance purchased by the user, the cloud platform, the billing type, and the subscription period.

[0021] Step 120: Extract the key billing factors from the order information.

[0022] Here, the key billing factor refers to the information in the order information that is related to the final billing.

[0023] Specifically, key billing factors can be extracted by parsing and preprocessing the collected order information. First, the order information is parsed to obtain parsed data, such as product specifications (vCPU, memory), image type, number of cloud disks, cloud disk type, cloud disk capacity, public IP address network, public IP address type, and public IP address bandwidth. Then, the parsed data is cleaned to remove outliers and noisy data. Additionally, the cleaned data can be transformed to standardize the format and units of data collected from different cloud platforms. For example, network traffic can be converted from MB to GB. Finally, data normalization is performed to enable unified comparison and calculation of product instance data of different specifications, resulting in the final key billing factors.

[0024] Step 130: Based on the key billing factors, match them one by one with the product attributes of each billing component in the pricing plan of the cloud service product to obtain the target billing rule of the cloud service product.

[0025] The pricing plan for the cloud service product is based on the component billing rules corresponding to the product attributes of the pre-designed fee components.

[0026] Here, the pricing plan for a cloud service product refers to the pre-configured billing rules for that cloud service product, which are used to match the actual key billing factors to obtain the target billing rules corresponding to the key billing factors. The target billing rules here refer to a set of specific component billing rules matched in the pricing plan, that is, the set of billing rules applicable to the order information of that cloud service product.

[0027] Specifically, during the product configuration phase, pricing plans are generated by setting component billing rules corresponding to product attributes for pre-designed components. For example, each pre-designed component can be configured with corresponding product attributes as matching conditions. These matching conditions are based on predefined attribute variables in the product, such as platform type, service type, billing type, specifications, and traffic. Therefore, precise matching rules can be set based on these attribute variables, ensuring that the pricing plan is accurately applied to eligible products and scenarios. This flexible drag-and-drop approach allows for the rapid creation of pricing plans that meet specific business needs, greatly improving configuration efficiency and flexibility.

[0028] For any cloud service product's pricing plan, you can drag and drop at least one pre-designed fee component to set the component billing rules corresponding to the product attributes for each pre-designed fee component. Product attributes can include platform type, service type, billing type, specifications, and traffic. After configuring the pricing plan, you can define the product's basic information, description, and activation and expiration dates, select the products included in the product and their corresponding pricing plans, and then publish the cloud service product and its pricing plan to the marketplace portal or channels for end users to order online.

[0029] It should be noted that a component billing rule can be associated with at least one product attribute. For example, if the platform type is "XX Cloud", the service type is "Elastic Computing Service", and the image is "UnionTechOS", the corresponding component billing rule is a one-time fee of 500 yuan.

[0030] It should also be noted that the pre-design fee components here can include multiple flexible pricing components such as one-time fees, periodic fees, rate tables, discounts, and taxes. Understandably, these pre-design fee components can be added or adjusted based on actual product needs. Therefore, by selecting basic pre-design fee components when configuring product pricing, complex product charging requirements can be met, enabling direct and flexible billing configuration, and ultimately achieving efficient and accurate product billing.

[0031] During the pricing phase, target billing rules corresponding to key billing factors are matched from the pricing plans of cloud service products. It's understandable that for any given pricing plan, there may be multiple billing components. Therefore, the key billing factors are matched one by one with the product attributes of each billing component in the pricing plan to obtain the component billing rule for each billing component. Finally, all the component billing rules corresponding to all billing components are used as the target billing rule.

[0032] It should be noted that during the product configuration stage, the pricing plan for cloud service products is configured through flexible and direct pre-designed billing components. Then, during the pricing stage, the extracted key billing factors are matched one by one with the product attributes of each billing component in the pricing plan of the cloud service product to obtain accurate target billing rules. This eliminates the need for additional complex calculations and achieves efficient and accurate product billing.

[0033] Step 140: Calculate the order fee for the order information based on the target billing rule.

[0034] Specifically, the cost of each billing component can be calculated using the target billing rules for each component. Then, the costs of each billing component are combined to calculate the order cost for the order information. For example, if the pricing plan for order information A only includes a recurring billing component and a discount setting component, the order cost for order information A can be calculated using the following steps: First, calculate the recurring cost corresponding to the product's recurring billing component; then, calculate the discount cost corresponding to the discount setting component. Finally, subtract the discount cost from the recurring cost to obtain the final order cost.

[0035] The method provided in this invention pre-sets component billing rules corresponding to product attributes for pre-designed fee components to obtain a pricing plan. It then extracts key billing factors from order information and matches these factors one by one with the product attributes of each billing component in the cloud service product's pricing plan to obtain target billing rules. This achieves accurate and efficient order fee calculation. In particular, it improves the accuracy and efficiency of order fee calculation for order information with complex billing rules.

[0036] Based on any of the above embodiments, the pre-designed fee component includes a periodic billing component; the product attributes that the periodic billing component needs to set include a pay-as-you-go unit price; The pay-as-you-go unit price is divided into stages based on the preset actual usage range of the cloud service product.

[0037] Specifically, pre-designed fee components may include recurring billing components to meet the needs of cloud service products that require recurring payments. The recurring billing component requires setting product attributes including a pay-as-you-go price. Here, the pay-as-you-go price refers to calculating the final order cost based on the actual amount of cloud service product used by the customer.

[0038] It should be noted that the pay-as-you-go pricing can be divided into stages based on the preset actual usage range of cloud service products to match more complex billing needs. For example, the pay-as-you-go pricing can be tiered according to the preset actual usage range of cloud service products to cover more product sales scenarios, thereby enabling the metering and billing method to be applied to cost calculation in more scenarios.

[0039] It should also be noted that the product attributes that the periodic billing component needs to set can also include periodic payment unit prices, such as monthly prices and annual prices. For example, for a "2-core 4GB" on-demand ECS (Elastic Compute Service) instance, the billing rule is: set the periodic fee to 1.42 yuan, in "hours", in RMB, with the amount rounded to two decimal places, and the corresponding fee item is the Elastic Compute Service Specification Fee; its product attributes include "platform type is XX Cloud, service type is Elastic Compute Service, billing type is on-demand, and specification is 2 cores 4GB".

[0040] Based on any of the above embodiments, step 130 includes: If the key billing factor includes the pay-as-you-go price, obtain the current actual usage of the cloud service product; Based on the current actual usage, it is matched with the preset actual usage range of the periodic billing component to obtain the on-demand billing rules for the current actual usage; Based on the on-demand billing rules, the target billing rules are obtained.

[0041] Specifically, when key billing factors include pay-as-you-go pricing, it means that order information needs to be billed based on the current actual usage of cloud service products. Therefore, a multi-cloud resource adaptation module can be used to interface with various cloud platforms, adapting to the resource interfaces and data formats of different cloud platforms to achieve unified management and collection of cloud service resources across different platforms. That is, to obtain the current actual usage of cloud service products. For example, the current actual usage of virtual machines can be obtained by collecting virtual machine power-on and power-off events to calculate the current actual usage of the virtual machine.

[0042] It's understandable that the "current actual usage" here refers to the specific, quantifiable value of cloud service resources actually consumed by the customer. For CDN (Content Delivery Network) services, current actual usage might be: the total traffic distributed externally by the customer through CDN nodes in the previous month, for example, 1500 GB. For OSS (Object Storage Service), current actual usage could include: average monthly storage space: 500 GB; downlink traffic in the current month: 200 GB; number of API requests (PUT / GET) in the current month: 3,000,000 times.

[0043] After obtaining the current actual usage, it can be matched with the product attributes of the recurring billing component. In other words, the current actual usage can be matched with the preset actual usage range of the recurring billing component. Understandably, if the current actual usage falls within a preset actual usage range, the on-demand price corresponding to that range will be used as the on-demand billing rule for the current actual usage.

[0044] Then, the billing rules obtained by matching other key billing factors, together with the on-demand billing rules, can be used as the target billing rule.

[0045] The method provided in this invention provides a periodic billing component that divides the on-demand pricing according to the preset actual usage range of cloud service products, thereby meeting the billing requirements for charging cloud service products on a pay-as-you-go basis and implementing tiered pricing, and thus achieving accurate and efficient cost calculation in this application scenario.

[0046] To further enable flexible pricing configurations, based on any of the above embodiments, the pre-designed fee component further includes a general billing component, which includes at least one of a discount setting component and a tax rate calculation component; The product attributes that need to be set in the discount setting component include customer level; The product attributes that the tax rate calculation component needs to set include the customer's location.

[0047] Specifically, the general billing component includes at least one of a discount setting component and a tax rate calculation component. The discount setting component requires setting product attributes including customer level. This means that discount rules are set for different customer levels. For example, a 10% discount is given to Diamond customers, with the currency being RMB and the amount rounded to two decimal places. Not setting any fee items means that the discount applies to all ECS fees, and the matching condition for the product attribute is "Customer Registration = Diamond".

[0048] In addition, the tax rate calculation component requires setting product attributes including the customer's location, which should be configured according to the tax rate and taxation rules of that region. For example, in a certain region, the VAT rate is 6%. This allows for the calculation of corresponding tax rates for customers in different regions, eliminating the need for additional tax rate calculations during the fee calculation process.

[0049] It should be noted that you can set up only the discount setting component or the tax rate calculation component as a general billing component. Alternatively, you can set up both the discount setting component and the tax rate calculation component as general billing components, depending on the actual configuration requirements of the cloud service product.

[0050] Based on any of the above embodiments, the pre-design fee component also includes a one-time billing component; The product attributes that the one-time billing component needs to set include the product type and the one-time amount corresponding to the product type.

[0051] Specifically, the pre-designed fee component also includes a one-time billing component. The one-time billing component requires setting product attributes including the product type and the corresponding one-time amount. This one-time amount refers to the amount the customer needs to pay after purchasing this cloud service product.

[0052] It should be noted that the one-time billing component here is used to meet the billing scenarios that are not pay-as-you-go. For special image types, such as certain paid commercial images, a one-time fee is configured. For example, for the UnionTechOS image, a one-time fee of 500 RMB is set, with the currency type being RMB and the amount rounded to two decimal places, corresponding to the commercial image fee. Simultaneously, the matching conditions for the product attributes are set to "Platform type is XX Cloud, Service type is Elastic Computing Service, Image is UnionTechOS". Therefore, this fee is charged when the user orders an ECS instance and selects the UnionTechOS image.

[0053] It is understood that the billing components provided in this embodiment of the invention include, but are not limited to, discount setting components, tax rate calculation components, and one-time billing components. Corresponding billing components can be designed according to the actual needs of the product and configured to match the product attributes corresponding to those components, thereby achieving flexible and scalable cloud service product fee configuration and enabling flexible and convenient cloud service product billing.

[0054] Based on any of the above embodiments, step 140 includes: The initial billing is calculated based on the target billing rule corresponding to the one-time billing component or the periodic billing component; Based on the target billing rules corresponding to the general billing component, the supplementary billing is calculated; The order cost is calculated based on the initial billing and the supplementary billing.

[0055] Specifically, firstly, the initial billing of the cloud service product can be calculated using the target billing rules corresponding to the one-time billing component or the periodic billing component. It is understandable that if the cloud service product is billed on a one-time basis, the initial billing of the cloud service product can be calculated using the target billing rules corresponding to the one-time billing component.

[0056] If the cloud service product is billed periodically, the initial billing can be calculated using the target billing rules corresponding to the periodic billing component. For periodic billing, the initial billing can be calculated by combining the hourly bills generated daily based on the cost items. For example, all hourly bills within a day can be aggregated according to different cost items (such as elastic computing service specification fees, commercial image fees, network traffic fees, etc.) to generate a daily bill.

[0057] Furthermore, after obtaining the initial billing, supplementary billing can be calculated using the target billing rules corresponding to the general billing component. It is understood that if the general billing component includes a discount setting component and a tax rate calculation component, then the supplementary billing includes the billing fees corresponding to the discount setting component and the tax rate calculation component. If the general billing component only includes a discount setting component or a tax rate calculation component, then the supplementary billing only includes the billing fees corresponding to the discount setting component or the tax rate calculation component.

[0058] Finally, the initial and supplementary billing can be integrated to calculate the final order cost, achieving accurate and efficient order cost calculation. It should be noted that a detailed bill is generated, including customer information, billing period, original price, discount, taxes, and amount due. Billing details include ECS instance specifications, usage, usage time, pricing, and other detailed information for easy user query and verification.

[0059] It is understood that the metering and billing method for cloud service products provided by this invention is applicable to hybrid cloud architectures, can effectively improve the billing efficiency and flexibility of cloud service providers, and meet the needs of operators to sell and monetize computing resources.

[0060] Based on any of the above embodiments Figure 2 This is a schematic diagram of the metering and billing device for the cloud service product provided by the present invention, as shown below. Figure 2 As shown, the device includes: Unit 210 retrieves order information for cloud service products purchased by customers; Extraction unit 220 extracts key billing factors from the order information; Matching unit 230, based on the key billing factors, matches each billing component in the pricing plan of the cloud service product with its product attributes to obtain the target billing rule of the cloud service product; the pricing plan of the cloud service product is obtained based on the component billing rule corresponding to the product attributes set for the pre-designed billing components. The billing unit 240 calculates the order fee of the order information based on the target billing rule.

[0061] The apparatus provided in this invention pre-sets component billing rules corresponding to product attributes for pre-designed cost components to obtain a pricing plan. By extracting key billing factors from order information, and matching these key billing factors one by one with the product attributes of each billing component in the cloud service product's pricing plan, a target billing rule is obtained, achieving accurate and efficient order cost calculation. In particular, it improves the accuracy and efficiency of order cost calculation for order information with complex billing rules.

[0062] Based on any of the above embodiments, the pre-designed fee component includes a periodic billing component; the product attributes that the periodic billing component needs to set include a pay-as-you-go unit price; The pay-as-you-go unit price is divided into stages based on the preset actual usage range of the cloud service product.

[0063] Based on any of the above embodiments, the matching unit is specifically used for: If the key billing factor includes the pay-as-you-go price, obtain the current actual usage of the cloud service product; Based on the current actual usage, it is matched with the preset actual usage range of the periodic billing component to obtain the on-demand billing rules for the current actual usage; Based on the on-demand billing rules, the target billing rules are obtained.

[0064] Based on any of the above embodiments, the pre-design fee component further includes a general billing component, which includes at least one of a discount setting component and a tax rate calculation component; The product attributes that need to be set in the discount setting component include customer level; The product attributes that the tax rate calculation component needs to set include the customer's location.

[0065] Based on any of the above embodiments, the pre-design fee component further includes a one-time billing component; The product attributes that the one-time billing component needs to set include the product type and the one-time amount corresponding to the product type.

[0066] Based on any of the above embodiments, the billing unit is specifically used for: The initial billing is calculated based on the target billing rule corresponding to the one-time billing component or the periodic billing component; Based on the target billing rules corresponding to the general billing component, the supplementary billing is calculated; The order cost is calculated based on the initial billing and the supplementary billing.

[0067] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a metering and billing method for cloud service products. This method includes: obtaining order information for cloud service products purchased by a customer; extracting key billing factors from the order information; matching each key billing factor with the product attributes of each billing component in the pricing plan of the cloud service product to obtain a target billing rule for the cloud service product; the pricing plan for the cloud service product is obtained based on component billing rules corresponding to the product attributes of pre-designed fee components; and calculating the order fee for the order information based on the target billing rule.

[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for metering and billing cloud service products, characterized in that, include: Obtain order information for cloud service products purchased by customers; Extract the key billing factors from the order information; Based on the key billing factors, each billing component in the pricing plan of the cloud service product is matched with its product attributes to obtain the target billing rules for the cloud service product; the pricing plan of the cloud service product is obtained based on the component billing rules corresponding to the product attributes of the pre-designed billing components. Based on the target billing rules, the order cost of the order information is calculated.

2. The metering and billing method for cloud service products according to claim 1, characterized in that, The pre-design fee component includes a periodic billing component; the product attributes that the periodic billing component needs to set include a pay-as-you-go unit price; The pay-as-you-go unit price is divided into stages based on the preset actual usage range of the cloud service product.

3. The metering and billing method for cloud service products according to claim 2, characterized in that, The process of matching each of the key billing factors with the product attributes of each billing component in the pricing plan of the cloud service product to obtain the target billing rules for the cloud service product includes: If the key billing factor includes the pay-as-you-go price, obtain the current actual usage of the cloud service product; Based on the current actual usage, it is matched with the preset actual usage range of the periodic billing component to obtain the on-demand billing rules for the current actual usage; Based on the on-demand billing rules, the target billing rules are obtained.

4. The metering and billing method for cloud service products according to any one of claims 2 to 3, characterized in that, The pre-design fee component also includes a general billing component, which includes at least one of a discount setting component and a tax rate calculation component. The product attributes that need to be set in the discount setting component include customer level; The product attributes that the tax rate calculation component needs to set include the customer's location.

5. The metering and billing method for cloud service products according to claim 4, characterized in that, The pre-design fee component also includes a one-time billing component; The product attributes that the one-time billing component needs to set include the product type and the one-time amount corresponding to the product type.

6. The metering and billing method for cloud service products according to claim 5, characterized in that, The calculation of the order fee based on the target billing rule includes: The initial billing is calculated based on the target billing rule corresponding to the one-time billing component or the periodic billing component; Based on the target billing rules corresponding to the general billing component, the supplementary billing is calculated; The order cost is calculated based on the initial billing and the supplementary billing.

7. A metering and billing device for a cloud service product, characterized in that, include: The acquisition unit retrieves order information for cloud service products purchased by customers. The extraction unit extracts the key billing factors from the order information; The matching unit, based on the key billing factors, matches each billing component in the pricing plan of the cloud service product with its product attributes to obtain the target billing rule for the cloud service product; the pricing plan for the cloud service product is obtained based on the component billing rule corresponding to the product attributes set for the pre-designed billing components. The billing unit calculates the order cost of the order information based on the target billing rule.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the metering and billing method for the cloud service product as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the metering and billing method for the cloud service product as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the metering and billing method for the cloud service product as described in any one of claims 1 to 6.