CN102891936A - Method for automatically processing mass cutover data of telephone subscriber - Google Patents

Method for automatically processing mass cutover data of telephone subscriber Download PDF

Info

Publication number
CN102891936A
CN102891936A CN2012103454524A CN201210345452A CN102891936A CN 102891936 A CN102891936 A CN 102891936A CN 2012103454524 A CN2012103454524 A CN 2012103454524A CN 201210345452 A CN201210345452 A CN 201210345452A CN 102891936 A CN102891936 A CN 102891936A
Authority
CN
China
Prior art keywords
user
sign
script
function
append
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103454524A
Other languages
Chinese (zh)
Other versions
CN102891936B (en
Inventor
齐乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210345452.4A priority Critical patent/CN102891936B/en
Publication of CN102891936A publication Critical patent/CN102891936A/en
Application granted granted Critical
Publication of CN102891936B publication Critical patent/CN102891936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for automatically processing mass cutover data of a telephone subscriber and relates to the technical field of telephone switchboards. The method comprises the following steps of: creating reference data for each performance of a subscriber; initializing relevant parameters, and identifying a subscriber data report line by line until a common telephone report success starting identifier is identified; traversing the subscriber data report, judging whether a single subscriber data report in the subscriber data report is finished, if the single subscriber data report is not finished, identifying the performance of a single subscriber, and adding a subscriber script; if the single subscriber data report is finished, ending the single subscriber data report; and outputting a processed performance sentence by cyclically removing an invalid subscriber without the performance. The method has the advantages that according to the performance of the subscriber in the subscriber data report, a script instruction which can be identified by the switchboard can be automatically generated, the whole data analysis process is not required to be manually operated, and data errors of the switchboard are automatically modified.

Description

The method of a kind of automatic processing telephone subscriber cutover data in enormous quantities
Technical field
The present invention relates to the telephone exchange technical field, particularly the method for a kind of automatic processing telephone subscriber cutover data in enormous quantities.
Background technology
For ensureing user's communication quality, improve user awareness, telephone office just need to upgrade to existing equipment at set intervals, with user data from the used equipment cutover to new equipment.When processes user data, no matter data volume is big or small, all needs to adopt the artificial nucleus that the mode of worker's list is carried out at present.
Through experiment measuring and calculating, along with the large batch of increase of number of users, the accumulative total operating time of process user cutover data is not into multiple to be increased, but is subjected to personnel's the factor affecting such as fatigue and increases gradually.
Therefore, when processing cutover data in enormous quantities, exist and drop into the problem that human resources are large, elapsed time is long, and error rate also can increase after personnel's fatigue thereupon.
Summary of the invention
In view of this, the object of the present invention is to provide the method for a kind of automatic processing telephone subscriber cutover data in enormous quantities, be used for realizing the automatic accurate processing of cutover data in enormous quantities.
The invention provides the method for a kind of automatic processing telephone subscriber cutover data in enormous quantities, comprising:
Each performance establishment comparable data for the user;
To the relevant parameter initialization, and to line by line identification of user data report, until recognize " plain old telephone is reported and successfully begun sign ";
Travel through described user data report, judge whether the unique user data report finishes in the user data report, does not finish if, and then identifies the performance of unique user, adds the access customer script; Otherwise the unique user data report is finished up;
Remove the inactive users that does not have performance by circulation, with the performance statement output of finishing dealing with.
Method of the present invention can generate the directive script that switch can be identified automatically according to the performance that user in the user data report has, and whole data analysis process need not any manual operation, automatically revises the exchange data mistake.
Description of drawings
The method flow diagram of the automatic processing telephone subscriber cutover data in enormous quantities that Fig. 1 provides for the embodiment of the invention;
Fig. 2 adopts the contrast schematic diagram of automatically processing with artificial treatment in the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Set up an array container, adopt the method that sets in advance " reading " and " generation " two cover comparable datas.If certain delegation in the user data report is complementary with " reading comparable data ", then the instruction that sets in advance in " generation comparable data " is appended into the array container.All items in the array container inputs to the user viewing area the most at last, and the instruction of viewing area output is exchanged machine-readable getting directly.The present embodiment has been avoided original artificial verification, the operation of keying in cutover data in enormous quantities, has realized in batches cutover automation of swap data.
The method flow diagram of the automatic processing telephone subscriber cutover data in enormous quantities that Fig. 1 provides for the embodiment of the invention may further comprise the steps:
Step 101, be that each performance of user creates comparable data.
Create a switch class, comprise " reading " and " generation " two cover statements in such, " reading " is with reference to statement, and " generation " is for processing statement.Two cover attributes all comprise the comparable data of following performance separately: plain old telephone is reported and is successfully begun sign; plain old telephone is reported and is unsuccessfully begun sign; finish sign; numbering head; common group 02; IP group 08; pre-payment group 09; telephone-moving group 21; telephone-moving IP group 22; payphone group 05; payphone group 03; domestic sign; international sign; stop the words sign; arrearage singly stops sign; the two signs of stopping of arrearage; the Telephone volume compression or expansion arrangement sign; come aobvious sign; call out and shift; the interruption-free sign; the quarter-bell sign; the Call Waiting sign; temperature line sign; the Three-Way Calling sign; the abbreviated dialing sign; call blocking; the antipole sign.
Step 102, to the relevant parameter initialization, and to line by line identification of user data report, if recognize " plain old telephone report and successfully begun to identify ", then execution in step 1 03; If recognize " plain old telephone is reported and unsuccessfully begun sign ", do not carry out any operation.
Because the user data that directly obtains in the switch reports that effective space may appear not having in the afterbody of every row at random, can affect follow-up data analysis, so at first should by the traversal circulation, remove the space at every row end.
Whether create physics number sign, being used for the mark unique user is the physics user; Create counter variable, be used for recording user switch report Load Game sign; Establishment abbreviated dialing sign is used for the mark user and whether has the function of condensing; Establishment stops words signs, is used for the mark user whether to be in the guarantor's state of shutting down; Creating " user's script " variable, be used for holding sole user's directive script, after sole user's directive script is finished, " user's script " passed through Add() method appends into the container array.
That initialization physics number is designated is no, counter variable makes zero and abbreviated dialing is designated no (because each recycle ratio just can initialization data after performance is finished, so before not beginning to carry out comparison, will carry out initialization to the data of necessity first).
Set up an array container that holds all user instructions (the array container is a List<string〉array of text type, pass through Add() method and append the content in the Add bracket), be used for holding a plurality of " user's scripts " of establishment.
Step 103, the report of traversal user data, judge whether the unique user data report finishes in the user data report, if finish, then the unique user data report is finished up, until all the unique user data reports in the completing user data report, execution in step 105; Otherwise execution in step 104.
Judge by finishing sign whether the unique user data report finishes, if report finishes, judge that then whether this user is the physics user, if the user is not the physics user, then need not any operation; If the physics user, then append the physics that pre-sets and number process statement (because physics is number different with logic number user group, number organizing if find number to be physics number needs physics number be set to physics by the processing statement).
(appending the end process statement, to represent that a user's performance reads complete to append the end process statement in ending place of user's script, because may comprise a plurality of users in a report), physics number sign being initialized as no, user's script is passed through Add() method is appended to the array container.For preventing that this user from being physics number, the physics sign can be changed to "Yes", so no matter whether the user is physics number, for the sake of assurance, append the end process statement after (being after unique user report identification is finished) need physics number sign unification be set to no.
Judge by abbreviated dialing sign whether the user has the abbreviated dialing function, if having, generation " abbreviated dialing " the processing statement with pre-setting in the step 101 passes through Add() method is appended to the array container.
Judge by stopping words signs whether the user stops words, as stop words and be designated and be that the processing statement that then generation that pre-sets in the step 101 " stopped the words sign " passes through Add() method is appended to the array container.
Parameter in the initialization step 102 (user's script, telephone number, abbreviated dialing sign, physics number sign, the words sign of stopping).May comprise a plurality of unique user data reports in a user data report, this step is that the identification of unique user data report is finished, and by the initialization above-mentioned parameter, prepares for identifying next user data report.
The performance of step 104, identification unique user adds the access customer script, execution in step 103.
Obtain the Subscriber Number under the report of this user data, append the Subscriber Number of generation " numbering head " function treatment instruction in the step 101+obtain to user's script; Determine whether physics number (if guarantee replacement letter in the Subscriber Number, judging that then this user is the physics user), if physics number, physics number sign be set to be;
If the user is physics number, and there is not the IP function then to append generation " telephone-moving IP group 21 " function treatment statement in the step 101 to user's script; If the user is physics number, and has the IP function, then append generation " telephone-moving IP group 22 " function treatment statement in the step 101 to user's script;
Judge by IP group 08, pre-payment group 09, telephone-moving IP group 22, payphone group 05, payphone group 03 sign whether the user has the IP function, if do not have the IP function, and the user is not physics number, then appends generation " common group 02 " function treatment statement in the step 101 to user's script;
Judge by domestic sign whether the user has domestic function, if having domestic function then append generation " domestic " function treatment statement in the step 101 to user's script;
Judge by world sign whether the user has international function, if having international function then append generation " world " function treatment instruction in the step 101 to user's script;
Judge by stopping words signs whether the user applies for suspending conversation, if suspend conversation then with " stopping the words sign " activation that creates in the step 102;
Singly stop the two signs of stopping of sign and arrearage by arrearage and judge whether arrearage of user, if subscriber arrearage then appends generation " arrearage stops talking about " function treatment instruction in the step 101 to user's script;
Judge by Telephone volume compression or expansion arrangement sign whether the user has chaperone function, if having chaperone function then append generation " companion " function treatment instruction in the step 101 to user's script;
By coming aobvious sign to judge whether the user has incoming call display function, if having incoming call display function then append generation " caller identification " function treatment instruction in the step 101 to user's script;
Judge by interruption-free sign whether the user has do-not-disturb functionality, if having do-not-disturb functionality then append generation " interruption-free " function treatment instruction in the step 101 to user's script;
Judge by quarter-bell sign whether the user has alarm, if having alarm then append generation " quarter-bell " function treatment instruction in the step 101 to user's script;
Judge by Call Waiting sign whether the user has call waiting function, if having call waiting function then append generation " Call Waiting " function treatment instruction in the step 101 to user's script;
Judge by antipole sign whether the user has the antipole function, if having the antipole function then append generation " antipole " function treatment instruction in the step 101 to user's script;
Judge by warm line sign whether the user has warm line function, if having warm line function then append generation " warm line " function treatment instruction in the step 101 to user's script;
Judge by Three-Way Calling sign whether the user has three-party talking function, if having three-party talking function then append generation " Three-Way Calling " function treatment instruction in the step 101 to user's script;
Judge by abbreviated dialing sign whether the user has the abbreviated dialing function, if having the abbreviated dialing function then with the abbreviated dialing sign activation that creates in the step 102;
By calling out to shift to identify to judge whether the user has been transferred to phone other number, if do transfer to other numbers, the function treatment instruction " is called out and is shifted " in the generation of then appending in the step 101 to user's script;
Judge by the call blocking sign whether the user is provided with call blocking, if the user is provided with call blocking, then creates the user and exhale the limit cryptographic variable, be used for four call blocking passwords of recording user.The counter values that call blocking sign is expert at+1, and+report line data content after 1 is set to " user exhales the limit password ", appends " user exhales the limit password " of generation " call blocking " function treatment instruction in the step 101+obtain to user's script.
Step 105, reject the inactive users do not have performance by circulation.It is 26 characters that the unique user performance is revised script length, and is considered as inactive users with the unique user performance script of " finishing sign " ending.
Step 1 06, with the performance statement of finishing dealing with in array container output.The modify instruction that has comprised whole validated users exports the viewing area in the screen to.
Adopt above method, 5491 parts of user data reports are tested, spended time is 13.958 seconds, and alone family is consuming time: 0.0025 second/family, the data accuracy reached 100%.
See Fig. 2 with the contrast of artificial treatment, shown in the upper figure of Fig. 2: through a large amount of measuring and calculating and experiments, along with the increase of number of users in enormous quantities, the accumulative total operating time is not into multiple to be increased, but is subjected to personnel's the factor affecting such as fatigue, and the time can increase gradually.For example: process 2500 user data and need to spend 130.21 hours, processing 5000 user data then needs to spend 312.5 hours.
Shown in Fig. 2 figure below, to process 5000 user data as example, if the artificial treatment data, average unique user needs 225 seconds consuming time.If use the patented technology deal with data, average unique user needs 0.0025 second consuming time.
In a word, the above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.

Claims (7)

1. a method of automatically processing telephone subscriber's cutover data in enormous quantities is characterized in that, comprising:
Each performance establishment comparable data for the user;
To the relevant parameter initialization, and to line by line identification of user data report, until recognize " plain old telephone is reported and successfully begun sign ";
Travel through described user data report, judge whether the unique user data report finishes in the user data report, does not finish if, and then identifies the performance of unique user, adds the access customer script; Otherwise the unique user data report is finished up;
Remove the inactive users that does not have performance by circulation, with the performance statement output of finishing dealing with.
2. the method for automatic processing telephone subscriber according to claim 1 cutover data in enormous quantities is characterized in that, the step of described establishment comparable data specifically comprises:
Create a switch class; comprise " reading " and " generation " statement in such, two quasi-sentences all comprise the comparable data of following performance: plain old telephone is reported and is successfully begun sign; plain old telephone is reported and is unsuccessfully begun sign; finish sign; numbering head; common group 02; IP group 08; pre-payment group 09; telephone-moving group 21; telephone-moving IP group 22; payphone group 05; payphone group 03; domestic sign; international sign; stop the words sign; arrearage singly stops sign; the two signs of stopping of arrearage; the Telephone volume compression or expansion arrangement sign; come aobvious sign; call out and shift; the interruption-free sign; the quarter-bell sign; the Call Waiting sign; temperature line sign; the Three-Way Calling sign; the abbreviated dialing sign; call blocking; the antipole sign.
3. the method for automatic processing telephone subscriber according to claim 2 cutover data in enormous quantities is characterized in that, and is described to also further comprising before the relevant parameter initialization:
By the report of traversal circulation user data, remove the space at every row end.
4. according to claim 2 or the method for 3 described automatic processing telephone subscribers cutover data in enormous quantities, it is characterized in that, described the initialized step of relevant parameter specifically comprised:
Whether create physics number sign, being used for the mark unique user is the physics user; Create counter variable, be used for recording user switch report Load Game sign; Establishment abbreviated dialing sign is used for the mark user and whether has the function of condensing; Establishment stops words signs, is used for the mark user whether to be in the guarantor's state of shutting down; Create user's script variable, be used for holding sole user's directive script;
That initialization physics number is designated is no, counter variable makes zero and abbreviated dialing is designated no;
Set up an array container that holds all user's scripts, be used for holding a plurality of user's scripts of establishment.
5. the method for automatic processing telephone subscriber according to claim 4 cutover data in enormous quantities is characterized in that, the described step that the unique user data report is finished up specifically comprises:
Judge whether this user is the physics user, if so, then append physics number processing statement;
Append the end process statement in ending place of user's script, physics number sign is initialized as no, user's script is appended to the array container;
Judge whether the user has the abbreviated dialing function, if having, statement is processed in abbreviated dialing be appended to the array container;
Judge whether the user stops words, as stop words, will stop to talk about the identification process statement and be appended to the array container;
Initialization user script, telephone number, abbreviated dialing sign, physics number sign, stop talking about identification parameter.
6. the method for automatic processing telephone subscriber according to claim 5 cutover data in enormous quantities is characterized in that, the described step that adds the access customer script specifically comprises:
Obtain the affiliated Subscriber Number of this user data report, append the Subscriber Number that generates numbering head function treatment instruction and obtain to user's script; Determine whether physics number, if physics number, physics number sign be set to be;
If the user is physics number and do not have the IP function, then append to user's script and generate telephone-moving IP and organize 21 function treatment statements; If the user is physics number and has the IP function, then append to user's script and generate telephone-moving IP and organize 22 function treatment statements;
Judge by IP group 08, pre-payment group 09, telephone-moving IP group 22, payphone group 05, payphone group 03 sign whether the user has the IP function, if do not have, and the user is not physics number, then appends common group of 02 function treatment statement of generation to user's script;
Judge by domestic sign whether the user has domestic function, if having, then append to user's script and generate domestic function treatment statement;
Judge by world sign whether the user has international function, if having, then append to user's script and generate international function treatment instruction;
Judge by stopping the words sign whether the user applies for suspending conversation, if so, then the words sign of stopping with described establishment activates;
Singly stop the two signs of stopping of sign and arrearage by arrearage and judge whether arrearage of user, if so, then append the generation arrearage to user's script and stop talking about the function treatment instruction;
Judge by the Telephone volume compression or expansion arrangement sign whether the user has chaperone function, if so, then append to user's script and generate the chaperone function processing instruction;
By coming aobvious sign to judge whether the user has incoming call display function, if so, then append to user's script and generate the incoming call display function processing instruction;
Judge by the interruption-free sign whether the user has do-not-disturb functionality, if so, then append to user's script and generate the do-not-disturb functionality processing instruction;
Judge by the quarter-bell sign whether the user has alarm, if so, then append to user's script and generate the alarm processing instruction;
Judge by the Call Waiting sign whether the user has call waiting function, if so, then append to user's script and generate the call waiting function processing instruction;
Judge by the antipole sign whether the user has the antipole function, if so, then append to user's script and generate the instruction of antipole function treatment;
Judge by warm line sign whether the user has warm line function, if so, then append to user's script and generate the instruction of warm line function treatment;
Judge by the Three-Way Calling sign whether the user has three-party talking function, if so, then append to user's script and generate the three-party talking function processing instruction;
Judge by the abbreviated dialing sign whether the user has the abbreviated dialing function, if so, then the abbreviated dialing sign with described establishment activates;
By calling out to shift to identify to judge whether the user has been transferred to phone other number, if so, then append to user's script and generate the call forwarding function processing instruction;
Judge by the call blocking sign whether the user is provided with call blocking, if, then create the user and exhale the limit cryptographic variable, the counter variable numerical value that the call blocking sign is expert at adds 1, and add report line data content after 1 and be set to the user and exhale the limit password, append the user who generates call blocking function treatment instruction and obtain to user's script and exhale the limit password.
7. the method for automatic processing telephone subscriber according to claim 6 cutover data in enormous quantities is characterized in that, described removal does not have the step of the inactive users of performance specifically to comprise:
It is 26 characters that the unique user performance is revised script length, and to finish identifying the unique user performance script of ending as inactive users.
CN201210345452.4A 2012-09-17 2012-09-17 The method of the big batch cutover data of a kind of automatic process telephone subscriber Active CN102891936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210345452.4A CN102891936B (en) 2012-09-17 2012-09-17 The method of the big batch cutover data of a kind of automatic process telephone subscriber

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210345452.4A CN102891936B (en) 2012-09-17 2012-09-17 The method of the big batch cutover data of a kind of automatic process telephone subscriber

Publications (2)

Publication Number Publication Date
CN102891936A true CN102891936A (en) 2013-01-23
CN102891936B CN102891936B (en) 2016-06-08

Family

ID=47535290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210345452.4A Active CN102891936B (en) 2012-09-17 2012-09-17 The method of the big batch cutover data of a kind of automatic process telephone subscriber

Country Status (1)

Country Link
CN (1) CN102891936B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179810A (en) * 2007-11-14 2008-05-14 中国移动通信集团福建有限公司 HLR worksheet processing device based on CORBA interface fast write-in
CN101415006A (en) * 2008-11-25 2009-04-22 华为技术有限公司 Method, apparatus and system for signaling migration
CN101510831A (en) * 2009-02-25 2009-08-19 南京联创科技股份有限公司 Full-automatic firing method for wideband individual line subscriber based on flowpath optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179810A (en) * 2007-11-14 2008-05-14 中国移动通信集团福建有限公司 HLR worksheet processing device based on CORBA interface fast write-in
CN101415006A (en) * 2008-11-25 2009-04-22 华为技术有限公司 Method, apparatus and system for signaling migration
CN101510831A (en) * 2009-02-25 2009-08-19 南京联创科技股份有限公司 Full-automatic firing method for wideband individual line subscriber based on flowpath optimization

Also Published As

Publication number Publication date
CN102891936B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN106020948A (en) Flow process scheduling method and device
US11050880B2 (en) Method of providing a recent call list, software product, telecommunications device and system
CN107404589A (en) Kind identification method, device and the terminal device of call number
CN109711189B (en) Data desensitization method and device, storage medium and terminal
CN108418978B (en) Dynamic route control method, device, computer equipment and storage medium
CN107463492A (en) Application failure localization method and device
CN108123810A (en) A kind of error bills processing method and processing device
CN107690002A (en) Communication means and device, system, computer installation and readable storage medium storing program for executing
CN102799820B (en) A kind of restoration methods of user cipher
CN102098699A (en) Method and device for verifying user data in telecommunication system
JP6371264B2 (en) Notification device and notification method
CN110600056A (en) Voice quality inspection method and device
CN102891936A (en) Method for automatically processing mass cutover data of telephone subscriber
CN111241112A (en) Micro-service call supervision system and method for guaranteeing idempotent
KR100977001B1 (en) Automated response system for providing guidance classified by customer
US20150312411A1 (en) Method for directing a phone call to a web-based menu access point via a passive telephone access point
JP2013200814A (en) Customer service support system, agent terminal device, management device, customer service support method, and program
CA2947248C (en) Method and apparatus for providing communication interaction visibility
CN103489051A (en) Method for checking and normalizing customer information in multiple information systems of fund company
CN110688490A (en) Method and device for configuring knowledge graph
CN106547679B (en) Script management method and script management platform
CN109274840A (en) Information interacting method and device in a kind of voice response system
CN104469012B (en) Mobile communication terminal is harassed store method and the mobile communication terminal of address
US9473615B2 (en) Computer readable method for speed dialling numbers including repetitive-digits and 800
CN112905353A (en) Service calling information generation method and device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant