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 carries out classification and storage with the data that generated;
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, and be specially: 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 with the non-core data of a plurality of online charging platforms backup disaster tolerance of classifying.
Said online charging platform carries out classification and storage with the data that generated, and comprising:
Said online charging platform is divided into core data and non-core data with the data that generated, and wherein, said core data comprises the data message that is used to carry out online charging.
Said 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.
Said non-core data backup node comprises the non-core data of a plurality of online charging platforms backup disaster tolerance of classifying:
Said non-core data are carried out classifying and dividing, and said 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,
Said online charging platform is used for the data that generated are carried out classification and storage;
Said 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., said backup node comprises core data backup node and non-core data backup node, wherein,
Said core data backup node is used for the core data of a plurality of charging platforms is carried out the centralized backup disaster tolerance; Said non-core data backup node is used for the non-core data of a plurality of charging platforms backup disaster tolerance of classifying.
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 carries out classification and storage with the data that generated; Backup node can be 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, 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 need not adopt the man-to-man mode of host node and backup node to carry out, thereby reduced the cost of system's construction and maintenance.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, 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 are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of on-line charging data backing-up, and this method idiographic flow is as shown in Figure 1, comprising:
Step 101: the online charging platform carries out classification and storage with the data that generated;
In step 101, the online charging platform can produce the several data of record operation process in the operation process, and the user who for example 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, and for example, user's user profile, user use professional 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.
Can the data that generate 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, but not the core data backup node then can be with the backup of classifying of the non-core data of a plurality of online charging platforms.
Need to prove here, 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 carries out classification and storage with the data that generated; 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 to a plurality of online charging platforms simultaneously, and need not adopt the man-to-man mode of host node and 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 nodes 202, wherein:
Online charging platform 201 is used for the data that generated are carried out classification and storage;
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 can said structure 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 on-line charging data backing-up be provided 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 carries out classification and storage with the data that generated; Backup node can be according to the data category of being divided, and the data of corresponding classification on a plurality of online charging platforms are backed up, and 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 need not adopt the man-to-man mode of host node and 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 said data qualification unit said 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 said core data is stored;
Non-core storage subelement is used for said non-core data are stored.
A kind of online charging platform that the embodiment of the invention provided; Can the data that generate be carried out classification and storage; 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 to a plurality of online charging platforms simultaneously, and need not adopt the man-to-man mode of host node and backup node to carry out, thereby reduce 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 further specified, in the present embodiment; Online Charging System with telecom operators is that example describes; Through 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 adopt following mode to carry out, idiographic flow is 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, and these telecom operators include a plurality of online charging platforms in this province, and the related datas such as user balance in these online charging platforms are concentrated the good management of balance center of disposing that is stored in; And be the disaster tolerance needs, also need dispose a slave node for this management of balance center.Need to prove here; 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 seeing that 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 possibly only need to dispose a management of balance center; Be used to carry out the clearing of user balance, but charging platform maybe owing to the reason in geographical position need dispose a plurality of, 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 through 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 dispose the pairing backup node of these online charging platforms, the related data on the online charging platform backed up being used for, to be used to carry out the disaster tolerance of data except disposing online charging platform.Need to prove here, when carrying out the deployment of backup node, need not adopt man-to-man mode to carry out, and can adopt mode multi-to-multi or one-to-many to carry out as the deployment of 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, can this mode 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.Be that M is when providing the backup services of data through N backup node; The mode that can adopt the classification according to data to back up is carried out; For example can the data in N the online charging platform 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 related deployment that institute will do before the online charging, and in the application process of reality, this two step is the precedence relationship of strictness not.
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 can related data 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, user institute use business 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, and for example according to certain received user charge information, upgrades in the former database balance amount information about this user etc.
Step 407: the backup of data message is carried out through 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 slave node updating data.
Need to prove in step 404 to step 407, also not have strict sequencing between the three here, 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 General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.