CN114285677A - Charging data processing method and device for cloud computing resources - Google Patents

Charging data processing method and device for cloud computing resources Download PDF

Info

Publication number
CN114285677A
CN114285677A CN202011037051.3A CN202011037051A CN114285677A CN 114285677 A CN114285677 A CN 114285677A CN 202011037051 A CN202011037051 A CN 202011037051A CN 114285677 A CN114285677 A CN 114285677A
Authority
CN
China
Prior art keywords
charging
unit price
cloud computing
floating
charged
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011037051.3A
Other languages
Chinese (zh)
Inventor
朱建庭
陈鹤童
周广瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011037051.3A priority Critical patent/CN114285677A/en
Publication of CN114285677A publication Critical patent/CN114285677A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a charging data processing method and device for cloud computing resources, relates to the technical field of cloud computing, and comprises the steps of determining an identifier of a cloud computing product example to be charged; determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items of fixed unit price and charging items of floating unit price; and for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to a predefined price floating strategy based on the use time and the used time length, so that the cloud computing product example to be charged is charged according to the fixed unit price and the current unit price of the floating unit price charging item, and the problem that the existing charging mode is unreasonable is solved.

Description

Charging data processing method and device for cloud computing resources
Technical Field
The application relates to the technical field of cloud computing, in particular to a charging data processing method and device for cloud computing resources.
Background
Cloud computing is an augmentation, usage, and interaction model for internet-based related services, typically involving the provision of dynamically scalable and often virtualized resources over the internet. While the payment function of the cloud computing manufacturer is opened towards the customer to meet the customer demand to the maximum extent, the cloud computing manufacturer generally guides the customer to order the cloud computing product in terms of product design, pricing, marketing and the like in a prepayment mode as much as possible, for example, the customer can enjoy a lower product price when ordering in the prepayment mode.
Currently, cloud computing manufacturers generally provide a preferential policy of "the unit price is cheaper as the duration of one-time subscription or renewal is longer in a prepaid charging manner", so as to stimulate that users adopt a prepaid manner as much as possible and the duration of one-time subscription is as long as possible. However, although the monthly unit price is cheap, the longer the one-time purchase duration is, and the higher the total cost is, many small and medium-sized customers are generally not willing to accept the mode of pay-per-volume charging, which is a mode of charging on demand, because the one-time payment of too much cost affects the financial fund flow or because of the doubt on the service quality of cloud computing manufacturers, and the one-time payment of too much cost is not accepted. While cloud computing vendors try to guide users to pay on demand rather than post-pay by prepaying, the price per unit of pay-per-amount is generally set to be much higher than the price per unit of prepayment.
However, when configuring the unit price corresponding to the charging mode of paying the fixed amount for the product according to the amount for the instance such as the cloud host, the GPU host, and the like, the existing cloud computing manufacturer generally adopts a mechanism that the sub-charging items are priced according to the fixed unit price, that is, the same charging item is charged with the same unit price in each charging period no matter how long the resource instance ordered by the user has been used. However, for some online small and medium-sized customers, the pricing mechanism makes the user feel that product pricing is expensive, so that the user is finally unwilling to order for a long time, and only reorders and opens resources when really needed, and once the resource is not necessary, the user immediately unsubscribes the resources, which increases the resource management cost of the user on one hand, and is not beneficial to the resource selling and cost control of the platform on the other hand.
Disclosure of Invention
The application aims to provide a charging data processing method and device for cloud computing resources, so as to solve the technical problem that resource management is unreasonable in the prior art.
In a first aspect, an embodiment of the present application provides a method for processing charging data of cloud computing resources, including:
determining an identifier of a cloud computing product example to be charged;
determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items of fixed unit price and charging items of floating unit price;
and for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to a predefined price floating strategy based on the use time and the used time length, so as to charge the cloud computing product example to be charged according to a fixed unit price and the current unit price of the floating unit price charging item.
In an optional embodiment, the determining the identifier of the cloud computing product instance to be billed includes:
receiving a charging information query request, wherein the charging information query request comprises the identifier of the cloud computing product example to be charged.
In an optional embodiment, the determining, according to the identifier of the cloud computing product instance to be charged, information of a plurality of charging items corresponding to the cloud computing product instance to be charged and a used time length includes:
according to the identification of the cloud computing product example to be charged, inquiring the opening time of the cloud computing product example to be charged, the product line to which the cloud computing product example belongs and the identification of the product type in a pre-established product example database;
and determining the identifiers of the plurality of charging items from a pre-established product library according to the product line and the product type identifiers, and determining the initial unit price of each charging item according to the identifier of each charging item.
In an optional embodiment, the step of determining the current unit price of the charging item with the floating unit price according to a predefined price floating policy based on the usage time and the used duration for each charging item with the floating unit price comprises:
for each charging item of the floating unit price, according to the used time length, matching the current floating coefficient in the corresponding relation between the predefined floating coefficient and the used time length;
and determining the current unit price of the charging item of the floating unit price according to the current floating coefficient and the initial unit price for each charging item of the floating unit price.
In an optional embodiment, before matching, for each charging item of the floating unit price, a current floating coefficient in a predefined correspondence between the floating coefficient and the usage duration according to the usage duration, the method further includes:
determining a charging item of a floating unit price among the plurality of charging items.
In a second aspect, an embodiment of the present application provides a charging data processing apparatus for cloud computing resources, including:
the first determining module is used for determining the identifier of the cloud computing product example to be charged;
the second determining module is used for determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items of fixed unit price and charging items of floating unit price;
and the charging module is used for determining the current unit price of the charging item of the floating unit price according to a predefined price floating strategy based on the use time and the used time length aiming at the charging item of each floating unit price, so that the cloud computing product example to be charged is charged according to the fixed unit price and the current unit price of the floating unit price charging item.
In an optional embodiment, the first determining module is specifically configured to:
receiving a charging information query request, wherein the charging information query request comprises the identifier of the cloud computing product example to be charged.
In an optional embodiment, the second determining module is specifically configured to:
according to the identification of the cloud computing product example to be charged, inquiring the opening time of the cloud computing product example to be charged, the product line to which the cloud computing product example belongs and the identification of the product type in a pre-established product example database;
and determining the identifiers of the plurality of charging items from a pre-established product library according to the product line and the product type identifiers, and determining the initial unit price of each charging item according to the identifier of each charging item.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements the steps of the method described in any one of the foregoing embodiments when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the preceding embodiments.
The embodiment of the application provides a charging data processing method and device for cloud computing resources. Determining an identifier of a cloud computing product instance to be charged; determining information of a plurality of charging items corresponding to the cloud computing product example to be charged and used time according to the identifier of the cloud computing product example to be charged; and for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to a predefined price floating strategy based on the use time and the used time length, so as to charge the cloud computing product example to be charged according to the fixed unit price and the current unit price of the floating unit price charging item. Therefore, the processing aiming at the charging data is more concise and effective, and the unit price is cheaper as the opening service time of the example is longer when the user orders the products paid according to the amount, so that the user has power to keep the ordering and using state of the product resource example all the time, and can not select to unsubscribe easily, thereby reducing the management cost of the resource and realizing the benefit maximization of a platform manufacturer.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a charging data processing method for cloud computing resources according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another charging data processing apparatus for cloud computing resources according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a charging data processing apparatus for cloud computing resources according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The application technology provides a novel method and a system for dynamically pricing according to the use duration of product resource instances, and by applying the technology, a user can really realize that the longer the instance opening use time is, the cheaper the unit price is, when ordering the pay-per-quantity products, so that the user has power to keep the ordering use state of the product resource instances all the time, and can not select to unsubscribe easily, and further, the benefit maximization of a platform manufacturer is realized.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is a schematic flowchart of a charging data processing method for cloud computing resources according to an embodiment of the present application. As shown in fig. 1, the method includes:
s110, determining the identification of the cloud computing product example to be charged.
Cloud computing product instances may include instances of cloud hosts, cloud physical machines, cloud storage, cloud networks, cloud databases, and so forth. And each cloud computing product instance corresponds to an identifier, and the identifier of the cloud computing product instance is used for uniquely identifying one cloud computing product instance.
After a user purchases cloud computing resources, a cloud computing product instance purchased by the user can be created for the user, the cloud computing product instance corresponds to attribute information, and the attribute information can include opening time, a product line to which the user belongs, a product type and the like.
The method is applied to a charging system of the cloud computing resources, and the charging system of the cloud computing resources can receive a charging information query request from a user terminal or a cloud computing platform, wherein the charging information query request comprises an identifier of a cloud computing product example to be charged. The cloud computing platform can be used for managing each cloud computing product instance, and a user can initiate a charging information query request for the cloud computing product instance owned by the user through the cloud computing platform. The user can register an account in the cloud computing platform, the account can be used for recording relevant information of cloud computing product examples owned by the user, and based on the account, the user can initiate a charging information query request aiming at the cloud computing product examples owned by the user.
And S120, determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items with fixed unit price and charging items with floating unit price.
The cloud computing resources may include resources suitable for charging at a fixed unit price, and may also include resources suitable for charging at a floating price, so a suitable charging item may be defined for a characteristic of each cloud computing resource, for example, the cloud computing resources may include computing resources, memory resources, disk resources, communication resources, and the like, where the computing resources, the memory resources, and the communication resources may be used for charging at the floating price, and the disk resources adopt a charging manner at the fixed unit price.
For one cloud computing product instance, a fixed unit price charging item and a floating unit price charging item may be included. For example, the charging items may correspond to resources, for example, the charging items may include a computing resource charging item, a memory resource charging item, a disk resource charging item, a communication resource charging item, and the like.
The corresponding relation between the charging items and the charging mode and the corresponding relation between the cloud computing product instance and the charging items can be predefined and stored in the database.
The pricing information manager can set a price floating coefficient for each duration interval respectively aiming at the specific charging item of the specific product type of the specific product line through the management module.
As an example, a product instance database and a product library may be established in advance, where the product instance database may be used to store attribute information of the cloud computing product instance, and the product library is used to record charging items corresponding to respective products, where cloud computing products may be classified by product lines and product types. Based on the method, the opening time of the cloud computing product instance to be charged, the product line to which the cloud computing product instance belongs and the product type identification can be inquired in a pre-established product instance database according to the identification of the cloud computing product instance to be charged.
And S130, determining the current unit price of the charging item of the floating unit price according to a predefined price floating strategy based on the use time and the used time length aiming at the charging item of each floating unit price, so as to charge the cloud computing product example to be charged according to the fixed unit price and the current unit price of the floating unit price charging item.
The identifiers of a plurality of charging items can be determined from a pre-established product library according to the product line and the product type identifiers, and the initial unit price of each charging item can be determined according to the identifier of each charging item.
And charging can be carried out according to the corresponding charging modes for different charging items. For example, for the charging item of the floating unit price, the corresponding relation between the floating coefficient and the usage duration can be predefined. During specific charging, a charging item with a floating unit price can be determined in a plurality of charging items; next, for each charging item of the floating unit price, according to the used time length, matching the current floating coefficient in the corresponding relation between the predefined floating coefficient and the used time length; for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to the current floating coefficient and the initial unit price; and calculating to obtain the final unit price of each charging item according to the price floating coefficient of each charging item and the fixed unit price corresponding to each charging item, so as to charge based on the final unit price of each charging item.
The charging system can firstly query the unit price of each charging item corresponding to the product example when charging is carried out on the corresponding cloud computing product example in each product charging period, and carries out charge calculation according to the final unit price of each charging item queried back and the metering value corresponding to each charging item.
The billing system may send an enquiry request to the enquiry support module. When receiving the request of charging system, the module: inquiring and acquiring instance opening time, an instance product line and a product type identifier from a product instance database according to the identifier of the product instance carried in the inquiry request, and calculating and acquiring the used time of the instance according to the instance opening time and the current time; inquiring and acquiring all charging item identifications of the product type from a product library according to the product line and the product type identification; inquiring and acquiring fixed unit prices corresponding to all charging items from a product pricing library according to the product line, the product type identification and the charging item identification list; and inquiring and obtaining the price floating coefficient of each charging item from the floating pricing management module according to the product line, the product type identifier, the charging item identifier list and the used time of the example. If the charging item does not inquire the price floating coefficient in the floating pricing management module, the corresponding price floating coefficient can be calculated according to a default value, for example, the default value can be set to 1, that is, the charging item does not need to be subjected to price floating.
Taking the product type of the high-performance cloud host as an example, the charging data processing method for the cloud computing resources provided by the embodiment of the present application is further described below. The charging items of the cloud computing product example may include a CPU, a memory, and a magnetic disk, and in a pay-per-volume charging manner, the fixed unit price corresponding to each charging item may be respectively set as:
a CPU: 1 yuan/core/day;
memory: 0.2 yuan/G/day;
a magnetic disk: 0.001 yuan/G/day.
And then, price floating strategies are respectively predefined for the CPU charging items and the memory charging items of the cloud computing product example of the product type of the high-performance cloud host. The price floating strategy is shown as follows, wherein A represents the using time of an example and the unit is day; k represents a price float coefficient:
CPU:0<A≤3,k=1.2|3<A≤6,k=1.1|6<A≤15,k=1|15<A≤30,k=0.9|30<A,k=0.85;
the memory is 0< A < 3, k ═ 1.1|3< A < 6, k ═ 1.0|6< A < 15, k ═ 0.9|15< A < 30, k ═ 0.85|30< A, and k ═ 0.8.
The disk charging item of the cloud computing product instance for the product type of the high-performance cloud host does not define a price floating policy, and a corresponding price floating coefficient of the disk charging item may be a default value, which may be 1.
Supposing that when the cloud computing product example receives the charging information query request on the 2 nd day after the order is opened, the final unit prices of the corresponding charging items are respectively as follows:
a CPU: 1 yuan/core/day 1.2 ═ 1.2 yuan/core/day;
memory: 0.2 yuan/G/day 1.1 ═ 0.22 yuan/G/day;
a magnetic disk: 0.001 yuan/G/day 1 ═ 0.001 yuan/G/day.
Charging can be performed based on the final unit price.
Supposing that when the cloud computing product example receives a charging information query request at 20 th after the order is opened, the final unit prices of the corresponding charging items are respectively as follows:
a CPU: 1 yuan/core/day 0.9 ═ 0.9 yuan/core/day;
memory: 0.2 yuan/G/day 0.85 ═ 0.17 yuan/G/day;
a magnetic disk: 0.001 yuan/G/day 1 ═ 0.001 yuan/G/day.
Charging can be performed based on the unit price.
The method comprises the steps of determining an identifier of a cloud computing product example to be charged; determining information of a plurality of charging items corresponding to the cloud computing product example to be charged and used time according to the identifier of the cloud computing product example to be charged; and for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to a predefined price floating strategy based on the use time and the used time length, so as to charge the cloud computing product example to be charged according to the fixed unit price and the current unit price of the floating unit price charging item. Therefore, the processing aiming at the charging data is simpler and more effective, the charging processing can be clearly and conveniently carried out while the complex charging logic and the preferential strategy can be provided, the operation cost is low, the user experience is good, and the unit price is cheaper when the instance is opened for a longer time when the user orders the products paid according to the amount, so that the user has power to keep the ordering and using state of the product resource instance all the time, the user can not select to unsubscribe easily, the management cost of the resource is reduced, and the benefit maximization of a platform manufacturer is realized.
The method is realized by additionally adding a price floating coefficient mechanism on the basis of the existing pricing mechanism, so that the maximum compatibility with the existing pricing mechanism can be realized.
Fig. 2 is a schematic structural diagram of a charging data processing apparatus for cloud computing resources according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
a first determining module 201, configured to determine an identifier of a cloud computing product instance to be charged;
a second determining module 202, configured to determine, according to an identifier of a cloud computing product instance to be charged, information of a plurality of charging items corresponding to the cloud computing product instance to be charged and a used time length, where the plurality of charging items include a charging item of a fixed unit price and a charging item of a floating unit price;
and the charging module 203 is configured to determine, for each floating unit price charging item, a current unit price of the floating unit price charging item according to a predefined price floating policy based on usage time and the used duration, so as to charge the cloud computing product instance to be charged according to a fixed unit price and the current unit price of the floating unit price charging item.
In some embodiments, the first determining module 201 is specifically configured to:
receiving a charging information query request, wherein the charging information query request comprises the identifier of the cloud computing product example to be charged.
In some embodiments, the second determining module 202 is specifically configured to:
according to the identification of the cloud computing product example to be charged, inquiring the opening time of the cloud computing product example to be charged, the product line to which the cloud computing product example belongs and the identification of the product type in a pre-established product example database;
and determining the identifiers of the plurality of charging items from a pre-established product library according to the product line and the product type identifiers, and determining the initial unit price of each charging item according to the identifier of each charging item.
The charging data processing device for cloud computing resources provided by the embodiment of the application has the same technical characteristics as the charging data processing method for cloud computing resources provided by the embodiment of the application, so that the same technical problems can be solved, and the same technical effects can be achieved.
Fig. 3 is a schematic structural diagram of another charging data processing apparatus for cloud computing resources according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
the charging system 301 is configured to perform unit price query on each charging item corresponding to a cloud computing product instance when charging is performed on a corresponding cloud computing product instance in each product charging period, and perform cost calculation according to the final unit price of each charging item obtained through query and a metering value corresponding to each charging item.
The price inquiry support module 302, which performs corresponding unit price confirmation operation when accepting the price inquiry request of the charging system.
Wherein the unit price confirming operation at least comprises:
operation a), inquiring and acquiring instance opening time, instance product line and product type identification from a database according to the unique product instance identification carried in the price inquiring request, and calculating and acquiring the used time of the instance according to the instance opening time and the current time;
operation b), according to the product line and the product type identification, inquiring and acquiring all the charging item identifications of the product type from a database;
operation c), inquiring and acquiring fixed unit prices corresponding to all charging items from a database according to the product line, the product type identifier and the charging item identifier list;
and d), inquiring and obtaining the price floating coefficient of each charging item from the floating pricing management module according to the product line and product type identifiers, the charging item identifier list and the used time of the example. If the price floating coefficient of the charging item can not be inquired in the floating pricing management module, the corresponding price floating coefficient is counted as 1, namely the charging item does not need to be subjected to price floating.
And e), calculating and obtaining the final unit price of each charging item according to the price floating coefficient of each charging item and the fixed unit price corresponding to each charging item.
And the floating pricing management module 303 is configured to set a price floating coefficient for each duration interval respectively for a specific charging item of a specific product type of a specific product line.
A database 304 for storing attribute information, pricing information, product information, and the like.
The attribute information may include an opening time, a product line to which the attribute information belongs, a product type, and the like; the pricing information may include a fixed unit price or an initial unit price of a floating unit price, etc., corresponding to the charging item; the product information may include a product line and a billing item corresponding to a product type.
In some embodiments, database 304 may include a product pricing library, a product instance database, and a product library. Wherein, the product pricing database is used for storing pricing information; the product instance database is used for storing attribute information, and the product library is used for storing product information.
The charging data processing device for cloud computing resources provided by the embodiment of the application has the same technical characteristics as the charging data processing method for cloud computing resources provided by the embodiment of the application, so that the same technical problems can be solved, and the same technical effects can be achieved.
As shown in fig. 4, an embodiment of the present application provides a computer device 700, including: the charging data processing method comprises a processor 701, a memory 702 and a bus, wherein the memory 702 stores machine readable instructions executable by the processor 701, when a computer device runs, the processor 701 and the memory 702 are communicated through the bus, and the processor 701 executes the machine readable instructions to execute the steps of the charging data processing method of the cloud computing resource.
Specifically, the memory 702 and the processor 701 may be general-purpose memory and processor, which are not specifically limited herein, and when the processor 701 executes a computer program stored in the memory 702, the charging data processing method for cloud computing resources may be executed.
Corresponding to the charging data processing method for the cloud computing resources, an embodiment of the present application further provides a computer-readable storage medium, where a machine executable instruction is stored in the computer-readable storage medium, and when the computer executable instruction is called and executed by a processor, the computer executable instruction causes the processor to execute the steps of the charging data processing method for the cloud computing resources.
The charging data processing device for cloud computing resources provided by the embodiment of the application can be specific hardware on equipment, or software or firmware installed on the equipment, and the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to enable a shunting device (which may be a personal computer, a server, or a computer device) to execute all or part of the steps of the mobile control method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application.

