CN104580446A - Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform - Google Patents
Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform Download PDFInfo
- Publication number
- CN104580446A CN104580446A CN201410848267.6A CN201410848267A CN104580446A CN 104580446 A CN104580446 A CN 104580446A CN 201410848267 A CN201410848267 A CN 201410848267A CN 104580446 A CN104580446 A CN 104580446A
- Authority
- CN
- China
- Prior art keywords
- module
- client
- product
- service
- payment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a cloud service real-time charging and managing system oriented to an OpenStack open source cloud platform. The system comprises services of several modules such as a system login module, a client payment condition module, a payment information module, a charging item module, a payment client module, a system management module, a parameter management module, a client statistic module and a charging statistic module. The system can charge and count profits of cloud service products, and accounts client behaviors.
Description
Technical field
The present invention relates to cloud computing base application field, particularly a kind ofly to increase income the cloud service real time billing of cloud platform and management system towards OpenStack.
Background technology
IaaS (Infrastructure as a Service) the cloud platform OpenStack that increases income is the free software and open source code project developed cooperatively by US National Aeronautics and Space Administration NASA and famous cloud computing company Rackspace.OpenStack is not a software but a cloud platform management project of increasing income, and it is publicly-owned cloud, privately owned cloud provides the platform management of extendible cloud flexibly.The development of current OpenStack is very fast, and its community has had more than 170 enterprises and 3000 developers, and these enterprises are no lack of many famous IT companies, as Dell, Cisco, VMware etc.These mechanisms and developer choice for use OpenStack create oneself privately owned cloud platform.Along with cloud computing enters the business application stage from academic research field gradually, OpenStack is also gradually to commercialization future development.But the charging research at present for OpenStack is also relatively less, the focus of OpenStack community concentrates on the fields such as virtual, network, safety always, all the time not using charging as primary study object.
Summary of the invention
The object of the present invention is to provide and a kind ofly to increase income the cloud service real time billing of cloud platform and management system towards OpenStack, charging and statistics can be carried out to the profit of cloud service product, also comprise the statistics to customer action.
For solving the problem, the invention provides and a kind ofly to increase income the cloud service real time billing of cloud platform and management system towards OpenStack, comprising:
System login module, for providing the Text Entry to logon name, login password and check code in login page, adopts that Ajax is asynchronous carries out verification operation;
Client pays the fees situation module, for entering by accepting user after verification, being directed in database table " payment managing detailed catalogue table " and being about to start service but not paying the fees and to serve near the phase but the client's payment information do not continued to pay dues carries out query display;
Payment information module, carries out detailed searching and managing for all payment situations be directed in " the payment managing detailed catalogue table " of database table;
Charging item module, comprise charging item type block and paying price information module, wherein, described charging item type block, " charge type information table " for being directed to database table carries out inquiring about, increase, revise, management that service logic is deleted, described paying price information module, for the management being directed to the inquiry of " the paying price information table " of database table, increase, amendment, service logic are deleted;
Payment Client Model, comprise payment corporate client module and payment individual client module, wherein, described payment corporate client module, for for " payment corporate client information table " of database table carry out searching and managing, data message in " payment corporate client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete; Described payment individual client module, for for database table carry out the searching and managing of " payment individual client information table ", data message in " payment individual client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete;
System management module, comprises administrator's administration module, system information arranges module, keeper's Operation Log module, systematic automatic operation log pattern and interface account service information module;
Parameter management module, comprises state parameter module, province parameter module, industry parameters module, professional parameter module, product problem type block and product promotion channel module;
Client's statistical module, comprises client geographic distribution statistics module, client's industry statistic module, individual client's occupational statistics module, charge customers project statistical module, client uses product accounting module, Customer Acquisition product information problem channel statistical module, consumer product problem category statistical module and consumer product problem statistical module;
Charge statistical module, comprises product type charge situation statistical module, product charge situation statistical module, time profit statistical module.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, system login module, for submitting described logon name, login password and check code to " system manager/user message table " in the design of charging web system database table structure and verify, to pay the fees situation module by entering client after verification.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, described system login module, also log in the operation note of people, log date time etc. for record in system management operation daily record, and in system manager's user message table, upgrade the login times of this login people and last login time record.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, described administrator's administration module be used for for " system manager's user message table " of database table carry out the management of inquiring about, increase, revise and deleting;
Described system information arranges module, for for " system information arranges table " of database table carry out renewal bookkeeping, the transmission of the note that " system information arranges table " is system and mail provides foundation cycle time;
Described keeper's Operation Log module, for the query manipulation of " the system manager's Operation Log information table " for database table;
Described systematic automatic operation log pattern, for the query manipulation of " the systematic automatic operation log information table " for database table, the log recording that " systematic automatic operation log information table " automatically performs for the note of system and the system of mail and interface;
Described interface account service information module, for the management being directed to the inquiry of " the interface service account information table " of database table, increase, amendment, service logic are deleted.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, described state parameter module, for the management being directed to the inquiry of " the state parameter information table " of database table, increase, amendment, service logic are deleted;
Described province parameter module, for the management being directed to the inquiry of " the province parameter information table " of database table, increase, amendment, service logic are deleted;
Described industry parameters module, for the management that the inquiry of " the industry parameters information table " for database table, increase, amendment, service logic are deleted;
Described professional parameter module, for the management being directed to the inquiry of " the professional parameter information table " of database table, increase, amendment, service logic are deleted;
Described product problem type block, for the management being directed to the inquiry of " the product problem type parameter information table " of database table, increase, amendment, service logic are deleted;
Described product promotion channel module, the management that database table is the inquiry of " product promotion channel parameter information table " for being directed to, increase, amendment, service logic are deleted.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, described client geographic distribution statistics module, for for being the geographical distribution statistics of corporate client and the geographical distribution statistics of individual client;
Described client's industry statistic module, for for the industry quantity statistics of corporate client and the industry quantity statistics of individual client;
Described individual client's occupational statistics module, for the statistics for the statistics of industry quantitative aspects and the professional quantitative aspects for registration individual client of registering individual client;
Described charge customers project statistical module, for the charging item statistics of corporate client and the charging item statistics of individual client;
Described client uses product accounting module, for for the use product accounting of corporate client and the use product accounting of individual client;
Described client uses product accounting module, for for the use product accounting of corporate client and the use product accounting of individual client;
Described Customer Acquisition product information problem channel statistical module, for adding up for the acquisition product channel statistics of corporate client and the acquisition product channel of individual client;
Described consumer product problem category statistical module, for for the product problem type statistics of corporate client and the product problem type statistics of individual client;
Described consumer product problem statistical module, for for corporate client product problem statistics and individual client product problem add up.
Further, in the cloud service real time billing and management system of above-mentioned cloud platform of increasing income towards OpenStack, described product type charge situation statistical module, for " creation-time " data item query time section of " the payment managing detailed catalogue table " according to database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, charge type is distinguished, according to " payment " data item data statistics total profit according to " charging item " data item;
Described product charge situation statistics, for according to " creation-time " data item query time section in " payment managing detailed catalogue table " of database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, fee-based product is distinguished, according to " payment " data item data statistics total profit according to " fee-based product " data item;
Described time profit statistical module, for according to " creation-time " data item query time section in " the payment managing detailed catalogue table " of database table, according to " payment " data item data statistics total profit.
Compared with prior art, the invention has the advantages that:
(1) stability and extensibility
In the overall software life-cycle of this system, wherein have two parts to change and be not easy to be determined, the payment being respectively system in price with these two aspects of statistical service of system;
First, can there is regular fluctuation in the payment price about system, and the product type and the product that comprise system also can increase and decrease along with the development in market to some extent, therefore takes the mode of amendment and record data in systems in which, to facilitate the change of system data.For these data, owing to being designed into the reference value of historical data, the mode that deletion action all adopts service logic to delete makes legacy data be retained, to avoid the data instability caused due to the change of data;
On the other hand, for the statistical service of system, also can there is a series of change in the future, likely increase corresponding statistical service module, also likely cancel the statistics for some partial service of system.System currently provides enough parameters and carries out maintenance and management, and these parameters are reliable basis that system carries out complex data statistics.
(2) performance evaluation
What the performance of this system was mainly reflected in interface frequently calls aspect, needs to carry out the synchronous of data with other cloud computing service products constantly.
System external adopts WebService service technology to carry out external interface interchange, meets the different language exploitation of other cloud computing service products.Timing for interface is called and is determined by the data change cycle stage of cloud computing service product, and peak demand can reach per minute and once call.
In order to the low coupling performance of the high cohesion that can reach software, the service based on database service bottom is divided into interface service, Web service and note and mail four to overlap independent service.Ensure that the appearance that there will not be interference, occupy the problems such as resource between service.Once wherein a certain service go wrong can solve separately and do not affect other service normal operation.
(3) multiplexing and transplanting
This software is not only suitable for the charging of cloud computing service product from design original intention, can transplant multiplexingly to use when other similar charge charging service conditions completely.
(4) mistake proofing and error handling processing
Record to system manager's Operation Log is not only provided in the functional module of system, the automatic log recording of the system that additionally provides, this log recording comprises the interface interchange daily record of outside cloud computing service product and the log recording of system external transmission Email and note, once system goes wrong, can be able to carry out inquiring about and judging by system journal.
When the Web service operation of system goes wrong, adopt transaction rollback to ensure the integrality of data service; The page and the system that jumps to reports an error.
(5) interface security
Call fail safe aspect for interface, adopting provides different respectively to the different product of outside and calls account, in interface calling procedure, verifies according to the parameter that interface transmits, verify by after can carry out transmission and the acquisition of data;
The interface account unification opened manages by Web service system.
Accompanying drawing explanation
Fig. 1 is increasing income the cloud service real time billing of cloud platform and the structure chart of management system towards OpenStack of one embodiment of the invention;
Fig. 2 is three layers of billing model entire block diagram of one embodiment of the invention;
Fig. 3 is the overall system framework of one embodiment of the invention;
Fig. 4 is the main function of system service graph of one embodiment of the invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
As shown in Figure 1, the invention provides and a kind ofly to increase income the cloud service real time billing of cloud platform and management system towards OpenStack, comprising:
System login module, for providing the Text Entry to logon name, login password and check code in login page, adopts that Ajax is asynchronous carries out verification operation; Preferably, system login module, for submitting described logon name, login password and check code to " system manager/user message table " in the design of charging web system database table structure and verify, to pay the fees situation module by entering client after verification; Preferably, system login module, also logs in the operation note of people, log date time etc. for record in system management operation daily record, and upgrades the login times of this login people and last login time record in system manager's user message table;
Client pays the fees situation module, for entering by accepting user after verification, being directed in database table " payment managing detailed catalogue table " and being about to start service but not paying the fees and to serve near the phase but the client's payment information do not continued to pay dues carries out query display;
Payment information module, carries out detailed searching and managing for all payment situations be directed in " payment managing detailed catalogue table " of database table, but not to the operation of the increase of information, amendment and deletion; Concrete, the pay the fees difference of situation module of payment information module and client is, the information that payment information module is inquired about is the inquiry of all payment situations, and client pay the fees situation module for be about to start service but do not pay the fees and serve near the phase but the client's payment information do not continued to pay dues;
Charging item module, comprise charging item type block and paying price information module, wherein, described charging item type block, " charge type information table " for being directed to database table carries out inquiring about, increase, revise, management that service logic is deleted, described paying price information module, for the management being directed to the inquiry of " the paying price information table " of database table, increase, amendment, service logic are deleted; Preferably, described charging item type block deletes " whether effective " field in employing change table for the service logic of data in " charge type information table ", and ' 0 ' is that effectively ' 1 ' for invalid; Preferably, described paying price information module deletes " whether effective " field in employing change table for the service logic of data in " paying price information table ", and ' 0 ' is that effectively ' 1 ' for invalid;
Payment Client Model, comprise payment corporate client module and payment individual client module, wherein, described payment corporate client module, for for " payment corporate client information table " of database table carry out searching and managing, data message in " payment corporate client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete; Described payment individual client module, for for database table carry out the searching and managing of " payment individual client information table ", data message in " payment individual client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete;
System management module, comprises administrator's administration module, system information arranges module, keeper's Operation Log module, systematic automatic operation log pattern and interface account service information module, wherein,
Described administrator's administration module be used for for " system manager's user message table " of database table carry out the management of inquiring about, increase, revise and deleting;
Described system information arranges module, for for " system information arranges table " of database table carry out renewal bookkeeping, the transmission of the note that " system information arranges table " is system and mail provides foundation cycle time;
Described keeper's Operation Log module, for the query manipulation of " the system manager's Operation Log information table " for database table, the record of keeper in daily operating process of the system that is written as of system manager's Operation Log information, therefore the operation increasing, revise and delete is not needed, just in order to provide the record demand to Dynamic System;
Described systematic automatic operation log pattern, for the query manipulation of " the systematic automatic operation log information table " for database table, the log recording that " systematic automatic operation log information table " automatically performs for the note of system and the system of mail and interface, therefore the operation increasing, revise and delete is not needed, just in order to provide the record demand to Dynamic System;
Described interface account service information module, for the management being directed to the inquiry of " the interface service account information table " of database table, increase, amendment, service logic are deleted; Preferably, described administrator's administration module deletes " whether effective " field in employing change table for the service logic of data in " system manager's user message table ", and ' 0 ' is that effectively ' 1 ' for invalid; Described interface account service information module deletes " whether effective " field in employing change table for the service logic of data in " interface service account information table ", and ' 0 ' is that effectively ' 1 ' for invalid;
Parameter management module, comprises state parameter module, province parameter module, industry parameters module, professional parameter module, product problem type block and product promotion channel module, wherein,
Described state parameter module, for the management being directed to the inquiry of " the state parameter information table " of database table, increase, amendment, service logic are deleted, for state parameter information table " in the service logic of data delete and adopt " whether effective " field in change table; ' 0 ' be effective, and ' 1 ' for invalid;
Described province parameter module, for the management being directed to the inquiry of " the province parameter information table " of database table, increase, amendment, service logic are deleted, service logic for data in " province parameter information table " is deleted and is adopted " whether effective " field in change table, ' 0 ' is that effectively ' 1 ' for invalid;
Described industry parameters module, for the management that the inquiry of " the industry parameters information table " for database table, increase, amendment, service logic are deleted, service logic for data in " industry parameters information table " is deleted and is adopted " whether effective " field in change table, ' 0 ' is that effectively ' 1 ' for invalid;
Described professional parameter module, for the management being directed to the inquiry of " the professional parameter information table " of database table, increase, amendment, service logic are deleted, service logic for data in this " professional parameter information table " is deleted and is adopted " whether effective " field in change table, ' 0 ' is that effectively ' 1 ' for invalid;
Described product problem type block, for the management being directed to the inquiry of " the product problem type parameter information table " of database table, increase, amendment, service logic are deleted, service logic for data in " product problem type parameter information table " is deleted and is adopted " whether effective " field in change table, ' 0 ' is that effectively ' 1 ' for invalid;
Described product promotion channel module, the management that database table is the inquiry of " product promotion channel parameter information table " for being directed to, increase, amendment, service logic are deleted, service logic for data in " product promotion channel parameter information table " is deleted and is adopted " whether effective " field in change table, ' 0 ' is that effectively ' 1 ' for invalid;
Client's statistical module, comprise client geographic distribution statistics module, client's industry statistic module, individual client's occupational statistics module, charge customers project statistical module, client use product accounting module, Customer Acquisition product information problem channel statistical module, consumer product problem category statistical module and consumer product problem statistical module, wherein
Described client geographic distribution statistics module, for for the geographical distribution statistics being the geographical distribution statistics of corporate client and individual client, preferably, the geographical distribution statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registered enterprise client of geographic zone (provincial is unit) and this area, corporate client geographical distribution statistics institute for database table be " pay the fees corporate client information table ", the geographical distribution statistics being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registration individual client of geographic zone (provincial is unit) and this area, individual client's geographical distribution statistics institute for database table be " pay the fees individual client information table ",
Described client's industry statistic module, for for the industry quantity statistics of corporate client and the industry quantity statistics of individual client, preferably, the industry quantity statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registered enterprise client of industry and the sector, corporate client geographical distribution statistics for database table be " payment corporate client " information table, the industry quantity statistics the being directed to individual client also view that can be made in the middle of database table structure is shown in the page, the concrete content shown is the quantity of the registration individual client of industry and the sector, individual client's geographical distribution statistics institute for database table be " pay the fees individual client " information table,
Described individual client's occupational statistics module, for the statistics for the statistics of industry quantitative aspects and the professional quantitative aspects for registration individual client of registering individual client, preferably, statistics for the industry quantitative aspects of registration individual client is shown in the page by the view be made in the middle of database table structure, the particular content shown is the quantity of the individual registered client in different industries, for register individual client industry quantitative aspects statistics for database table as " payment individual client information table "; Statistics for the professional quantitative aspects of registration individual client is shown in the page by the view be made in the middle of database table structure, the particular content shown is the quantity of the individual registered client in different occupation, for register individual client professional quantitative aspects statistics for database table as " payment individual client information table ";
Described charge customers project statistical module, for the charging item statistics of corporate client and the charging item statistics of individual client, preferably, the charging item statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registered enterprise client under charging item and this charging item, corporate client charging item statistics institute for database table be " pay the fees corporate client information table " and " the fee-based product service information table of corporate client ", the charging item statistics being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registration individual client under charging item and this charging item, individual client's charging item statistics institute for database table be " pay the fees individual client information table " and " the fee-based product service information table of individual client ",
Described client uses product accounting module, for for the use product accounting of corporate client and the use product accounting of individual client, preferably, the use product accounting being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registered enterprise client under cloud service product and this product, corporate client fee-based product statistics institute for database table be " pay the fees corporate client information table " and " the fee-based product service information table of corporate client ", the use product accounting being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registration individual client under cloud service product and this product, individual client's fee-based product statistics institute for database table be " pay the fees individual client information table " and " the fee-based product service information table of individual client ",
Described Customer Acquisition product information problem channel statistical module, for adding up for the acquisition product channel statistics of corporate client and the acquisition product channel of individual client, preferably, the acquisition product channel statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity that cloud service product obtains the registered enterprise client under channel and this channel, corporate client obtain product channel statistics institute for database table be " corporate client information table of paying the fees ", corporate client " obtaining product information channel information table " and " product information channel parameter information table ", the acquisition product channel statistics being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity that cloud service product obtains the registration individual client under channel and this channel, individual client obtain product channel statistics institute for database table be " payment individual client information table ", " the acquisition product information channel information table " and " product information channel parameter information table " of individual client,
Described consumer product problem category statistical module, for for the product problem type statistics of corporate client and the product problem type statistics of individual client, preferably, the product problem type statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, and the concrete content of showing is the quantity of the registered enterprise client under cloud service product problem typonym and this problem types.Corporate client obtain product problem type statistics institute for database table be " corporate client information table of paying the fees ", corporate client " product problem type information table " and " product problem type information parameter information table "; The product problem type statistics being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registration individual client under cloud service product problem typonym and this problem types, individual client obtain product problem type statistics institute for database table be " individual client's information table of paying the fees ", individual client " product problem type information table " and " product problem type information parameter information table ";
Described consumer product problem statistical module, for for corporate client product problem statistics and individual client product problem add up, preferably, the product problem statistics being directed to corporate client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registered enterprise client under cloud service product problem title and this problem, corporate client obtain product problem statistics institute for database table be " pay the fees corporate client information table ", " the product problem type information table " and " product problem type information parameter information table " of corporate client, the product problem statistics being directed to individual client is shown in the page by the view be made in the middle of database table structure, the concrete content shown is the quantity of the registration individual client under cloud service product problem title and this problem, individual client obtain product problem statistics institute for database table be " individual client's information table of paying the fees ", individual client " product problem type information table " and " product problem type information parameter information table ",
Charge statistical module, comprises product type charge situation statistical module, product charge situation statistical module, time profit statistical module, wherein,
Described product type charge situation statistical module, for " creation-time " data item query time section of " the payment managing detailed catalogue table " according to database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, charge type is distinguished, according to " payment " data item data statistics total profit according to " charging item " data item;
Described product charge situation statistics, for according to " creation-time " data item query time section in " payment managing detailed catalogue table " of database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, fee-based product is distinguished, according to " payment " data item data statistics total profit according to " fee-based product " data item;
Described time profit statistical module, for according to " creation-time " data item query time section in " the payment managing detailed catalogue table " of database table, according to " payment " data item data statistics total profit.
The invention provides and a kind ofly to increase income the cloud service real time billing of cloud platform and management system and its implementation towards OpenStack, its objective is to carry out charging and statistics to the profit of cloud service product, also comprising the statistics to customer action.
The present invention can use OpenStack to build privately owned cloud environment; HBase is used to store original charging data, the key technologies such as the parallel computation frame MapReduce process original charging data using Hadoop to provide.Then use OO thought to carry out analysis to charging and management system, design and encode and realize.Wherein, it is integrated that the realization of charge system further comprises SSH framework, and SSH framework is integrated to be comprised Spring and integrate Struts2 and Spring and integrate Hibernate two parts content.The present invention has abandoned the traditional billing model with payment being in the past core, devise the billing architecture of loose coupling, realize the Billing component model of plug type, have employed three layers of billing model, comprise cloud service and Billing component alternation of bed, billing of services calling layer, billing of services realize layer.
Cloud service and Billing component alternation of bed are responsible for calling details with cloud service and are carried out alternately, collecting corresponding service state and information on services, being pushed to billing of services calling layer; Billing of services calling layer is for the abstract charging behavior of cloud service, and the situation of the combination of multiple cloud service has chain type cloud service combination and lacunosus Services Composition two kinds possibility situation, achieves the accounting management for these two kinds combination cloud services; Billing of services realizes the realization that layer is responsible for the charging of specific service unit.
Fig. 2 schematically shows three layers of billing model integrated stand composition of the present invention.
The benefit of Three-tier Architecture Model effectively to support the design principle of above-mentioned open service charging, what shield composite services realizes details, the composite services of the various specification of extensive support realize, and effectively support composite services charging scene under service-oriented environment; And by charging calling layer with realize being separated of layer, effectively achieve the dynamic expansion to charge mode.
Fig. 3 schematically shows overall system framework of the present invention.
Specifically, as shown in Figure 3, first system provides the administration module to system parameters, and the parameter in this module is the unified parameters standard of unit of system external portion calculation services product, is also the underlying parameter foundation of the statistical service module of system.This partial data is by carrying out the synchronizing information with outside cloud computing product constantly to the interface of outside.
System provides the management to charging item, first charging item formulates fee-based product item types, such as network individual user cloud stores, enterprise customer's cloud stores, the parameter management of several large class charging items such as virtual machine is rented, enterprise's cloud virtual machine is rented of network individual user, carries out the management of detailed product price inventory under each type.This partial data is by carrying out the synchronous of data with outside cloud computing product constantly, to ensure the foundation of the statistics of statistical service module to the interface of outside.
The information of registered users of product and product payment situation data message are sent to this system by the interface calling this system by outside cloud computing service product, system provides the searching and managing to payment information, so as to understand cloud computing service product purchase situation, simultaneously also for the statistical service module of system provides rational basis about charge situation statistics.
System provides the management to system manager user, the management of system manager's User operation log, systematic automatic operation log management and the client to cloud computing service product regularly to send the service of mail and note.
Fig. 4 schematically shows main function of system service of the present invention:
(1) database service
The Service Management of system database business datum and technical parameter data and support;
(2) system external interface service
System makes data in system database be able to the supplemental characteristic of other cloud computing service products extraneous and buy data of paying the fees and carried out payment and synchronous by external interface service;
(3) system Web service
System by the Web service that provides for system operators provides the management of underlying parameter and the statistical work of business datum, the better client of supervision and oversight cloud computing service product and the payment situation of product;
(4) note and mail service
System manager user arranges the note of system and the transmission cycle of mail by Web service, ensures to carry out information reminding for payment near phase client and the payment client that expired.
The invention has the advantages that:
(1) stability and extensibility
In the overall software life-cycle of this system, wherein have two parts to change and be not easy to be determined, the payment being respectively system in price with these two aspects of statistical service of system;
First, can there is regular fluctuation in the payment price about system, and the product type and the product that comprise system also can increase and decrease along with the development in market to some extent, therefore takes the mode of amendment and record data in systems in which, to facilitate the change of system data.For these data, owing to being designed into the reference value of historical data, the mode that deletion action all adopts service logic to delete makes legacy data be retained, to avoid the data instability caused due to the change of data;
On the other hand, for the statistical service of system, also can there is a series of change in the future, likely increase corresponding statistical service module, also likely cancel the statistics for some partial service of system.System currently provides enough parameters and carries out maintenance and management, and these parameters are reliable basis that system carries out complex data statistics.
(2) performance evaluation
What the performance of this system was mainly reflected in interface frequently calls aspect, needs to carry out the synchronous of data with other cloud computing service products constantly.
System external adopts WebService service technology to carry out external interface interchange, meets the different language exploitation of other cloud computing service products.Timing for interface is called and is determined by the data change cycle stage of cloud computing service product, and peak demand can reach per minute and once call.
In order to the low coupling performance of the high cohesion that can reach software, the service based on database service bottom is divided into interface service, Web service and note and mail four to overlap independent service.Ensure that the appearance that there will not be interference, occupy the problems such as resource between service.Once wherein a certain service go wrong can solve separately and do not affect other service normal operation.
(3) multiplexing and transplanting
This software is not only suitable for the charging of cloud computing service product from design original intention, can transplant multiplexingly to use when other similar charge charging service conditions completely.
(4) mistake proofing and error handling processing
Record to system manager's Operation Log is not only provided in the functional module of system, the automatic log recording of the system that additionally provides, this log recording comprises the interface interchange daily record of outside cloud computing service product and the log recording of system external transmission Email and note, once system goes wrong, can be able to carry out inquiring about and judging by system journal.
When the Web service operation of system goes wrong, adopt transaction rollback to ensure the integrality of data service; The page and the system that jumps to reports an error.
(5) interface security
Call fail safe aspect for interface, adopting provides different respectively to the different product of outside and calls account, in interface calling procedure, verifies according to the parameter that interface transmits, verify by after can carry out transmission and the acquisition of data;
The interface account unification opened manages by Web service system.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various change and modification to invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (7)
1. to increase income the cloud service real time billing of cloud platform and a management system towards OpenStack, it is characterized in that, comprising:
System login module, for providing the Text Entry to logon name, login password and check code in login page, adopts that Ajax is asynchronous carries out verification operation;
Client pays the fees situation module, for entering by accepting user after verification, being directed in database table " payment managing detailed catalogue table " and being about to start service but not paying the fees and to serve near the phase but the client's payment information do not continued to pay dues carries out query display;
Payment information module, carries out detailed searching and managing for all payment situations be directed in " the payment managing detailed catalogue table " of database table;
Charging item module, comprise charging item type block and paying price information module, wherein, described charging item type block, " charge type information table " for being directed to database table carries out inquiring about, increase, revise, management that service logic is deleted, described paying price information module, for the management being directed to the inquiry of " the paying price information table " of database table, increase, amendment, service logic are deleted;
Payment Client Model, comprise payment corporate client module and payment individual client module, wherein, described payment corporate client module, for for " payment corporate client information table " of database table carry out searching and managing, data message in " payment corporate client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete; Described payment individual client module, for for database table carry out the searching and managing of " payment individual client information table ", data message in " payment individual client information table " is received by its exterior interface service, completely without the need to the management increasing it, revise and delete;
System management module, comprises administrator's administration module, system information arranges module, keeper's Operation Log module, systematic automatic operation log pattern and interface account service information module;
Parameter management module, comprises state parameter module, province parameter module, industry parameters module, professional parameter module, product problem type block and product promotion channel module;
Client's statistical module, comprises client geographic distribution statistics module, client's industry statistic module, individual client's occupational statistics module, charge customers project statistical module, client uses product accounting module, Customer Acquisition product information problem channel statistical module, consumer product problem category statistical module and consumer product problem statistical module;
Charge statistical module, comprises product type charge situation statistical module, product charge situation statistical module, time profit statistical module.
2. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 1, it is characterized in that, system login module, for submitting described logon name, login password and check code to " system manager/user message table " in the design of charging Web system database table structure and verify, to pay the fees situation module by entering client after verification.
3. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 2, it is characterized in that, described system login module, also log in the operation note of people, log date time etc. for record in system management operation daily record, and in system manager's user message table, upgrade the login times of this login people and last login time record.
4. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 1, it is characterized in that,
Described administrator's administration module be used for for " system manager's user message table " of database table carry out the management of inquiring about, increase, revise and deleting;
Described system information arranges module, for for " system information arranges table " of database table carry out renewal bookkeeping, the transmission of the note that " system information arranges table " is system and mail provides foundation cycle time;
Described keeper's Operation Log module, for the query manipulation of " the system manager's Operation Log information table " for database table;
Described systematic automatic operation log pattern, for the query manipulation of " the systematic automatic operation log information table " for database table, the log recording that " systematic automatic operation log information table " automatically performs for the note of system and the system of mail and interface;
Described interface account service information module, for the management being directed to the inquiry of " the interface service account information table " of database table, increase, amendment, service logic are deleted.
5. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 1, it is characterized in that,
Described state parameter module, for the management being directed to the inquiry of " the state parameter information table " of database table, increase, amendment, service logic are deleted;
Described province parameter module, for the management being directed to the inquiry of " the province parameter information table " of database table, increase, amendment, service logic are deleted;
Described industry parameters module, for the management that the inquiry of " the industry parameters information table " for database table, increase, amendment, service logic are deleted;
Described professional parameter module, for the management being directed to the inquiry of " the professional parameter information table " of database table, increase, amendment, service logic are deleted;
Described product problem type block, for the management being directed to the inquiry of " the product problem type parameter information table " of database table, increase, amendment, service logic are deleted;
Described product promotion channel module, the management that database table is the inquiry of " product promotion channel parameter information table " for being directed to, increase, amendment, service logic are deleted.
6. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 1, it is characterized in that,
Described client geographic distribution statistics module, for for the geographical distribution statistics being the geographical distribution statistics of corporate client and individual client;
Described client's industry statistic module, for for the industry quantity statistics of corporate client and the industry quantity statistics of individual client;
Described individual client's occupational statistics module, for the statistics for the statistics of industry quantitative aspects and the professional quantitative aspects for registration individual client of registering individual client;
Described charge customers project statistical module, for the charging item statistics of corporate client and the charging item statistics of individual client;
Described client uses product accounting module, for for the use product accounting of corporate client and the use product accounting of individual client;
Described client uses product accounting module, for for the use product accounting of corporate client and the use product accounting of individual client;
Described Customer Acquisition product information problem channel statistical module, for adding up for the acquisition product channel statistics of corporate client and the acquisition product channel of individual client;
Described consumer product problem category statistical module, for for the product problem type statistics of corporate client and the product problem type statistics of individual client;
Described consumer product problem statistical module, for for corporate client product problem statistics and individual client product problem add up.
7. to increase income the cloud service real time billing of cloud platform and management system towards OpenStack as claimed in claim 1, it is characterized in that,
Described product type charge situation statistical module, for " creation-time " data item query time section of " the payment managing detailed catalogue table " according to database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, charge type is distinguished, according to " payment " data item data statistics total profit according to " charging item " data item;
Described product charge situation statistics, for according to " creation-time " data item query time section in " payment managing detailed catalogue table " of database table, according to " service object " data item inquiry chargeable service to liking enterprise or client, fee-based product is distinguished, according to " payment " data item data statistics total profit according to " fee-based product " data item;
Described time profit statistical module, for according to " creation-time " data item query time section in " the payment managing detailed catalogue table " of database table, according to " payment " data item data statistics total profit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848267.6A CN104580446A (en) | 2014-12-29 | 2014-12-29 | Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848267.6A CN104580446A (en) | 2014-12-29 | 2014-12-29 | Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104580446A true CN104580446A (en) | 2015-04-29 |
Family
ID=53095603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410848267.6A Pending CN104580446A (en) | 2014-12-29 | 2014-12-29 | Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104580446A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579701A (en) * | 2013-10-17 | 2015-04-29 | 南京中兴新软件有限责任公司 | Real-time charging method, device and system |
CN106600326A (en) * | 2016-12-14 | 2017-04-26 | 中国航空结算有限责任公司 | Airport toll administration method and system |
CN107222542A (en) * | 2017-06-08 | 2017-09-29 | 东华大学 | A kind of construction method of cloud service management system |
CN108234622A (en) * | 2017-12-28 | 2018-06-29 | 北京星河星云信息技术有限公司 | Charging method and charge system |
CN109242463A (en) * | 2018-07-17 | 2019-01-18 | 华润物业工程科技有限公司 | House charging configures system |
CN110197368A (en) * | 2018-03-21 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of cloud resource processing method, device and storage medium |
CN110377616A (en) * | 2019-07-30 | 2019-10-25 | 北京金山云网络技术有限公司 | A kind of data-erasure method, device, electronic equipment and storage medium |
CN112819516A (en) * | 2016-10-20 | 2021-05-18 | 北京奥斯达兴业科技有限公司 | Parking lot charging statistical method and device |
WO2023174360A1 (en) * | 2022-03-16 | 2023-09-21 | 华为云计算技术有限公司 | Cloud service providing method and apparatus based on public cloud technology |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152393A (en) * | 2013-02-05 | 2013-06-12 | 北京邮电大学 | Charging method and charging system for cloud computing |
-
2014
- 2014-12-29 CN CN201410848267.6A patent/CN104580446A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152393A (en) * | 2013-02-05 | 2013-06-12 | 北京邮电大学 | Charging method and charging system for cloud computing |
Non-Patent Citations (2)
Title |
---|
天津卓朗科技发展有限公司: ""云计算服务计费管理*** 详细设计说明书"", 《百度文库 URL:HTTPS://WENKU.BAIDU.COM/VIEW/BE95FF8D8762CAAEDD33D42C.HTML》 * |
胡军,崔毅东: ""OpenStack环境下计费***的研究"", 《中国科技论文在线》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579701A (en) * | 2013-10-17 | 2015-04-29 | 南京中兴新软件有限责任公司 | Real-time charging method, device and system |
CN112819516A (en) * | 2016-10-20 | 2021-05-18 | 北京奥斯达兴业科技有限公司 | Parking lot charging statistical method and device |
CN106600326A (en) * | 2016-12-14 | 2017-04-26 | 中国航空结算有限责任公司 | Airport toll administration method and system |
CN107222542A (en) * | 2017-06-08 | 2017-09-29 | 东华大学 | A kind of construction method of cloud service management system |
CN107222542B (en) * | 2017-06-08 | 2020-08-11 | 东华大学 | Construction method of cloud service management system |
CN108234622A (en) * | 2017-12-28 | 2018-06-29 | 北京星河星云信息技术有限公司 | Charging method and charge system |
CN110197368A (en) * | 2018-03-21 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of cloud resource processing method, device and storage medium |
CN110197368B (en) * | 2018-03-21 | 2024-02-13 | 腾讯科技(深圳)有限公司 | Cloud resource processing method, device and storage medium |
CN109242463A (en) * | 2018-07-17 | 2019-01-18 | 华润物业工程科技有限公司 | House charging configures system |
CN110377616A (en) * | 2019-07-30 | 2019-10-25 | 北京金山云网络技术有限公司 | A kind of data-erasure method, device, electronic equipment and storage medium |
WO2023174360A1 (en) * | 2022-03-16 | 2023-09-21 | 华为云计算技术有限公司 | Cloud service providing method and apparatus based on public cloud technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104580446A (en) | Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform | |
US9892467B2 (en) | System and method for implementing charge centric billing | |
JP7500175B2 (en) | Unified entity view across distributed systems | |
US8555248B2 (en) | Business object change management using release status codes | |
US20160063072A1 (en) | Systems, methods, and apparatuses for detecting activity patterns | |
CN108197895A (en) | A kind of enterprise information system Rights Management System | |
CN111694555B (en) | Service system construction method and device, electronic equipment and storage medium | |
CN104756460A (en) | LDAP-based multi-customer in-cloud identity management system | |
CN112801607A (en) | Management service platform and construction method | |
CN106408351A (en) | WeChat based CRM system for small and medium enterprises | |
CN112926858A (en) | Power marketing service operation index design method and device | |
CN115168460A (en) | Data processing method, data transaction system, device and storage medium | |
Cheng et al. | The strategic research on integrating service model for SMEs cloud supply chain in Taiwan | |
CN111639121A (en) | Big data platform and method for constructing customer portrait | |
US11327954B2 (en) | Multitenant architecture for prior period adjustment processing | |
Yang et al. | Design of enterprise management system based on edge computing architecture | |
Hu | Information lifecycle modeling framework for construction project lifecycle management | |
US20190370720A1 (en) | Systems and methods for providing tiered subscription data storage in a multi-tenant system | |
US20140149186A1 (en) | Method and system of using artifacts to identify elements of a component business model | |
CN107481047A (en) | Sale management system based on cloud computing | |
Sharma et al. | An efficient IoT based framework for missed call messaging services for electricity consumers | |
CN114155076A (en) | Method, device and equipment for checking business data and financial data | |
CN104933623A (en) | Mechanical non-standard component design service platform | |
Isikdag et al. | Data integration capability evaluation of ERP systems: A construction industry perspective | |
Cheng et al. | A meta-modelling service paradigm for cloud computing and its implementation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150429 |