CN103209267B - Method and device for calling - Google Patents

Method and device for calling Download PDF

Info

Publication number
CN103209267B
CN103209267B CN201310144262.0A CN201310144262A CN103209267B CN 103209267 B CN103209267 B CN 103209267B CN 201310144262 A CN201310144262 A CN 201310144262A CN 103209267 B CN103209267 B CN 103209267B
Authority
CN
China
Prior art keywords
match
service code
common
special number
matching result
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.)
Active
Application number
CN201310144262.0A
Other languages
Chinese (zh)
Other versions
CN103209267A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310144262.0A priority Critical patent/CN103209267B/en
Publication of CN103209267A publication Critical patent/CN103209267A/en
Application granted granted Critical
Publication of CN103209267B publication Critical patent/CN103209267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

An embodiment of the invention discloses a method and device for calling. The method includes: firstly matching service codes, and then matching special numbers/common numbers after service code matching fails. Compared with the prior art, due to the fact that service code matching is independent, all numbers input by a user do not need to be matched with all rules when one number is input each time, and therefore efficient processing of the service codes can be achieved. In addition, when some service code is matched, an unsigned integer datum (unloaded by the numbers) is matched with unsigned integer datum corresponding to the service code, namely two unsigned integer data are matched, and matching speed is improved further.

Description

Method of calling and device
Technical field
The present invention relates to communication technical field, more particularly, relate to method of calling and device.
Background technology
VoIP (Voice over Internet Protocol) technology refers to the sound signal of simulation after overcompression and package, with the form of data packet at IP(Internet Protocol, being called for short IP) environment of network carries out speech sound signal transmission.
VoIP has the Consumer's Experience the same with traditional PSTN, and its basic call flow is: user dials in analog station, and VOIP terminal collects the digits, and makes a call to the server in IP network and set up calling.
In general VoIP number has following three classes:
The number of ordinary call: be called for short common number here, fixed line number 020-xxxxxxxx, the phone number 159xxxxxxxx in such as each urban district, 800/400 number, 12580,17951xx etc.
Service code: refer to need manually input to start the number of business in business procedure, or the number of the business of enables/disables this locality realization.VOIP, except substantially conversing, also has various supplementary service, and such as call forwarding, Call Waiting, Three-Way Calling, alarm clock, malicious call trace, pos machine are swiped the card, intelligent public phone etc.The supplementary service that wherein some local terminal realizes needs incoming traffic code to come enables/disables, startup, some supplementary service needs, in the two-stage dialing after call is set up, service code is carried out business operation to seeing off, some supplementary service has the mutual process of a series of certification before connection establishment, in certification reciprocal process, service end can start timer, if confiscate response before timer expiry, this supplementary service will be failed.
Need the special number of the number of sending fast: some service needed VOIP terminal is seen these special numbers fast off before timer expiry.Such as when POS (VOIP terminal) is swiped the card, POS can initiate a calling to service centre, and POS can start a timer simultaneously.After interoperability services center, a series of interactive authentication can be carried out by Media Stream, if terminal is slow to service centre's number of sending, POS can not receive the response from service centre before timer expiry, this business also can be failed, so the dialing that POS initiates to service centre (special number) needs the number of sending fast.
Service code is generally no more than 8 numbers, and common number and special number may be less than 8, also may more than 8.Therefore, just make a call to server after receiving how many numbers, need VOIP terminal to carry out numbers match (rule match).
In the prior art, be unified carry out numbers match to service code, common number and special number, user often inputs a number, just by all numbers of user's input, with whole rule match one time.This matching way more and more can not meet the requirement that market efficiently processes service code.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide method of calling and device, to solve the problem.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
According to the first aspect of the embodiment of the present invention, a kind of method of calling is provided, comprises:
Monitor user ' dialer event in current dialer session;
When monitoring the dialer event of user, the number inputted when gathering subscriber dialing;
When meeting first and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, at least make all number unloadings collected in current dialer session be a string data;
Meet described first pre-conditioned time, described unsigned int data are carried out corresponding position to the unsigned int data in service code set of arrays mate, obtain service code the match is successful, service code semi-match or the service code matching result that it fails to match, described service code set of arrays comprises multiple unsigned int data, the service code that each unsigned int data correspondence one is default;
Meet described second pre-conditioned time, special number/common numbers match is carried out to described string data, at least obtains special number the match is successful, the success of common numbers match, common number part coupling or common numbers match failure matching result;
Obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1;
Described first pre-conditioned comprising does not draw service code final matching results, described service code final matching results comprises the service code matching result that the match is successful and the service code matching result that it fails to match, and described second pre-conditioned comprising draws the service code matching result that it fails to match.
In conjunction with first aspect, in the implementation that the second is possible, described special number/common numbers match comprises:
Carry out special number coupling to described string data, the match is successful or the special number matching result that it fails to match to obtain special number;
After drawing the special number matching result that it fails to match, common numbers match is carried out to described string data, obtain the matching result of successful, the common number part coupling of common numbers match or common numbers match failure.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, special number coupling is carried out to described string data and comprises:
The special number regularization term that described string data and special number number rule map are concentrated mated, each special number regularization term is a string data;
Carry out common numbers match to described string data to comprise:
The regularization term that described string data and basic number rule map are concentrated is mated, the regularization term that described basic number rule map is concentrated comprises common number rule item and special number regularization term, described special number regularization term is positioned at the afterbody of described common number rule item, further, each regularization term is a string data.
In conjunction with first aspect, or the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, in the implementation that the third is possible, described first pre-conditioned and second pre-conditionedly to characterize with condition identity m2_started, characterize when described m2_started gets the first numerical value meet first pre-conditioned, described m2_started get second value characterize meet second pre-conditioned.
In conjunction with first aspect, in the 4th kind of possible implementation, described Call-Control1 comprises:
When drawing the service code matching result that the match is successful, perform business logic processing with the service code matched;
When drawing the special number matching result that the match is successful, being used in current dialer session all numbers collected and making a call;
When obtaining the matching result of the success of common numbers match or common numbers match failure, being used in current dialer session all numbers collected and making a call.
In conjunction with first aspect, in the 5th kind of possible implementation, also comprise:
When obtaining the matching result of service code semi-match, return the step of described monitor user ' dialer event;
When obtaining the matching result of common number part coupling, return the step of described monitor user ' dialer event.
In conjunction with in the implementation that first aspect the second is possible, in the 6th kind of possible implementation, also comprise: perform initialization.
In conjunction with in first aspect the 6th kind of possible implementation, in the 7th kind of possible implementation, described initialization comprises:
Special number number partition of a graph is become special number regularization term;
Common number number partition of a graph is become common number rule item;
Construct described service code set of arrays, special number number rule map collection and basic number rule map collection.
According to the second aspect of the embodiment of the present invention, a kind of calling device is provided, at least comprises: LCM line control module, service code matching module, number figure resolve matching module and Call Control Block;
Described LCM line control module is used for, monitor user ' dialer event in current dialer session, when monitoring the dialer event of user, and the number inputted when gathering subscriber dialing;
Described service code matching module is used for, when meeting first and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be a string data, and meet described first pre-conditioned time, described unsigned int data are carried out corresponding position to the unsigned int data in service code set of arrays mate, the match is successful to obtain service code, service code semi-match or the service code matching result that it fails to match, described service code set of arrays comprises multiple unsigned int data, the service code that each unsigned int data correspondence one is default,
Described number figure resolves matching module and is used for, meet described second pre-conditioned time, carry out special number/common numbers match to described string data, the match is successful, common numbers match successful, common number part mates or the matching result of common numbers match failure at least to obtain special number;
Described Call Control Block is used for, obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1;
Described first pre-conditioned comprising does not draw service code final matching results, and described service code final matching results comprises, and described second pre-conditioned comprising draws the service code matching result that it fails to match.
In the first possible implementation of second aspect, also comprise Configuration Manager, described Configuration Manager is used for, and special number number partition of a graph is become special number regularization term; Common number number partition of a graph is become common number rule item; Construct described service code set of arrays, special number number rule map collection and basic number rule map collection.
Visible, in embodiments of the present invention, advanced row service code coupling, after at service code, it fails to match, just carry out special number/common numbers match, compared with prior art, independent due to service code is mated, therefore, no longer need often to input a number, just by all numbers that user inputs, with whole rule match one time, thus the efficient process of service code can be realized.In addition, when mating a certain service code, be unsigned int data corresponding with this service code for (by number unloading) unsigned int data mated, it is mate two unsigned int data in realization, the further speed that must improve coupling.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method of calling flow chart that Fig. 1 provides for the embodiment of the present invention;
Another flow chart of method of calling that Fig. 2 provides for the embodiment of the present invention;
The another flow chart of method of calling that Fig. 3 provides for the embodiment of the present invention;
The another flow chart of method of calling that Fig. 4 provides for the embodiment of the present invention;
The calling device structural representation that Fig. 5 provides for the embodiment of the present invention;
Collaboration process figure between the service code matching module that Fig. 6 provides for the embodiment of the present invention and other modules;
The collaboration process figure counted between figure parsing matching module and other modules that Fig. 7 provides for the embodiment of the present invention;
Another structural representation of calling device that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It is the gateway of telephone network to IP network that VOIP terminal can be understood as, and VOIP terminal is generally arranged in family or retail shop, is phone access terminal equipment.
When VOIP user dials in analog station, VOIP collects the digits, and just should make a call to server when receiving how many number actually, is determined by the dialing rule being present in VOIP terminal inner.VOIP terminal often receives a number, just utilizes dialing rule to carry out numbers match.
Before address, VOIP number is divided into service code, common number and special number.
Wherein, common number, has a series of regular expression to represent dialing rule (i.e. number figure), such as:
010xxxxxxxx|02xxxxxxxxx|0[3-9]xxxxxxxxx|0311xxxxxxxx|037[179]xxxxxxxx|04[135]1xxxxxxxx|051[0-9]xxxxxxxx|052[37]xxxxxxxx|053[12]xxxxxxxx|057[1345679]xxxxxxxx|059[15]xxxxxxxx。, a number figure may correspond to a multiple or regularization term.
Special number is the same with common number, also corresponding number figure.
And service code is pre-configured particular number, can exact matching, the therefore not corresponding number figure of service code.Service code is all shorter, is all generally about 3,4 numbers, can not more than 8 numbers.
In the prior art, be that unification carries out numbers match to service code, common number and special number, also, the regularization term of service code and common number and special number put together.User often inputs a number, just needs all numbers user inputted, mates one time with whole regularization term.If the regularization term of 100 service codes (also by service code also as regularization term) with common number and special number is put together, assuming that the regularization term of common number and special number also respectively has 100, like that when carrying out numbers match, the regularization term that will have more 1/3rd goes comparison match.
Further, in the prior art, all numbers of user's input store with the form of character string, and such as user Enters Number 123, then 1,2,3 can be saved as three characters, 1,2,3 these three characters form a character string.
Accordingly, service code, the regularization term of common number and the regularization term of special number are also store with the form of character string.For service code, assuming that service code is 12345, then it is stored as the character string that comprises 5 characters.
Like this, when mating, be that needs character character carries out mating.Still Enter Number 123 for aforementioned user, when it mates with service code 12345, the first character " 1 " in character string " 123 " is needed to mate with the first character " 1 " in service code character string " 12345 ", second character " 2 " in character string " 123 " is mated with second character " 2 " in service code character string " 12345 ", in character string " 123 " the 3rd character " 3 " is mated with the character " 3 " of the 3rd in service code character string " 12345 ", that is, coupling is needed three times.
In like manner, if user Enters Number " 12345 ", then need to mate five times with service code character string " 12345 ".
Therefore, existing matching way more and more can not meet the requirement that market efficiently processes service code.
In view of this, embodiments provide method of calling and device, to solve the problem.
When designing service code, just require that service code can not conflict mutually with common number and special number, therefore, service code does not occur simultaneously with common number and special number.Utilize this point, the core of the embodiment of the present invention is that service code is independent, service code coupling is separated processing with special number/common numbers match.
Based on above-mentioned core concept, see Fig. 1, above-mentioned method of calling at least can comprise the steps:
S1, in current dialer session monitor user ' dialer event;
S2, when monitoring the dialer event of user, the number that inputs when gathering subscriber dialing;
More specifically, user presses DTMF button, then input a number.DTMF defines 16 buttons (0 ~ 9, *, #, A, B, C, D) altogether, and plain old telephone uses 0 ~ 9, *, and # is totally 12 buttons, and other 4 is use under some application-specific.
S3, meet first pre-conditioned time, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, at least make all number unloadings collected in current dialer session be a string data;
S4, when meeting first and being pre-conditioned, above-mentioned unsigned int data are carried out corresponding position to the unsigned int data in service code set of arrays and mates, obtain service code the match is successful, service code semi-match or the service code matching result that it fails to match.
Wherein, the service code matching result that the match is successful and the service code matching result that it fails to match are service code final matching results, and service code semi-match is then the intermediate object program of service code coupling.
Above-mentioned service code set of arrays comprises multiple unsigned int data, and, the service code that each unsigned int data correspondence one is default.
More specifically, service code can be stored as unsigned int data, a number in every 4 (4bit) storage service codes, first number is stored in low 4, by that analogy.
For service code " 12345678 ", wherein " 1 " this number can be stored as " 0001 ", " 2 " this number can be stored as " 0010 ", " 3 " can be stored as " 0011 ", " 4 " can be stored as " 0100 ", and " 5 " can be stored as " 0101 ", and " 6 " can be stored as " 0110 ", " 7 " can be stored as " 0111 ", and " 8 " can be stored as " 1000 ".Then " 12345678 " can be stored as binary data: " 10000111011001010100001100100001 ".It should be noted that, in C language, the corresponding integer of above-mentioned binary data " 10000111011001010100001100100001 ", such as may correspond to a decimal integer 2271560481.
As for number *, #, A, B, C, D, then distinguish corresponding 1011,1100,1101,1110,1111,0000.
More specifically, service code can be existed in array unsigned int feature_code [], wherein, unsigned int represents unsigned int, and feature_code is array title.Unsigned intfeature_code [] is above-mentioned service code set of arrays.
In addition, though no more than 8 numbers of service code, length is unfixed, therefore, the length of each service code can be stored in (feature_code_len is array name) in service code length set of arrays unsigned int feature_code_len [].For example, as first corresponding service code * 91 of member's (being also first unsigned int data) in feature_code set of arrays, that is corresponding, and in feature_code_len set of arrays, first member is 3.
Available unsigned int feature_code [index] represents the i-th ndex member in feature_code set of arrays, and represents the length of the i-th ndex member in above-mentioned feature_code set of arrays with unsigned int feature_code_len [index].
S5, when meeting second and being pre-conditioned, special number/common numbers match is carried out to string data, at least obtains special number the match is successful, the success of common numbers match, common number part coupling or common numbers match failure matching result.
S6, obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1.
Wherein: the first pre-conditioned comprising did not draw service code final matching results, the service code matching result that it fails to match is drawn the second pre-conditioned comprising.
Visible, in embodiments of the present invention, advanced row service code coupling, after at service code, it fails to match, just carry out special number/common numbers match, compared with prior art, independent due to service code is mated, therefore, no longer need often to input a number, just by all numbers that user inputs, with whole rule match one time, thus the efficient process of service code can be realized.In addition, when mating a certain service code, be unsigned int data corresponding with this service code for (by number unloading) unsigned int data mated, it is mate two unsigned int data in realization, the further speed that must improve coupling.
More specifically, " making all number unloadings collected in current dialer session be unsigned int data " in above-mentioned steps S3 can comprise:
The all numbers collected in current dialer session are stored as the unsigned int data of 32 (32bit), every 4 numbers storing user and dial in, first number of user's input is stored in low 4, by that analogy.
" 12580 " are Entered Number for user, wherein " 1 " this number can be stored as " 0001 ", " 2 " this number can be stored as " 0010 ", " 5 " this number can be stored as " 0101 ", " 8 " this number can be stored as " 1000 ", and " 0 " this number can be stored as " 0000 ".Then " 12580 " can be stored as " 00001000010100100001 ".In like manner, in C language, " 00001000010100100001 " corresponding integer.
More specifically, all numbers that user can be inputted in current dialer session exist in data structure unsigned int addr_num, and wherein, unsigned int represents unsigned int, and addr_num is data structure name.
Certainly, in actual applications, user is the number input of a number, have input " 125 " for user, now, the data stored in unsigned int addr_num are " 010100100001 ", as user inputs " 8 " again, then " 8 " are converted into " 1000 " stored in unsigned int addr_num, then the data stored in unsigned int addr_num are " 1000010100100001 ", by that analogy.
In addition, also can store the number that user Enters Number in current dialer session simultaneously, be stored in data structure unsigned int digits_len.
Based on above-mentioned storage mode, when carrying out service code coupling, by the unsigned int data in unsigned int addr_num, can compare with the unsigned int data in unsigned int feature_code [] (service code set of arrays).
With the unsigned int data instance of the i-th ndex in feature_code set of arrays (being also the i-th ndex service code), when unsigned int digits_len equals unsigned int feature_code_len [index], just directly judge whether unsigned int addr_num equals unsigned int feature_code [index], if equal, be exactly that the match is successful for service code, if unequal, be exactly that it fails to match for service code.
And when unsigned int digits_len is less than unsigned int feature_code_len [index], such as, user have input " 123 ", and the i-th ndex the service code that unsigned int data are corresponding is " 12345 " in feature_code set of arrays, then carry out bit manipulation.
It should be noted that, the number " 123 " of user's input, the binary system unsigned int data that unloading becomes are " 001100100001 ", and the binary system unsigned int data of service code " 12345 " correspondence are " 01010100001100100001 ", so-called bit manipulation, refer to latter 12 in " 01010100001100100001 ", also be " 001100100001 ", the binary system unsigned int data " 001100100001 " become with by " 123 " unloading compare, if equal, it is exactly service code semi-match, be exactly that it fails to match for service code if unequal.
No matter whether unsigned int digits_len equals unsigned int feature_code_len [index], unsigned int addr_num and unsigned int feature_code [index] if between all carry out a numeric ratio and comparatively just can draw matching result.
And in the prior art, as user Enters Number 123, it mates with service code character string " 12345 ", need coupling three times; If user Enters Number " 12345 ", then need to mate five times with service code character string " 12345 ".Compared with prior art, the business matching way that the embodiment of the present invention provides, relatively less to the consumption of CPU, speed is also than comparatively fast.
As for, " string data " in " making all number unloadings collected in current dialer session be a string data " that above-mentioned steps S3 mentions can be stored in array unsigned char digits [].Wherein, unsigned char represents unsigned character, and digits is array title.
It should be noted that, because all no more than 8 numbers of service code, fairly simple, and need exact matching, therefore, adopt the data structure of unsigned int to store.But the number number of common number and special number more than 8, therefore, may be not suitable for the common number of data structure storage and the special number that adopt unsigned int.Therefore, in embodiments of the present invention, when the many mistakes of number 8 of user's input, the number of unsigned char data structure storage user input is adopted.
After at service code, it fails to match, the number no matter user inputs, whether more than 8, all adopts unsigned char data structure storage.Certainly, because service code also can not more than 8 numbers, so user also can not be there is dialled the situation that can also match with service code more than eight numbers.
Further, step S3 at least can have two kinds of implementations.
First kind of way is: when meeting first and being pre-conditioned, and the number inputted during subscriber dialing is distinguished unloading to unsigned int addr_num and unsigned char digits []; And when meeting second and being pre-conditioned, only by the number unloading that inputs during subscriber dialing in unsigned char digits [];
The second way is: when meeting first and being pre-conditioned, by the number unloading that inputs during subscriber dialing to unsigned int addr_num, and when meeting second and being pre-conditioned, by the data conversion storage in unsigned int addr_num in unsigned char digits [], afterwards, as user Enters Number again, then direct number unloading user inputted is in unsigned char digits [].
Special number/common numbers match when meeting second and being pre-conditioned will be introduced below.
Above-mentioned special number/common numbers match can comprise:
Carry out special number coupling to the string data in unsigned char digits [], the match is successful or the special number matching result that it fails to match to obtain special number;
After drawing the special number matching result that it fails to match, common numbers match is carried out to the string data in unsigned char digits [], obtains the matching result of successful, the common number part coupling of common numbers match or common numbers match failure.
More specifically, above-mentionedly special number coupling is carried out to the string data in unsigned char digits [] can comprise: the special number regularization term that the string data in unsigned char digits [] and special number number rule map is concentrated is mated.Wherein, each special number regularization term is a string data;
Above-mentionedly common numbers match is carried out to the string data in unsigned char digits [] then can comprise: the regularization term that string data in unsigned char digits [] is concentrated with basic number rule map is mated.Wherein, the regularization term that basic number rule map is concentrated comprises common number rule item and special number regularization term, special number regularization term is positioned at the afterbody of whole common number rule item, and no matter special number regularization term and common number rule item are a string data.
It should be noted that, when the regularization term that special number regularization term string data in unsigned char digits [] and special number number rule map concentrated or basic number rule map are concentrated is mated, be carry out character match.
In other embodiments of the present invention, see Fig. 2, before monitor user ' dialer event, said method also can comprise:
S0, execution initialization.
More specifically, see Fig. 3, above-mentioned initialization can comprise:
S01, special number number partition of a graph is become special number regularization term;
S02, common number number partition of a graph is become common number rule item;
The execution sequence of step S02 and step S01 can exchange.
S03, structure service code set of arrays, special number number rule map collection and basic number rule map collection.
In other embodiments of the present invention, above-mentioned steps S03 also can comprise:
Pre-configured service code is stored in array unsigned int feature_code [];
Common number rule item and special number regularization term are stored in array MAP_RULE_T dmap [];
Utilize the regularization term structure special number number rule map collection in MAP_RULE_T dmap [] and basic number rule map collection.
After having introduced special number/common numbers match, Call-Control1 will be introduced below.
In other embodiments of the present invention, above-mentioned steps S6 can specifically comprise:
When drawing the service code matching result that the match is successful, perform business logic processing with the service code that the number with input matches; Above-mentioned business logic processing specifically can comprise make a call, enable local service or remove enable local service, different according to the difference of service code function.
When drawing the special number matching result that the match is successful, being used in current dialer session all numbers collected and making a call.
When obtaining the matching result of the success of common numbers match or common numbers match failure, being used in current dialer session all numbers collected and making a call.
Certainly, after common numbers match failure, also can not make a call, directly exit.
In addition, in other embodiments of the present invention, see Fig. 4, after Call-Control1, the method for calling in above-mentioned all embodiments also can comprise:
S7, conversate reset process.
Concrete, session reset process can at least comprise: discharge current dialer session, starts new dialer session.
In addition, above-mentioned session reset process also can comprise the above-mentioned initialization of execution.
In other embodiments of the present invention, for simplicity, above-mentioned first pre-conditioned and second pre-conditionedly to characterize with condition identity m2_started, desirable first numerical value of m2_started and second value (the first numerical value and second value are not identical), characterize when m2_started gets the first numerical value meet first pre-conditioned, and will work as to characterize when m2_started gets second value satisfied second pre-conditioned.More specifically, the first numerical value can be false, 0 etc., and second value can be true, 1 etc.
Accordingly, it is the first numerical value that the session reset process in above-mentioned all embodiments also can comprise replacement m2_started, and, empty unsigned int addr_num and unsigned char digits [].
It is to be noted, carrying out in service code coupling and common numbers match process, (mate completely except the match is successful, refer to that the number of user's input has matched certain regularization term/service code completely, and do not exist match with Else Rule item/service code may), it fails to match (number that user input can not match certain regularization term/service code) outward, the in addition matching result of semi-match.
Semi-match can comprise two kinds of situations:
The first situation is, the forward part of a certain regularization term/service code in the numbers match of user's input, and rear section also needs to continue to collect number and mates, and such as regularization term/service code is 12580, when user only inputs 125 3 numbers, is exactly semi-match.
The second situation is, the number of user's input has matched a certain regularization term/service code completely, but also there is the possibility that may match other regularization term/service codes.Such as, there are two regularization term/service codes 123 and 12345, user inputs 123, matches the regularization term/service code of 123 completely, but also exist user continue dial with match 12345 these regularization term/service codes may, this is also semi-match.
Based on this, said method also can comprise:
When obtaining the matching result of service code semi-match, return the step of monitor user ' dialer event.
When obtaining the matching result of common number part coupling, return the step of above-mentioned monitor user ' dialer event.
The executive agent of above-mentioned method of calling can be calling device, and see Fig. 5, calling device can comprise LCM line control module M0, service code matching module M1, number figure resolves matching module M2, Configuration Manager M3 and Call Control Block M4.M0 to M4 module, can be logic module, also can be hardware module, such as, can be FPGA plate.When M0-M4 module is logic module, calling device can comprise CPU, flash and internal memory on hardware.
Calling device specifically can be above-mentioned VOIP equipment, also can be other equipment that can realize VOIP functions of the equipments, such as, can comprise VOIP module, and VOIP module can realize all functions of aforementioned M0 to M4 module in calling device.
The monitoring of above-mentioned LCM line control module M0 primary responsibility VOIP physical circuit, such as, pluck the monitoring of/on-hook, dialing, Flash, fax/Modem etc., and play signal sound, ring, put aobvious, connect the control actions such as DSP passage.
Above-mentioned service code matching module M1 primary responsibility service code coupling.
Above-mentioned number figure resolves matching module M2 primary responsibility special number coupling and common numbers match.Number figure " parsing " of resolving in matching module is embodied in this module and mates according to several rule map the number that user inputs, and whether resolve this number has corresponding several rule maps to match.
Above-mentioned Configuration Manager M3 primary responsibility performs initialization: service code, special number number figure, common number number figure are constructed aforesaid service code set of arrays, special number number rule map collection and basic number rule map collection.
Each startup calling device or when restarting separately VOIP module, Configuration Manager M3 can carry out initialization, or amendment VOIP relevant parameter also can trigger M3 module and carry out initialization.
The process of above-mentioned Call Control Block M4, primary responsibility VOIP signaling related service, also comprises Call-Control1.
Below, will, with module for describing granularity, continue to set forth technical scheme of the present invention.
Now elder generation is with service code matching module M1 for leading role, mainly describes in detail to service code coupling aspect.
Shown in Figure 6, the collaboration process between service code matching module M1 and other modules is specific as follows:
Configuration Manager M3 carries out initialization, according to the form of every 4 storages number from low 4, each service code is deposited unsigned int feature_code [].
User's off-hook, off-hook event is passed to service code matching module M1 by LCM line control module M0.M1 starts a new dialer session, and does the initialization operation of related data structures, comprises and being resetted by mark m2_started, makes m2_started value be the first numerical value (false).When m2_started value is the first numerical value, characterize and meet above-mentioned first pre-conditioned, now, the number that M0 module acquires reports first carries out service code coupling at service code matching module M1.
Subscriber dialing, M0 module detects subscriber dialing event, and dialing information (user dialled the number) is passed to service code matching module M1.
After M1 receives dialing information, first judge whether current m2_started mark is TRUE, if be FALSE, M1 is just for further processing, also be, in number unloading to two data structure that M0 is reported up, also i.e. aforesaid unsigned int addr_num and unsigned char digits [], and the number of whole numbers of inputting in current dialer session of recording user (also i.e. length).If be TRUE, unsignedchar digits [] and unsigned int digits_len, to unsigned char digits [], is passed to number figure parsing matching module M2 and does special number/common numbers match by the number unloading then reported up by M0 by M1 module.
After unloading, service code matching module M1 just resets long timer.Resetting long timer can be included in when not starting long timer, starts long timer, and, when starting long timer, long timer is reset.Long timer is also named interdigit long timer, and characterizing consumer has dialled a number to dialling the maximum time that can stop between next number.Here resetting long timer, is to wait for that user continues dialing and uses.
After unloading, service code matching module M1 by unloading to the number in unsigned int addr_num, compare with the unsigned int data in unsigned int feature_code [] (service code set of arrays), obtain service code the match is successful, service code semi-match or the service code matching result that it fails to match.
With the unsigned int data instance of the i-th ndex in feature_code set of arrays (being also the i-th ndex service code), when unsigned int digits_len equals unsigned int feature_code_len [index], just directly judge whether unsigned int addr_num equals unsigned int feature_code [index], if equal, be exactly that the match is successful for service code, if unequal, be exactly that it fails to match for service code.
And when unsigned int digits_len is less than unsigned int feature_code_len [index], then carry out aforesaid bit manipulation, if equal, being exactly service code semi-match, is exactly that it fails to match for service code if unequal.
When it fails to match for service code, service code matching module M1 removes long timer, just unsigned char digits [] and unsigned int digits_len is passed to number figure parsing matching module M2 and go process, putting m2_started is TRUE, after this, the dialing information of M1 just not reprocessing user in current dialer session, directly gives M2 to process;
When the match is successful completely for service code, suppose to mate with the i-th ndex member in feature_code, this index is just passed to Call Control Block M4 by M1, business logic processing is performed by M4, simultaneously, service code matching module M1 removes above-mentioned long timer, discharge current dialer session, restart a new dialer session, m2_started is set to False, and empties unsigned int addr_num, unsigned char digits [] and unsigned int digits_len;
When service code semi-match, with the long timer starting before/reset to wait for the continuation dialing of user, if long timer expiry does not also have key-press input, just process as it fails to match, putting m2_started is TRUE, unsigned char digits [] and unsigned int digits_len is passed to M2 and goes dissection process, the dialing information of M1 just not reprocessing user in current dialer session, directly gives M2 to process.
After having introduced service code coupling, existing to count figure parsing matching module M2 for leading role, mainly service code coupling aspect is described in detail.
After data in unsigned char digits [] pass to M2 from M1, in M2, first carry out special number coupling, just make Call Control Block M4 make a call if the match is successful at once; It fails to match just does matching treatment at once in common number number figure.
In special number coupling, there is not the concept of semi-match, only have that the match is successful and it fails to match two kinds of matching results, and, in special number matching process, also can not start any timer.If it fails to match for current special number, user has Entered Number again, first does special number coupling too.Like this, as long as special number is given Call Control Block M4 and made a call once the match is successful, just the number of sending fast can be realized, and special number is after it fails to match, does not also affect common numbers match.Because special number coupling does not start any timer, therefore, energy and common numbers match carry out seamless link.
When after the failure of special number rule match, just carry out common numbers match.Common numbers match relative complex some.The matching result of common numbers match can comprise that the match is successful, and it fails to match and semi-match.
When common numbers match failure, number figure resolves matching module M2 and discharges current dialer session, and putting m2_started is False, announcement trunk control module M0 discharge signal prompt tone;
When common numbers match success, number figure parsing matching module M2 passes to M4 module all numbers that user inputs and makes a call, and discharge current dialer session, putting m2_started is False;
During common number part coupling, number figure resolves matching module M2 and resets the continuation dialing that user waited for by corresponding timer (M2 inside realizes).Resetting corresponding timer can be included in when not starting corresponding timer, starts timer, and, when starting timer, timer is reset.
Number figure resolves matching module M2 waits for user continuation dialing by resetting dmap_timer timer.It should be noted that, dmap_timer timer is a timer for the overall situation, and it can be configured to short timer device, also can join for long timer (the long timer of interdigit).
What needs further illustrated is, common numbers match has maximum coupling and smallest match two kinds of patterns, under maximum match pattern, when semi-match, number figure parsing matching module M2 puts dmap_timer timer and is short timer device and starts, and directly makes a call after time-out.And under smallest match pattern, when semi-match, number figure parsing matching module M2 puts dmap_timer timer and is the long timer of interdigit and starts, directly make a call after the long timer expiry of interdigit.
Shown in Figure 7, the collaboration process that number figure resolves between matching module M2 and other modules is specific as follows:
When software initialization, or during number figure config update, Configuration Manager M3 converts two rule sets to respectively special number number figure, common number number figure: special number number rule map collection and basic number rule map collection.
Subscriber dialing, it fails to match for service code matching module M1, and unsigned char digits [] and unsigned int digits_len is transmitted, and initiates number figure resolve matching request by M1 module.
Number figure resolves matching module M2 and first the regularization term that the character data in unsigned char digits [] and special number number rule map are concentrated is mated: traversal special number number rule map concentrates each regularization term, a regularization term more whether is had to match current dialing completely, if do not had, it fails to match to be just equivalent to special number, then carry out common numbers match; If matched completely, the match is successful for special number, just all numbers of user's input are passed to Call Control Block M4 to make a call, discharge current dialer session, restart a new dialer session, and empty unsigned int addr_num, unsigned char digits [] and unsigned int digits_len, m2_started is set to False.
After when special number, it fails to match, M2 first resets dmap_timer and is long timer (being also the long timer of interdigit) and starts, and carries out common numbers match.Dmap_timer is set to long timer, and effect is the input waiting for possible next number, if time-out does not input just carry out the corresponding process shown in Fig. 7.
When carrying out common numbers match, more each regularization term of traversal basic number rule map collection (common number figure+special number number figure), have a regularization term to match current dialing completely.
If mated completely with wherein there being a regularization term, represent the success of common numbers match, remove above-mentioned dmap_timer timer, all numbers of user's input are passed to Call Control Block M4 make a call, discharge current dialer session, restart a new dialer session, and empty unsigned int addr_num, unsigned char digits [] and unsigned int digits_len, m2_started is set to False;
If one of them regularization term on semi-match, reset dmap_timer timer (dmap_timer timer being set to short timer device or long timer by different mode), wait for user's dialing below.It should be noted that, when m2_started is TRUE, each subscriber dialing is all wanted first to pass over from M1, first carries out special number coupling, then carry out common numbers match by M2;
The failure of common numbers match, Call-Control1 now can comprise notice M0 and put prompt tone it fails to match with prompting, does not make a call, and also can comprise being used in current dialer session all numbers collected and making a call.Subsequently, discharge current dialer session, restart a new dialer session, and empty unsigned int addr_num, unsigned char digits [] and unsigned int digits_len, m2_started is set to False.
Now illustrate, why basic number rule map collection comprises common number rule item and special number regularization term, and, special number regularization term is positioned at the afterbody of above-mentioned common number rule item: if user's input is special number, when supposing that the length that user is current dialled the number does not reach the length of special number, the result of carrying out special number coupling is that it fails to match.Such as, assuming that special number is 123456, user is current only have input 1234, and in service code coupling flow process, it fails to match, delivers to M2 module and carry out special number coupling.Due in special number coupling without semi-match, then the result that the special number that now carries out mates will be that it fails to match.
And if do not concentrate at basic number rule map and add special number regularization term, in ensuing common numbers match, will it fails to match again, now whole dialer session will terminate, and user cannot input complete special number and make a call.
Therefore, basic number rule map is concentrated must special number regularization term, like this, user the number dialled and basic number rule map concentrate regularization term semi-match, according to aforesaid record, M2 module will start corresponding timer, to wait for that user continues input, so just can ensure that user can input complete special number and make a call.
To sum up, according to the technical scheme that the embodiment of the present invention provides, service code coupling only needs a primary cycle just can process, more efficient than the unified secondary cycle be placed in number figure parsing coupling, and special number coupling need not wait timer, the match is successful can dial away at once, and, special number coupling and common numbers match seamless link, be independent of each other again.
The first order circulation of above-mentioned secondary cycle is the circulation of each number in feature_code [index], and second level circulation refers to the circulation of each feature_code [index] in feature_code []; And in embodiments of the present invention, only needing to carry out the circulation of the above-mentioned second level, institute thinks primary cycle.
In addition, in other embodiments of the present invention, also can first carry out special number and common numbers match, then carry out service code coupling.But consider, service code is shorter for match time, can have matching result soon, and special number and common numbers match may need the long period just to have matching result.Therefore, can mate by the advanced row service code of prioritizing selection, after it fails to match, carry out special number and common numbers match again.
Corresponding with above-mentioned method of calling; the embodiment of the present invention is also for a kind of calling device of protection (VoIP equipment); refer to Fig. 8, it can at least comprise: LCM line control module M0, service code matching module M1, number figure resolve matching module M2 and Call Control Block M4.Wherein,
LCM line control module M0 is used for, monitor user ' dialer event in current dialer session, when monitoring the dialer event of user, and the number inputted when gathering subscriber dialing;
Service code matching module M1 is used for, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be a string data, and when meeting first and being pre-conditioned, above-mentioned unsigned int data are mated with the unsigned int data in service code set of arrays, obtain service code the match is successful, service code semi-match or the service code matching result that it fails to match;
Number figure resolves matching module M2 and is used for, when meeting second and being pre-conditioned, carry out special number/common numbers match to string data, the match is successful, common numbers match successful, common number part mates or the matching result of common numbers match failure at least to obtain special number;
Call Control Block M4 is used for, obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1.
In other embodiments of the present invention, above-mentioned service code matching module M1 also for, when obtaining the matching result of service code semi-match, starting corresponding timer, waiting for the number (being also the aforesaid step returning monitor user ' dialer event) that LCM line control module M0 gathers;
When obtaining the matching result of common number part coupling, starting corresponding timer, waiting for the number (being also the aforesaid step returning monitor user ' dialer event) that LCM line control module M0 gathers.
Detail refers to the description of preceding method part, and therefore not to repeat here.
In other embodiments of the present invention, still refer to Fig. 5, above-mentioned calling device also can comprise Configuration Manager M3.
Configuration Manager M3 can be used for, and special number number partition of a graph is become special number regularization term; Common number number partition of a graph is become common number rule item; Structure service code set of arrays, special number number rule map collection and basic number rule map collection.Detail refers to the description of preceding method part, and therefore not to repeat here.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For the device that embodiment provides, the method provided due to itself and embodiment is corresponding, so description is fairly simple, relevant part illustrates see method part.
Also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising above-mentioned key element and also there is other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, common hardware comprises universal integrated circuit, universal cpu, general-purpose storage, universal elements etc., can certainly comprise application-specific integrated circuit (ASIC), dedicated cpu, private memory, special components and parts etc. by specialized hardware to realize, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in the storage medium that can read, as USB flash disk, mobile memory medium, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can the medium of storing software program code, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method for the present invention each embodiment.
To the above-mentioned explanation of provided embodiment, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle provided in this article and features of novelty.

Claims (8)

1. a method of calling, is characterized in that, comprising:
Monitor user ' dialer event in current dialer session;
When monitoring the dialer event of user, the number inputted when gathering subscriber dialing;
When meeting first and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, at least make all number unloadings collected in current dialer session be a string data;
Meet described first pre-conditioned time, described unsigned int data are carried out corresponding position to the unsigned int data in service code set of arrays mate, obtain service code the match is successful, service code semi-match or the service code matching result that it fails to match, described service code semi-match is the intermediate object program of service code coupling, described service code set of arrays comprises multiple unsigned int data, the service code that each unsigned int data correspondence one is default;
Meet described second pre-conditioned time, special number/common numbers match is carried out to described string data, at least obtains special number the match is successful, the success of common numbers match, common number part coupling or common numbers match failure matching result;
Obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1;
Described first pre-conditioned comprising does not draw service code final matching results, described service code final matching results comprises the service code matching result that the match is successful and the service code matching result that it fails to match, and described second pre-conditioned comprising draws the service code matching result that it fails to match;
Described special number/common numbers match comprises:
Carry out special number coupling to described string data, the match is successful or the special number matching result that it fails to match to obtain special number;
After drawing the special number matching result that it fails to match, common numbers match is carried out to described string data, obtain the matching result of successful, the common number part coupling of common numbers match or common numbers match failure;
Carry out special number coupling to described string data to comprise:
The special number regularization term that described string data and special number number rule map are concentrated mated, each special number regularization term is a string data;
Carry out common numbers match to described string data to comprise:
The regularization term that described string data and basic number rule map are concentrated is mated, the regularization term that described basic number rule map is concentrated comprises common number rule item and special number regularization term, described special number regularization term is positioned at the afterbody of described common number rule item, further, each regularization term is a string data.
2. the method for claim 1, it is characterized in that, described first pre-conditioned and second pre-conditionedly to characterize with condition identity m2_started, characterize when described m2_started gets the first numerical value meet first pre-conditioned, described m2_started get second value characterize meet second pre-conditioned.
3. the method for claim 1, is characterized in that, described Call-Control1 comprises:
When drawing the service code matching result that the match is successful, perform business logic processing with the service code matched;
When drawing the special number matching result that the match is successful, being used in current dialer session all numbers collected and making a call;
When obtaining the matching result of the success of common numbers match or common numbers match failure, being used in current dialer session all numbers collected and making a call.
4. the method for claim 1, is characterized in that, also comprises:
When obtaining the matching result of service code semi-match, return the step of described monitor user ' dialer event;
When obtaining the matching result of common number part coupling, return the step of described monitor user ' dialer event.
5. the method for claim 1, is characterized in that, before monitor user ' dialer event, described method also comprises:
Perform initialization.
6. method as claimed in claim 5, it is characterized in that, described initialization comprises:
Special number number partition of a graph is become special number regularization term;
Common number number partition of a graph is become common number rule item;
Construct described service code set of arrays, special number number rule map collection and basic number rule map collection.
7. a calling device, is characterized in that, at least comprises: LCM line control module, service code matching module, number figure resolve matching module and Call Control Block;
Described LCM line control module is used for, monitor user ' dialer event in current dialer session, when monitoring the dialer event of user, and the number inputted when gathering subscriber dialing;
Described service code matching module is used for, when meeting first and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be unsigned int data, or, when meeting second and being pre-conditioned, the all number unloadings collected in current dialer session are at least made to be a string data, and meet described first pre-conditioned time, described unsigned int data are carried out corresponding position to the unsigned int data in service code set of arrays mate, the match is successful to obtain service code, service code semi-match or the service code matching result that it fails to match, described service code semi-match is the intermediate object program of service code coupling, described service code set of arrays comprises multiple unsigned int data, the service code that each unsigned int data correspondence one is default,
Described number figure resolves matching module and is used for, meet described second pre-conditioned time, carry out special number/common numbers match to described string data, the match is successful, common numbers match successful, common number part mates or the matching result of common numbers match failure at least to obtain special number;
Described special number/common numbers match comprises:
Carry out special number coupling to described string data, the match is successful or the special number matching result that it fails to match to obtain special number;
After drawing the special number matching result that it fails to match, common numbers match is carried out to described string data, obtain the matching result of successful, the common number part coupling of common numbers match or common numbers match failure;
Carry out special number coupling to described string data to comprise:
The special number regularization term that described string data and special number number rule map are concentrated mated, each special number regularization term is a string data;
Carry out common numbers match to described string data to comprise:
The regularization term that described string data and basic number rule map are concentrated is mated, the regularization term that described basic number rule map is concentrated comprises common number rule item and special number regularization term, described special number regularization term is positioned at the afterbody of described common number rule item, further, each regularization term is a string data;
Described Call Control Block is used for, obtaining service code the match is successful, the match is successful for special number, the matching result of the success of common numbers match or common numbers match failure time, carry out Call-Control1;
Described first pre-conditioned comprising does not draw service code final matching results, and described service code final matching results comprises, and described second pre-conditioned comprising draws the service code matching result that it fails to match.
8. calling device as claimed in claim 7, it is characterized in that, also comprise Configuration Manager, described Configuration Manager is used for, and special number number partition of a graph is become special number regularization term; Common number number partition of a graph is become common number rule item; Construct described service code set of arrays, special number number rule map collection and basic number rule map collection.
CN201310144262.0A 2013-04-24 2013-04-24 Method and device for calling Active CN103209267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310144262.0A CN103209267B (en) 2013-04-24 2013-04-24 Method and device for calling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310144262.0A CN103209267B (en) 2013-04-24 2013-04-24 Method and device for calling

Publications (2)

Publication Number Publication Date
CN103209267A CN103209267A (en) 2013-07-17
CN103209267B true CN103209267B (en) 2015-05-20

Family

ID=48756348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310144262.0A Active CN103209267B (en) 2013-04-24 2013-04-24 Method and device for calling

Country Status (1)

Country Link
CN (1) CN103209267B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466103B (en) * 2021-12-21 2024-04-26 天翼云科技有限公司 Voice digital graph generation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389005B1 (en) * 1997-12-01 2002-05-14 Nortel Networks Limited Automatic backup trunking for voice over the internet
CN1545344A (en) * 2003-11-14 2004-11-10 中兴通讯股份有限公司 Method of digit-figure number matching
CN101039287A (en) * 2007-03-15 2007-09-19 中兴通讯股份有限公司 Number receiving method for accessing gateway equipment
CN102355540A (en) * 2011-06-24 2012-02-15 烽火通信科技股份有限公司 Audio gateway digital figure designing and matching method
CN102694934A (en) * 2012-06-04 2012-09-26 深圳市共进电子股份有限公司 Communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389005B1 (en) * 1997-12-01 2002-05-14 Nortel Networks Limited Automatic backup trunking for voice over the internet
CN1545344A (en) * 2003-11-14 2004-11-10 中兴通讯股份有限公司 Method of digit-figure number matching
CN101039287A (en) * 2007-03-15 2007-09-19 中兴通讯股份有限公司 Number receiving method for accessing gateway equipment
CN102355540A (en) * 2011-06-24 2012-02-15 烽火通信科技股份有限公司 Audio gateway digital figure designing and matching method
CN102694934A (en) * 2012-06-04 2012-09-26 深圳市共进电子股份有限公司 Communication method and device

Also Published As

Publication number Publication date
CN103209267A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
KR20040011521A (en) Contact lookup by partial string entry in a communication device
CN103945034A (en) Fixed-line telephone extended communication system based on intelligent mobile telephones
US9420095B2 (en) Method and system for providing dynamic speed-dial list
CN103209267B (en) Method and device for calling
CN101795325A (en) Number inputting method and terminal
CN101895610B (en) Voice recognition-based phone calling method and device
CN102739881A (en) Method for carrying out summarizing after conversation and apparatus thereof
CN102355540A (en) Audio gateway digital figure designing and matching method
CN106657527B (en) The interpretable random length telephone number storage of prefix and querying method based on figure
CN112954103B (en) Call communication method, device, storage medium and fixed telephone
CN102122299A (en) Method for quickly searching information for mobile terminal
JP2022183003A (en) State machine processing, state processing method, device, electronic appliance and storage medium
CN102694934A (en) Communication method and device
JP2002300291A (en) Communication system for telephone network and communication service method
WO2009107494A1 (en) Callback system, calling terminal, telephone relay server, callback method, and callback program
JP4152243B2 (en) Public network connection method and public network connection program
CN101742486B (en) Tag communication method as well as mobile phone and system supporting same
KR100732707B1 (en) method for performing service using shortened number in mobile communication device
CN100499702C (en) Method for realizing intelligent network number collection
JPS61131951A (en) Dial signal transmission system of telephone set
JP3717191B2 (en) Dialed number reception method
CN101674381B (en) Intelligent system and method for achieving vacant number navigation
CN100464552C (en) Method of quick short message input for handset
KR100394823B1 (en) Telephone numbering method of internet web-phone
CN104917871A (en) Contact number selecting method

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