Claims (10)

1. A charging data processing method of cloud computing resources is characterized by comprising the following steps:
determining an identifier of a cloud computing product example to be charged;
determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items of fixed unit price and charging items of floating unit price;
and for each floating unit price charging item, determining the current unit price of the floating unit price charging item according to a predefined price floating strategy based on the use time and the used time length, so as to charge the cloud computing product example to be charged according to a fixed unit price and the current unit price of the floating unit price charging item.
2. The method of claim 1, wherein determining the identity of the cloud computing product instance to be billed comprises:
receiving a charging information query request, wherein the charging information query request comprises the identifier of the cloud computing product example to be charged.
3. The method according to claim 2, wherein the determining information and used time length of a plurality of charging items corresponding to the cloud computing product instance to be charged according to the identifier of the cloud computing product instance to be charged comprises:
according to the identification of the cloud computing product example to be charged, inquiring the opening time of the cloud computing product example to be charged, the product line to which the cloud computing product example belongs and the identification of the product type in a pre-established product example database;
and determining the identifiers of the plurality of charging items from a pre-established product library according to the product line and the product type identifiers, and determining the initial unit price of each charging item according to the identifier of each charging item.
4. The method according to claim 3, wherein the step of determining the current unit price of the floating unit price charging item according to a predefined price floating policy based on time of use and the used duration for each floating unit price charging item comprises:
for each charging item of the floating unit price, according to the used time length, matching the current floating coefficient in the corresponding relation between the predefined floating coefficient and the used time length;
and determining the current unit price of the charging item of the floating unit price according to the current floating coefficient and the initial unit price for each charging item of the floating unit price.
5. The method according to claim 4, wherein before matching a current floating coefficient in a predefined floating coefficient to usage duration correspondence according to the used duration for each floating unit price charging item, the method further comprises:
determining a charging item of a floating unit price among the plurality of charging items.
6. A charging data processing device for cloud computing resources is characterized by comprising:
the first determining module is used for determining the identifier of the cloud computing product example to be charged;
the second determining module is used for determining information and used time length of a plurality of charging items corresponding to the cloud computing product example to be charged according to the identifier of the cloud computing product example to be charged, wherein the plurality of charging items comprise charging items of fixed unit price and charging items of floating unit price;
and the charging module is used for determining the current unit price of the charging item of the floating unit price according to a predefined price floating strategy based on the use time and the used time length aiming at the charging item of each floating unit price, so that the cloud computing product example to be charged is charged according to the fixed unit price and the current unit price of the floating unit price charging item.
7. The apparatus of claim 6, wherein the first determining module is specifically configured to:
receiving a charging information query request, wherein the charging information query request comprises the identifier of the cloud computing product example to be charged.
8. The apparatus of claim 7, wherein the second determining module is specifically configured to:
according to the identification of the cloud computing product example to be charged, inquiring the opening time of the cloud computing product example to be charged, the product line to which the cloud computing product example belongs and the identification of the product type in a pre-established product example database;
and determining the identifiers of the plurality of charging items from a pre-established product library according to the product line and the product type identifiers, and determining the initial unit price of each charging item according to the identifier of each charging item.
9. Computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any of the claims 1 to 5 when executing the computer program.
10. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 5.
CN202011037051.3A 2020-09-27 2020-09-27 Charging data processing method and device for cloud computing resources Pending CN114285677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011037051.3A CN114285677A (en) 2020-09-27 2020-09-27 Charging data processing method and device for cloud computing resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011037051.3A CN114285677A (en) 2020-09-27 2020-09-27 Charging data processing method and device for cloud computing resources

Publications (1)

Publication Number Publication Date
CN114285677A true CN114285677A (en) 2022-04-05

Family

ID=80868036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011037051.3A Pending CN114285677A (en) 2020-09-27 2020-09-27 Charging data processing method and device for cloud computing resources

Country Status (1)

Country Link
CN (1) CN114285677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067672A1 (en) * 2022-09-30 2024-04-04 华为云计算技术有限公司 Cloud resource charging method, cloud management platform, computing device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238460A1 (en) * 2010-03-24 2011-09-29 International Business Machines Corporation Dynamic Pricing of a Resource
US20120095940A1 (en) * 2010-10-13 2012-04-19 Microsoft Corporation Pricing mechanisms for perishable time-varying resources
CN109118666A (en) * 2018-08-24 2019-01-01 北京轻享科技有限公司 A kind of vehicle charging method, device and equipment
CN110009421A (en) * 2019-04-04 2019-07-12 杭州朗和科技有限公司 The unit price of cloud computing virtual resource determines method, medium, device and calculates equipment
CN111080415A (en) * 2019-12-20 2020-04-28 北京金山云网络技术有限公司 Method and device for processing lease data of cloud computing resources and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238460A1 (en) * 2010-03-24 2011-09-29 International Business Machines Corporation Dynamic Pricing of a Resource
US20120095940A1 (en) * 2010-10-13 2012-04-19 Microsoft Corporation Pricing mechanisms for perishable time-varying resources
CN109118666A (en) * 2018-08-24 2019-01-01 北京轻享科技有限公司 A kind of vehicle charging method, device and equipment
CN110009421A (en) * 2019-04-04 2019-07-12 杭州朗和科技有限公司 The unit price of cloud computing virtual resource determines method, medium, device and calculates equipment
CN111080415A (en) * 2019-12-20 2020-04-28 北京金山云网络技术有限公司 Method and device for processing lease data of cloud computing resources and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067672A1 (en) * 2022-09-30 2024-04-04 华为云计算技术有限公司 Cloud resource charging method, cloud management platform, computing device, and storage medium

Similar Documents

Publication Publication Date Title
KR20010093750A (en) Sales business managing system, sales business managing apparatus, and sales business managing method
US20150127531A1 (en) Real time recurring distributor billing for subscription products
CN111080415A (en) Method and device for processing lease data of cloud computing resources and electronic equipment
CN110610247B (en) Service data processing method and device
CN111709777A (en) Payment mode recommendation method, system, terminal device and storage medium
CN112202871A (en) Metering and charging method, device and system for cloud computing resources and electronic equipment
US8326712B2 (en) Method and system for technology consumption management
KR101116863B1 (en) Method for settlement of discount price between contractors by the other
KR102516181B1 (en) Shopping mall system of half price discount paying back more point than the amount of consumer purchase
CN109146614B (en) Mall data processing method and system based on small program
CN114285677A (en) Charging data processing method and device for cloud computing resources
CN112202577A (en) Preferential data processing method and device for cloud computing resources
CN109191093A (en) Electronic invoice billing method, device and terminal device
CN117372105A (en) Price estimation method, device, equipment and storage medium based on cloud platform service
JP5945289B2 (en) POINT MANAGEMENT SYSTEM, POINT MANAGEMENT METHOD, AND COMPUTER PROGRAM
JP6312023B2 (en) Settlement system, privilege management method thereof, and computer program
CN115392892A (en) Account checking method, account checking device, terminal and storage medium
CN101295395A (en) Network information processing system and information processing method
JP5950954B2 (en) Point management system, point management method, and computer program
CN113159852A (en) Store management method and store management platform
JP6069640B2 (en) Payment system for amusement facilities and payment control method thereof
CN106228395A (en) The evaluation method of Resource Properties and system
US20140100941A1 (en) Vehicular Part Transaction System and Method
JP6313796B2 (en) Payment system for amusement facilities and payment control method thereof
CN112686719B (en) Billing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination