CN1870682A - Receiving processing method and its device - Google Patents

Receiving processing method and its device Download PDF

Info

Publication number
CN1870682A
CN1870682A CN 200610057087 CN200610057087A CN1870682A CN 1870682 A CN1870682 A CN 1870682A CN 200610057087 CN200610057087 CN 200610057087 CN 200610057087 A CN200610057087 A CN 200610057087A CN 1870682 A CN1870682 A CN 1870682A
Authority
CN
China
Prior art keywords
dialing
dynamic
initial
character
digitmap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610057087
Other languages
Chinese (zh)
Other versions
CN100512342C (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 CNB2006100570871A priority Critical patent/CN100512342C/en
Publication of CN1870682A publication Critical patent/CN1870682A/en
Application granted granted Critical
Publication of CN100512342C publication Critical patent/CN100512342C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention provides a process method for received signals characterizing in including the following steps: a, sending an initial picture when hanging up, b, examining if the number dialed first is matched to the initial digital plot to get the initial matched situation, c, deciding if step d is carried out or the dial-up mistake based on the initial matched situation, d, continuously sending new related dynamic digital plots to the dialed numbers one by one, e, examining the matched situation of the numbers and the dynamic digital plots to get the dynamic matched situation, f, deciding if it continues to carry out d, e, first number determination or dialing mistakes based on the matched situation.

Description

Receiving processing method and device thereof
Technical field
The present invention relates to the communications field, more specifically, relate to the receiving processing method and the device thereof that are used for dialing procedure.
Background technology
At NGN (Next Generation Network, next generation network) in, it is to separate with carrying that maximum characteristics are called out control, CCF is by SS (SoftSwitch, soft switch) realizes, the carrying of Media Stream is mainly gone up at MG (Media Gateway, media gateway) and is realized.Main next mutual between SS and the MG by MGCP (as MeGaCo/H.248 Media Gateway Control/H.248).The user hangs under the MG, and user's dialing detects and report SS by MG according to current DigitMap (Digit Map, number figure) definition rule, is determined the subsequent treatment of this calling again according to the called number of being dialled by SS.
NGN is the framework of an opening, and it and networks such as PSTN, 3G can intercommunications, can provide very various business again simultaneously, determined the various of NGN call property.This need also to have determined very huge, the different number head of number first quantity that disposes in the NGN of operator, corresponding actual length of the number may be a fixed length, also may be elongated.What is called head is meant the prefix of called number, and it is the key factor of the decision miscellaneous service relevant with this calling.
In NGN, when NGN user makes a call, how collecting called number should be a very basic problem, it also is the problem of a more complicated simultaneously, overtimely accurately control dialling because how it need solve, solve and how to judge that dialing finishes, solve how to generate correct DigitMap etc., particularly when number head was a lot, it is complicated more that the problem of generation DigitMap can become.Solve the quality of collecting numbering plan, can be to the quantity of NGN call signaling, call features, the friendly of subscriber dialing etc. produce very big influence.
Fig. 1 shows the flow chart that collects the digits and handle of correlation technique.
In order to solve the problem of this collection called number, in correlation technique, provide a kind of scheme that collects the digits and handle.As shown in Figure 1, MG is (S102) after the report of user off-hook event, SS issues a simple DigitMap (S104) to MG, this DigitMap has defined the dialing rule to the part coupling of the accurate coupling of fixed length called number and elongated called number, behind the numbers match DigitMap that the user dials (S106), MG just reports SS to number, and SS continues to issue a DigitMap who only receives an item sign indicating number and gives MG (S108) as (x|E|F) then, does to continue to collect the digits processing.Judge whether number is fixed length (S110), and for the number of fixed length, MG can accomplish once just called number to be reported SS (S112) like this, directly just can locate called.For elongated number, MG for the first time only can report part number (S114), and follow-up one the one item sign indicating number of the follow-up wait of SS MG reports, up to called locate successfully or fail till (S116).
Yet, in the processing scheme that collects the digits of correlation technique, there is following problem:
1, be the dialing situation of fixed length for number first corresponding called number, the user has dialled enough numbers, and MG detects the dialing coupling, report SS, also can exist SS to issue the situation of unnecessary DigitMap, produce unnecessary message, and MG does the unnecessary processing that collects the digits;
2, be the dialing situation of elongated length for number first corresponding called number, after number that the user dials mates DigitMap for the first time and reports, the process that SS descends DigitMap to collect the digits to MG by turn, can make the interacting message between SS and the MG too much, inner number first number of times of analyzing or attempting the user location of SS also unnecessary increase can occur, also can cause simultaneously SS to send the situation of number by turn at interoffice, these must influence performance, call proceeding speed and success rate; And
3, dialing is overtime is controlled separately by MG and SS often, and the timer duration that initially collects the digits can't be determined, can't accomplish the overtime duration classification of the dialing control of different phase.
This shows, in collecting the digits of correlation technique handled, in collecting the called number process, fail to accomplish subscriber dialing is prejudged completely,, the situation of unnecessary number also can occur sending even cause number enough.
Therefore, people need provide a solution, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
The present invention aims to provide and has overcome one or more problems that limitation and defective owing to prior art cause basically, is used for the receiving processing method and the device thereof of dialing procedure.
According to an aspect of the present invention, provide a kind of receiving processing method, it is characterized in that may further comprise the steps: step a when off-hook, issues initial number figure; Step b in dialing procedure, checks whether the number and the initial number figure that at first dial mate, to obtain the initial matching situation; Step c according to the initial matching situation, determines execution in step d or determines the dialing mistake; Steps d in dialing procedure, to the number of next dialing one by one, constantly issues the dynamic number figure of new correspondence; Step e constantly checks the match condition of the number dial one by one and corresponding dynamic number figure, to obtain the Dynamic matching situation; And step f, determine to continue execution in step d and step e or determine number head or definite dialing mistake according to the Dynamic matching situation.
Initial number figure and dynamic number figure are generated by the number drawing generating method, the number drawing generating method may further comprise the steps: first step according to default several diagram data tables, generates number figure tree according to default tree create-rule, wherein count the diagram data table and comprise many records, every the record number of comprising head; And second step, utilize number figure tree, generate the number set of graphs according to default severals figure create-rules, several set of graphs comprise initial number figure and dynamic number figure.
The number drawing generating method is carried out by SoftSwitch.
The number drawing generating method is carried out by media gateway.
The tree create-rule may further comprise the steps: step t1, create a root node; Step t2, read number head of the 1st record in several diagram data tables, resolve character wherein, get the 1st character in the character as the 1st child node under the root node, in turn getting the character late conduct is the child node of its front character, last character in number head of the 1st record is handled, thereby, generated the parts of several figure trees by number head of the 1st record; Step t3 reads number head that next bar writes down in several diagram data tables, resolves character wherein, and the 1st character of getting in the character one by one compares with the node data that number figure sets on each layer from top to bottom; Step t4, if do not find the identical value of node, just get the new child node of the 1st character as root node, in turn getting the character late conduct is the child node of its front character, last character in number head of next bar record is handled, thereby, generated the part that several figure set by number head of next bar record; Step t5, if find node with identical value, the node that just will have identical value is regarded a root node as, one by one all characters in the character are carried out and step 3 and step 4 identical operations, character in next bar head is all handled, thereby has been generated the part of several figure trees by number head of next bar record; And step t6, one by one number capital execution in step t3, t4 and the t5 of the record of next bar in the logarithmic chart tables of data, all records in handling several diagram data tables, thus generate number figure tree.
Number figure create-rule comprises: generate initial number figure; And generation dynamic number figure.
Generating initial number figure may further comprise the steps: utilize number figure tree, the character of the preceding predetermined figure of all numbers head generates initial number figure in the peek diagram data table.
Generating initial number figure may further comprise the steps: utilize number figure tree, and long and The Minimum Number Length and predetermined figure according to maximum number, the character of all numbers head generates initial number figure in the diagram data table of peeking.
Utilize the artificially to be provided with and generate initial number figure.
Generating dynamic number figure may further comprise the steps: when dial the number when matching the destination node of number figure tree, the data computation of respective path in the number figure tree is gone out the dynamic number figure that will issue; And when dial the number when not matching the destination node of number figure tree as yet, judge the current node that matches not down one deck a plurality of child nodes are arranged, calculate the dynamic number figure that will issue according to judging then.
Number figure create-rule inserts at least one in T, L and the S timer in initial number figure when generating initial number figure, it is overtime to be used for the control dialing.
Number figure create-rule inserts at least one in T, L and the S timer in dynamic number figure when generating dynamic number figure, it is overtime to be used for the control dialing.
When the L timer expiry, judge that then dialing finishes.
Step c may further comprise the steps: step c1, when initial match condition is coupling, determine execution in step d; And step c2, when initial match condition when not matching, then determine the dialing mistake.
Step f may further comprise the steps: step f1, when the Dynamic matching situation is grown for matching maximum number, then determine number head; Step f2 when the Dynamic matching situation is long for not matching maximum number as yet, and still is when coupling then to determine to continue execution in step d and step e; And step f3, the Dynamic matching situation is long for not matching maximum number as yet, and when not matching, then determines the dialing mistake.
According to another aspect of the present invention, provide a kind of processing unit that collects the digits, it is characterized in that comprising: initially issued module, be used for when off-hook, issuing initial number figure; The initial matching module is used at dialing procedure, checks whether the number and the initial number figure that at first dial mate, to obtain the initial matching situation; Initial determination module is used for according to the initial matching situation, determines execution in step d or determines the dialing mistake; Dynamically issue module, be used for,, constantly issue the dynamic number figure of new correspondence the number of next dialing one by one at dialing procedure; The Dynamic matching module is used for constantly checking the match condition of the number dialed one by one and corresponding dynamic number figure, to obtain the Dynamic matching situation; And dynamic determination module, be used for determining to continue to carry out dynamically to issue module and Dynamic matching module or determine number head or definite mistake that dials according to the Dynamic matching situation.
Initial number figure and dynamic number figure are generated by number figure generating apparatus, number figure generating apparatus comprises: number figure tree generation module, be used for according to default several diagram data tables, and generate number figure tree according to default tree create-rule, wherein count the diagram data table and comprise many records, every the record number of comprising head; And number figure generation module, be used to utilize number figure tree, generate the number set of graphs according to default several figure create-rules, the number set of graphs comprises initial number figure and dynamic number figure.
By technique scheme, the present invention has realized following technique effect:
The RRM framework that the present invention provides does not need an independently server node, the relevant information of the RRM between the base station obtain the mode that employing is obtained as required, farthest reduced needed signaling traffic load.
In addition, the present invention has also clearly defined the implementation procedure of RRM in the radio support server, and has provided the edge load and reshuffle and criticize the concrete signaling process that switches.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the flow chart that collects the digits and handle of correlation technique;
Fig. 2 shows the flow chart according to the receiving processing method of principle of the present invention;
Fig. 3 shows the structure chart according to the processing unit that collects the digits of principle of the present invention;
Fig. 4 shows the dynamic DigitMap generation method according to principle of the present invention;
Fig. 5 shows the dynamic DigitMap generating apparatus according to principle of the present invention;
Fig. 6 shows DigitMap tree according to an embodiment of the invention;
Fig. 7 shows DigitMap tree according to another embodiment of the invention;
Fig. 8 shows the message interaction process figure that collects the digits and handle according to an embodiment of the invention;
Fig. 9 shows the message interaction process figure that collects the digits and handle according to another embodiment of the invention; And
Figure 10 shows the message interaction process figure that collects the digits and handle according to still another embodiment of the invention.
Embodiment
Describe the present invention below with reference to the accompanying drawings in detail.
Below with reference to Fig. 2 to Fig. 5 principle of the present invention is described.
Fig. 2 shows the flow chart according to the receiving processing method of principle of the present invention; Fig. 3 shows the structure chart according to the processing unit that collects the digits of principle of the present invention; Fig. 4 shows the dynamic DigitMap generation method according to principle of the present invention; And Fig. 5 shows the dynamic DigitMap generating apparatus according to principle of the present invention.
According to principle of the present invention, adopt the mode that dynamically generates DigitMap, each step of SS is done accurately indication to collecting the digits of MG, so that the signaling message that produces in the process that collects the digits is the least possible, reduces too much reprocessing, improves the calling network performance.Specifically, according to the receiving processing method of principle of the present invention as shown in Figure 2, may further comprise the steps:
Collect the digits and handle beginning,
In step S202, when off-hook, issue initial DigitMap;
In step S204, in dialing procedure, check whether the number of at first dialing mates with initial DigitMap, to obtain the initial matching situation;
In step S206,, determine execution in step S208 or determine the dialing mistake according to the initial matching situation;
In step S208, in dialing procedure,, constantly issue the dynamic DigitMap of new correspondence to the number of next dialing one by one;
In step S210, constantly check the match condition of the number dial one by one and corresponding dynamic DigitMap, to obtain the Dynamic matching situation; And
In step S212, determine to continue execution in step S208 and step S210 or determine number head or definite dialing mistake according to the Dynamic matching situation;
The processing that collects the digits then finishes.
Specifically, according to principle of the present invention collect the digits processing unit 100 as shown in Figure 3, comprising:
Initially issue module 12, be used for when off-hook, issuing initial DigitMap;
Initial matching module 14 is used at dialing procedure, checks whether the number of at first dialing mates with initial DigitMap, to obtain the initial matching situation;
Initial determination module 16 is used for according to the initial matching situation, determines that execution dynamically issues module 18 or determines the dialing mistake;
Dynamically issue module 18, be used for,, constantly issue the dynamic DigitMap of new correspondence the number of next dialing one by one at dialing procedure;
Dynamic matching module 20 is used for constantly checking the match condition of the number dialed one by one and corresponding dynamic DigitMap, to obtain the Dynamic matching situation; And
Dynamically determination module 22 is used for determining to continue to carry out dynamically to issue module 18 and Dynamic matching module or determine number head or definite dialing mistake according to the Dynamic matching situation.
Wherein, as shown in Figure 4, initial DigitMap and all dynamic DigitMap are generated by DigitMap generation method, and this method may further comprise the steps:
This method begins,
In step S302,, generate the DigitMap tree according to default tree create-rule according to default DigitMap tables of data; And
In step S304, utilize the DigitMap tree, generate the DigitMap set according to default DigitMap create-rule, this set comprises initial DigitMap and all dynamic DigitMap;
This method finishes then.
Alternatively, wherein, as shown in Figure 5, initial DigitMap and all dynamic DigitMap are generated by DigitMap generating apparatus 200, and this device comprises:
DigitMap sets generation module 32, is used for according to default DigitMap tables of data, generates the DigitMap tree according to default tree create-rule; And
DigitMap generation module 34 is used to utilize the DigitMap tree, generates the DigitMap set according to default DigitMap create-rule, and this set comprises initial DigitMap and all dynamic DigitMap.
Further, the present invention dynamically generates in the process of DigitMap in segmentation, has introduced a kind of new overtime controlling mechanism: by T, the L among the DigitMap, the value of S timer are set flexibly, unify to control the overtime scheme of dialing.
MGCP (as H.248) has clear and definite definition to the T among the DigitMap, L, S timer, stipulated MG overtime under difference dialing situation:
T: the expression off-hook is waited for the overtime of dialing;
L: before the expression dialing reaches the number of minimum needs, the wait timeout of each dialing; And
S: after expression dialing reaches the number of minimum needs, can also continue the dialing wait timeout of the number dialled.
By the flexible control to T, L, S timer, overtime management very effectively can realize dialling.The T timer is waited for the overtime of the first dialing after as user's off-hook.The L timer as the first dialing is arranged but do not reach under the situation of The Minimum Number Length (this during dialing of expression user, the length of the number that minimum needs are dialled), is waited for the overtime of next bit dialing.The S timer as reaching The Minimum Number Length but do not reach under the maximum number situation of long (this during dialing of expression user needs the length of the numbers dialled at most), is waited for the overtime of next bit dialing.The value of T, L, S correspondence can be on SS flexible configuration, when SS issues DigitMap to MG, compose corresponding value (as { T:8, L:10, S:3, (288xxxxSxxx) }) in DigitMap, for T, L, S timer.
MG will start corresponding T, L after receiving DigitMap, the S timer is controlled dialing, in the subscriber dialing process, if timer expiry will report number and the overtime sign dialled to give SS.Will T, L, the S processing of classifying be reported for the overtime of T and L after reporting when SS receives, all as collecting the digits failure, SS can do different processing (as to playback indications different under the MG) and come SS to user experience, for S overtime report as dialing complete.Corresponded manner according to an embodiment is as shown in the table:
Table 1:T, L, S handle correspondence table
Overtime type Report mode SS handles
T Ds=”T” Failure (putting busy tone) collects the digits
L Ds=”28866L” Failure (putting number unobtainable tone) collects the digits
S Ds=”288665432S” Dialing is (continuing) fully
Below specific embodiments of the invention will be described.
To produce signaling message the least possible in order to make in the process that collects the digits, and reduces too much reprocessing, improves the calling network performance, adopts the mode that dynamically generates DigitMap, and each step of SS is done accurately to indicate to collecting the digits of MG, and concrete implementation procedure is as follows:
(1) SS at first issues a less initial DigitMap (band T, L timer) and gives MG when user's off-hook; After subscriber dialing, MG checks whether number has matched DigitMap, if matching error just reports SS, does not just continue to wait for up to dialing or overtime is arranged if also mate, and just reports SS immediately if mate.
Initial DigitMap is generated according to the data computation of configuration automatically by SS.
1.SS design a table (DigitMap tables of data), contain critical field (number head, The Minimum Number Length, maximum number are long), according to the network application of reality, when every configuration among the SS one number is first, will in the DigitMap tables of data, produce the record of a correspondence.DigitMap tables of data according to an embodiment is as follows:
Table 2:DigitMap tables of data
Prefix The Minimum Number Length Maximum number is long
26 8 8
5 1 1
83 6 10
855 8 8
010 6 10
0123 6 10
023 6 10
0061 8 15
006286 8 15
0062877 8 15
006378 8 15
*24 3 3
#24 3 3
2.SS the data according to the DigitMap tables of data generate a DigitMap tree.
SS can will generate the DigitMap tree immediately automatically after change after the system start-up or the inside of DigitMap tables of data, the process of generation is as follows:
Create a root node (Root), read number first data of the 1st record in the DigitMap tables of data, character among the single parsing head, get the 1st character as the child node under the root node, continuing to get the character late conduct is the child node of its front character, continue to get character late and do same processing, handle up to last character of this number head, the part of DigitMap tree has just been handled and generated to the first data of first number like this.
Continue to read number first data of next bar record in the DigitMap tables of data, character among the single parsing head, get the 1st character and current DigitMap the tree the 1st layer on the node data compare one by one, if do not find the identical value of node, just create a new node, and, continue to get the child node of character late as its front character as the child node of root node, continue to get character late and do same processing, handle up to last character of this number head.If find, next the straton node data that just continues current node on character late among the number of the getting head and the DigitMap tree compare one by one.Continue the operation of front, the character in number head is all handled or is not found the same node data in the DigitMap tree.For not finding the same node data conditions in the DigitMap tree, need create a node to the current character that do not mate, and as the child node of last character, the untreated character among the head of follow-up, as the child node of its last character, the character in number head is handled one by one.
Continue to read number first data of next bar record of DigitMap tables of data, repeat previous processed, all handle, just generated a complete DigitMap and set at last like this up to all records of DigitMap tables of data.
For example go up the data based top description in the table, finally will give birth to a DigitMap tree as shown in Figure 6.
3.SS according to the DigitMap tree, generate initial DigitMap word string data automatically, leave in the system.
SS at first provides some rules that initial DigitMap data generate, and is as follows:
Rule one: former characters directly getting all numbers head are as (1,2,3).
Rule two: former characters getting all numbers head are considered maximum, The Minimum Number Length simultaneously as (1,2,3).
(1) need obtain the data that DigitMap data generate piece according to the retrieval of DigitMap tree, fairly simple for rule one, be that example illustrates to get 2 characters below:
(a) get first node of the child node (the 1st layer) of root node (Root) in the DigitMap tree, judge whether this node is destination node.
(b) so to the situation of destination node, the node data are generated in the piece in the DigitMap data as the DigitMap key record, and maximum number is long and The Minimum Number Length all is a sky.
(c) for the situation that is not destination node, just search for following one deck (the 2nd layer) child node of this node, get first child node, node data to the path of Root node are formed a word string generate in the piece in the DigitMap data, and maximum number is long and The Minimum Number Length all is empty as the DigitMap key record.Continue to take off a child node, do same processing, after all child nodes are handled, turn back to last layer.
(d) get the next child node of Root node, judge whether this node is destination node, make (b), (c) handles, all handle up to all child nodes.
By the DigitMap tree example of front, it is as shown in the table that the DigitMap data that retrieval obtains generate piece:
Table 3:DigitMap data generate piece
The DigitMap key The Minimum Number Length Maximum number is long
#2 NULL NULL
26 NULL NULL
01 NULL NULL
00 NULL NULL
02 NULL NULL
5 NULL NULL
85 NULL NULL
83 NULL NULL
*2 NULL NULL
(2) about the generation of dynamic DigitMap, for rule two, only need add some processing on the basis of rule one, be that example illustrates to get 2 characters below:
(a) get first node of the child node (the 1st layer) of root node (Root) in the DigitMap tree, judge whether this node is destination node.
(b) so to the situation of destination node, the node data are generated in the piece in the DigitMap data as the DigitMap key record, search the long and The Minimum Number Length of maximum number that the DigitMap tables of data obtains being correlated with the DigitMap key simultaneously, the result also is recorded in the DigitMap data generates in the piece.
(c) for the situation that is not destination node, just search for following one deck (the 2nd layer) child node of this node, get first child node, node data to the path of Root node are formed a word string to be generated in the piece in the DigitMap data as the DigitMap key record, judge simultaneously whether this node has been destination node, if destination node, just search the long and The Minimum Number Length of maximum number that the DigitMap tables of data obtains being correlated with the current DigitMap key that obtains, be recorded in DigitMap data generation piece, otherwise maximum number is long and The Minimum Number Length all is empty.Continue to take off a child node, do same processing, after all child nodes are handled, turn back to last layer.
(d) get the next child node of Root node, judge whether this node is destination node, do (b), (c) processing, up to all handling.
By the DigitMap tree example of front, it is as follows that the DigitMap data that retrieval obtains generate piece:
Table 4:DigitMap data generate piece
The DigitMap key The Minimum Number Length Maximum number is long
#2 NULL NULL
26 8 8
01 NULL NULL
00 NULL NULL
02 NULL NULL
5 1 1
85 NULL NULL
83 6 10
*2 NULL NULL
(3), all only need generate piece to the DigitMap data at last and be converted to the DigitMap word string according to related protocol no matter be which kind of rule.Be described below:
(a) duration of T, L timer correspondence in the reading system, sign and duration, add in the DigitMap word string as (T:10, L:8).
(b) retrieve the DigitMap data one by one and generate record in the piece, long and the The Minimum Number Length data of maximum number have been judged whether, if do not have, just directly the DigitMap key is added in the DigitMap word string, and add relevant separator, need calculate the wildcard string according to maximum number length and The Minimum Number Length if just have, computational methods are as follows:
Obtain the difference of the character number length of The Minimum Number Length and DigitMap key:
A=The Minimum Number Length-LEN (DigitMap key)
Obtain the long difference of The Minimum Number Length and maximum number:
B=maximum number length-The Minimum Number Length
The DigitMap word string that this DigitMap key produces is:
The DigitMap key is if A, just adds A wild-character " x " greater than 0, if B just adds short timer character denotation " S " and the individual character " x " of joining of B greater than 0.
The value that generates is added in the DigitMap word string, if there is short timer S sign need in the DigitMap word string, be added in the L back to the value of S this moment.
(c) continue to read next bar data that the DigitMap data generate piece, by top step process, up to all finishing dealing with.
(d), adjust the form (as H.248 needing " * " represented as E, need to use " | " separation etc.) of DigitMap word string at last according to the regulation of concrete agreement.Calculating DigitMap according to the generation of the DigitMap data in the rule one piece is: and T:10, L:8, (E2|26|00|01|02|5|85|83|F2) }.Calculating DigitMap according to the generation of the DigitMap data in the rule two piece is: and T:10, L:8, S:5, (E2|26xxxxxx|00|01|02|5|85|83xxxxSxxxx | F2) }.
(4) SS provides and can dispose the rule of the initial DigitMap of automatic generation, can select flexibly according to practical situations like this, accomplishes best effect.As can select the bigger also consideration number long modes of the number of intercepting leader degree to generate DigitMap for the less situation of number head, dialing can realize once just finishing substantially like this.For a lot of situation of number head, can select the number of intercepting leader degree littler and not the long mode of the number of consideration generate DigitMap, can avoid initial DigitMap excessive like this.
4.SS can adopt the method that does not generate initial DigitMap automatically, just directly the mode of an initial DigitMap of manual configuration on SS directly writes on manual configuration DigitMap data in the table, it is just passable directly to read the table data when issuing.As direct configuration: T:10, L:8, (E2|2|0|5|8|F2) }.This mode mainly relies on configuration personnel oneself to calculate according to agreement, is fit to some simple DigitMap data of configuration.
(2) after MG reported number, SS judged whether to be with matching error or T, L timer expiry sign, if having with regard to call release, if having the overtime sign of S just the expression dialing fully, otherwise SS searches on the DigitMap tree with final called number.
1. get that the 1st layer node of first character on the DigitMap tree compares one by one in the number, after finding a node, just continue to get again that next straton node of character late and current node compares one by one in the number.Continue same the processing, looked for the destination node of but not running into the DigitMap tree up to destination node that finds the DigitMap tree or the character in the number.
2. for the situation of the destination node that finds the DigitMap tree, promptly find the situation of unique coupling.Return the data in unique path in the DigitMap tree this moment, and search the DigitMap tables of data, obtains the long and The Minimum Number Length of corresponding maximum number.If called number length reaches the long just expression of maximum number dialing fully, otherwise need just calculate the DigitMap that will issue.Method is as follows:
Obtain the difference of the character number length of The Minimum Number Length and called number:
A=The Minimum Number Length-LEN (called number)
Obtain the long difference of The Minimum Number Length and maximum number:
B=maximum number length-The Minimum Number Length
When B equals 0, illustrating does not need the S timer, as long as it is just passable to continue to dial in to The Minimum Number Length.Therefore just just can with L timer value and B " x " character combination.For example, by top sample data, if MG has reported 26 numbers, the DigitMap data that this issues are: { L:8, (xxxxxx) }.
When B greater than 0.Just use L, S timer value and A " x " character, padding S adds B " x " combination.For example, by top sample data, if MG has reported 83 numbers, the DigitMap data that this issues are: and L:8, S:5, (xxxxSxxxx) }.
After SS issued DigitMap to MG, record had been the mark that issues for the last time.Be to belong to last number to report in this case, regardless of being overtime or dialling a wrong number.
3. look for the situation of but not running into DigitMap tree destination node for the character in the number, promptly do not found the situation of unique coupling.Need to judge whether descend one deck that a plurality of child nodes are arranged by current node, if having, just all son node number of following one deck of current node according to all finding out, the while is also found out current node all nodes to the Root node path.If no, just forward next straton node of current node to, continue same judgment processing, up to running into the node that a plurality of child nodes are arranged or being the node of destination node.For destination node, just only need find out current node all nodes to the Root node path.For another kind of situation, also need all son node number of following one deck of current node according to all finding out.Generating DigitMap according to both of these case then handles.Method is as follows:
(1) for the destination node situation, just the node data of returning as number head, go to search the DigitMap tables of data, obtain the long and The Minimum Number Length of maximum number.
Obtain the difference of the character number length of The Minimum Number Length and number head:
A=The Minimum Number Length-LEN (number head)
Obtain the long difference of The Minimum Number Length and maximum number:
B=maximum number length-The Minimum Number Length
Obtaining needs the accurately character of dialing:
Deduct the residue character behind the called number among the C=head.
When B equals 0, illustrating does not need the S timer, as long as it is just passable to continue to dial in to The Minimum Number Length.Therefore just use the L timer value, add the content of C, it is just passable to add B " x " character combination.For example, by top sample data, if MG has reported 85 numbers, the DigitMap data that this issues are: { L:8, (5xxxxx) }.
When B greater than 0.Just use L, the S timer value adds the content of C, A " x " character, and padding S adds B " x " and makes up.For example, by top sample data, if MG has reported 02 number, the DigitMap data that this issues are: and L:8, S:5, (3xxxSxxxx) }.
After SS issued DigitMap to MG, record had been the mark that issues for the last time.Be to belong to last number then to report in this case, regardless of being overtime or dialling a wrong number.
(2), only need by following method for the node situation that a plurality of child nodes are arranged:
Current node is deducted character data in the number to the node data of Root node, obtain word string A.The character of all child nodes that return separates with " | " current node, obtains word string B.
Use the L timer value, add the content of A, the content that adds B is formed.For example, by top sample data, if MG has reported 00 number, the DigitMap data that this issues are: L:8, (6[1|2|3]) }.Position in the DigitMap tree is as shown in Figure 7:
4.MG after continuing to report number, SS judges whether to collect the digits for the last time, if collecting the digits, expression finishes, if not, just continue step 2,3 and handle.
Provide the concrete embodiment that collects the digits and handle with reference to Fig. 8 to Figure 10 below.
Fig. 6 shows DigitMap tree according to an embodiment of the invention;
Fig. 7 shows DigitMap tree according to another embodiment of the invention;
Fig. 8 shows the message interaction process figure that collects the digits and handle according to an embodiment of the invention; Fig. 9 shows the message interaction process figure that collects the digits and handle according to another embodiment of the invention; And Figure 10 shows the message interaction process figure that collects the digits and handle according to still another embodiment of the invention.
1. as shown in Figure 8, show the flow chart that collects the digits that the user dials * 24 phones.
Overtime explanation:
Off-hook do not dial wait for 10 seconds overtime, reach the number that minimum needs dial before, every group wait for for one number 8 seconds overtime, reach the number that minimum needs dial after, every group wait for for one number 5 seconds overtime.
Process description:
Step S402:MG report of user off-hook, SS adopt the rule of preceding 2 characters of directly getting all numbers head to generate initial DigitMap{T:10 automatically, L:8, (E2|26|01|02|5|85|83|F2) }, and be handed down to MG;
Step S404:MG continues to report * 2, and SS analyzes the first * 24 of the number of having only and meets this dialing, and the minimax that inquiry DigitMap tables of data obtains is number long all to be 3, so user's next bit can only 4, therefore issue DigitMap{L:8 to MG, (4) }; And
Step S406: the follow-up number 4 of receiving reports the just expression end that collects the digits.
2. as shown in Figure 9, show the flow chart that collects the digits that the user dials 85566699 phones:
Overtime explanation:
Off-hook do not dial wait for 10 seconds overtime, reach the number that minimum needs dial before, every group wait for for one number 8 seconds overtime, reach the number that minimum needs dial after, every group wait for for one number 5 seconds overtime.
Process description:
Step S502:MG report of user off-hook, SS adopt the rule of preceding 2 characters of directly getting all numbers head to generate initial DigitMap:{T:10 automatically, L:8, (E2|26|01|02|5|85|83|F2) }, and be handed down to MG;
Step S504:MG continues to report 85, and SS analyzes character late and has only 5, and the minimax that inquiry DigitMap tables of data obtains is number long all to be 8, therefore issues DigitMap:{L:8 to MG, (5xxxxx) }; And
Step S506: the follow-up number 566699 of receiving reports the just expression end that collects the digits.
3. as shown in Figure 9, show the flow chart that collects the digits that the user dials 00637866999 phone:
Overtime explanation:
Off-hook do not dial wait for 10 seconds overtime, reach the number that minimum needs dial before, every group wait for for one number 8 seconds overtime, reach the number that minimum needs dial after, every group wait for for one number 5 seconds overtime.
Process description:
Step S602:MG report of user off-hook, SS adopt the rule of preceding 2 characters of directly getting all numbers head to generate initial DigitMap:{T:10 automatically, L:8, (E2|26|01|02|5|85|83|F2) }, and be handed down to MG;
Step S604:MG continues to report 00, and SS analysis result next bit can only 6, can dial 1,2,3 for back again one, therefore issues DigitMap:{L:8 to MG, (6[1|2|3]) };
Step S606:MG continues to report 63, and SS analyzes and to draw unique prefix 006378, and to find The Minimum Number Length be 10, and maximum number length is 15.Therefore continue to issue DigitMap:{L:8, S:5, (78xxSxxxxxxx) }; And
Step S608: the follow-up number 7866999 of receiving reports the just expression end that collects the digits.
In the above-described embodiment, the DigitMap tree generates on SS, but obviously the DigitMap tree also can generate on MG, the logical process that dynamically generates DigitMap is placed on MG goes up realization, according to the number that the user dials, the MG dynamic analysis, in conjunction with T, S, the control of L timer, the final disposable called number that reports is given SS.
It all is that the expression subscriber dialing is complete that the number of like this, at every turn receiving MG reports.This mode than higher, need be upgraded processing to MG to the requirement of MG one by one when number first changing, unified safeguard relatively more difficult.
The present invention is in collecting the called number process, and SS does accurately indication to collecting the digits of MG, avoids unnecessary signaling message mutual, makes signaling message few as much as possible, improves the performance and the reliability that continues.In addition, the present invention accomplishes whether the called number that the user is dialled is prejudged fully, the overtime administrative mechanism of effective dialing will be arranged simultaneously, accomplish to indicate the overtime duration of dialing of MG by SS, the overtime duration of dialing in the net is all decided by SS, and overtime duration can be according to the control of classifying stage by stage of dialling.
Therefore, the present invention has realized following technique effect:
Obviously reduce the mutual quantity of calling signaling, further improved the whole call features of NGN office and the reliability that continues;
Collect the digits by dynamic accurately DigitMap coupling, can guarantee to obtain the earliest the result to mistake of subscriber dialing, responding for the user can be quicker, has reduced unnecessary resource occupation for operator, improves the device resource utilance;
The big operator of NGN for complicated dialing rule can solve the demand that various complexity collect the digits, and has reduced the requirement of MG, increases the selection face of MG; And
It is overtime to control various dialing neatly, can accomplish that various overtime differences embody, and dialing is judged fully also provides effective control device.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. receiving processing method is characterized in that may further comprise the steps:
Step a when off-hook, issues initial number figure;
Step b in dialing procedure, checks whether the number and the described initial number figure that at first dial mate, to obtain the initial matching situation;
Step c according to described initial matching situation, determines execution in step d or determines the dialing mistake;
Described steps d in described dialing procedure, to the number of next dialing one by one, constantly issues the dynamic number figure of new correspondence;
Step e constantly checks the match condition of the described number of dialing one by one and described corresponding dynamic number figure, to obtain the Dynamic matching situation; And
Step f determines to continue to carry out described steps d and described step e or determine number head or determine the dialing mistake according to described Dynamic matching situation.
2. receiving processing method according to claim 1 is characterized in that, described initial number figure and described dynamic number figure are generated by the number drawing generating method, and described several drawing generating methods may further comprise the steps:
First step according to default several diagram data tables, generates number figure tree according to default tree create-rule, and wherein said several diagram data tables comprise many records, and every described record comprises described head; And
Second step is utilized described number figure tree, generates the number set of graphs according to default several figure create-rules, and described several set of graphs comprise described initial number figure and described dynamic number figure.
3. receiving processing method according to claim 2 is characterized in that, described several drawing generating methods are carried out by SoftSwitch.
4. receiving processing method according to claim 2 is characterized in that, described several drawing generating methods are carried out by media gateway.
5. receiving processing method according to claim 2 is characterized in that, described tree create-rule may further comprise the steps:
Step t1 creates a root node;
Step t2, read number head of the 1st record in described several diagram data table, resolve character wherein, get the 1st character in the described character as the 1st child node under the described root node, in turn getting the character late conduct is the child node of its front character, last character in number head of described the 1st record is handled, thereby, generated the part of described number figure tree by number head of described the 1st record;
Step t3 reads number head that next bar writes down in described several diagram data table, resolves character wherein, and the 1st character of getting in the described character one by one compares with the node data that described number figure sets on each layer from top to bottom;
Step t4, if do not find the identical value of node, just get the new child node of described the 1st character as described root node, in turn getting the character late conduct is the child node of its front character, last character in number head of described next bar record is handled, thereby, generated the part that described number figure sets by number head of described next bar record;
Step t5, if find node with identical value, just regard described node as a root node with identical value, one by one all characters in the described character are carried out and described step 3 and described step 4 identical operations, character in described next bar head is all handled, thereby has been generated the part of described number figure tree by number head of described next bar record; And
Step t6 one by one carries out described step t3, t4 and t5 to number capital of next the bar record in described several diagram data tables, all records in handling described several diagram data table, thus generate described number figure tree.
6. receiving processing method according to claim 5 is characterized in that, described several figure create-rules comprise:
Generate described initial number figure; And
Generate described dynamic number figure.
7. receiving processing method according to claim 6 is characterized in that, generates described initial number figure and may further comprise the steps:
Utilize described number figure tree, the character of getting the preceding predetermined figure of all numbers head in described several diagram data table generates described initial number figure.
8. receiving processing method according to claim 6 is characterized in that, generates described initial number figure and may further comprise the steps:
Utilize described number figure tree, long and The Minimum Number Length and predetermined figure according to maximum number, the character of getting all numbers head in described several diagram data table generates described initial number figure.
9. receiving processing method according to claim 6 is characterized in that, utilizes the artificially to be provided with and generates described initial number figure.
10. receiving processing method according to claim 6 is characterized in that, generates described dynamic number figure and may further comprise the steps:
When dial the number when matching the destination node of described number figure tree, the data computation of respective path in the described number figure tree is gone out the dynamic number figure that will issue; And
When dial the number when not matching the destination node of described number figure tree as yet, judge the current node that matches not down one deck a plurality of child nodes are arranged, calculate the dynamic number figure that will issue according to described judgement then.
11. receiving processing method according to claim 6 is characterized in that, described several figure create-rules insert at least one in T, L and the S timer in described initial number figure when generating described initial number figure, and it is overtime to be used for the control dialing.
12. receiving processing method according to claim 6 is characterized in that, described several figure create-rules insert at least one in T, L and the S timer in described dynamic number figure when generating described dynamic number figure, and it is overtime to be used for the control dialing.
13. according to claim 11 or 12 described receiving processing methods, it is characterized in that, when the L timer expiry, judge that then dialing finishes.
14. receiving processing method according to claim 1 is characterized in that, described step c may further comprise the steps:
Step c1 when described initial matching situation is coupling, determines to carry out described steps d; And
Step c2, when described initial matching situation when not matching, then determine the dialing mistake.
15. receiving processing method according to claim 1 is characterized in that, described step f may further comprise the steps:
Step f1 when described Dynamic matching situation is grown for matching maximum number, then determines number head;
Step f2 when described Dynamic matching situation is long for not matching described maximum number as yet, and still is when coupling, then determines to continue to carry out described steps d and described step e; And
Step f3, described Dynamic matching situation is long for not matching described maximum number as yet, and when not matching, then determines the dialing mistake.
16. the processing unit that collects the digits is characterized in that comprising:
Initially issue module, be used for when off-hook, issuing initial number figure;
The initial matching module is used at dialing procedure, checks whether the number and the described initial number figure that at first dial mate, to obtain the initial matching situation;
Initial determination module is used for according to described initial matching situation, determines execution in step d or determines the dialing mistake;
Dynamically issue module, be used for,, constantly issue the dynamic number figure of new correspondence the number of next dialing one by one at described dialing procedure;
The Dynamic matching module is used for constantly checking the match condition of the described number of dialing one by one and described corresponding dynamic number figure, to obtain the Dynamic matching situation; And
Dynamically determination module is used for determining to continue to carry out described module and described Dynamic matching module or definite number head or the definite dialing mistake of dynamically issuing according to described Dynamic matching situation.
17. the processing unit that collects the digits according to claim 16 is characterized in that, described initial number figure and described dynamic number figure are generated by number figure generating apparatus, and described several figure generating apparatus comprise:
Number figure tree generation module is used for according to default several diagram data tables, generates number figure tree according to default tree create-rule, and wherein said several diagram data tables comprise many records, and every described record comprises described head; And
Number figure generation module is used to utilize described number figure tree, generates the number set of graphs according to default several figure create-rules, and described several set of graphs comprise described initial number figure and described dynamic number figure.
CNB2006100570871A 2006-03-17 2006-03-17 Receiving processing method and device thereof Expired - Fee Related CN100512342C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100570871A CN100512342C (en) 2006-03-17 2006-03-17 Receiving processing method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100570871A CN100512342C (en) 2006-03-17 2006-03-17 Receiving processing method and device thereof

Publications (2)

Publication Number Publication Date
CN1870682A true CN1870682A (en) 2006-11-29
CN100512342C CN100512342C (en) 2009-07-08

Family

ID=37444224

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100570871A Expired - Fee Related CN100512342C (en) 2006-03-17 2006-03-17 Receiving processing method and device thereof

Country Status (1)

Country Link
CN (1) CN100512342C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969400A (en) * 2010-10-13 2011-02-09 深圳市共进电子有限公司 Method for matching number of voice over internet protocol terminal equipment
CN102185985A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Number receiving method of IP terminal or gateway
CN102892049A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Digitmap number analysis method and system
CN103905658A (en) * 2012-12-31 2014-07-02 中国移动通信集团辽宁有限公司 Method and device for processing time delay in calling process, and exchange devices
CN108234778A (en) * 2017-12-05 2018-06-29 瑞斯康达科技发展股份有限公司 A kind of several rule map generation methods and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969400A (en) * 2010-10-13 2011-02-09 深圳市共进电子有限公司 Method for matching number of voice over internet protocol terminal equipment
CN101969400B (en) * 2010-10-13 2012-05-30 深圳市共进电子股份有限公司 Method for matching number of voice over internet protocol terminal equipment
CN102185985A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Number receiving method of IP terminal or gateway
CN102185985B (en) * 2011-01-30 2013-05-22 广东佳和通信技术有限公司 Number receiving method of IP terminal or gateway
CN102892049A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Digitmap number analysis method and system
CN103905658A (en) * 2012-12-31 2014-07-02 中国移动通信集团辽宁有限公司 Method and device for processing time delay in calling process, and exchange devices
CN103905658B (en) * 2012-12-31 2017-02-08 中国移动通信集团辽宁有限公司 Method and device for processing time delay in calling process, and exchange devices
CN108234778A (en) * 2017-12-05 2018-06-29 瑞斯康达科技发展股份有限公司 A kind of several rule map generation methods and device
CN108234778B (en) * 2017-12-05 2020-04-24 瑞斯康达科技发展股份有限公司 Method and device for generating digital graph rule

Also Published As

Publication number Publication date
CN100512342C (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN1198473C (en) Resource control system, method and base station and mobile station using the system, method
CN1881862A (en) Device, method, and program for estimating quality-deteriorated area of network
CN1832473A (en) Method and device for processing session message in IMS network
CN1455554A (en) Voice network system on network agreement
CN1801231A (en) Emergency call system and emergency call method
CN1838642A (en) Method and system for realizing ask-answer service using instantaneous message system
CN1795465A (en) Operation history utilization system
CN101035027A (en) Network management interface information interaction method, device and notice reporting method
CN1204504C (en) Method for supporting shipment of virtual shopping mall
CN1744516A (en) Bandwidth control method, server, user terminal and program
CN1870826A (en) Call release control system and its method
CN101047628A (en) System and method for implementing block service of circuit field terminal access packet network
CN1870682A (en) Receiving processing method and its device
CN1248127C (en) Transmitting person mobile device, receiving person mobile device, information communication system, information communication method and server appts. thereof
CN1780261A (en) Differentiated services multicast system and method using encapsulation and unicast
CN1925519A (en) Telephone call method and telephone terminal
CN101047524A (en) Method and system for implementing multi-media recording
CN1812453A (en) Method for realizing message-leaving lamp and communication system
CN1635765A (en) A SIP network structure and method for implementing SIP group call
CN101068119A (en) Trunk state detecting method, device and testing information terminal equipment thereof
CN1968258A (en) Method for negotiating media different capability
CN1878151A (en) System, method and information processing device for realizing multimedia service change
CN1422057A (en) Communication terminal, Communication method and program thereof
CN101056349A (en) Implementation method of the high-speed fax signaling flow supported by the gateway control protocol
CN1282329C (en) Route processing method for multi-stage network management 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: 20090708

Termination date: 20130317