CN113516507A - Resource charging method and device for multi-cloud management platform - Google Patents

Resource charging method and device for multi-cloud management platform Download PDF

Info

Publication number
CN113516507A
CN113516507A CN202110669264.6A CN202110669264A CN113516507A CN 113516507 A CN113516507 A CN 113516507A CN 202110669264 A CN202110669264 A CN 202110669264A CN 113516507 A CN113516507 A CN 113516507A
Authority
CN
China
Prior art keywords
cloud
charging
resource
strategy
rule
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.)
Granted
Application number
CN202110669264.6A
Other languages
Chinese (zh)
Other versions
CN113516507B (en
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN202110669264.6A priority Critical patent/CN113516507B/en
Publication of CN113516507A publication Critical patent/CN113516507A/en
Application granted granted Critical
Publication of CN113516507B publication Critical patent/CN113516507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0239Online discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a resource charging method and device for a multi-cloud management platform. According to the technical scheme provided by the embodiment of the application, when the cloud service platform is connected to the multi-cloud management platform, the cloud resource charging rule of the cloud service platform is defined, and the corresponding charging realization class ID is generated; predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class I D and cloud service platform information; receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining a corresponding discount policy I D and a charging implementation class ID based on the cloud service platform information, performing cloud resource charging by using a corresponding cloud resource charging rule and a discount policy rule based on a charging implementation class I D and a discount policy ID, generating a charging result, and returning the charging result to the user terminal. By adopting the technical means, the cloud resource charging method can adapt to different requirements of multiple cloud users to charge the cloud resources.

Description

Resource charging method and device for multi-cloud management platform
Technical Field
The embodiment of the application relates to the technical field of multi-cloud platforms, in particular to a resource charging method and device for a multi-cloud management platform.
Background
At present, with the increasingly wide application of cloud demand scenarios, more and more enterprises select cloud services provided by a plurality of cloud service providers, and multi-cloud deployment becomes a primary scheme of the enterprises. In view of the above, more and more cloud service providers provide a multi-cloud management platform, so that the metering and charging of cloud resources on the multi-cloud management platform are common functions of the multi-cloud management platform. Most of charging schemes of traditional multi-cloud management platforms mainly use public clouds, charging interfaces of cloud service providers are generally directly adopted when cloud resource metering and charging are carried out, and the multi-cloud management platforms provide unified bill management views and cost optimization schemes according to charging results of the cloud service providers, so that metering and charging of the cloud resources by the multi-cloud management platforms are achieved.
However, the charging mode of the traditional multi-cloud management platform directly adopting the charging interfaces of the cloud service providers is relatively single, and the traditional multi-cloud management platform is lack of flexibility and cannot meet the personalized requirements of users.
Disclosure of Invention
The embodiment of the application provides a resource charging method and device for a multi-cloud management platform, which can adapt to different requirements of multi-cloud users to charge cloud resources, realize fine management of cloud resource charging and optimize use experience of the users.
In a first aspect, an embodiment of the present application provides a resource charging method for a multiple cloud management platform, including:
when the cloud service platform is accessed to the multi-cloud management platform, cloud resource charging rules of the cloud service platform are defined, and corresponding charging implementation class IDs are generated;
predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information;
receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding discount strategy ID and charging realization type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and discount strategy rules based on the charging realization type ID and the discount strategy ID, generating a charging result and returning the charging result to the user terminal.
Further, generating a charging result and returning the charging result to the user terminal further includes:
and returning the corresponding discount strategy ID, the charging realization class ID and the discount strategy rule to the user terminal.
Further, the cloud service platform comprises a public cloud platform, a private cloud platform, an industry cloud platform, a cloud data center and a server cluster.
Further, configuring a preference policy ID for the preference policy rule, and after binding the preference policy ID with the corresponding charging implementation class ID and cloud service platform information, the method further includes:
setting a service scene pricing strategy for the discount strategy ID, and binding the service scene pricing strategy with the discount strategy ID;
correspondingly, based on the charging implementation class ID and the discount policy ID, the cloud resource charging is performed by using the corresponding cloud resource charging rule and the discount policy rule, and the method further includes:
and judging whether the cloud resource application information conforms to the business scene pricing strategy bound by the preferential strategy ID, if so, carrying out cloud resource charging by using the corresponding cloud resource charging rule and the preferential strategy rule, and if not, carrying out cloud resource charging by using the corresponding cloud resource charging rule.
Further, setting a service scene pricing policy for the preferential policy ID, including:
and setting a service scene pricing strategy for the preferential strategy ID based on the user characteristics or the service type.
Further, the cloud resource types of the cloud service platform include a CPU, a memory, a network bandwidth, and a network traffic.
Further, defining a cloud resource charging rule of the cloud service platform includes:
and defining unit price of each type of cloud resource, and defining a cloud resource charging rule based on the unit price.
In a second aspect, an embodiment of the present application provides a resource charging apparatus for multiple cloud management platforms, including:
the cloud service platform comprises a first definition module and a second definition module, wherein the first definition module is used for defining a cloud resource charging rule of the cloud service platform and generating a corresponding charging realization type ID when the cloud service platform is accessed to the multi-cloud management platform;
the second definition module is used for predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information;
the charging module is used for receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining the corresponding discount strategy ID and the charging realization type ID based on the cloud service platform information, charging the cloud resources by using the corresponding cloud resource charging rule and the discount strategy rule based on the charging realization type ID and the discount strategy ID, generating a charging result and returning the charging result to the user terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the multi-cloud management platform resource billing method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for charging resources of a multi-cloud management platform according to the first aspect.
According to the embodiment of the application, when the cloud service platform is accessed to the multi-cloud management platform, the cloud resource charging rule of the cloud service platform is defined, and the corresponding charging realization class ID is generated; predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information; receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding preference policy ID and charging implementation type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and preference policy rules based on the charging implementation type ID and the preference policy ID, generating a charging result and returning the charging result to the user terminal. By adopting the technical means, the unified charging management of the cloud resources can be realized, the cloud resource charging is carried out according to different requirements of multiple cloud users, the fine management of the cloud resource charging is realized, and the use experience of the users is optimized.
Drawings
Fig. 1 is a flowchart of a resource charging method for a multiple cloud management platform according to an embodiment of the present application;
fig. 2 is a schematic diagram of a connection of a multi-cloud management platform in the first embodiment of the present application;
fig. 3 is a schematic diagram of a cloud resource charging framework in the first embodiment of the present application;
fig. 4 is a schematic structural diagram of a resource charging apparatus for a multiple cloud management platform according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The resource charging method for the multi-cloud management platform aims to charge the cloud resources based on the cloud resource charging rules and the preference policy rules by unifying the cloud resource charging rules and the preference policy rules of the designated cloud service platform, so that unified charging management of the cloud resources is achieved, and the use experience of a user is optimized. Compared with a traditional cloud resource charging mode, a charging scheme of the charging scheme is mainly based on public cloud, when cloud resource metering and charging are carried out, a charging interface of each cloud service provider is generally directly adopted, and a multi-cloud management platform provides a unified bill management view and a cost optimization scheme according to a charging result of each cloud service provider. This charging scheme suffers from the disadvantage that, first, charging management of private cloud resources is lacking. In an enterprise unit needing fine management, the use cost of a private cloud is required to be counted, and the use cost of a specific department or a group is calculated. Secondly, the public cloud charging is only dependent on a charging interface of a cloud service provider, preferential discounts of the public cloud obtained by an agency and an individual are different, and flexible pricing of a multi-cloud management platform to a terminal user is not facilitated by using the charging interface of a cloud manufacturer. Third, there is a lack of integrated billing management for public and private clouds. For an end user, the cloud resources used by the end user are resources of both a private cloud and a public cloud, and even resources of multiple public clouds and multiple private clouds. In order to independently account for the cloud cost of a user and avoid enterprise resource waste caused by occupation of a large amount of resources without use, the multi-cloud management platform resource charging method provided by the embodiment of the application is provided, so that the technical problems of single cloud resource charging mode and poor adaptability of the existing multi-cloud management platform are solved.
The first embodiment is as follows:
fig. 1 is a flowchart of a resource charging method for a multiple cloud management platform according to an embodiment of the present disclosure, where the resource charging method for the multiple cloud management platform provided in this embodiment may be executed by a resource charging device for the multiple cloud management platform, the resource charging device for the multiple cloud management platform may be implemented in a software and/or hardware manner, and the resource charging device for the multiple cloud management platform may be formed by two or more physical entities or may be formed by one physical entity. Generally, the resource charging device of the multi-cloud management platform may be a computing device such as a multi-cloud management platform server.
The following description will be given by taking the resource charging device of the cloud management platform as an example of a main body for executing the resource charging method of the cloud management platform. Referring to fig. 1, the resource charging method for a multi-cloud management platform specifically includes:
s110, when the cloud service platform is connected to the multi-cloud management platform, cloud resource charging rules of the cloud service platform are defined, and corresponding charging implementation type IDs are generated.
Specifically, in order to perform unified charging management on cloud resources used by the user terminal, cloud resource charging rules and preference policy rules of each cloud service platform are predefined, so that charging is performed by using the corresponding cloud resource charging rules and the corresponding preference policy rules according to cloud resource application information of the user terminal.
Referring to fig. 2, a connection usage diagram of a multi-cloud management platform according to an embodiment of the present application is provided. The multi-cloud management platform 12 provides cloud resource services for the user terminal 13 by accessing each cloud service platform 11. When the multi-cloud management platform 12 accesses the cloud service platform 11, the cloud resource charging rules of the cloud service platform are specified according to respective specific requirements. Cloud resource charging rules include, but are not limited to, the following three categories:
(1) completely self-defining resource pricing rules;
(2) a default charging rule provided by the cloud service platform;
(3) and (3) a charging rule formed by combining the two schemes (1) and (2) with the preferential policy.
According to the embodiment of the application, the simple and unified custom cloud resource charging rule is provided, so that unified charging of various cloud service platforms such as public cloud and private cloud is facilitated. The self-defined cloud resource charging rule can shield the charging method of the cloud manufacturer, and the charging is conveniently carried out on the cloud platform without the charging rule. When the cloud resource charging rules are defined, unit prices of various types of cloud resources are defined, and the cloud resource charging rules are defined based on the unit prices. By setting corresponding prices for the cloud resources of the cloud service platforms, calculation can be conveniently carried out subsequently according to the quantity of the cloud resources applied by the user terminal.
Illustratively, the cloud service platform of the embodiment of the application includes a public cloud platform, a private cloud platform, an industry cloud platform, a cloud data center, and a server cluster. Cloud resources participating in pricing generally include: CPU, memory, storage capacity, network bandwidth, network traffic, etc. For example, the unit price of a CPU (1 core) is defined as 10 yuan/hour, the unit price of a memory (1GB) is defined as 10 yuan/hour, and the price of a virtual machine applying 1 core to 1GB is defined as 20 yuan/hour. Alternatively, since the method of simply setting the unit price usually lacks a setting basis, the unit price can be automatically calculated for the system reference by the actual cost of configuring the physical resource and the operation mode desired by the enterprise, so as to reasonably price. The actual cost of the physical resources generally includes the cost of each component of the physical server, the cabinet operation cost, the proportion of virtualized resources, and the like, and the enterprise operation mode mainly includes the time that the enterprise wants to realize profit. And finally calculating the reference price of each virtual resource according to the parameters.
Based on the defined cloud resource charging rules of the cloud service platforms, corresponding charging implementation class IDs are configured for the cloud resource charging rules, so that the subsequent cloud resource charging rules can be inquired and used conveniently.
S120, predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information.
Further, a preferential policy rule is defined, and a cloud service platform charging method and a preferential policy of each access multi-cloud management platform are set. Generally, a cloud service platform, especially a public cloud manufacturer, usually opens its own query API, and when a user inputs parameters for creating a resource, the user automatically calculates the price of the resource according to the configuration. However, the cloud service itself provides different preferential schemes for different client types, and in a multi-cloud management platform, all terminal users use the accessed account numbers to inquire prices, and the final prices are the same, which is not beneficial for the agent to hide the preferential prices of the agent itself. Therefore, the multi-cloud management platform of the embodiment of the application supports setting of independent preferential policy rules, configures preferential policy IDs for the preferential policy rules, and binds the preferential policy IDs to corresponding charging implementation class IDs, so that various pricing results can be conveniently and flexibly configured according to terminal users.
The definition of the preferential strategy rules mainly comprises the following steps: and defining a preferential policy ID, setting a corresponding preferential policy rule, and binding the preferential ID with a charging implementation class ID of the cloud resource charging rule after selecting the cloud resource charging rule when the cloud service platform is accessed to the multi-cloud management platform. And then, the multi-cloud management platform can comprehensively calculate the price of the cloud resources according to the cloud resource charging rules and the preferential strategy rules.
S130, receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding preferential policy ID and charging implementation type ID based on the cloud service platform information, performing cloud resource charging by using the corresponding cloud resource charging rule and the preferential policy rule based on the charging implementation type ID and the preferential policy ID, generating a charging result and returning the charging result to the user terminal.
Finally, referring to fig. 3, when the terminal user applies for the cloud resources on the cloud management platform, the terminal user calculates the price of the resources according to the preset cloud resource charging rules and the preferential policy, and the cloud management platform provides a unified charging model for charging the cloud resources by shielding the charging difference of the cloud platforms.
For example, the user inputting the cloud resource application information includes: platform type, charging type, data center to which the resource belongs, and charging detailed configuration;
the unified charging model return information includes: resource price unit, total resource price, preferential resource strategy information and charging realization class;
for example, a user applies for a pay-per-view cloud server of the arri cloud, and the multi-cloud platform configures a default charging implementation class of a user manufacturer and applies 8 points. Inputting cloud resource application information includes:
the platform type: aliyun; and (4) charging type: according to the amount; the data center comprises: guangdong Shenzhen; and (3) charging configuration: cn-shenzhen, ecs.t5-c1m1.large, vpc, windows, optimized;
the unified charging model return information includes:
resource price unit: CNY (RMB yuan); total resource price: 200.00; preferential strategy ID: 123456; and (3) describing the preferential policy rules: 8-fold promotion; charging implementation type ID: 789.
in one embodiment, the multi-cloud management platform further sets a service scene pricing strategy for the preference strategy ID, and binds the service scene pricing strategy with the preference strategy ID; correspondingly, based on the charging implementation class ID and the discount policy ID, the cloud resource charging is performed by using the corresponding cloud resource charging rule and the discount policy rule, and the method further includes: and judging whether the cloud resource application information conforms to the business scene pricing strategy bound by the preferential strategy ID, if so, carrying out cloud resource charging by using the corresponding cloud resource charging rule and the preferential strategy rule, and if not, carrying out cloud resource charging by using the corresponding cloud resource charging rule.
Wherein. And setting a service scene pricing strategy for the preferential strategy ID based on the user characteristics or the service type. Customized charging for complex service scenes can be further realized by a mode of overlapping pricing strategies for the service scenes. For example, the preferential policy increasing 'application range' policy can realize the charging management of different organizations on the basis of unified charging. The organization may be a department, a project, a virtual machine data center, or a group of users with specific characteristics (e.g., membership grade), etc. Therefore, the charging method suitable for multi-cloud unified management can be flexibly customized according to different customer requirements, and meanwhile, the charging method of the cloud platform can be compatible, so that multi-scene charging is realized and the fine management requirements of enterprises are met.
As described above, when the cloud service platform is connected to the multi-cloud management platform, the cloud resource charging rule of the cloud service platform is defined, and the corresponding charging implementation class ID is generated; predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information; receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding preference policy ID and charging implementation type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and preference policy rules based on the charging implementation type ID and the preference policy ID, generating a charging result and returning the charging result to the user terminal. By adopting the technical means, the unified charging management of the cloud resources can be realized, the cloud resource charging is carried out according to different requirements of multiple cloud users, the fine management of the cloud resource charging is realized, and the use experience of the users is optimized.
Example two:
on the basis of the foregoing embodiment, fig. 4 is a schematic structural diagram of a resource charging apparatus for a multiple cloud management platform according to a second embodiment of the present application. Referring to fig. 4, the resource charging apparatus for a cloud management platform provided in this embodiment specifically includes: a first defining module 21, a second defining module 22 and a billing module 23.
The first defining module 21 is configured to define a cloud resource charging rule of the cloud service platform and generate a corresponding charging implementation class ID when the cloud service platform is connected to the multi-cloud management platform;
the second definition module 22 is configured to predefine a discount policy rule, configure a discount policy ID for the discount policy rule, and bind the discount policy ID with the corresponding charging implementation class ID and cloud service platform information;
the charging module 23 is configured to receive cloud resource application information input by a user terminal, determine cloud service platform information included in the cloud resource application information, determine the corresponding discount policy ID and the charging implementation class ID based on the cloud service platform information, perform cloud resource charging using the corresponding cloud resource charging rule and the discount policy rule based on the charging implementation class ID and the discount policy ID, generate a charging result, and return the charging result to the user terminal.
Specifically, the charging module 23 includes:
and the return unit is used for returning the corresponding discount strategy ID, the charging realization type ID and the discount strategy rule to the user terminal.
Specifically, the cloud service platform comprises a public cloud platform, a private cloud platform, an industry cloud platform, a cloud data center and a server cluster.
Specifically, the second defining module 22 further includes:
a binding unit, configured to set a service scene pricing policy for the benefit policy ID, and bind the service scene pricing policy and the benefit policy ID;
correspondingly, the charging module 23 includes:
and the judging unit is used for judging whether the cloud resource application information accords with the business scene pricing strategy bound by the preferential strategy ID, if so, the corresponding cloud resource charging rule and the preferential strategy rule are used for carrying out cloud resource charging, and if not, the corresponding cloud resource charging rule is used for carrying out cloud resource charging.
Specifically, the binding unit sets a service scene pricing strategy for the preferential strategy ID based on the user characteristics or the service type.
Specifically, the cloud resource types of the cloud service platform include a CPU, a memory, a network bandwidth, and a network traffic.
The first defining module includes:
and the defining unit is used for defining the unit price of each type of cloud resource and defining the cloud resource charging rule based on the unit price.
As described above, when the cloud service platform is connected to the multi-cloud management platform, the cloud resource charging rule of the cloud service platform is defined, and the corresponding charging implementation class ID is generated; predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information; receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding preference policy ID and charging implementation type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and preference policy rules based on the charging implementation type ID and the preference policy ID, generating a charging result and returning the charging result to the user terminal. By adopting the technical means, the unified charging management of the cloud resources can be realized, the cloud resource charging is carried out according to different requirements of multiple cloud users, the fine management of the cloud resource charging is realized, and the use experience of the users is optimized.
The resource charging device for the multi-cloud management platform provided by the second embodiment of the application can be used for executing the resource charging method for the multi-cloud management platform provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the resource billing method for a multi-cloud management platform according to any embodiment of the present application (for example, the first definition module, the second definition module, and the billing module in the resource billing apparatus for a multi-cloud management platform). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, the resource billing method of the multi-cloud management platform is implemented.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the above can be used to execute the resource charging method of the multi-cloud management platform provided by the first embodiment, and has corresponding functions and beneficial effects.
Example four:
an embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for charging resources of a multi-cloud management platform, where the method for charging resources of a multi-cloud management platform includes: when the cloud service platform is accessed to the multi-cloud management platform, cloud resource charging rules of the cloud service platform are defined, and corresponding charging implementation class IDs are generated; predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information; receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding discount strategy ID and charging realization type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and discount strategy rules based on the charging realization type ID and the discount strategy ID, generating a charging result and returning the charging result to the user terminal.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the above-described method for charging resources of a multi-cloud management platform, and may also perform related operations in the method for charging resources of a multi-cloud management platform provided in any embodiment of the present application.
The resource charging device, the storage medium, and the electronic device for a cloud management platform provided in the foregoing embodiments may execute the resource charging method for a cloud management platform provided in any embodiment of the present application, and reference may be made to the resource charging method for a cloud management platform provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A resource charging method for a multi-cloud management platform is characterized by comprising the following steps:
when the cloud service platform is accessed to the multi-cloud management platform, cloud resource charging rules of the cloud service platform are defined, and corresponding charging implementation class IDs are generated;
predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information;
receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining corresponding discount strategy ID and charging realization type ID based on the cloud service platform information, performing cloud resource charging by using corresponding cloud resource charging rules and discount strategy rules based on the charging realization type ID and the discount strategy ID, generating a charging result and returning the charging result to the user terminal.
2. The multi-cloud management platform resource charging method according to claim 1, wherein generating a charging result and returning the charging result to the user terminal further includes:
and returning the corresponding discount strategy ID, the charging realization class ID and the discount strategy rule to the user terminal.
3. The multi-cloud management platform resource charging method according to claim 1, wherein the cloud service platform comprises a public cloud platform, a private cloud platform, an industry cloud platform, a cloud data center, and a server cluster.
4. The multi-cloud management platform resource charging method according to claim 1, wherein after configuring a benefit policy ID for the benefit policy rule and binding the benefit policy ID with the corresponding charging implementation class ID and cloud service platform information, the method further comprises:
setting a service scene pricing strategy for the discount strategy ID, and binding the service scene pricing strategy with the discount strategy ID;
correspondingly, based on the charging implementation class ID and the discount policy ID, the cloud resource charging is performed by using the corresponding cloud resource charging rule and the discount policy rule, and the method further includes:
and judging whether the cloud resource application information conforms to the business scene pricing strategy bound by the preferential strategy ID, if so, carrying out cloud resource charging by using the corresponding cloud resource charging rule and the preferential strategy rule, and if not, carrying out cloud resource charging by using the corresponding cloud resource charging rule.
5. The multi-cloud management platform resource charging method according to claim 4, wherein setting a service scenario pricing policy for the benefit policy ID includes:
and setting a service scene pricing strategy for the preferential strategy ID based on the user characteristics or the service type.
6. The multi-cloud management platform resource charging method according to claim 1, wherein the cloud resource types of the cloud service platform include a CPU, a memory, a network bandwidth, and a network traffic.
7. The method for charging resources of the multi-cloud management platform according to claim 1, wherein defining the cloud resource charging rules of the cloud service platform includes:
and defining unit price of each type of cloud resource, and defining a cloud resource charging rule based on the unit price.
8. A resource charging device for a multi-cloud management platform is characterized by comprising:
the cloud service platform comprises a first definition module and a second definition module, wherein the first definition module is used for defining a cloud resource charging rule of the cloud service platform and generating a corresponding charging realization type ID when the cloud service platform is accessed to the multi-cloud management platform;
the second definition module is used for predefining a discount strategy rule, configuring a discount strategy ID for the discount strategy rule, and binding the discount strategy ID with the corresponding charging implementation class ID and cloud service platform information;
the charging module is used for receiving cloud resource application information input by a user terminal, determining cloud service platform information contained in the cloud resource application information, determining the corresponding discount strategy ID and the charging realization type ID based on the cloud service platform information, charging the cloud resources by using the corresponding cloud resource charging rule and the discount strategy rule based on the charging realization type ID and the discount strategy ID, generating a charging result and returning the charging result to the user terminal.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for billing for resources of a multi-cloud management platform of any of claims 1-7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for billing for resources of a multi-cloud management platform according to any of claims 1 to 7.
CN202110669264.6A 2021-06-16 2021-06-16 Multi-cloud management platform resource charging method and device Active CN113516507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110669264.6A CN113516507B (en) 2021-06-16 2021-06-16 Multi-cloud management platform resource charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110669264.6A CN113516507B (en) 2021-06-16 2021-06-16 Multi-cloud management platform resource charging method and device

Publications (2)

Publication Number Publication Date
CN113516507A true CN113516507A (en) 2021-10-19
CN113516507B CN113516507B (en) 2024-02-13

Family

ID=78065734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110669264.6A Active CN113516507B (en) 2021-06-16 2021-06-16 Multi-cloud management platform resource charging method and device

Country Status (1)

Country Link
CN (1) CN113516507B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934543A (en) * 2021-10-21 2022-01-14 江苏安超云软件有限公司 Universal charging method and device for cloud resources, electronic equipment and storage medium
CN114118986A (en) * 2021-11-26 2022-03-01 新华三大数据技术有限公司 Cloud service processing method, device, equipment and storage medium
CN114143048A (en) * 2021-11-18 2022-03-04 绿盟科技集团股份有限公司 Method, device and storage medium for managing security resources
CN114298705A (en) * 2021-12-31 2022-04-08 江苏赞奇科技股份有限公司 Cloud desktop accurate charging method and system based on charging engine
CN116389486A (en) * 2023-06-07 2023-07-04 浩鲸云计算科技股份有限公司 Method and system for realizing operation analysis of multiple cloud resources
CN116471134A (en) * 2023-05-30 2023-07-21 曙光云计算集团有限公司 Charging method and device for heterogeneous cloud resources, electronic equipment and storage medium
CN116723061A (en) * 2023-05-30 2023-09-08 曙光云计算集团有限公司 Cloud resource charging method and device, electronic equipment and storage medium
WO2024067672A1 (en) * 2022-09-30 2024-04-04 华为云计算技术有限公司 Cloud resource charging method, cloud management platform, computing device, and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742462A (en) * 2009-12-31 2010-06-16 中兴通讯股份有限公司 System and method for charging service
CN103414576A (en) * 2013-07-24 2013-11-27 广东电子工业研究院有限公司 Charging method for use of cloud computing resources
CN103475495A (en) * 2013-07-23 2013-12-25 国云科技股份有限公司 Cloud-computing virtual-machine resource-usage charging method
CN104333457A (en) * 2014-11-20 2015-02-04 杭州华三通信技术有限公司 Cloud computing service charging method and device
US20150156065A1 (en) * 2013-03-15 2015-06-04 Gravitant, Inc. Policy management functionality within a cloud service brokerage platform
US20150206207A1 (en) * 2013-03-15 2015-07-23 Gravitant, Inc Pricing rules management functionality within a cloud service brokerage platform
WO2016072895A1 (en) * 2014-11-06 2016-05-12 Telefonaktiebolaget L M Ericsson (Publ) Wireless communications network, user equipment and methods for handling a cloud
CN106506610A (en) * 2016-10-21 2017-03-15 国云科技股份有限公司 A kind of public cloud product implementation method based on strategy
CN107360006A (en) * 2017-06-12 2017-11-17 北京三快在线科技有限公司 A kind of resource billing method and device
CN107395909A (en) * 2017-07-20 2017-11-24 郑州云海信息技术有限公司 A kind of far management system and method based on cloud computing management platform
CN107566133A (en) * 2017-10-26 2018-01-09 郑州云海信息技术有限公司 A kind of resource billing method, device and platform
CN108063824A (en) * 2017-12-22 2018-05-22 云南天成科技有限公司 A kind of cloud service system and construction method
CN108923991A (en) * 2018-08-15 2018-11-30 国云科技股份有限公司 A kind of policy template implementation method based on cloudy platform
CN110009421A (en) * 2019-04-04 2019-07-12 杭州朗和科技有限公司 The unit price of cloud computing virtual resource determines method, medium, device and calculates equipment
US20190349269A1 (en) * 2016-06-06 2019-11-14 Alcatel Lucent Method, system and device for online charging in cloud system
CN111224791A (en) * 2020-01-10 2020-06-02 上海云海万邦数据科技有限公司 Cloud resource charging method and device, electronic equipment and storage medium
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform
WO2021057981A1 (en) * 2019-09-27 2021-04-01 中兴通讯股份有限公司 Cloud billing method and apparatus, cloud management platform and system, and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742462A (en) * 2009-12-31 2010-06-16 中兴通讯股份有限公司 System and method for charging service
US20150156065A1 (en) * 2013-03-15 2015-06-04 Gravitant, Inc. Policy management functionality within a cloud service brokerage platform
US20150206207A1 (en) * 2013-03-15 2015-07-23 Gravitant, Inc Pricing rules management functionality within a cloud service brokerage platform
CN103475495A (en) * 2013-07-23 2013-12-25 国云科技股份有限公司 Cloud-computing virtual-machine resource-usage charging method
CN103414576A (en) * 2013-07-24 2013-11-27 广东电子工业研究院有限公司 Charging method for use of cloud computing resources
WO2016072895A1 (en) * 2014-11-06 2016-05-12 Telefonaktiebolaget L M Ericsson (Publ) Wireless communications network, user equipment and methods for handling a cloud
CN104333457A (en) * 2014-11-20 2015-02-04 杭州华三通信技术有限公司 Cloud computing service charging method and device
US20190349269A1 (en) * 2016-06-06 2019-11-14 Alcatel Lucent Method, system and device for online charging in cloud system
CN106506610A (en) * 2016-10-21 2017-03-15 国云科技股份有限公司 A kind of public cloud product implementation method based on strategy
CN107360006A (en) * 2017-06-12 2017-11-17 北京三快在线科技有限公司 A kind of resource billing method and device
CN107395909A (en) * 2017-07-20 2017-11-24 郑州云海信息技术有限公司 A kind of far management system and method based on cloud computing management platform
CN107566133A (en) * 2017-10-26 2018-01-09 郑州云海信息技术有限公司 A kind of resource billing method, device and platform
CN108063824A (en) * 2017-12-22 2018-05-22 云南天成科技有限公司 A kind of cloud service system and construction method
CN108923991A (en) * 2018-08-15 2018-11-30 国云科技股份有限公司 A kind of policy template implementation method based on cloudy platform
CN110009421A (en) * 2019-04-04 2019-07-12 杭州朗和科技有限公司 The unit price of cloud computing virtual resource determines method, medium, device and calculates equipment
WO2021057981A1 (en) * 2019-09-27 2021-04-01 中兴通讯股份有限公司 Cloud billing method and apparatus, cloud management platform and system, and storage medium
CN111224791A (en) * 2020-01-10 2020-06-02 上海云海万邦数据科技有限公司 Cloud resource charging method and device, electronic equipment and storage medium
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄志兰;刘京松;关天强;陈楠;: "基于LibCloud的云代理系统设计与实现", 广东通信技术, no. 08, pages 5 - 13 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934543A (en) * 2021-10-21 2022-01-14 江苏安超云软件有限公司 Universal charging method and device for cloud resources, electronic equipment and storage medium
CN114143048A (en) * 2021-11-18 2022-03-04 绿盟科技集团股份有限公司 Method, device and storage medium for managing security resources
CN114143048B (en) * 2021-11-18 2023-09-26 绿盟科技集团股份有限公司 Method, device and storage medium for managing safety resources
CN114118986A (en) * 2021-11-26 2022-03-01 新华三大数据技术有限公司 Cloud service processing method, device, equipment and storage medium
CN114298705A (en) * 2021-12-31 2022-04-08 江苏赞奇科技股份有限公司 Cloud desktop accurate charging method and system based on charging engine
WO2024067672A1 (en) * 2022-09-30 2024-04-04 华为云计算技术有限公司 Cloud resource charging method, cloud management platform, computing device, and storage medium
CN116471134A (en) * 2023-05-30 2023-07-21 曙光云计算集团有限公司 Charging method and device for heterogeneous cloud resources, electronic equipment and storage medium
CN116723061A (en) * 2023-05-30 2023-09-08 曙光云计算集团有限公司 Cloud resource charging method and device, electronic equipment and storage medium
CN116723061B (en) * 2023-05-30 2024-10-18 曙光云计算集团股份有限公司 Cloud resource charging method and device, electronic equipment and storage medium
CN116389486A (en) * 2023-06-07 2023-07-04 浩鲸云计算科技股份有限公司 Method and system for realizing operation analysis of multiple cloud resources
CN116389486B (en) * 2023-06-07 2023-09-01 浩鲸云计算科技股份有限公司 Method and system for realizing operation analysis of multiple cloud resources

Also Published As

Publication number Publication date
CN113516507B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
CN113516507B (en) Multi-cloud management platform resource charging method and device
US10834178B2 (en) Provisioning a bare-metal server
US8914469B2 (en) Negotiating agreements within a cloud computing environment
US8924559B2 (en) Provisioning services using a cloud services catalog
US8943497B2 (en) Managing subscriptions for cloud-based virtual machines
US9722886B2 (en) Management of cloud provider selection
US9634848B2 (en) Message broadcasting in a clustered computing environment
US20110145413A1 (en) Resource exchange management within a cloud computing environment
KR20140097145A (en) Marketplace for composite application and data solutions
US9679119B2 (en) Software utilization privilege brokering in a networked computing environment
US20110138048A1 (en) Cloud computing roaming services
CN105046482A (en) Mobile terminal payment method, device, and system
US20140330647A1 (en) Application and service selection for optimized promotion
US20200304566A1 (en) Metering computing resources in cloud computing environments
EP4007962A1 (en) Rights management of cloud resources
CN116471134B (en) Charging method and device for heterogeneous cloud resources, electronic equipment and storage medium
WO2022261872A1 (en) Resource charging method and apparatus for multi-cloud management platform
KR102688832B1 (en) Method and system for collecting user inforamtion according to providing virtual desktop infrastructure service
US20150271538A1 (en) System and Method for IPTV Value-added Service Management
CN114841673A (en) Service data processing method and device
CN112671850A (en) Hybrid cloud management method, device, medium and electronic equipment
US10922666B1 (en) Resource management for logical and physical availability zones of a provider network
WO2024067672A1 (en) Cloud resource charging method, cloud management platform, computing device, and storage medium
CN114328708A (en) Charging method, device and storage medium
CN118394268A (en) Distributed storage management system, method, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant