Automatic renewal price calculation method and device, equipment and storage medium

By introducing an automatic renewal pricing method into the cloud management platform and utilizing a pricing engine to obtain basic information and pricing logic, the redundancy problem of the automatic renewal system in the cloud management platform is solved, enabling flexible pricing calculation and efficient system expansion.

CN119996097BActive Publication Date: 2026-04-21CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2023-11-13
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

The automatic renewal system of the cloud management platform has highly redundant functions. Each new scenario requires redesign and development, resulting in high coupling. Furthermore, all process nodes need to be modified when the rules change.

Method used

This paper provides an automatic renewal price calculation method. By determining the target cloud resources and operation information, the method uses a price calculation engine to obtain basic information and calculates the final renewal amount according to the pricing logic and automatic renewal period. It supports automatic renewal in multiple scenarios and only requires modification of the processing node without affecting other scenarios.

Benefits of technology

It reduces system coupling, improves code reusability and scalability, reduces development workload, and enables flexible automatic renewal price calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996097B_ABST
    Figure CN119996097B_ABST
Patent Text Reader

Abstract

This invention provides an automatic renewal price calculation method, apparatus, device, and storage medium. It determines the target cloud resource corresponding to a user-sent request and the operation information for that target cloud resource. When the renewal type corresponding to the operation information is a variable price type, it determines the automatic renewal period and pricing logic. The pricing logic, automatic renewal period, and the identifier of the target cloud resource are assembled according to a preset data format to obtain query data. This query data is input into a price calculation engine, which interacts with the product center to obtain basic information corresponding to the identifier of the target cloud resource. The engine then determines the final renewal amount based on the basic information, automatic renewal period, and pricing logic. When the automatic renewal rules change, only the corresponding processing nodes need to be modified. For new automatic renewal scenarios, adaptation is only required through parameter structures, without the need for redesign and development, achieving high decoupling and scalability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cloud management platform technology, and in particular to an automatic renewal price calculation method, apparatus, device, and storage medium. Background Technology

[0002] The cloud management platform is an operation platform that provides standard cloud services such as customer management, product management, order management, instance management, billing management, and statistical analysis. It has the capability to undertake and host various products and services listed on the cloud management platform, as well as related capabilities such as product sales, integration, statistics, and operation.

[0003] The cloud management platform currently offers subscription models for its products, including new purchases, upgrades / downgrades, manual renewal, automatic renewal, and cancellation. Cloud products provide basic service capabilities; customers deploy their businesses on the cloud products they purchase. Since cloud products are subscribed to on a periodic basis, if a customer forgets to renew their subscription upon expiration, it will directly impact their business and cause losses. To address this issue, the cloud management platform has introduced an automatic renewal subscription model, which automatically renews the subscription for customers upon expiration. Due to the unique nature of cloud computing services, the price of cloud products varies depending on the specifications of the cloud product and the type of operator; the automatic renewal amount will also be adjusted accordingly. Factors affecting the auto-renewal amount include the method of enabling auto-renewal (3 types), the subsequent changes in the auto-renewal amount (2 types), and the user's corresponding operation account type (3 types). Based on the above factors, there are (3 activation methods + 2 price change methods) × 3 pricing methods = 15 auto-renewal scenarios. Therefore, the auto-renewal system of the cloud management platform needs to provide at least 15 processing flows, resulting in high redundancy of each function point. Moreover, each additional scenario requires redesign and development, and once the core rules change, all process nodes need to be modified, resulting in too high coupling.

[0004] Therefore, there is a need to provide an automatic renewal price calculation method to reduce the high redundancy of various functional points in the existing solution and the problem that each additional scenario requires redesign and development. Summary of the Invention

[0005] This invention provides an automatic renewal price calculation method, apparatus, device, and storage medium to solve the problem that in the prior art, when calculating the renewal price, it is necessary to set up a corresponding processing flow for each scenario.

[0006] In a first aspect, the present invention provides a method for calculating automatic renewal prices, comprising:

[0007] The system determines the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; the number of target cloud resources is at least one.

[0008] When the renewal type corresponding to the operation information is a variable price type, the automatic renewal period and pricing logic are determined.

[0009] The pricing logic, the automatic renewal period, and the identifier of the target cloud resource are assembled according to a preset data format to obtain inquiry data. The inquiry data is input into the price calculation engine, which is then controlled to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource. The price calculation engine is then controlled to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic.

[0010] Optionally, determine the target cloud resource corresponding to the request information sent by the user, including:

[0011] The cloud resource identifier in the request information is determined as the primary resource identifier;

[0012] Query the associated resource identifiers corresponding to the main resource identifier, and determine the cloud resources corresponding to the main resource identifier and the associated resource identifiers as the target cloud resources.

[0013] Optionally, the operation information includes the renewal duration; determining the automatic renewal cycle and pricing logic includes:

[0014] Obtain the operation account type corresponding to the user from the customer center, and obtain the pricing logic corresponding to the operation account type from the billing center;

[0015] Obtain the pricing unit corresponding to the main resource identifier from the product center, and determine the automatic renewal period based on the renewal duration and the pricing unit.

[0016] Optionally, the operation information includes the renewal duration and the purchase amount; the method further includes:

[0017] When the renewal type corresponding to the operation information is the enabled type, the pricing unit corresponding to the main resource identifier is obtained from the product center, and the automatic renewal period is determined according to the renewal duration and the pricing unit.

[0018] The final renewal amount is determined based on the current purchase amount and the automatic renewal period.

[0019] Optionally, the method further includes:

[0020] When the operation information is any one of cloud resource configuration change, manual renewal, and separate activation, the renewal type corresponding to the operation information is determined to be a variable price type.

[0021] When the operation information is "New Purchase with Auto Renewal Enabled" or "Automatic Renewal Enabled for Manual Renewal Orders", then the renewal type corresponding to the operation information is determined to be the "Enabled" type.

[0022] Optionally, the method further includes:

[0023] The final renewal amount is synchronized to the automatic renewal scheduling center, and the automatic renewal operation is executed at the target time based on the final renewal amount; the target time is any time within a preset time period before the purchased target cloud resource expires;

[0024] After executing the automatic renewal operation, automatic renewal lifecycle maintenance information is generated.

[0025] Optionally, the basic information includes: pricing method, product specifications, pricing attributes, and unit price; the pricing logic includes: standard price, user discount, and customized price; controlling the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic includes:

[0026] Calculate the renewal amount for each target cloud resource, and determine the final renewal amount by summing the renewal amounts for each target cloud resource.

[0027] Thirdly, the present invention provides an automatic renewal price calculation device, the device comprising:

[0028] The first determining module is used to determine the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; the number of target cloud resources is at least one.

[0029] The second determining module is used to determine the automatic renewal period and pricing logic when the renewal type corresponding to the operation information is a variable price type.

[0030] The processing module is used to assemble the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data, input the inquiry data into the price calculation engine, control the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and control the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic.

[0031] Fourthly, the present invention provides an electronic device, comprising: at least one processor and a memory;

[0032] The memory stores computer-executed instructions;

[0033] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any of the first aspects.

[0034] Fifthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method of any one of the first aspects.

[0035] This invention provides an automatic renewal price calculation method, apparatus, device, and storage medium. It determines the target cloud resource corresponding to a user-sent request and the operation information for that target cloud resource; the number of target cloud resources is at least one; when the renewal type corresponding to the operation information is a variable price type, it determines the automatic renewal period and pricing logic; it assembles the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data; it inputs the inquiry data into a price calculation engine, controls the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and controls the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic. When the automatic renewal rules change, only the corresponding processing nodes need to be modified, without modifying the processing flow for each scenario individually. Furthermore, for newly added automatic renewal scenarios, only the parameter structure needs to be adapted to the existing process, without redesigning and developing, achieving high decoupling and scalability. Attached Figure Description

[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0037] Figure 1 This is an application scenario diagram of an automatic renewal price calculation method provided by an embodiment of the present invention;

[0038] Figure 2 A flowchart illustrating an automatic renewal price calculation method provided in an embodiment of the present invention;

[0039] Figure 3 A flowchart illustrating another automatic renewal price calculation method provided in an embodiment of the present invention;

[0040] Figure 4 A flowchart illustrating another automatic renewal price calculation method provided in an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of a pricing factor in a price calculation engine provided in an embodiment of the present invention;

[0042] Figure 6 This is a schematic diagram of an automatic renewal price calculation system provided in an embodiment of the present invention;

[0043] Figure 7 This is a schematic diagram of the structure of an automatic renewal price calculation device provided in an embodiment of the present invention;

[0044] Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention.

[0045] The accompanying drawings illustrate specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention.

[0047] To prevent customers from forgetting to renew their cloud product subscriptions upon expiration, thus impacting their business and causing losses, the cloud management platform has launched an automatic renewal subscription mode. Once a user enables automatic renewal, the cloud management platform can automatically renew the cloud resource subscription upon expiration. However, due to the unique nature of cloud resources, the price of cloud products varies depending on the specifications of the cloud resource and the type of operator; therefore, the automatic renewal amount will also be adjusted accordingly.

[0048] There are three ways to enable automatic renewal: with a new order, individually for the resource, or with a manually renewed order. Subsequent changes to the automatic renewal amount occur in two ways: changes to cloud resource configuration and manually renewed orders. Each of these orders will result in a change to the automatic renewal amount. Furthermore, different pricing methods exist depending on the different operation account types on the cloud management platform, and the same resource can be operated by different operation account types, leading to inconsistent amounts even for orders of the same type. For example, different operation account types may correspond to standard prices, customized prices, and user discounts, respectively.

[0049] Figure 1 This is an application scenario diagram of an automatic renewal price calculation method provided by an embodiment of the present invention, such as... Figure 1As shown, there are 15 automatic renewal scenarios, namely (3 activation methods + 2 price adjustment methods) × 3 pricing methods = 15 automatic renewal scenarios. If a processing flow is provided for each scenario to calculate the automatic renewal amount, there will be a high degree of redundancy in functionality. Moreover, each time a scenario is added, it needs to be redesigned and developed. Once the core rules change, all process nodes need to be modified, resulting in too high coupling.

[0050] This invention abstracts and unifies the functions of each step by comprehensively analyzing existing automatic renewal scenarios and user operations. It provides a general node processing flow and an agile integration method. In each operation, nodes with existing functions are automatically skipped based on different scenarios (e.g., when the renewal type is enabled, there is no need to generate inquiry data and transmit it to the price calculation engine). This design improves code reusability, reduces coupling between modules, and facilitates expansion. If the automatic renewal rules change, only the corresponding nodes need to be modified, without modifying each scenario individually. If a new automatic renewal scenario needs to be added, it only needs to be adapted to the existing process through parameter structure, without redesigning and developing it.

[0051] Figure 2 This is a flowchart illustrating an automatic renewal price calculation method provided in an embodiment of the present invention. The method is applied to a general node processing module and includes steps S201 to S203:

[0052] Step S201: Determine the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; the number of target cloud resources is at least one.

[0053] After a user performs an operation on a target cloud resource, a request message can be generated. Optionally, the user can perform the following operations: enable new purchase (enable auto-renewal when purchasing new cloud resources), enable auto-renewal with manual renewal order (enable auto-renewal when manually renewing), enable separately (enable at a certain time after purchasing new cloud resources), change cloud resource configuration (upgrade / downgrade), or manually renew.

[0054] After an operation, a user can generate a request message. Based on this request message, the cloud management platform can determine the target cloud resource and operation information.

[0055] Optionally, users can perform operations in the corresponding online store on the cloud management platform to generate orders. Once an order is completed, it can be transmitted to the general node processing module in the cloud management platform via a message queue. The general node processing module can interact with the order center in the cloud management platform, retrieving the target cloud resource and operation information for that resource using the order number. Optionally, users can also access HTTP requests via API (Application Programming Interface). This refers to requests generated by users operating on the target cloud resource through other systems; in this case, the target cloud resource and operation information can be directly determined from the HTTP request.

[0056] For example, when a user operates in the mall corresponding to the cloud management platform, they can perform operations such as opening a new purchase, opening an order for manual renewal, opening a separate order, changing cloud resource configuration, and manual renewal. Based on the order number, the user can query the target cloud resource corresponding to the order and the operation information from the order center. The operation information refers to one of the above operations.

[0057] Typically, when using one type of cloud resource, it is necessary to use it in conjunction with other cloud resources. Therefore, there can be multiple target cloud resources.

[0058] Step S202: When the renewal type corresponding to the operation information is a variable price type, the automatic renewal period and pricing logic are determined.

[0059] After determining the operation information, the corresponding renewal type can be further determined. There are two renewal types: enabled and variable price. Different processing logic applies to enabled and variable price renewal types, allowing for differentiation between the two types.

[0060] Optionally, the method further includes:

[0061] When the operation information is a cloud resource configuration change or manual renewal, the renewal type corresponding to the operation information is determined to be a variable price type.

[0062] When the operation information is any one of new purchase auto-renewal, auto-renewal for manually renewed orders, or auto-renewal on a standalone basis, then the renewal type corresponding to the operation information is determined to be the activation type.

[0063] When determining the renewal type, the operation information can be used as a reference. If the operation information indicates a cloud resource configuration change, the subsequent auto-renewal fee will correspond to the changed cloud resource configuration, thus requiring a recalculation of the auto-renewal fee. Manual renewal will also affect the subsequent auto-renewal fee; for example, if the current manual renewal fee is low, the subsequent auto-renewal fee will be lower than the previous renewal fee.

[0064] When recalculating the renewal fee, it is necessary to determine the pricing logic, that is, the type of price that the user can enjoy, such as the standard price, the customized price, and the user discount.

[0065] When the operation information is "New Purchase with Auto-Renewal Enabled" and the renewal type is "Enabled", the auto-renewal amount will be related to the amount of cloud resources purchased. When the operation information is "Auto-Renewal Enabled with Manual Renewal Order" and the renewal type is also "Enabled", the final renewal amount will be related to the amount of manual renewal. When the operation information is "Auto-Renewal Enabled Alone", the renewal amount needs to be calculated based on the current unit price or billing rules. In this case, it is not necessary to calculate the auto-renewal amount (final renewal amount) through the price calculation engine.

[0066] By setting renewal types for the various operation information mentioned above, different operations can be performed to calculate the renewal amount based on different renewal types, thereby improving the accuracy of the determined automatic renewal amount.

[0067] When the renewal type is variable price, the automatic renewal period and pricing logic can be calculated, and the renewal amount can be calculated based on the automatic renewal period and pricing logic.

[0068] Step S203: Assemble the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data. Input the inquiry data into the price calculation engine, control the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and control the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic.

[0069] After determining the pricing logic and auto-renewal period, the pricing logic, the auto-renewal period, and the identifier of the target cloud resource can be assembled to obtain query data. The completeness of the parameters in the obtained query data is checked. If the parameters are complete, the query data can be transmitted to the price calculation engine, which calculates the final renewal amount (i.e., the auto-renewal amount at the time of auto-renewal). Specifically, the price calculation engine can determine the basic information corresponding to the target cloud resource and required for calculating the auto-renewal amount, such as the unit price of the target cloud resource, based on the identifier of the target cloud resource. After obtaining the basic information, the price calculation engine can determine the renewal amount based on the basic information, the auto-renewal period, and the pricing logic.

[0070] This invention provides an automatic renewal price calculation method, apparatus, device, and storage medium. It determines the target cloud resource corresponding to a user-sent request and the operation information for that target cloud resource; the number of target cloud resources is at least one; when the renewal type corresponding to the operation information is a variable price type, it determines the automatic renewal period and pricing logic; it assembles the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data; it inputs the inquiry data into a price calculation engine, controls the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and controls the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic. When the automatic renewal rules change, only the corresponding processing nodes need to be modified, without modifying the processing flow for each scenario individually. Furthermore, for newly added automatic renewal scenarios, only the parameter structure needs to be adapted to the existing process, without redesigning and developing, achieving high decoupling and scalability.

[0071] Figure 3 This is a flowchart illustrating another automatic renewal price calculation method provided in an embodiment of the present invention.

[0072] Optionally, determine the target cloud resource corresponding to the request information sent by the user, including:

[0073] Step S301: Determine the cloud resource identifier in the request information as the primary resource identifier;

[0074] Step S302: Query the associated resource identifier corresponding to the main resource identifier, and determine the cloud resources corresponding to the main resource identifier and the associated resource identifier as the target cloud resource.

[0075] After obtaining the request information sent by the user, the cloud resources in that request information can be retrieved. When using one type of cloud resource, other cloud resources may also be needed. Therefore, after determining the cloud resources based on the request information, the identifier of that cloud resource can be designated as the primary resource identifier. Based on this primary resource identifier, the corresponding associated resource identifiers can be queried. For example, an associated resource table can be pre-set, storing the associated resource identifiers corresponding to each cloud resource identifier. By querying the associated resource table, the associated resource identifiers corresponding to the primary resource identifier can be obtained, thereby identifying the primary resource and associated resources as the target cloud resource.

[0076] By querying the associated resources corresponding to the main resource, the target resource required by the user can be accurately determined, thereby improving the accuracy of the final renewal amount calculation.

[0077] Optionally, the operation information includes the renewal duration; determining the automatic renewal cycle and pricing logic includes:

[0078] Obtain the operation account type corresponding to the user from the customer center, and obtain the pricing logic corresponding to the operation account type from the billing center;

[0079] Obtain the pricing unit corresponding to the main resource identifier from the product center, and determine the automatic renewal period based on the renewal duration and the pricing unit.

[0080] When the general node processing module determines the automatic renewal period and pricing logic, it can first interact with the customer center and send the user's name to the customer center to query the corresponding operation account type of the user. The operation account type refers to the type of user, which can include: ordinary user, enterprise user and large customer.

[0081] The pricing logic varies depending on the type of account used for operations. This logic can be obtained from the billing center. For regular users, the pricing is the standard price; for enterprise users, it's a discount on top of the standard price; and for large clients, it's a customized price.

[0082] In addition, before calculating the final renewal amount, the automatic renewal period can be determined. The automatic renewal period is related to the pricing unit, which can be the smallest unit of sale, such as year, month, day, or hour. For example, if the pricing unit is 1 month, the renewal duration will also be included in the operation information. If the renewal duration is 1 year, then the automatic renewal period will be 12 months, and the renewal duration must be a multiple of the pricing unit. The automatic renewal period refers to the period during which automatic renewal occurs after the user activates automatic renewal, such as automatically renewing once every 12 months. Automatic renewal will stop when the user disables the automatic renewal function.

[0083] By defining the pricing logic and auto-renewal cycle, the final renewal amount for each auto-renewal cycle can be accurately calculated.

[0084] Optionally, the operation information includes the renewal duration and the purchase amount; the method further includes:

[0085] When the renewal type corresponding to the operation information is the enabled type, the pricing unit corresponding to the main resource identifier is obtained from the product center, and the automatic renewal period is determined according to the renewal duration and the pricing unit.

[0086] The final renewal amount is determined based on the current purchase amount and the automatic renewal period.

[0087] When the renewal type is "on," the final renewal amount can be determined directly based on the current purchase amount. The final renewal amount is related to the current purchase amount; a higher current purchase amount will result in a higher final renewal amount, and vice versa.

[0088] For example, if a user purchases a target cloud resource at a current price of 100 yuan per month, then when the automatic renewal period is 12 months, the final renewal amount can be the product of the automatic renewal period and the current purchase price.

[0089] By calculating the final renewal amount based on the current purchase amount and the automatic renewal period when the renewal type is determined to be enabled, the calculated final renewal amount can be correlated with the current purchase amount, thus improving the accuracy of the determined final renewal amount.

[0090] Optionally, the method further includes:

[0091] The final renewal amount is synchronized to the automatic renewal scheduling center, and the automatic renewal operation is executed at the target time based on the final renewal amount; the target time is any time within a preset time period before the purchased target cloud resource expires;

[0092] After executing the automatic renewal operation, automatic renewal lifecycle maintenance information is generated.

[0093] Once the final renewal amount for each automatic renewal cycle is determined, this amount can be synchronized to the automatic renewal scheduling center. The automatic renewal scheduling center can record the target time and renewal amount, and execute the automatic renewal operation at the target time. Automatic renewal means deducting the corresponding final renewal amount from the user's account and extending the holding period of the target cloud resource for the user by the corresponding renewal cycle. Optionally, the target time can be any time within a preset time period before the purchased target cloud resource expires.

[0094] After an automatic renewal is performed, lifecycle maintenance information can also be generated. This lifecycle maintenance information refers to the detailed information of each automatic renewal. For example, it can record when and for which user the automatic renewal operation was performed, as well as the target cloud resources and the final renewal amount. This detailed information can be viewed and analyzed by operations and maintenance personnel.

[0095] By synchronizing the final renewal amount to the automatic renewal scheduling center, automatic renewal can be achieved based on the final renewal amount, and lifecycle maintenance information can be generated for maintenance personnel to query renewal information.

[0096] Figure 4 This is a flowchart illustrating another automatic renewal price calculation method provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the general node processing module obtains the operation account type based on the user's name, interacts with the product center to obtain the pricing unit, calculates the automatic renewal period based on the renewal duration and pricing unit, assembles the inquiry data, and sends the inquiry data to the price calculation engine. After calculating the final renewal amount, the price calculation engine sends it to the general node processing module. The general node processing module synchronizes the final renewal amount to the automatic renewal timed scheduling center. After executing the automatic renewal, the automatic renewal timed scheduling center maintains the automatic renewal lifecycle.

[0097] Optionally, the basic information includes: pricing method, product specifications, pricing attributes, and unit price; the pricing logic includes: standard price, user discount, and customized price; controlling the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic includes:

[0098] Calculate the renewal amount for each target cloud resource, and determine the final renewal amount by summing the renewal amounts for each target cloud resource.

[0099] The pricing engine determines the basic information corresponding to each target cloud resource identifier when calculating the final renewal amount. This basic information includes the pricing method (e.g., multi-attribute pricing, one-time pricing, tiered pricing, fixed unit price), product specifications (e.g., 10G bandwidth), pricing attributes (the attributes of the target cloud resource used for pricing, where each cloud resource may have multiple pricing attributes, such as storage capacity for storage-type cloud resources and bandwidth for network-type cloud resources), and unit price (the price per unit for each pricing attribute within a pricing unit, which can be categorized based on the pricing method, such as fixed unit price and tiered unit price). Pricing logic refers to the price corresponding to different account types: a standard price for regular users, a discount for enterprise users, and a customized price for large clients.

[0100] Figure 5 This is a schematic diagram of a pricing factor in a price calculation engine provided by an embodiment of the present invention, as shown below. Figure 5 As shown, the pricing method, product specifications, pricing attributes, unit price, pricing logic, and automatic renewal cycle are the pricing factors in the price calculation engine.

[0101] Based on the above basic information, pricing logic, and automatic renewal period, the final renewal amount can be calculated. Optionally, the renewal amount corresponding to each target cloud resource can be calculated, and the sum of the renewal amounts corresponding to each target cloud resource can be determined as the final renewal amount.

[0102] Optionally, for any target cloud resource, determine the corresponding pricing attribute, obtain the specification value corresponding to the pricing attribute in the corresponding product specification, determine the corresponding pricing method, determine the unit price corresponding to the user based on the pricing method, unit price (unit price corresponding to the pricing unit) and pricing logic, determine the renewal amount corresponding to the target cloud resource based on the unit price, specification value and automatic renewal period corresponding to the user, and finally determine the final renewal amount by summing the renewal amounts corresponding to each target cloud resource.

[0103] By calculating the renewal amount corresponding to each target cloud resource and then determining the renewal amount corresponding to each target cloud resource as the final renewal amount, the accuracy of the determined final renewal amount can be improved.

[0104] Figure 6 This is a schematic diagram of an automatic renewal price calculation system provided in an embodiment of the present invention, as shown below. Figure 6As shown, after a user's operation, the data can be transmitted to the auto-renewal system via message queue or HTTP. The general node processing module in the auto-renewal system can interact with the order center, product center, customer center, and billing center in the cloud management platform to obtain pricing logic and the auto-renewal cycle. It can also assemble this data into inquiry data, process the data format, and then pass it to the price calculation engine. The price calculation engine can then interact with the product center to obtain other pricing factors and, after calculating the final renewal amount, transmit it to the auto-renewal scheduling center. After auto-renewal, the system maintains the auto-renewal lifecycle and sends reminder messages to the user. The auto-renewal system also includes various APIs to facilitate access to requests from other systems. For example, it can provide open APIs for customers, partner APIs for partners, and standard APIs for vertical products within the platform. By providing multiple access methods, it can adapt to the needs of different customers, ensuring the scalability and diversity of the auto-renewal system.

[0105] Figure 7 This is a schematic diagram of an automatic renewal price calculation device provided in an embodiment of the present invention; the device 70 includes:

[0106] The first determining module 701 is used to determine the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; the number of target cloud resources is at least one.

[0107] The second determining module 702 is used to determine the automatic renewal period and pricing logic when the renewal type corresponding to the operation information is a variable price type.

[0108] The processing module 703 is used to assemble the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data, input the inquiry data into the price calculation engine, control the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and control the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic.

[0109] Optionally, the first determining module 701 is specifically used for:

[0110] The cloud resource identifier in the request information is determined as the primary resource identifier;

[0111] Query the associated resource identifiers corresponding to the main resource identifier, and determine the cloud resources corresponding to the main resource identifier and the associated resource identifiers as the target cloud resources.

[0112] Optionally, the operation information includes the renewal duration; the second determining module 702, when determining the automatic renewal period and pricing logic, is specifically used for:

[0113] Obtain the operation account type corresponding to the user from the customer center, and obtain the pricing logic corresponding to the operation account type from the billing center;

[0114] Obtain the pricing unit corresponding to the main resource identifier from the product center, and determine the automatic renewal period based on the renewal duration and the pricing unit.

[0115] Optionally, the operation information includes the renewal duration and the purchase amount; the device further includes: a third determining module, used for:

[0116] When the renewal type corresponding to the operation information is the enabled type, the pricing unit corresponding to the main resource identifier is obtained from the product center, and the automatic renewal period is determined according to the renewal duration and the pricing unit.

[0117] The final renewal amount is determined based on the current purchase amount and the automatic renewal period.

[0118] Optionally, the device further includes: a renewal type determination module, specifically used for:

[0119] When the operation information is any one of cloud resource configuration change, manual renewal, and separate activation, the renewal type corresponding to the operation information is determined to be a variable price type.

[0120] When the operation information is "New Purchase with Auto Renewal Enabled" or "Automatic Renewal Enabled for Manual Renewal Orders", then the renewal type corresponding to the operation information is determined to be the "Enabled" type.

[0121] Optionally, the device further includes: a synchronization module, specifically used for:

[0122] The final renewal amount is synchronized to the automatic renewal scheduling center, and the automatic renewal operation is executed at the target time based on the final renewal amount; the target time is any time within a preset time period before the purchased target cloud resource expires;

[0123] After executing the automatic renewal operation, automatic renewal lifecycle maintenance information is generated.

[0124] Optionally, the basic information includes: pricing method, product specifications, pricing attributes, and unit price; the pricing logic includes: standard price, user discount, and customized price; when the processing module 703 controls the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic, it is specifically used for:

[0125] Calculate the renewal amount for each target cloud resource, and determine the final renewal amount by summing the renewal amounts for each target cloud resource.

[0126] The automatic renewal price calculation device provided in this embodiment of the invention can achieve the above-mentioned... Figure 2 , Figure 3 and Figure 4 The automatic renewal price calculation method shown in the embodiment has a similar implementation principle and technical effect, and will not be described again here.

[0127] Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Figure 8 As shown, the electronic device provided in this embodiment includes at least one processor 801 and a memory 802. The processor 801 and the memory 802 are connected via a bus 803.

[0128] In a specific implementation, at least one processor 801 executes computer execution instructions stored in memory 802, causing at least one processor 801 to execute the method in the above method embodiment.

[0129] The specific implementation process of processor 801 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0130] In the above Figure 8 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0131] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.

[0132] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0133] This invention also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method described in the above embodiments.

[0134] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the above method embodiments.

