CN114401159A - Cloud computing service charging method and device, storage medium and electronic equipment - Google Patents
Cloud computing service charging method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN114401159A CN114401159A CN202210044047.2A CN202210044047A CN114401159A CN 114401159 A CN114401159 A CN 114401159A CN 202210044047 A CN202210044047 A CN 202210044047A CN 114401159 A CN114401159 A CN 114401159A
- Authority
- CN
- China
- Prior art keywords
- charging
- cloud computing
- computing service
- strategies
- charge
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000004364 calculation method Methods 0.000 claims abstract description 20
- 230000004044 response Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 230000004048 modification Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012946 outsourcing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The disclosure relates to the field of data processing, in particular to a cloud computing service charging method and device, a storage medium and electronic equipment. The cloud computing service charging method comprises the following steps: responding to a cloud computing service charging request, and acquiring cloud computing service parameters corresponding to the cloud computing service charging request; respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies; and converting the charging results respectively corresponding to the charging strategies into a charge comparison graph, and displaying the charge comparison graph in the terminal equipment. The method provided by the disclosure can improve the charging efficiency of the cloud computing service, visually display the result comparison of various charging strategies, and improve the user experience.
Description
Technical Field
The disclosure relates to the field of data processing, and in particular relates to a cloud computing service charging method, a cloud computing service charging device, a storage medium and an electronic device.
Background
Cloud computing is a computing service, and cloud manufacturers sell virtualized cloud computing resources (including servers, storage, networks, databases, application programs and the like) in an outsourcing mode through the service, and users can use the corresponding resources only by paying corresponding resource fees. There are various payment modes available in the public network IP resource industry at present, such as annual monthly packet of the public network IP, payment according to configuration and usage, payment selection for adding the public network IP into the shared bandwidth packet, and the like.
At present, in the face of various charging modes, a user needs to analyze and select according to requirements and understanding. This relies on the relevant professional background and manual selection is inefficient and wasteful of human resources. And once the requirement of the user changes, all recalculation is needed, so that the method is not suitable for the requirement of rapid development of cloud products.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure aims to provide a cloud computing service charging method, a cloud computing service charging device, a storage medium, and an electronic device, and aims to solve the problem of low efficiency in manually charging a cloud computing service.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the embodiments of the present disclosure, a cloud computing service charging method is provided, including: responding to a cloud computing service charging request, and acquiring cloud computing service parameters corresponding to the cloud computing service charging request; respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies; and converting the charging results respectively corresponding to the charging strategies into a charge comparison graph, and displaying the charge comparison graph in the terminal equipment.
According to some embodiments of the present disclosure, based on the foregoing solution, the method further comprises: pre-configuring charging strategies of various cloud computing services and charging rules corresponding to the charging strategies respectively to obtain a charging strategy pool; wherein the charging policy comprises one or more of annual charging, monthly charging, charging by usage, charging by configuration and sharing broadband packet charging; the shared broadband packet charging comprises one or more of shared packet annual charging, shared packet monthly charging, shared per-configuration charging and shared per-usage charging; the sharing charging according to the usage comprises sharing charging according to 95 peak clipping or sharing charging according to enhanced 95 peak clipping.
According to some embodiments of the present disclosure, based on the foregoing solution, before the responding to the cloud computing service charging request, the method further includes: acquiring historical cloud computing service data of a target user; performing demand prediction according to the cloud computing service data to obtain the cloud computing service parameters; generating the cloud computing service charging request based on the pre-measured cloud computing service parameters.
According to some embodiments of the present disclosure, based on the foregoing solution, before the responding to the cloud computing service charging request, the method further includes: responding to a parameter input operation of a user, and acquiring a cloud computing service parameter corresponding to the parameter input operation; and responding to the charging starting operation of the user, and generating the cloud computing service charging request based on the cloud computing service parameters.
According to some embodiments of the present disclosure, based on the foregoing solution, the method further comprises: responding to the charging strategy selection operation of the user, and extracting a plurality of target charging strategies corresponding to the charging strategy selection operation from the charging strategy pool; and respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the target charging strategies to obtain the charge comparison graph.
According to some embodiments of the present disclosure, based on the foregoing solution, after the converting the charging result into the fee comparison graph, the method further includes: updating the cloud computing service parameters in response to a parameter modification operation; and updating the cost comparison graph based on the updated cloud computing service parameters.
According to some embodiments of the present disclosure, based on the foregoing solution, the charge comparison graph includes a charge curve formed by usage time and usage charge respectively corresponding to each charging policy.
According to a second aspect of the embodiments of the present disclosure, there is provided a cloud computing service charging apparatus, including: the response module is used for responding to a cloud computing service charging request and acquiring cloud computing service parameters corresponding to the cloud computing service charging request; the computing module is used for respectively carrying out charge computation on the basis of the cloud computing service parameters by utilizing the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies; and the display module is used for converting the charging results corresponding to the charging strategies into a charge comparison graph and displaying the charge comparison graph in the terminal equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud computing service charging method as in the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus, including: one or more processors; a storage device to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a cloud computing service billing method as in the above embodiments.
Exemplary embodiments of the present disclosure may have some or all of the following benefits:
in the technical solutions provided in some embodiments of the present disclosure, when a cloud computing service charging request is received, first, corresponding cloud computing service parameters are obtained, then, based on the parameters, charging rules corresponding to charging policies in a charging policy pool are used to respectively calculate charging results corresponding to the charging policies, and finally, the charging results are converted into a cost comparison graph for display. On the one hand, according to the cloud computing service charging method disclosed by the invention, on the one hand, according to parameters of the cloud computing service which needs to be preset, the charging rules in the charging strategy pool established after the payment information is integrated in advance are utilized to automatically carry out charge calculation to obtain a charging result, the cloud computing service charging with diversified demands and higher specialized degree is automated and intelligent, and the charging result can be dynamically output when the parameters change; on the other hand, the charging result corresponding to each charging strategy can be generated into a charge comparison graph to be visually displayed on the terminal equipment, so that the user can be helped to quickly and conveniently select the payment of the cloud computing service, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 schematically illustrates a flow chart of a cloud computing service charging method in an exemplary embodiment of the present disclosure;
FIG. 2 schematically illustrates a cost comparison graph in an exemplary embodiment of the disclosure;
fig. 3 schematically illustrates a flowchart of a method of generating a cloud computing service charging request in an exemplary embodiment of the disclosure;
fig. 4 schematically illustrates a flowchart of another method for generating a cloud computing service charging request in an exemplary embodiment of the disclosure;
fig. 5 schematically illustrates a flow chart of a cloud computing service charging method in an exemplary embodiment of the present disclosure;
fig. 6 schematically illustrates a composition diagram of a cloud computing service charging apparatus in an exemplary embodiment of the present disclosure;
FIG. 7 schematically illustrates a schematic diagram of a computer-readable storage medium in an exemplary embodiment of the disclosure;
fig. 8 schematically shows a structural diagram of a computer system of an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Implementation details of the technical solution of the embodiments of the present disclosure are set forth in detail below.
Fig. 1 schematically illustrates a flow chart of a cloud computing service charging method in an exemplary embodiment of the present disclosure. As shown in fig. 1, the cloud computing service charging method includes steps S101 to S103:
step S101, responding to a cloud computing service charging request, and acquiring cloud computing service parameters corresponding to the cloud computing service charging request;
step S102, respectively carrying out charge calculation based on the cloud computing service parameters by using the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies;
step S103, converting the charging results corresponding to the charging strategies into a charge comparison graph, and displaying the charge comparison graph in the terminal equipment.
In the technical solutions provided in some embodiments of the present disclosure, when a cloud computing service charging request is received, first, corresponding cloud computing service parameters are obtained, then, based on the parameters, charging rules corresponding to charging policies in a charging policy pool are used to respectively calculate charging results corresponding to the charging policies, and finally, the charging results are converted into a cost comparison graph for display. On the one hand, according to the cloud computing service charging method disclosed by the invention, on the one hand, according to parameters of the cloud computing service which needs to be preset, the charging rules in the charging strategy pool established after the payment information is integrated in advance are utilized to automatically carry out charge calculation to obtain a charging result, the cloud computing service charging with diversified demands and higher specialized degree is automated and intelligent, and the charging result can be dynamically output when the parameters change; on the other hand, the charging result corresponding to each charging strategy can be generated into a charge comparison graph to be visually displayed on the terminal equipment, so that the user can be helped to quickly and conveniently select the payment of the cloud computing service, and the user experience is improved.
Hereinafter, each step of the cloud computing service charging method in this exemplary embodiment will be described in more detail with reference to the accompanying drawings and embodiments.
In step S101, in response to a cloud computing service charging request, a cloud computing service parameter corresponding to the cloud computing service charging request is obtained.
In one embodiment of the disclosure, a cloud manufacturer sells virtualized cloud computing resources to the outside in a service manner, and a user can use the corresponding resources only by paying corresponding resource fees. The user can determine the expected cloud computing service parameters to be purchased, and then charging is carried out according to the cloud computing service parameters.
For example, the cloud computing service parameters may include public network ip number, public network ip bandwidth, expected usage duration, and estimated usage traffic. For example, a customer needs to purchase 2 public networks ip with bandwidth of 200M, an expected usage period of about 19 days, and an estimated traffic of 20G, the number of the public networks ip is 2, the bandwidth of the public networks ip is 200M, the expected usage duration is 19 days, and the estimated usage traffic is 20G.
In step S102, charge calculation is performed based on the cloud computing service parameter by using the charging rule corresponding to each charging policy in the charging policy pool, so as to obtain a charging result corresponding to each charging policy.
In an embodiment of the disclosure, a plurality of charging policies may be established according to common charging rules of the cloud computing service to obtain a charging policy pool by performing big data analysis on the cloud computing service charging in advance.
And then, based on the cloud computing service parameters corresponding to the request, respectively calculating by using the rules of all the charging strategies in the charging strategy pool, and further obtaining the charging result corresponding to each charging strategy under the parameters.
For example, if the charging policy is charging per packet year, the charging rule is irrelevant to usage, the charge is a fixed preset value of 1000 yuan, and the charging result corresponding to the charging per packet year is 1000 yuan. But if the charging policy is charging per configuration, the charges are gradually increased with the used traffic.
Based on the method, the settlement of the charging mode with strong speciality is preset as the charging rule, the charge of the cloud computing service can be automatically calculated according to the cloud computing service parameters, so that the user does not need to calculate according to the payment mode when facing various charging modes, the charging efficiency is improved, and the method is more suitable for intelligent charging during dynamic parameter adjustment in the era of rapid development of cloud products.
In step S103, the charging result corresponding to each charging policy is converted into a cost comparison graph, and the cost comparison graph is displayed in the terminal device.
In an embodiment of the present disclosure, in order to visually compare charging results corresponding to different charging policies, the charging results may be converted into a cost comparison graph for displaying.
The charge comparison graph can be displayed by adopting a bar graph, for example, the abscissa represents the item of each charging policy, and the ordinate represents the charge of the cloud computing service.
In addition, the cost comparison graph can also be drawn in other ways.
For example, the charge comparison graph includes a charge curve formed by the usage time and the usage charge corresponding to each charging policy. The service time of the cloud computing service is used as the abscissa of the charge comparison graph, the service charge of the cloud computing service is used as the ordinate, the charge trend corresponding to the charging strategy is drawn in the charge comparison graph according to time without considering the expected service time, and then the expected service time is marked in the charge comparison graph, so that the trend of the change of the charge along with the time can be displayed more clearly and intuitively, and the method can also be used for dynamically adjusting the service time of a user.
Fig. 2 is a schematic diagram schematically illustrating a charge comparison graph in an exemplary embodiment of the present disclosure, and referring to fig. 2, the charge comparison graph shows charging results of a plurality of charging policies. The abscissa is the use time, and can be used for calculating backward within a certain time range from the current date; the ordinate is the usage cost of the cloud computing service. The total charge comparison comprises packet year charging, charge by using amount, charge by configuration, shared packet year charging (bwp-packet year), shared charge by configuration (bwp-configuration), shared charge by enhanced 95 peak clipping (bwp-top95), shared charge by 95 peak clipping (bwp-95th) and 7 charging strategies in total.
Referring to fig. 2, the charge of each charging policy can be visually displayed, so that the user can be helped to select a charging mode suitable for the user's own needs, the purchasing experience of the user is improved, and the purchasing success rate of the cloud computing service can also be improved.
For example, the usage flow of the cloud computing service is used as the abscissa of the cost comparison graph, the usage cost of the cloud computing service is used as the ordinate, the cost trend corresponding to the charging policy is drawn in the cost comparison graph according to the usage flow without considering the estimated usage flow, and then the estimated usage flow is marked in the cost comparison graph, so that the trend that the cost changes along with the usage flow can be clearly and intuitively displayed.
It should be noted that the explanation of the cost comparison diagram in the present disclosure is only an exemplary illustration and is not to limit the present disclosure.
In one embodiment of the present disclosure, the method further comprises: and pre-configuring charging strategies of various cloud computing services and charging rules corresponding to the charging strategies respectively to obtain the charging strategy pool.
Specifically, since the charging results of the charging policies are compared, a plurality of charging policies need to be configured in advance. For example, the charging policy may include packet year charging, packet month charging, charge per volume, charge per broadband, and shared broadband packet charging, etc.
The shared broadband packet (bwp) is an aggregation charging and management mode of a plurality of public network IPs, supports the multiplexing sharing of a bandwidth by the plurality of public network IPs, and realizes the unified management, the unified charging and the unified monitoring of the plurality of public network IPs. And a plurality of charging types such as year-on-year, month-on-month, configuration and usage are provided, the bandwidth investment cost of an enterprise is reduced, and the bandwidth utilization rate is improved. Thus, the shared broadband packet charging further includes shared packet annual charging, shared packet monthly charging, shared per-configuration charging, and shared per-usage charging, etc.
When the sharing is charged according to the usage, the method can be divided into two usage charging modes. One is according to enhancing 95 despicking charging (top95), enhancing 95 despicking charging is a charging mode that can enjoy the bandwidth of multiple flexible peak values only by paying a small amount of bottom-guaranteed bandwidth fee, and charge according to the bandwidth peak value after multiple despicking and the actual use duration at the bottom of the month. The other is charging according to 95 peak clipping (95th), the 95 peak clipping charging is a charging mode which can enjoy the bandwidth with multiple elastic peak values only by paying a small amount of bottom-guaranteeing bandwidth cost and charges according to the bandwidth peak value after multiple peak clipping and the actual use duration at the bottom of the month, and the charging mode is different from the method for calculating the average monthly super-bottom-guaranteeing cost in the enhanced 95 peak clipping charging.
In one embodiment of the disclosure, the cloud computing service parameters may be predicted by data analysis of historical cloud computing service usage data of the user.
Fig. 3 schematically illustrates a flowchart of a method for generating a cloud computing service charging request according to an exemplary embodiment of the present disclosure. Referring to fig. 3, generating a cloud computing service charging request includes the following steps:
step S301, obtaining historical cloud computing service data of a target user;
step S302, performing demand prediction according to the cloud computing service data to obtain cloud computing service parameters;
step S303, generating the cloud computing service charging request based on the pre-measured cloud computing service parameters.
Specifically, data collection can be performed based on the existing monitoring system, and meanwhile, a fixed period flow average value is obtained according to a time period dimension by using a spark and other data analysis technologies, data processing is performed by applying an algorithm, the requirement of a user on the public network bandwidth is predicted, cloud computing service parameters are obtained and used for generating a cloud computing service charging request, and comparison is performed. Therefore, the information can be recommended according to the charge comparison according to the use condition of the current period in advance before the user purchases the information.
In another embodiment of the present disclosure, the cloud computing service parameters may be derived by user input.
Fig. 4 schematically illustrates a flowchart of another method for generating a cloud computing service charging request according to an exemplary embodiment of the present disclosure. Referring to fig. 4, generating a cloud computing service charging request includes the following steps:
step S401, responding to a parameter input operation of a user, and acquiring a cloud computing service parameter corresponding to the parameter input operation;
step S402, responding to the charging starting operation of the user, and generating the cloud computing service charging request based on the cloud computing service parameters.
Specifically, the method for multi-policy charging comparison may be integrated into a small tool, and a user may operate the tool, input a cloud computing service parameter in an input box by using the tool, click to start a charging button after the input is finished, and generate a cloud computing service charging request based on the input cloud computing parameter by using the tool, so as to obtain a cost comparison graph for display. The method can enable the user to realize self-service cost comparison and query, and is simple and convenient.
In another embodiment of the present disclosure, the method further comprises: responding to the charging strategy selection operation of the user, and extracting a plurality of target charging strategies corresponding to the charging strategy selection operation from the charging strategy pool; and respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the target charging strategies to obtain the charge comparison graph.
Specifically, if the user wants to compare and select a cloud computing service purchase mode suitable for the user's own requirements in the preselected charging policies, the tool also supports the user to select some charging policies in advance, and then the obtained cost comparison graph only includes the selected charging policies.
In another embodiment of the present disclosure, after the converting the charging result into the fee comparison graph, the method further includes: updating the cloud computing service parameters in response to a parameter modification operation; and updating the cost comparison graph based on the updated cloud computing service parameters.
Specifically, after the cost comparison graph is obtained, the parameters during calculation can be modified in real time to dynamically adjust the displayed result of the cost comparison graph. For example, before the display, the bandwidth of the purchase parameter input by the user is 200M, and then may be adjusted to 500M, and then the bandwidth of the public network ip may be modified from 200 to 500, so as to obtain a new cost comparison graph.
Fig. 5 schematically illustrates a flowchart of a cloud computing service charging method in an exemplary embodiment of the present disclosure. Referring to fig. 5, the cloud computing service charging method includes the following steps:
step S501, a user clicks an operation tool;
step S502, inputting cloud computing service parameters by a user;
step S503, the user selects the charging strategy to be compared;
charging according to each charging strategy from step S504 to step S512, wherein the charging comprises 9 charging strategies including annual charging, monthly charging, charging according to the amount of used, charging according to the configuration, annual charging of shared packets, monthly charging of shared packets, charging according to the configuration, charging according to the enhanced 95 peak clipping of shared packets and charging according to the 95 peak clipping of shared packets;
step S513, generating a cost comparison graph;
step S514, exporting HTML results;
and step S515, judging whether parameters are adjusted or not, if the parameters are required to be adjusted, jumping to step S502, and if the parameters are not required to be adjusted, executing step S516 and displaying an HTML result of the cost comparison graph.
Fig. 6 schematically illustrates a composition diagram of a cloud computing service billing apparatus in an exemplary embodiment of the present disclosure, and as shown in fig. 6, the cloud computing service billing apparatus 600 may include a response module 601, a computing module 602, and a presentation module 603. Wherein:
the response module 601 is configured to respond to a cloud computing service charging request, and acquire a cloud computing service parameter corresponding to the cloud computing service charging request;
a calculating module 602, configured to perform charge calculation based on the cloud computing service parameter by using a charging rule corresponding to each charging policy in a charging policy pool, to obtain a charging result corresponding to each charging policy;
the displaying module 603 is configured to convert the charging results corresponding to the charging policies into a cost comparison graph, and display the cost comparison graph in the terminal device.
According to an exemplary embodiment of the present disclosure, the cloud computing service charging apparatus further includes a configuration module, configured to pre-configure charging policies of a plurality of cloud computing services, and obtain the charging policy pool according to charging rules respectively corresponding to the charging policies; wherein the charging policy comprises one or more of annual charging, monthly charging, charging by usage, charging by configuration and sharing broadband packet charging; the shared broadband packet charging comprises one or more of shared packet annual charging, shared packet monthly charging, shared per-configuration charging and shared per-usage charging; the sharing charging according to the usage comprises sharing charging according to 95 peak clipping or sharing charging according to enhanced 95 peak clipping.
According to an exemplary embodiment of the present disclosure, the cloud computing service charging apparatus further includes a first request module, configured to obtain historical cloud computing service data of a target user; performing demand prediction according to the cloud computing service data to obtain the cloud computing service parameters; generating the cloud computing service charging request based on the pre-measured cloud computing service parameters.
According to an exemplary embodiment of the present disclosure, the cloud computing service charging apparatus further includes a second request module, which is configured to respond to a parameter input operation of a user and acquire a cloud computing service parameter corresponding to the parameter input operation; and responding to the charging starting operation of the user, and generating the cloud computing service charging request based on the cloud computing service parameters.
According to an exemplary embodiment of the present disclosure, the cloud computing service charging apparatus further includes a selecting module, configured to, in response to a charging policy selection operation of the user, extract a plurality of target charging policies corresponding to the charging policy selection operation from the charging policy pool; and respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the target charging strategies to obtain the charge comparison graph.
According to an exemplary embodiment of the present disclosure, the cloud computing service charging apparatus further includes a modification module, configured to update the cloud computing service parameter in response to a parameter modification operation; and updating the cost comparison graph based on the updated cloud computing service parameters.
According to an exemplary embodiment of the present disclosure, the charge comparison graph includes a charge curve formed by usage time and usage charge respectively corresponding to each charging policy.
The specific details of each module in the cloud computing service charging apparatus 600 have been described in detail in the corresponding cloud computing service charging method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, there is also provided a storage medium capable of implementing the above-described method. Fig. 7 schematically illustrates a schematic diagram of a computer-readable storage medium in an exemplary embodiment of the disclosure, and as shown in fig. 7, a program product 700 for implementing the above method according to an embodiment of the disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a mobile phone. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. Fig. 8 schematically shows a structural diagram of a computer system of an electronic device in an exemplary embodiment of the disclosure.
It should be noted that the computer system 800 of the electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 8, a computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM802, and RAM 803 are connected to each other via a bus 804. An Input/Output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. When the computer program is executed by a Central Processing Unit (CPU)801, various functions defined in the system of the present disclosure are executed.
It should be noted that the computer readable medium shown in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. 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 or flowchart illustration, and combinations of blocks in the block diagrams 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.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A cloud computing service charging method is characterized by comprising the following steps:
responding to a cloud computing service charging request, and acquiring cloud computing service parameters corresponding to the cloud computing service charging request;
respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies;
and converting the charging results respectively corresponding to the charging strategies into a charge comparison graph, and displaying the charge comparison graph in the terminal equipment.
2. The cloud computing service billing method of claim 1, wherein the method further comprises:
pre-configuring charging strategies of various cloud computing services and charging rules corresponding to the charging strategies respectively to obtain a charging strategy pool; wherein the charging policy comprises one or more of annual charging, monthly charging, charging by usage, charging by configuration and sharing broadband packet charging; the shared broadband packet charging comprises one or more of shared packet annual charging, shared packet monthly charging, shared per-configuration charging and shared per-usage charging; the sharing charging according to the usage comprises sharing charging according to 95 peak clipping or sharing charging according to enhanced 95 peak clipping.
3. The cloud computing service billing method of claim 1 wherein prior to the responding to the cloud computing service billing request, the method further comprises:
acquiring historical cloud computing service data of a target user;
performing demand prediction according to the cloud computing service data to obtain the cloud computing service parameters;
generating the cloud computing service charging request based on the pre-measured cloud computing service parameters.
4. The cloud computing service billing method of claim 1 wherein prior to the responding to the cloud computing service billing request, the method further comprises:
responding to a parameter input operation of a user, and acquiring a cloud computing service parameter corresponding to the parameter input operation;
and responding to the charging starting operation of the user, and generating the cloud computing service charging request based on the cloud computing service parameters.
5. The cloud computing service billing method of claim 4 wherein the method further comprises:
responding to the charging strategy selection operation of the user, and extracting a plurality of target charging strategies corresponding to the charging strategy selection operation from the charging strategy pool;
and respectively carrying out charge calculation on the basis of the cloud calculation service parameters by using the charging rules corresponding to the target charging strategies to obtain the charge comparison graph.
6. The cloud computing service billing method of claim 1 wherein after the converting the billing result to a cost comparison graph, the method further comprises:
updating the cloud computing service parameters in response to a parameter modification operation;
and updating the cost comparison graph based on the updated cloud computing service parameters.
7. The cloud computing service charging method according to claim 1, wherein the charge comparison graph includes a charge curve formed by usage time and usage charge respectively corresponding to each charging policy.
8. A cloud computing service charging apparatus, comprising:
the response module is used for responding to a cloud computing service charging request and acquiring cloud computing service parameters corresponding to the cloud computing service charging request;
the computing module is used for respectively carrying out charge computation on the basis of the cloud computing service parameters by utilizing the charging rules corresponding to the charging strategies in the charging strategy pool to obtain charging results corresponding to the charging strategies;
and the display module is used for converting the charging results corresponding to the charging strategies into a charge comparison graph and displaying the charge comparison graph in the terminal equipment.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud computing service charging method according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the cloud computing service billing method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210044047.2A CN114401159B (en) | 2022-01-14 | 2022-01-14 | Cloud computing service charging method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210044047.2A CN114401159B (en) | 2022-01-14 | 2022-01-14 | Cloud computing service charging method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114401159A true CN114401159A (en) | 2022-04-26 |
CN114401159B CN114401159B (en) | 2024-06-18 |
Family
ID=81230558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210044047.2A Active CN114401159B (en) | 2022-01-14 | 2022-01-14 | Cloud computing service charging method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114401159B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333457A (en) * | 2014-11-20 | 2015-02-04 | 杭州华三通信技术有限公司 | Cloud computing service charging method and device |
CN104683119A (en) * | 2013-11-27 | 2015-06-03 | 英业达科技有限公司 | Dynamic charging system for cloud computing and method thereof |
CN105049218A (en) * | 2015-06-24 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | PhiCloud cloud charging method and system |
US20170075709A1 (en) * | 2015-09-11 | 2017-03-16 | International Business Machines Corporation | Predictively provisioning cloud computing resources for virtual machines |
WO2019005067A1 (en) * | 2017-06-29 | 2019-01-03 | Nokia Solutions And Networks Oy | Network slice selection based on charging rules |
CN109660366A (en) * | 2019-02-28 | 2019-04-19 | 携程旅游信息技术(上海)有限公司 | Mixed cloud charging method and system |
CN109981301A (en) * | 2019-03-20 | 2019-07-05 | 新华三云计算技术有限公司 | Cloud service charging method and system |
CN111130810A (en) * | 2019-11-27 | 2020-05-08 | 华为技术有限公司 | Charging method and device for cloud service usage package and related equipment |
CN111865622A (en) * | 2020-06-28 | 2020-10-30 | 中国工商银行股份有限公司 | Cloud service metering and charging method and system based on rule engine cluster |
CN112702217A (en) * | 2021-03-23 | 2021-04-23 | 北京视界云天科技有限公司 | Bandwidth flow scheduling method, device and storage medium |
-
2022
- 2022-01-14 CN CN202210044047.2A patent/CN114401159B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683119A (en) * | 2013-11-27 | 2015-06-03 | 英业达科技有限公司 | Dynamic charging system for cloud computing and method thereof |
CN104333457A (en) * | 2014-11-20 | 2015-02-04 | 杭州华三通信技术有限公司 | Cloud computing service charging method and device |
CN105049218A (en) * | 2015-06-24 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | PhiCloud cloud charging method and system |
US20170075709A1 (en) * | 2015-09-11 | 2017-03-16 | International Business Machines Corporation | Predictively provisioning cloud computing resources for virtual machines |
WO2019005067A1 (en) * | 2017-06-29 | 2019-01-03 | Nokia Solutions And Networks Oy | Network slice selection based on charging rules |
CN109660366A (en) * | 2019-02-28 | 2019-04-19 | 携程旅游信息技术(上海)有限公司 | Mixed cloud charging method and system |
CN109981301A (en) * | 2019-03-20 | 2019-07-05 | 新华三云计算技术有限公司 | Cloud service charging method and system |
CN111130810A (en) * | 2019-11-27 | 2020-05-08 | 华为技术有限公司 | Charging method and device for cloud service usage package and related equipment |
CN111865622A (en) * | 2020-06-28 | 2020-10-30 | 中国工商银行股份有限公司 | Cloud service metering and charging method and system based on rule engine cluster |
CN112702217A (en) * | 2021-03-23 | 2021-04-23 | 北京视界云天科技有限公司 | Bandwidth flow scheduling method, device and storage medium |
Non-Patent Citations (1)
Title |
---|
李雪菲;李铮;张贺;荣国平;: "亚马逊竞价型云服务定价策略的分析", 小型微型计算机系统, no. 06, 14 June 2019 (2019-06-14) * |
Also Published As
Publication number | Publication date |
---|---|
CN114401159B (en) | 2024-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110418022B (en) | Method and device for adjusting flow package for multiple user identifications | |
JP6703013B2 (en) | Payment threshold acquisition method and device | |
CN113516507B (en) | Multi-cloud management platform resource charging method and device | |
CN110505165B (en) | Method and device for unloading edge calculation tasks based on bidirectional auction mechanism | |
CN111131356B (en) | Method and apparatus for generating information | |
CN109118375B (en) | Application processing method, device, medium and electronic equipment | |
CN112016794B (en) | Resource quota management method and device and electronic equipment | |
US10904109B2 (en) | Real-time cloud-based resource reallocation recommendation generation | |
CN110796440A (en) | Payment method, device and system, payment service architecture, electronic equipment and medium | |
US8832694B2 (en) | Method and system for the dynamic allocation of resources based on a multi-phase negotiation mechanism | |
CN109740066B (en) | Information recommendation method, information recommendation device, storage medium and electronic equipment | |
CN112017042A (en) | Resource quota determining method and device based on tweed distribution and electronic equipment | |
CN113506171A (en) | Bank package recommendation method and device | |
CN112184278A (en) | Capability commodity charging method, capability open platform and capability commodity ordering system | |
CN111190670B (en) | Page display method and device and electronic equipment | |
CN116471134B (en) | Charging method and device for heterogeneous cloud resources, electronic equipment and storage medium | |
CN114401159B (en) | Cloud computing service charging method and device, storage medium and electronic equipment | |
Zhou et al. | Maximizing the profits of cloud service providers via dynamic virtual resource renting approach | |
CN108093062B (en) | Cloud resource management method and device | |
CN109872211A (en) | A kind of method and apparatus of object recommendation | |
CN111191166B (en) | Business page display method and device and electronic equipment | |
US11494710B1 (en) | Optimization constraint adaptation for long-term target achievement | |
CN112702217A (en) | Bandwidth flow scheduling method, device and storage medium | |
US20240144345A1 (en) | Exchanging virtual machine instances based on refund and purchase recommendations | |
CN106875218B (en) | Price prediction method and device for data flow product |
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 |