Summary of the invention
In view of this, the embodiment of the invention provides a kind of on-line charging data backing-up, system and charging platform, to realize online charging disaster tolerance cheaply.
The embodiment of the invention is achieved in that
The embodiment of the invention provides a kind of on-line charging data backing-up, comprising:
The online charging platform is with the data that the generated storage of classifying;
Backup node is according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up disaster tolerance.
Described production platform comprises the data that the generated storage of classifying:
Described production platform is divided into core data and non-core data with the data that generated, and wherein, described core data comprises the data message that is used to carry out online charging.
Described backup node is according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up disaster tolerance, comprising:
The core data backup node carries out the centralized backup disaster tolerance with the core data of a plurality of online charging platforms; With,
Non-core data backup node is with the non-core data of a plurality of online charging platforms backup disaster tolerance of classifying.
Described core data backup node backs up disaster tolerance with the core data of a plurality of online charging platforms, comprising:
The core data backup center adopts active and standby disaster tolerance mechanism that the core data of a plurality of online charging platforms is carried out the centralized backup disaster tolerance.
Described non-core data backup node comprises the non-core data of a plurality of online charging platforms backup disaster tolerance of classifying:
Described non-core data are carried out classifying and dividing, and described non-core data backup node backs up disaster tolerance with the non-core data of corresponding classification.
The embodiment of the invention provides a kind of online charging disaster tolerance system, comprising: a plurality of online charging platforms and a plurality of backup node, wherein,
Described online charging platform is used for the data that the generated storage of classifying;
Described backup node is used for according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up disaster tolerance.
When described online charging platform was divided into core data and non-core data with the data of described generation, described backup node comprised core data backup node and non-core data backup node, wherein,
Described core data backup node is used for the core data of a plurality of charging platforms is carried out the centralized backup disaster tolerance;
Described non-core data backup node is used for the non-core data of a plurality of charging platforms backup disaster tolerance of classifying.
The embodiment of the invention provides a kind of online charging platform, comprising: data qualification unit and data storage cell, wherein,
Described data qualification unit is used for the data that generated are classified;
Described data storage cell is used for according to described data qualification unit institute division result described data being stored.
When described data qualification unit was divided into core data and non-core data with described data, described data storage cell comprised core data memory cell and non-core data storage cell, wherein,
Described core data memory cell is used for described core data is stored;
Described non-core data storage cell is used for described non-core data are stored.
Compared with prior art, the technical scheme that the embodiment of the invention provides has the following advantages and characteristics: in the embodiment of the invention, the online charging platform is with the data that the generated storage of classifying, backup node can be according to the data category of being divided, data to corresponding classification on a plurality of online charging platforms back up disaster tolerance, that is to say that a backup node can provide the service of data backup disaster tolerance to a plurality of online charging platforms simultaneously, and do not need to adopt host node and the man-to-man mode of backup node to carry out, thereby reduced the cost of system's construction and maintenance.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of on-line charging data backing-up, and this method idiographic flow comprises as shown in Figure 1:
Step 101: the online charging platform is with the data that the generated storage of classifying;
In step 101, the online charging platform can produce the several data of record operation process in the operation process, for example the user who receives from the user place spends the related data information of inquiry, user's access way information etc., wherein, in carrying out the online charging process, the data that the online charging platform is produced can be divided into core data and non-core data, wherein, herein, core data comprises the data message that is used to carry out online charging, for example, the business that user's user profile, user use and the professional duration information etc. that uses.But not core information then can comprise user's relevant informations such as access way.
Step 102: backup node is according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up.
The data that generate can be divided into core data and non-core data according to the online charging platform of being mentioned in the step 101, then in step 102, backup node can be divided into core data backup node and non-core data backup node, wherein, the core data backup node can carry out centralized backup with the core data of a plurality of online charging platforms, the backup but not the core data backup node then can be classified the non-core data of a plurality of online charging platforms.
Need to prove herein, when carrying out the backup of core data, can adopt the data back up method in the active and standby disaster tolerance mechanism to carry out at the core data backup node; And when non-core data backup node when carrying out the backup of non-core data, can at first non-core data be carried out classifying and dividing, non-core data backup node backs up the non-core data of corresponding classification.
The embodiment of the invention provides a kind of on-line charging data backing-up, this method comprises: the online charging platform is with the data that the generated storage of classifying, backup node can be according to the data category of being divided, data to corresponding classification on a plurality of online charging platforms back up, that is to say that a backup node can be provided for carrying out the data backup service of disaster tolerance simultaneously to a plurality of online charging platforms, and do not need to adopt host node and the man-to-man mode of backup node to carry out, thereby reduced the cost of system's construction and maintenance.
Correspondingly, the embodiment of the invention also provides a kind of online charging data backup system, and this system comprises structure as shown in Figure 2: a plurality of online charging platforms 201 and a plurality of backup node 202, wherein:
Online charging platform 201 is used for the data that the generated storage of classifying;
Backup node 202 is used for according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up.
In addition, also said structure can be carried out further specializing:
When online charging platform 201 was divided into core data and non-core data with the data that generate, backup node 202 can comprise core data backup node and non-core data backup node, wherein:
The core data backup node is used for the core data of a plurality of charging platforms is carried out centralized backup;
Non-core data backup node is used for the backup of classifying of the non-core data of a plurality of charging platforms.
A kind of online charging data backup system that this embodiment provides can be used to carry out the on-line charging data backing-up that the embodiment of the invention provides.This online charging data backup system is carried out the process of online charging data backup, can provide on-line charging data backing-up referring to the embodiment of the invention.
A kind of online charging data backup system that the embodiment of the invention provided, wherein, the online charging platform is with the data that the generated storage of classifying, backup node can be according to the data category of being divided, data to corresponding classification on a plurality of online charging platforms back up, that is to say that a backup node can be provided for carrying out the data backup service of disaster tolerance simultaneously to a plurality of online charging platforms, and do not need to adopt host node and the man-to-man mode of backup node to carry out, thereby reduced the cost of system's construction and maintenance.
In addition, the embodiment of the invention also provides a kind of online charging platform, and this platform comprises structure as shown in Figure 3, comprises data qualification unit 301 and data storage cell 302, wherein:
Data qualification unit 301 is used for the data that generated are classified;
Data storage cell 302 is used for according to 301 division result in described data qualification unit described data being stored.
When data qualification unit 301 was divided into core data and non-core data with the data that generated, memory cell can comprise core data storing sub-units and non-core storage subelement, wherein:
The core data storing sub-units is used for described core data is stored;
Non-core storage subelement is used for described non-core data are stored.
A kind of online charging platform that the embodiment of the invention provided, the storage of the data that generate can being classified, so that backup node backs up corresponding data according to classification results, thereby can realize that a backup node can be provided for carrying out the data backup service of disaster tolerance simultaneously to a plurality of online charging platforms, and do not need to adopt host node and the man-to-man mode of backup node to carry out, thereby reduced the cost of system's construction and maintenance.
In conjunction with said method, device and concrete application scenarios, technical scheme provided by the present invention is described further, in the present embodiment, Online Charging System with telecom operators is that example describes, by to the research of online charging architectural framework, can learn that the key of online charging disaster tolerance is the disaster tolerance of data, that is to say, need the data that be used to charge be backed up.And in the Online Charging System of telecom operators, user's remaining sum, accumulation etc. are the keys of disaster tolerance.Therefore, when carrying out the deployment of system, can carry out in the following ways, idiographic flow as shown in Figure 4:
Step 401: carry out the independent deployment at management of balance center;
In step 401, because the management of balance center is the key component of online charging, can be when carrying out the deployment at management of balance center, adopt traditional active and standby mechanism to carry out, that is to say, the host node of a plurality of online charging platform user balance amount informations of storage is set, for example, telecom operators with certain province are example, these telecom operators include a plurality of online charging platforms in this province, related datas such as user balance in these online charging platforms are concentrated to be stored in and are disposed good management of balance center, and are the disaster tolerance needs, also need to dispose a slave node for this management of balance center.Need to prove herein, the deployment at management of balance center can adopt active and standby disaster tolerance mechanism to carry out, and also can adopt hot two-shipper mechanism to carry out, but in view of the advantage of active and standby disaster tolerance mechanism will be more than two hot plane mechanisms, therefore, suggestion adopts active and standby disaster tolerance mechanism to carry out.
Step 402: carry out the deployment of online charging platform and the pairing backup node of online charging platform;
In step 402, noted earlier can learning arranged, telecom operators adopt the mode at the shared management of balance center of a plurality of online charging platforms to carry out the calculating of customer charge generally speaking, for example, telecom operators of certain province, may only need to dispose a management of balance center, be used to carry out the clearing of user balance, but charging platform may need be disposed a plurality of owing to the reason in geographical position, such as can be according to the division in administrative city, dispose a plurality of online charging platforms, these charging platforms can communicate with the user, obtain user's relevant information, and by relevant information that the user sent, finally with the management of balance center communicate be connected after, obtain this user's relevant tariff information.
In addition,, also need to dispose the pairing backup node of these online charging platforms, the related data on the online charging platform is backed up being used for, to be used to carry out the disaster tolerance of data except disposing online charging platform.Need to prove herein, when carrying out the deployment of backup node, do not need deployment, adopt man-to-man mode to carry out, and can adopt mode multi-to-multi or one-to-many to carry out as the slave node that carries out the management of balance center.For example, adopting a backup node is that a plurality of online charging platforms carry out the backup of data, or a plurality of backup nodes are that a plurality of online charging platforms carry out the backup of data, in the present embodiment, this mode can be become the N+M mode, wherein N is meant the number of online charging platform, and M then is meant the number of this N the pairing backup node of online charging platform.When providing the backup services of data for M is individual by N backup node, the mode that can adopt the classification according to data to back up is carried out, for example the data in N the online charging platform can be classified, be stored in respectively in M the backup node according to classification.The core data information relevant with user balance then is sent to the management of balance center and stores.
Above-mentioned two steps are that system carries out the preceding related deployment that will do of online charging, and in the application process of reality, the precedence relationship that this two step is not strict.
Below, the data back up method that is used to carry out data disaster tolerance in the online charging process is carried out related description:
Step 403: the online charging platform produces the related data that is occurred in the operation process;
In step 403, the online charging platform can be along with the relevant operation data that produces of operation, if this online charging platform is the online charging platform, in the operation process, this online charging platform can write down the various data that produce in the operation process, the data message of the inquiry telephone expenses that for example received user sent, access way etc.
Step 404: the online charging platform carries out back-up storage with the related data that is produced in the operation process;
In step 404,, make the online charging platform related data can be backed up because each online charging platform has all correspondingly disposed corresponding backup node.Wherein, the online charging platform can be according to ready-portioned classification in advance, with the data backup of correspondence to corresponding backup node.
Need to prove, when carrying out the backup of online charging platform data, can adopt to preestablish a backup cycle, carry out periodically data backup.
Step 405: the online charging platform will be sent to the management of balance center with the relevant core data that charges;
In step 405, the online charging platform is sent to the management of balance center with the duration of subscriber identity information, business that the user uses and this business that the user the uses relevant core data that equals to charge, to carry out the work of user's online charging.
Step 406: the management of balance center receives the core data that is used to charge that online charging platform sends, to carry out the renewal of relevant information;
In step 406, the management of balance center receives the core data that user that online charging platform sends charges, and according to this data message, relevant information in the former database is upgraded, for example according to certain received user charge information, upgrade in the former database balance amount information about this user etc.
Step 407: the backup of data message is carried out by slave node in the management of balance center, to realize the disaster tolerance of data.
In step 407, the management of balance center is upgraded the data in its slave node, wherein according to received data message, when this place carries out the data backup at management of balance center, also can adopt the above-mentioned periodic mode of mentioning to carry out the renewal of slave node data.
Need to prove to step 407, also not have strict sequencing in step 404 between the three herein, in conjunction with concrete applicable cases, the sequencing between the three can corresponding changing.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.