Background technology
In the prior art, user data in the business support system is the foundation to user's charge, user data on the network element is actual authorization data when telecommunications service are provided, user data comprises in the process of setting up of business support system (to call system side in the following text) and network element (to call network element in the following text) as shown in Figure 1:
Step is 1.: the scheduler herein of business support system is single the worker, as " be 8613919958055 open the GPRS function ", submits to the interface routine of opening of business support system.
Step is 2.: open interface routine above-mentioned worker is singly translated into the HLR instruction of similar " HGSLR:MSISDN=8613919958055 ", and send to HLR.
Step is 3.: open interface routine when sending instruction to HLR, write the command content of this transmission in the journal file of this locality, i.e. user data.
Step is 4.: the interface routine that is arranged on the HLR is carried out the instruction that business support system sends over, and upgrades local user database simultaneously, i.e. the database of network side, in corresponding user data.
Step is 5.: this interface routine when carrying out the instruction that business support system sends over the command content that receives, the result in updating user data storehouse, i.e. success or failure, and failure cause writes local journal file.
Step is 6.: the interface routine on the HLR feeds back to business support system to the execution result of instruction.
Step is 7.: the interface routine of opening of business support system writes local journal file to the result of HLR execution command.
Step is 8.: business support system open worker's dullness degree program that interface routine feeds back to the result business support system.
As shown in the above, user data is consistent extremely important on business support system and each network element (containing value-added service platform).If difference takes place in the two, may cause the client to pay expense on the one hand and but not enjoy due service, also may cause the client to use corporate business on the other hand, but, cause losses of revenues because in business support system, there is not order record to cause expense to collect.Therefore regularly the user data on business support system and each network element (containing value-added service platform) being carried out consistency desired result is the regular works that telecommunications supports department.Traditional way is regularly the user data on user data in the support system and the network element (containing value-added service platform) to be taken out to compare, and again according to the predefine flow process, is as the criterion with business support system or network element variance data is repaired.Concrete verification process is that business support system sends query statement to network element, and batch data is also returned in the network element response, business support system receive data and and the data of self record compare.If find differences, then according to the predefine flow process, being as the criterion with business support system is consistent network element and support system, and perhaps being as the criterion with network element is consistent support system and network element.
There is following some deficiency at least in the check method of existing user data consistence:
(1) provides service in order not influence network element for the user, can only when business is not busy, carry out data extract usually, carry out checking work, cause problem to can not get timely solution, and the overlong time of adjacent twice verification, make that the information on the network element increases, cause each checking work amount big.
(2) checked result has just been found the inconsistent of the two, and inconsistent reason and solution are all had no way of learning, be not easy to improvement.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Method embodiment
Fig. 2 is embodiment one flow chart of the check method of user data consistence of the present invention.As shown in Figure 2, present embodiment can comprise:
Step S202: from the daily record of system side and network side, extract the log information that comprises user data information respectively in real time; Specifically referring to explaining to Fig. 3; Below system side among each embodiment all refer to business support system, network side refers to network element, wherein, network element comprises core network element, as attaching position register HLR, and value-added service platform, reminds platform, color ring platform, missed call notification platform etc. as incoming call;
As to the description of Fig. 1 as can be known, the daily record of system side and network side is opens daily record; System side open the operational order that comprises user data to be revised that diary record system sends to network side; Network side open that log record all-network side is actual carried out the instruction that comprises user data;
Step S204: the log information of comparison system side and network side; Specifically referring to explaining to Fig. 3-Fig. 6;
Step S206: when the user data information of system side and network side is inconsistent, analyze inconsistent reason; Specifically referring to explaining to Fig. 4 and Fig. 6.
In the present embodiment, by from the daily record of system side and network side, extracting the log information that comprises user data information respectively in real time, and utilize this log information to carry out the verification of user data consistence, avoided directly from the database of network side, extracting the operation of user data information, make the time of extracting user data information not be subjected to the restriction of the operating state of network side, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviates the workload of each verification.
Fig. 3 is embodiment two flow charts of the check method of user data consistence of the present invention.Present embodiment is mainly used in for the explaining of step S202 among Fig. 2, also should be when specifically understanding the check method of user data consistence of the present invention in conjunction with step S204 and S206 among Fig. 2, and as shown in Figure 3, present embodiment can comprise:
Step 1: the acquisition time interval to network side and system side log information is set, and the network element object of gathering, as, capture program regularly is to extract once in 15 minutes, and the log information on network element and the business support system is got on the check device (corresponding to the device of Fig. 7) of user data consistence in the file transfer protocol (FTP) mode;
Step 2: from system side, as Boss, daily record in gather log information, as, Subscriber Number, carry out network element, carry out the user, time of implementation, instruction, return value etc.;
Step 3: from the daily record of network element, gather log information;
During concrete operations, after step 3, pretreated operation can also be arranged, the log information that is about to collect converts set form to, as the fixedly ordering of above-mentioned various log informations, and according to business support system and network element pretreated log information is put in storage respectively; Preliminary treatment can be supported the processing of opening daily record to various different vendors, and preprocessing process has formed two set of Boss and network element log information after finishing.
Present embodiment is by extracting the log information that comprises user data information in real time to acquisition time control at interval from the daily record of system side and network side, and utilize this log information to carry out the verification of user data consistence, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviate the workload of each verification, utilize pretreated step can realize the processing of opening daily record simultaneously to various different vendors.
Fig. 4 is embodiment three flow charts of the check method of user data consistence of the present invention.Present embodiment is mainly used in for the explaining of step S204 among Fig. 2, also should be in conjunction with step S202 and S206 among Fig. 2 when specifically understanding the check method of user data consistence of the present invention.As shown in Figure 4, present embodiment can comprise:
Step S401: taking out log information to be compared one by one from the log information set of Boss or network element, serves as comparison key element correspondence is searched coupling in the log information set of network element or Boss log information to be compared with Subscriber Number, time of implementation or instruction etc.; During concrete operations,, then log information to be compared is write difference table if can't find the coupling log information of log information to be compared;
Step S402: judge between the log information to be compared whether there are differences, if there are differences, execution in step S403 then, otherwise, finish;
Step S403: judge whether difference into known reason, if, execution in step S404 then, if not, execution in step S405 then;
Step S404: difference is handled, specifically referring to explaining to Fig. 6;
The difference of known reason has as: Boss to send but network element not have the instruction carried out, this species diversity most applications is to cause this instruction to be lost owing to Network Transmission reason or interface routine reason, generally only needs Boss to resend at this moment and gets final product; Network element had carry out but Boss does not have the instruction of transmission, amount seldom is generally and revises user data in violation of rules and regulations usually, and this moment generally need be according to the user data information of the user data information changed network side of system side; Step S405: the difference to unknown cause is analyzed, and promptly obtains reason of discrepancies and solution to network side or system side, specifically referring to explaining to Fig. 5; Execution in step S404 after variance analysis finishes;
Step S406: after difference is finished dealing with, generate the difference comprise log information, reason that difference produces and the report of difference solution,, can also comprise in the log information other content in this report according to the actual design needs.
Present embodiment is by extracting the log information that comprises user data information in real time from the daily record of system side and network side, and utilize this log information to carry out the verification of user data consistence, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviate the workload of each verification, simultaneously be divided into processing respectively under known reason and the unknown cause situation for difference, help utilizing existing working experience, improve the efficient that difference is handled, the actual cause that produces according to difference is repaired user data simultaneously, but not only repair according to default way, help better solving the problem that produces difference.
Fig. 5 is embodiment four flow charts of the check method of user data consistence of the present invention.Present embodiment is mainly used in for the explaining of step S405 among Fig. 4, also should be in conjunction with the indicative explaination for the comparison step of step S202 and S206 and Fig. 4 among Fig. 2 when specifically understanding the check method of user data consistence of the present invention.As shown in Figure 5, present embodiment can comprise:
Step 501: the definition difference phenomenon, postpone to surpass some time thresholds as, time of implementation, or the Subscriber Number record is inconsistent or the like;
Step 502: to Boss or/and network element obtains the reason and the solution of difference;
As, when finding situation that instruction that a large amount of Boss sends can not successful execution, check the rate that runs succeeded in the above-mentioned instruction of network element, if above-mentioned instruction all reports an error at network element, the probability that the instruction of Boss mismatch is described is very big, resend instruction after needing Boss to fix a breakdown, promptly will change the data of system side; If have only a few instructions to report an error, re-execute instruction after then needing network element to fix a breakdown, promptly according to the data of the data change network side of system side at network element;
Step 503: the reason and the solution of definition difference; So that during subsequent job, when the variance data of same nature occurring, improve treatment effeciency.
Present embodiment is by extracting the log information that comprises user data information in real time from the daily record of system side and network side, and utilize this log information to carry out the verification of user data consistence, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviate the workload of each verification, simultaneously be divided into processing respectively under known reason and the unknown cause situation for difference, help utilizing existing working experience, improve the efficient that difference is handled, the actual cause that produces according to difference is repaired user data simultaneously, but not only repair according to default way, help better solving the problem that produces difference.
Fig. 6 is embodiment five flow charts of the check method of user data consistence of the present invention.Present embodiment is mainly used in explaining for step S404 among Fig. 4, also should be during the concrete check method of understanding user data consistence of the present invention in conjunction with explaining to the comparison operation among step S202 and S206 and Fig. 4 among Fig. 2, as shown in Figure 6, present embodiment can comprise:
Step 601: calculate the difference value of log information, and judge whether this difference value reaches or surpass alarm threshold;
As, network side has execution in case find system side not have transmission, and then can conclude at network side has the behavior of revising user data in violation of rules and regulations, and this moment, this difference value should surpass alarm threshold; Perhaps the time of implementation of network side postpones the transmitting time in system side greatly, can judge that then network side need fix a breakdown, and as network bandwidth deficiency, instruction sends congested, has than long time delay, and this moment, this difference value also should surpass alarm threshold;
During concrete operations, this alarm threshold can be provided with according to actual needs, and the computational methods of this difference value or basis as foundation time of implementation or Subscriber Number, also can be provided with according to actual needs;
Step 602: send a warning message to system side;
Step 603: judge whether user data is variant;
During concrete operations, some log information difference is not that the difference owing to user data causes, and as the difference of above-mentioned time of implementation etc., needs this moment further judge whether user data is variant;
Step 604: according to the solution of default log information difference, the perhaps solution of the log information difference of obtaining in network side or system side, determine to revise the user data information of system side or network side, and then revise the user data information of network element according to business support system, perhaps the user data information of network element is revised the user data information of business support system.
Present embodiment is by extracting the log information that comprises user data information in real time from the daily record of system side and network side, and utilize this log information to carry out the verification of user data consistence, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviate the workload of each verification, simultaneously be divided into processing respectively under known reason and the unknown cause situation for difference, help utilizing existing working experience, improve the efficient that difference is handled, the actual cause that produces according to difference is repaired user data simultaneously, but not only repair according to default way, help better solving the problem that produces difference.
Device embodiment
Fig. 7 is the example structure figure of the check device of user data consistence of the present invention.Each embodiment of above-mentioned Fig. 2-Fig. 6 method invention all can realize in the device of structure shown in Fig. 7 structure chart.As shown in Figure 7, this device comprises information extraction modules 72, is used for extracting the log information that comprises user data information from the daily record of system side and network side in real time respectively; Collation process module 74 is used to compare the log information of system side and network side, and when the user data information of system side and network side is inconsistent, analyzes inconsistent reason.
This device can also comprise: alarm module 76, be used for when the log information of system side and network side there are differences, and the calculated difference value, and when difference value surpasses predetermined threshold value, produce warning information, and warning information is sent to system side;
Configuration module 78 is used for the default solution that reaches the difference of storing the log information that prestores, the solution of the difference of the log information that storage is obtained, and storage alarm threshold.
Collation process module 74 can comprise:
Check submodule 742, be used to compare the log information of system side and network side, and judge whether the difference of the log information of system side and network side belongs to the difference of unknown cause;
Variance analysis submodule 744 is used for when the difference of the log information of system side and network side belongs to the difference of unknown cause, obtain to system side or network side log information difference reason and solution and produce reason;
Processing sub 746, be used for when the user data information of system side and network side is inconsistent, solution according to the difference of the log information that obtains and prestore, determine to revise the user data information of system side or network side, and according to the user data information of system side or network side, the corresponding user data information of revising network side or system side.
Alarm module 76 can comprise:
Alarm submodule 762 is used for when the log information of system side and network side there are differences, the calculated difference value, and when difference value surpasses predetermined threshold value, produce warning information, and warning information is sent to system side;
Report generates submodule 764, is used for generating behind the user data information of collation process module 74 corresponding modification network sides or system side the difference that comprises log information, the report that difference produces reason and difference solution;
Statistics submodule 766 is used for according to user's request, generates statistics, such as, according to the system lateral network side,, send the success rate of instruction as different network elements, the performance of each network element is made compare of analysis.
Processing module 72 can comprise:
Gather submodule 722, be used for extracting the log information that comprises user data information from the daily record of system side and network side in real time respectively;
Preliminary treatment submodule 724 is used for the log information preliminary treatment, produces the log information of consolidation form.
It will be understood by those skilled in the art that this device comprises that information extraction modules 72 and collation process module 74 get final product, alarm module 76 and configuration module 78, and the submodule of above-mentioned each module are non-essential functional module, can be provided with according to actual needs.
Present embodiment is by extracting the log information that comprises user data information in real time from the daily record of system side and network side, and utilize this log information to carry out the verification of user data consistence, realization is verified in real time to the consistency of user data, the problem of being convenient to is in time handled, and alleviate the workload of each verification, simultaneously be divided into processing respectively under known reason and the unknown cause situation for difference, help utilizing existing working experience, improve the efficient that difference is handled, the actual cause that produces according to difference is repaired user data simultaneously, but not only repair according to default way, help better solving the problem that produces difference.
It should be noted that at last: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.