[0135] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0136] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0137] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0138] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0139] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0140] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for calculating automatic renewal prices, characterized in that, include: Determine the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; The number of target cloud resources is at least one; When the renewal type corresponding to the operation information is a variable price type, the automatic renewal period and pricing logic are determined. The pricing logic, the automatic renewal period, and the identifier of the target cloud resource are assembled according to a preset data format to obtain inquiry data. The inquiry data is input into the price calculation engine, which is controlled to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource. The price calculation engine is then controlled to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic. The operation information includes the renewal duration and the purchase amount; The method further includes: When the renewal type corresponding to the operation information is the enabled type, the pricing unit corresponding to the main resource identifier is obtained from the product center, and the automatic renewal period is determined according to the renewal duration and the pricing unit; the main resource identifier is the cloud resource identifier in the request information; The final renewal amount is determined based on the current purchase amount and the automatic renewal period; The method further includes: When the operation information is a cloud resource configuration change or manual renewal, the renewal type corresponding to the operation information is determined to be a variable price type. When the operation information is any one of new purchase auto-renewal, auto-renewal for manually renewed orders, or auto-renewal on a standalone basis, then the renewal type corresponding to the operation information is determined to be the activation type.

2. The method according to claim 1, characterized in that, Determine the target cloud resource corresponding to the request information sent by the user, including: The cloud resource identifier in the request information is determined as the primary resource identifier; Query the associated resource identifiers corresponding to the main resource identifier, and determine the cloud resources corresponding to the main resource identifier and the associated resource identifiers as the target cloud resources.

3. The method according to claim 2, characterized in that, The operation information includes the renewal duration; Determine the automatic renewal period and pricing logic, including: Obtain the operation account type corresponding to the user from the customer center, and obtain the pricing logic corresponding to the operation account type from the billing center; Obtain the pricing unit corresponding to the main resource identifier from the product center, and determine the automatic renewal period based on the renewal duration and the pricing unit.

4. The method according to any one of claims 1-3, characterized in that, The method further includes: The final renewal amount is synchronized to the automatic renewal scheduling center, and the automatic renewal operation is executed at the target time based on the final renewal amount; the target time is any time within a preset time period before the purchased target cloud resource expires; After executing the automatic renewal operation, automatic renewal lifecycle maintenance information is generated.

5. The method according to any one of claims 1-3, characterized in that, The basic information includes: pricing method, product specifications, pricing attributes, and unit price; the pricing logic includes: standard price, user discount, and customized price; controlling the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic includes: Calculate the renewal amount for each target cloud resource, and determine the final renewal amount by summing the renewal amounts for each target cloud resource.

6. An automatic renewal price calculation device, characterized in that, The device includes: The first determining module is used to determine the target cloud resource corresponding to the request information sent by the user, and the operation information for the target cloud resource; the number of target cloud resources is at least one. The second determining module is used to determine the automatic renewal period and pricing logic when the renewal type corresponding to the operation information is a variable price type. The processing module is used to assemble the pricing logic, the automatic renewal period, and the identifier of the target cloud resource according to a preset data format to obtain inquiry data, input the inquiry data into the price calculation engine, control the price calculation engine to interact with the product center to obtain basic information corresponding to the identifier of the target cloud resource, and control the price calculation engine to determine the final renewal amount based on the basic information, the automatic renewal period, and the pricing logic. The operation information includes the renewal duration and the purchase amount; the device also includes: a third determining module, used for: When the renewal type corresponding to the operation information is the enabled type, the pricing unit corresponding to the main resource identifier is obtained from the product center, and the automatic renewal period is determined according to the renewal duration and the pricing unit; the main resource identifier is the cloud resource identifier in the request information; The final renewal amount is determined based on the current purchase amount and the automatic renewal period; The device further includes: a renewal type determination module, specifically used for: When the operation information is a cloud resource configuration change or manual renewal, the renewal type corresponding to the operation information is determined to be a variable price type. When the operation information is any one of new purchase auto-renewal, auto-renewal for manually renewed orders, or auto-renewal on a standalone basis, then the renewal type corresponding to the operation information is determined to be the activation type.

7. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Charging data processing method and device for cloud computing resources

    CN112202576A

  • Network payment method and device

    CN115967587A