CN1232095C - Processing method for supplementary service of switch - Google Patents

Processing method for supplementary service of switch Download PDF

Info

Publication number
CN1232095C
CN1232095C CN 02143638 CN02143638A CN1232095C CN 1232095 C CN1232095 C CN 1232095C CN 02143638 CN02143638 CN 02143638 CN 02143638 A CN02143638 A CN 02143638A CN 1232095 C CN1232095 C CN 1232095C
Authority
CN
China
Prior art keywords
supplementary service
user
keyword
input
processing method
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.)
Expired - Fee Related
Application number
CN 02143638
Other languages
Chinese (zh)
Other versions
CN1486064A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02143638 priority Critical patent/CN1232095C/en
Publication of CN1486064A publication Critical patent/CN1486064A/en
Application granted granted Critical
Publication of CN1232095C publication Critical patent/CN1232095C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Exchange Systems With Centralized Control (AREA)

Abstract

The present invention discloses a processing method for a telecommunication field to use new services, which is convenient for telecommunication new services to be used and allows telecommunication operators to conveniently define new services. The present invention comprises the following steps: 1), syntax format rules are arranged according to different services; 2), service operating character series input by users are flexibly matched by the syntax format rules, and are resolved into corresponding keywords and numbers; 3), the keywords are stored to analyze service syntax, and the service operation of the users are executed when analytical results are right; 4), the users who input the service operating character series are checked in validity, and the services are enrolled, canceled, verified and used according to the resolved and stored keywords and numbers. The present invention can satisfy the requirement that input formats of the users can be different when the same service is used by different countries or regions, and can satisfy the requirement of a use method that telecommunication departments flexibly arrange the telecommunication new services. The present invention has strong generality and good maintainability.

Description

Supplementary service processing method in a kind of switch
Technical field
The present invention relates to the additional business processing method in the stored-program control exchange.
Background technology
In existing programme-controlled exchange, except that supporting basic voice call, also need to support various supplementary services, for example call transfer service.For each countries and regions, although the supplementary service kind is a lot, the method for the realization of identical services is mostly identical, just professional using method difference.Abbreviated dialing in the following table be registered as example:
Brazil *51 *Two number of condensing * full call #
Russia *51 *Two number of condensing * full call # *51 *The number of condensing a * full call #
Zimbabwe *51 *Two number of condensing full call # *51 *The number of condensing a full call #
Present existing additional business processing method is that " * ", " # " that directly judges the fixed position decides professional form, thereby carries out the extraction and the analysis of basic element the processing of above-mentioned abbreviated dialing supplementary service.The complete process operation of a supplementary service generally includes three processing procedures: check that authority, inspection form, registration or cancellation become supplementary service.Be that example is described for example to present additional business processing method with the registration abbreviated dialing below.
Suppose that the abbreviated dialing register format is *51 *MN *PQRABCD#, wherein *51 *Be the professional prefix of abbreviated dialing, MN is an abbreviated number, and PQRABCD is an original telephone number.Use the user of abbreviated dialing supplementary service only to dial *MN just can replace dialling the trombone of a PQRABCD representative.Such as dialling behind user's off-hook that the abbreviated dialing authority is arranged *51 *01 *66600000 *, the user has just registered abbreviated dialing service like this, and this customer call 66600000 only needs off-hook to dial from now on *01, switch just can be called out 66600000 users automatically.
Existing additional business processing method is handled in the following manner to the registration of above-mentioned abbreviated dialing supplementary service:
The user dials the number that cries and deducts professional prefix during with registration *51 *, the number 01 of its back *66600000# all is put in the character string, if last position of judging this character string for # number, the 3rd of number be *, abbreviated number the first and second equal numeral, think promptly that the user registers to import correctly, otherwise just think mistake, carry out error handling processing.That is to say that existing method thinks that fixedly the length of abbreviated number is two, and necessarily has thereafter * number.Suppose that the abbreviated number with two is stored among the memory cell bcd of switch, then bcd=num[0] * 10+num[1].Simultaneously, existing method thinks fixedly that also number is since the 4th, is converted into binary-coded decimal and is kept in the memory cell of switch.
From the processing procedure of above-mentioned abbreviated number as can be seen, the tupe of the supplementary service of existing method is fixed, and the defeated people's of supplementary service form can not change, and will cause the error judged if change.For example, if the abbreviated dialing form of a country is an abbreviated dialing, as *51 *1 *66600000#, then mistake will appear in Shang Mian deterministic process, and must remodify software to adapt to its variation this moment at this national abbreviated dialing supplementary service.Because the situation that similar above-mentioned traffic format is different in the reality is a lot, and can't predict, just must upgrade software adapt to the variation of different supplementary service forms like this at different forms.
Also have the number of some supplementary services itself uncertain in the reality, must provide office side, so just can only abandon judgement, much only judgements last whether " # " of importing under the situations it.With top example, the trombone of number just can't judge, because the number length that different local user uses is inconsistent, having plenty of 66600000 is eight number long, and what have may be 6600000 to be seven number long, can only not add judgement.This just makes the correctness of number be difficult for determining.Simultaneously, in the supplementary service analytic process, when form judgement and condition analysis are made in user's input, the method for taking fixed mode to judge, promptly dumb, also be unfavorable for later software modification and misarrangement.
In sum, the shortcoming of existing additional business processing method is:
1) very flexible, traffic format change slightly with regard to the software of this method of palpus upgrade application, are unfavorable for guaranteeing the stable and maintenance of existed system.
2) format checking function imperfection.
3) versatility is poor, can not use same processing method to satisfy the needs of country variant, and the processing method version that the difference of professional using form must be different cooperates, and has increased the maintenance workload of software.
4) safeguard inconvenience, if professional the variation, must be by the software version of professional's upgrade application method.
Summary of the invention
The object of the present invention is to provide that a kind of highly versatile, checking function are many, supplementary service processing method in the switch being convenient to safeguard.
For achieving the above object, supplementary service processing method in the switch provided by the invention comprises:
Step 1: the syntax format rule of each supplementary service is set, and described syntax format rule comprises professional keyword, number length;
Step 2: the business operation character string of user's input is decomposed into correspondent keyword according to the syntax format rule of the corresponding supplementary service of described setting, described keyword is carried out format analysis, when analysis result is correct, preserve this keyword, carry out user's business operation according to the keyword of preserving.
Also comprise between described step 1 and the step 2: the user to incoming traffic operational character string carries out scope check.
Described in the step 2 described keyword is carried out format analysis, preserving this keyword when analysis result is correct also comprises: according to the syntax format rule of the corresponding supplementary service that is provided with the business operation character string of user's input is carried out validity and judge, when judged result is the business operation character string of user input when effective, carry out user's business operation then.
It is to realize by the keyword of preserving is carried out the inspection of supplementary service condition that described syntax format rule according to the corresponding supplementary service that is provided with is carried out the validity judgement to the business operation character string of user's input.
Described method also comprises: set up the data structure of the syntax format rule be used to preserve each supplementary service, and set up the data structure that is used to preserve the keyword after the business operation character string of user's input decomposed.
Data in the data structure that the described business operation of carrying out the user according to the keyword of preserving of described step 2 is the keyword after according to described preservation the business operation character string of user's input being decomposed are finished.
Described data structure is the static structure array.
Compare with present existing method, because the present invention is by being provided with the syntax format rule of each supplementary service, the keyword of condition and use, and utilize above-mentioned syntax format rule and condition that the business operation character string of user's input is decomposed into correspondent keyword, and described keyword carried out format analysis, feasible employing method of the present invention, as long as determined the supplementary service syntax format rule of the reality in country variant or area, the keyword of condition and use, can realize not changing the additional business processing method software of switch operation itself, just can unify to handle with supplementary service form that may occur, make the versatility of system known, maintainable and function improves greatly.In addition, when carrying out the traffic format inspection, also perform the preparation of necessity, thereby improved the efficient that supplementary service is handled for the inspection of supplementary service condition.
Description of drawings
Fig. 1 is the method for the invention embodiment flow chart.
Embodiment
Supplementary service processing method is suitable for the demand of the different business form in country variant or area in the switch of the present invention, with a kind of professional input form of determining or be provided with the reality of using state or area based on the syntactic analysis of describing, not only can known form be cooperated, also the form that may occur is all unified to handle, and do not need to change the switch software itself that moves according to the method for the invention.
The present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 is the business diagnosis flow chart that the method for the invention adopts.According to Fig. 1, the syntax format rule of each supplementary service at first is set, described syntax format rule comprises professional keyword, number length, the position of additional character " * " or " # ", and definition one static structure array p is used to preserve the form of supplementary service syntax rule, for ease of supplementary service is analyzed in system, also to define a static structure pResult, be used to deposit the result of syntactic analysis.Like this, after the user imported supplementary service operational character string, at first scope check was carried out in the supplementary service that will operate step 1 couple user, to judge this user whether the authority of using this supplementary service was arranged; Check result in step 2 pair step 1 is judged, if the user does not pass through information, then end operation in step 3 to this user feedback scope check not by checking; If the user is by checking, then in step 4 to the supplementary service format string inspection of proceeding user input, judge in the check result of step 5 pair step 4 then, if by checking, do not pass through information, end operation then in step 6 to this user feedback format checking; If by checking, then the specifying information of the format checking time-division being separated the supplementary service character string that will operate of the user's input that obtains in step 7 is preserved, so that be this supplementary service executed by user operation, information after step 8 continuation is to the decomposition of the supplementary service character string of the operation of user's input is carried out the inspection of supplementary service condition then, judge in the check result of step 9 pair step 8 then, if the user is not by checking, do not pass through information, end operation then in step 10 to this user feedback condition inspection; If the user is by checking, the then supplementary service that will operate according to the user, if be the registration supplementary service, then in step 11 corresponding supplementary service registration, if be the deletion supplementary service, then in step 12 corresponding supplementary service deletion for this user does for this user does, if be the operation supplementary service, then in step 11 corresponding supplementary service operation, if for the verification supplementary service, then in step 11 corresponding supplementary service verification for this user does for this user does.
Above-mentioned steps 4 supplementary service format checkings are whether the supplementary service format string of checking user's input meets the syntax format rule that sets in advance, and by professional syntax format rule the supplementary service format string that the user imports are decomposed into correspondent keyword.Because pre-defined static structure array p in system, be used to preserve set grammar rule format string, therefore, can just can leave among another static structure array pResult according to the result that the grammar rule format among the array p carries out syntactic analysis to the supplementary service format string that will operate of user's input, after analyzing end, it is direct according to carrying out respective operations according to information among the pResult to call the corresponding service processing function.Abbreviated dialing service with Brazil is an example, and its traffic format string is pre-defined to be A2 *N7 at first checks A2 *Whether this form of N7 is correct, if correct, promptly meets the syntax format rule request that sets in advance, and undefined character and space do not occur, decomposes the dialing of user's input then, registers abbreviated dialing such as the user, *51 *01 *6600000#, by *51 *Judgement should be an abbreviated dialing service, and the syntax format rule string that uses is A2 *N7, obtaining by A2 be that two abbreviated dialing is arranged, the back with *Finish, read in 01 *Check correct format, decompose to come out to be put in the corresponding field of static structure array pResult with 01, as the abbreviated number territory, what learn that the user continues to import according to N7 then should be 7 item sign indicating numbers, therefore, after reading in 6600000#, check correct format, at this moment, decompose to come out to be put in the static structure array pResult dial number with 6600000 and preserve, the key of the supplementary service of this user's input has all obtained and has been stored in the relevant position like this.Certainly, also can after all decomposing correct judgment, the information 01 and the number 6600000 that obtain be preserved in the lump.As from the foregoing, the method that the method for the invention is got key with respect to present fixedly judgement position has very big flexibility, to the unusual flexible definition of the dial mode of supplementary service.
Owing to need carry out the operation of corresponding supplementary service according to decomposing the value of information of coming out to be put into static structure pResult, at this time just need judge whether user's input is effective according to concrete supplementary service.Such as the situation of top abbreviated dialing, the abbreviated number territory that obtains is 01, iff allowing 01~19, if with having imported 20 then think and therefore need user's input error to pass through step 8 and carry out the inspection of supplementary service condition.Registration supplementary service described in Fig. 1, cancellation supplementary service, use four kinds of operations that supplementary service and verification supplementary service are the use supplementary services that provide of present embodiment, each concrete business is handled respectively by the corresponding service processing function, be not limited to above-mentioned four kinds of operations in the reality certainly.
Comprise content in the described professional keyword message reality of Fig. 1 with following character representation:
T: express time; N: represent common number; A: expression abbreviated number; P: expression password; O: expression Old Password; F: expression new password; C: indication circuit number; M: representation module number; K: expression dialing restriction class value; *: the expression separator; #: represent professional suffix; : represent elongated figure place.
By the description of the professional keyword that provides above, each supplementary service information can be described by a monocase and the long describing word in position that is right after thereafter.For example P4 represents 4 passwords, and M2 represents 2 module No.s.Be be telephone number owing to elongated, available N? expression.Be registered as example with abbreviated dialing, the pattern of the input of the Brazil that provides previously, Russia, Zimbabwe is described below:
Brazil *51 *Two number of condensing * full call # A2 *N?
Russia *51 *Two number of condensing * full call # *51 *The number of condensing a * full call # A2 *N? A1 *N?
Zimbabwe *51 *Two number of condensing full call # *51 *One is the good # of the number of condensing full call A2N? A1N?
A2 *N?, A1 *N? such pattern of the input is described, and is supplementary service grammar rule format string, and its length is divided fixed length and elongated two kinds.
From the above mentioned, by the supplementary service grammar rule format string that sets in advance subscriber dialing is carried out in the analytic process, the essence of format checking is and will be complementary by user's input string (having removed the supplementary services call prefix) and supplementary service grammar rule format string, and in matching process, user's input string is decomposed into one by one side information by the supplementary service keyword, be filled among the specified structure array pResult.If both do not match, then return the format checking failure.After analyzing end, the Business Processing function can directly carry out respective operations according to this result.When the syntactic analysis of the input string that the user is imported proceeds to step 8, all side information should separated extraction and be filled among the structural array pResult or be in pointer other memory cell pointed with it in the input string, and then sample is just laid a good foundation for the execution of step 8.

Claims (7)

1, supplementary service processing method in a kind of switch comprises:
Step 1: the syntax format rule of each supplementary service is set, and described syntax format rule comprises professional keyword, number length;
Step 2: the business operation character string of user's input is decomposed into correspondent keyword according to the syntax format rule of the corresponding supplementary service of described setting, described keyword is carried out format analysis, when analysis result is correct, preserve this keyword, carry out user's business operation according to the keyword of preserving.
2, supplementary service processing method in the switch according to claim 1 is characterized in that, also comprises between step 1 and the step 2: the user to incoming traffic operational character string carries out scope check.
3, supplementary service processing method in the switch according to claim 2, it is characterized in that, described in the step 2 described keyword is carried out format analysis, preserving this keyword when analysis result is correct also comprises: according to the syntax format rule of the corresponding supplementary service that is provided with the business operation character string of user's input is carried out validity and judge, when judged result is the business operation character string of user input when effective, carry out user's business operation then.
4, supplementary service processing method in the switch according to claim 3, it is characterized in that it is to realize by the keyword of preserving is carried out the inspection of supplementary service condition that described syntax format rule according to the corresponding supplementary service that is provided with is carried out the validity judgement to the business operation character string of user's input.
5, according to supplementary service processing method in claim 1,2, the 3 or 4 described switches, it is characterized in that described method also comprises: set up the data structure of the syntax format rule be used to preserve each supplementary service, and set up the data structure that is used to preserve the keyword after the business operation character string of user's input decomposed.
6, supplementary service processing method in the switch according to claim 5 is characterized in that: the data in the data structure that the described business operation of carrying out the user according to the keyword of preserving of step 2 is the keyword after according to described preservation the business operation character string of user's input being decomposed are finished.
7, supplementary service processing method in the switch according to claim 5 is characterized in that: described data structure is the static structure array.
CN 02143638 2002-09-25 2002-09-25 Processing method for supplementary service of switch Expired - Fee Related CN1232095C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02143638 CN1232095C (en) 2002-09-25 2002-09-25 Processing method for supplementary service of switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02143638 CN1232095C (en) 2002-09-25 2002-09-25 Processing method for supplementary service of switch

Publications (2)

Publication Number Publication Date
CN1486064A CN1486064A (en) 2004-03-31
CN1232095C true CN1232095C (en) 2005-12-14

Family

ID=34148301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02143638 Expired - Fee Related CN1232095C (en) 2002-09-25 2002-09-25 Processing method for supplementary service of switch

Country Status (1)

Country Link
CN (1) CN1232095C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100539620C (en) * 2005-07-06 2009-09-09 华为技术有限公司 A kind of method that realizes that the supplementary service attribute is provided with
CN112394962B (en) * 2020-11-27 2024-01-26 中国银联股份有限公司 Service execution method, service logic updating method and device

Also Published As

Publication number Publication date
CN1486064A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US5790803A (en) Information network with server, call blocking, subscriber status, and attributes in a table, and selecting of terminal equipment
CA2240673C (en) Apparatus and method for dialing out of local area telephone calls
US20040010411A1 (en) Updating diagnostic device software and enabling features
US6981001B1 (en) Method and systems for default mapping mechanization
CN1112069C (en) Handset and method of operation thereof
US6295345B1 (en) Method and system for translating call processing requests
CN1232095C (en) Processing method for supplementary service of switch
US20020177438A1 (en) Method of registering services in mobile-communication system
JPH08314763A (en) Log information analyzer
CN1403895A (en) Calling party sign displayed on personal computer
US5923730A (en) Test of a call connection in an intelligent network by referring to accumulated call connections
US20070036288A1 (en) Personalized telephone number
US20020164978A1 (en) System and method for making telecommunication calls
CN1270752A (en) Method for controlling display operating interfaces of system-controlled terminals in a communications system
KR0183140B1 (en) Voice information service searching method using an initial consonant
JP2793565B2 (en) Inquiry counter system
CN1458784A (en) Method for exhancing telephone main call display and providing area information
US8560934B1 (en) Methods and systems for latitude/longitude updates
KR0119363B1 (en) Electronic exchange system
CN1142698C (en) Method and device for dialling IP telephone without dialling special service number
JPH06113020A (en) Automatic number changing system
CN1258151A (en) Method for setting up numbering scheme and providing service for high-grade intelligent network subscriber
CN115567639A (en) Dispatching telephone speed dialing method and system based on voice recognition
Vögel et al. SDL based prototyping of ISDN-DECT-PBX switching software
KR0160352B1 (en) Method of output of number transform service information in switching system

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20051214

Termination date: 20120925