CN103428322A - Method of collecting user key press and network voice communication terminal - Google Patents

Method of collecting user key press and network voice communication terminal Download PDF

Info

Publication number
CN103428322A
CN103428322A CN2013102534189A CN201310253418A CN103428322A CN 103428322 A CN103428322 A CN 103428322A CN 2013102534189 A CN2013102534189 A CN 2013102534189A CN 201310253418 A CN201310253418 A CN 201310253418A CN 103428322 A CN103428322 A CN 103428322A
Authority
CN
China
Prior art keywords
signaling
voip terminal
pond
collects
digits
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
CN2013102534189A
Other languages
Chinese (zh)
Other versions
CN103428322B (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 CN201310253418.9A priority Critical patent/CN103428322B/en
Publication of CN103428322A publication Critical patent/CN103428322A/en
Application granted granted Critical
Publication of CN103428322B publication Critical patent/CN103428322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the present invention discloses a method of collecting user key press and a network voice communication terminal. The method of the embodiment of the present invention comprises the steps of using a VOIP terminal to receive a number receiving signaling sent by a media gateway controller (MGC) for the first time; and then starting a preset number pool; using the VOIP terminal to collect the numbers pressed by a user and storing the numbers pressed by the user in the number pool according to the key press order of the user; using the VOIP terminal to determine whether the received number receiving signaling satisfies a predetermined condition; if yes, using the VOIP terminal to report the numbers in the number pool according to the predetermined condition. Therefore, the numbers pressed by the user can be collected completely by caching the numbers pressed by the user in the number pool, and accordingly, the key press of the user can be prevented from losing on the conditions that a network environment is worse, or the severe jitter or time delay occurs in the network, etc.

Description

A kind of collection user key-press method and network voice communication terminal
Technical field
The embodiment of the present invention relates to the communications field, relates in particular to a kind of collection user key-press method and network voice communication terminal.
Background technology
Along with the universal and development of broadband services, the network bandwidth has been no longer the limitation of the technology of network voice communication (VOIP, Voice Over Internet Protocol), and the VOIP business is able to universal fast.The user is by VOIP terminal access VOIP business.The dialing process of VOIP business, need the user to dial in analog station, and the VOIP terminal collects the digits, and use the agreement (IP, Internet Protocol) interconnected between network to send call request to the server on network.
But when network environment is relatively severe or network occurs the situation such as serious shake or time delay lower time can causing media gateway controlling server (MGC, Media Gateway Control) to issue the event detection signaling not in time, the problem that causes user key-press to be lost.
Summary of the invention
The embodiment of the present invention provides a kind of collection user key-press method and network voice communication terminal, collection user's that can the be complete number of pressing, and then prevent the user key-press loss.
The collection user key-press method that the embodiment of the present invention provides, comprise: the VOIP terminal receives the signaling that collects the digits that MGC sends first, then start the number pond set in advance, the VOIP terminal is collected the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, whether the signaling that collects the digits that the VOIP terminal judges receives meets prerequisite, if the number that the VOIP terminal is checked numbers in pond according to prerequisite is reported.
The VOIP terminal that the embodiment of the present invention provides, comprise: receiving element is for the signaling that collects the digits of receiving media gateway control server MGC transmission first, start unit is for starting the number pond set in advance, the first collector unit is for collecting the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, whether the signaling that collects the digits that the first judging unit receives for judgement meets prerequisite, the first transmitting element is for when meeting prerequisite, and the number of checking numbers in pond according to prerequisite is reported.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, the VOIP terminal receives the signaling that collects the digits that MGC sends first, then start the number pond set in advance, the VOIP terminal is collected the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, whether the signaling that collects the digits that the VOIP terminal judges receives meets prerequisite, if, the number that the VOIP terminal is checked numbers in pond according to prerequisite is reported, the number of pressing by number pond cache user like this, collection user's that can the be complete number of pressing, and then relatively severe or network occurs in the situations such as serious shake or time delay in network environment, prevent the user key-press loss.
The accompanying drawing explanation
Fig. 1 collects embodiment schematic diagram of user key-press method in the embodiment of the present invention;
Fig. 2 collects another embodiment schematic diagram of user key-press method in the embodiment of the present invention;
Fig. 3 is embodiment schematic diagram of network voice communication terminal in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of network voice communication terminal in the embodiment of the present invention;
Another embodiment schematic diagram of the first judging unit that Fig. 5 is network voice communication terminal in Fig. 4;
Another embodiment schematic diagram of the first transmitting element that Fig. 6 is network voice communication terminal in Fig. 4;
Another embodiment schematic diagram of the first transmitting element that Fig. 7 is network voice communication terminal in Fig. 4.
Embodiment
The embodiment of the present invention provides a kind of collection user key-press method and network voice communication terminal, collection user's that can the be complete number of pressing, and then prevent the user key-press loss.
Please refer to Fig. 1, collect embodiment of user key-press method in the embodiment of the present invention and comprise:
101, receive first the signaling that collects the digits that MGC sends;
In the present embodiment, the VOIP terminal is the VOIP communication terminal based under agreement (H.248 media gateway control protocol) H.248, under this agreement, MGC also issues dial plan and dialing tone signaling to the VOIP terminal when issuing first the signaling that collects the digits, it is prior art herein, so it will be appreciated by those skilled in the art that and issue the signaling that collects the digits first, issue dial plan and dialing tone signaling simultaneously.
It should be noted that, MGC can repeatedly issue the signaling that collects the digits, and this is prior art.
102, start the number pond set in advance;
In the present embodiment, the VOIP terminal can start the number pond set in advance after receiving first the signaling that collects the digits that MGC sends, while starting the number pond in the number pond without number.
103, collect the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond;
In the present embodiment, the VOIP terminal is collected the number that the user presses, and the number that for example user presses is followed successively by " 1 ", " 5 ", " 7 ", then the VOIP terminal according to the sequential storage of " 1 ", " 5 ", " 7 " in the number pond.
Whether the signaling that collects the digits that 104, judgement receives meets prerequisite, if, perform step 105, if not, repeated execution of steps 103;
In the present embodiment, the signaling that collects the digits is for controlling the signaling of receiving number based on MGC in H.248, because the signaling that collects the digits based in H.248 has multiplely, so whether the signaling that collects the digits that the VOIP terminal judges receives meets prerequisite, for the judgement signaling that collects the digits, meet any signaling that collects the digits here.
The number of 105, checking numbers in pond according to prerequisite is reported.
In the present embodiment, the signaling that collects the digits receive if determine meets prerequisite, can be according to the difference of this prerequisite and the signaling that collects the digits, and the number that adopts corresponding mode to check numbers in pond is reported.
In the present embodiment, the VOIP terminal receives the signaling that collects the digits that MGC sends first, then start the number pond set in advance, the VOIP terminal is collected the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, whether the signaling that collects the digits that the VOIP terminal judges receives meets prerequisite, if, the number that the VOIP terminal is checked numbers in pond according to prerequisite is reported, the number of pressing by number pond cache user like this, the number that collection user that can be complete presses, and then relatively severe or network occurs in the situations such as serious shake or time delay in network environment, prevent the user key-press loss.
For ease of understanding, below with an instantiation, the collection user key-press method in the embodiment of the present invention is described, refer to Fig. 2, collect another embodiment of user key-press method in the embodiment of the present invention and comprise:
201, receive first the signaling that collects the digits that MGC sends;
In the present embodiment, the VOIP terminal is the VOIP communication terminal based under agreement (H.248 media gateway control protocol) H.248, under this agreement, MGC also issues dial plan and dialing tone signaling to the VOIP terminal when issuing first the signaling that collects the digits, it is prior art herein, so it will be appreciated by those skilled in the art that and issue the signaling that collects the digits first, issue dial plan and dialing tone signaling simultaneously.
It should be noted that, MGC can repeatedly issue the signaling that collects the digits, and this is prior art.
202, collect the number that the user presses;
In the present embodiment, after in step 201, the VOIP terminal receives the signaling that collects the digits of MGC transmission first, the user presses number, and now the VOIP terminal is collected the number that the user presses.
203, the dial plan sent according to the MGC received, the number that the user is pressed is mated with the number rule map;
204, the number that the match is successful is reported to MGC;
In the present embodiment, the dial plan that the VOIP terminal sends according to the MGC received, the number that the user who collects in step 202 is pressed is mated with the number rule map, if the number that the match is successful is arranged in the number mated, the number that the match is successful is reported to MGC, the mode of number figure coupling is prior art, does not do restriction herein.
205, start the number pond set in advance;
In the present embodiment, if when reporting the number of MGC can not match any user fully in step 204, the VOIP terminal can start the number pond set in advance, the data structure of the storage in this number pond is annular array, increase simultaneously and have mutual exclusion lock to write same position to prevent two numbers, while starting the number pond in the number pond without number.
206, collect the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond;
207, again collect the number that the user presses, and the number storage of the user being pressed according to the order of user key-press is to the afterbody in number pond;
In the present embodiment, there is no number in the number pond owing to starting the number pond in step 205, step 206 collects for the VOIP terminal number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, if when the VOIP terminal is collected number again, the number storage of the user being pressed according to the order of user key-press is to the afterbody in number pond, for example, when the number of collecting is " 1 " and " 2 ", and user's button is sequentially " 1 ", " 2 ", so number " 1 " is deposited in to the stem in number pond, number " 2 " deposits the back of " 1 " in the number pond in, if the number of again collecting is " 3 ", now number " 3 " deposits the back of " 2 " in the number pond in, be understandable that, as long as the user presses number, the VOIP terminal will be collected number and according to step 206 and the described mode of step 207, number be deposited in the number pond.
Whether the signaling that collects the digits that 208, judgement receives is that signal tone starts to detect signaling or detects dialing and finish signaling, if, perform step 209, if not, repeated execution of steps 207;
209, determine and meet prerequisite;
In the present embodiment, whether the signaling that collects the digits that at first the VOIP terminal judges receives is that signal tone starts to detect signaling or detects dialing and finish signaling, if collect the digits, signaling is that signal tone starts to detect signaling or detects dialing and finish signaling, mean to meet prerequisite, the signaling that collects the digits can also be other signaling, do not do restriction herein, the present embodiment be take signal tone and is started to detect signaling and detect dialing and finish signaling and describe as example.
210, judge in the number pond whether pending number is arranged, if, perform step 211, if not, repeated execution of steps 207;
211, take out an item code from the stem in number pond and report to MGC;
In the present embodiment, if the signaling that collects the digits that in step 208, judgement receives is that signal tone starts to detect signaling, now judge in the number pond whether pending number is arranged, if pending number is arranged, from the stem in number pond, take out an item code and report MGC, the number that for example in the number pond, from stem, starts to store is " 1 ", " 2 ", " 3 ", now from the stem in number pond, takes out number " 1 " and reports MGC.
Receive signal tone and start to detect signaling more than once, the VOIP terminal can receive the multiple signal sound and start to detect signaling, now as long as judgement receives a signal tone, starts to detect signaling, will take out an item code from the stem in number pond and report MGC.
In the present embodiment, so long as number is arranged in the number pond, it is just pending number, delete the number of this taking-up when taking out an item code, by in conjunction with above-mentioned prior art, for example, the number that starts to store from stem in the number pond is " 1 ", " 2 ", " 3 ", when the signaling that collects the digits that receives for the first time of judgement in step 208 is that signal tone is while starting to detect signaling, take out number " 1 " from the stem in number pond and report MGC, and " 1 " is deleted from the number pond, the stem that the position of number " 2 " is the number pond like this, when the signaling that collects the digits that receives for the second time of judgement in step 208 is that signal tone is while starting to detect signaling, take out number " 2 " from the stem in number pond and report MGC.
212, judge in the number pond whether pending number is arranged, if, perform step 213, if not, repeated execution of steps 207;
213, taking out successively number from the stem in number pond is mated with the number rule map;
214, the number that in the number pond, the match is successful is reported to MGC;
In the present embodiment, if the signaling that collects the digits that in step 208, judgement receives finishes signaling for detecting dialing, now judge in the number pond whether pending number is arranged, if pending number is arranged, from the stem in number pond, taking out successively number is mated with the number rule map, the number that the match is successful if having, the number that in the number pond, the match is successful is reported to MGC, for example, pending number is " 1 ", " 2 ", " 3 ", when the signaling that collects the digits finishes signaling for detecting dialing, take out successively number " 1 " from the stem in number pond, " 2 ", " 3 " are also mated with several rule maps, if number " 1 " is with " 3 ", the match is successful, the VOIP terminal reports MGC by number " 1 " and " 3 ", the mode of number figure coupling is prior art, do not do restriction herein.
215, judge whether to receive that the media that MGC sends safeguard signaling, if, perform step 216, if not, repeat step 207;
In the present embodiment, step 215 is after step 211 or step 214, and whether the VOIP terminal judges receives the media that MGC sends and safeguard signaling, and these media safeguard that signaling is the signaling in agreement H.248.
216, the VOIP terminal stops collecting number.
In the present embodiment, safeguard signaling if receive media, stop collecting number, the VOIP terminal receives that media safeguard signaling, mean that the number reported has matched a user, now the VOIP terminal can not received the signaling that collects the digits again, and the VOIP terminal can be closed the number pond simultaneously, do not safeguard signaling if receive media, the VOIP terminal can continue to collect the number that the user presses and wait for the signaling that collects the digits.
Alternatively, can also timer is set in the VOIP terminal and threshold value is set, when the time of number pond unlatching equals threshold value, close the number pond, this threshold value can be set to 15 seconds, those skilled in the art can also set up the size of threshold value as required on their own, do not do restriction herein.
In the present embodiment, the VOIP terminal receives the signaling that collects the digits that MGC sends first, then collect the number that the user presses, and the dial plan sent according to the MGC received, the number that described user is pressed is mated with the number rule map, if the match is successful, the number that the match is successful is reported to MGC, then start default number pond, whether the signaling that collects the digits that then judgement receives is that signal tone starts to detect signaling or detects dialing and finish signaling, the VOIP terminal is that signal tone starts to detect signaling or detects dialing and finish the number that signaling utilizes different modes to check numbers in pond and reported according to the signaling that collects the digits, the number of pressing by number pond cache user like this, collection user's that can the be complete number of pressing, and then relatively severe or network occurs in the situations such as serious shake or time delay in network environment, prevent the user key-press loss.
Below, to describing the VOIP terminal of the embodiment of the present invention for carrying out above-mentioned collection user key-press method, its basic logical structure is with reference to figure 3, and in the embodiment of the present invention, embodiment of VOIP terminal comprises:
Receiving element 301, start unit 302, the first collector unit 303, the first judging unit 304 and the first transmitting element 305;
Receiving element 301, the signaling that collects the digits sent for receiving first MGC;
Start unit 302, the number pond set in advance for startup;
The first collector unit 303, the number of pressing for collecting the user, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond;
The first judging unit 304, whether the signaling that collects the digits received for judgement meets prerequisite;
The first transmitting element 305, for when meeting prerequisite, the number of checking numbers in pond according to prerequisite is reported.
In the present embodiment, receiving element 301 receives the signaling that collects the digits that MGC sends first, then start unit 302 starts the number pond set in advance, the first collector unit 303 is collected the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, whether the signaling that collects the digits that the first judging unit 304 judgements receive meets prerequisite, when meeting prerequisite, the number that the first transmitting element 305 is checked numbers in pond according to prerequisite is reported, the number of pressing by number pond cache user like this, collection user's that can the be complete number of pressing, and then relatively severe or network occurs in the situations such as serious shake or time delay in network environment, prevent the user key-press loss.
In order better to understand the above embodiments, below, with the alternately data interactive mode in terminal is described between the modules in the VOIP terminal and unit, please further consult Fig. 4 and Fig. 5, comprising:
Receiving element 401, the second collector unit 402, matching unit 403, the second transmitting element 404, start unit 405, the first collector unit 406, the 3rd collector unit 407, the first judging unit 408, the first transmitting element 409, the second judging unit 410 and stop element 411;
The first judging unit 408 comprises: the first judge module 4081 and the first determination module 4082;
Receiving element 401 receives the signaling that collects the digits that MGC sends first, then can receive dial plan and dialing tone signaling in the signaling that collects the digits that receives the MGC transmission, it is prior art herein, and inform that the second collector unit 402 receives the signaling that collects the digits first, it should be noted that, MGC can repeatedly issue the signaling that collects the digits, and this is prior art;
The second collector unit 402 is collected the number that the user presses, and the number of collection is sent to matching unit 403 after receiving first the signaling that collects the digits of MGC transmission at receiving element 401;
The number that the user that the dial plan that matching unit 403 sends according to the MGC received is collected the second collector unit 402 presses is mated with the number rule map, if the number that the match is successful is arranged in the number mated, the number that the match is successful is sent to the second transmitting element 404;
The second transmitting element 404 will the match is successful numbers report to MGC, when the number that reports MGC when the second transmitting element 404 can not match any user fully, trigger start unit 405;
Start unit 405 starts the number pond set in advance, while wherein starting the number pond in the number pond without number;
The first collector unit 406 is after start unit 405 starts the number pond, collect the number that the user presses, and the number storage of the user being pressed according to the sequencing of user key-press is in the number pond, for example, the number that the first collector unit 406 is collected is " 1 " and " 2 ", and user's button is sequentially " 1 " and " 2 ", and number " 1 " deposits the stem in number pond in so, and number " 2 " deposits the back of " 1 " in the number pond in;
The 3rd collector unit 407 is after the first collector unit 406 is collected the number that the user presses, again collect the number that the user presses, and the number storage of the user being pressed according to the order of user key-press is to the afterbody in number pond, for example, after the first collector unit 406 deposits the number " 1 " and " 2 " in the number pond in, if the number that the 3rd collector unit 407 is collected again is " 3 ", now " 3 " deposit the back of " 2 " in the number pond in, it should be noted that, as long as the user pushes button, will collect the number that the user presses, and deposit in the number pond according to the storage mode of the first collector unit 406 and the 3rd collector unit 407,
Whether the signaling that collects the digits that the first judge module 4081 judgements receive is that signal tone starts to detect signaling or detects dialing and finish signaling, if judgment result is that, be, judged result is sent to the first determination module 4082, if the determination result is NO, repeats the operation of the 3rd collector unit 407;
When judgment result is that of receiving of the first determination module 4082 is, the first determination module 4082 is determined and is met prerequisite, it should be noted that, the signaling that collects the digits can also be other signaling, and the present embodiment be take signal tone and started to detect signaling and detect dialing and finish signaling and describe as example;
When the signaling that collects the digits is signal tone while starting to detect signaling, please with further reference to Fig. 6, the first transmitting element 409 comprises: the second judge module 4091 and the first sending module 4092;
Whether the second judge module 4091 judges in the number pond pending number, if judgment result is that, be, judged result is sent to the first sending module 4092, if the determination result is NO, repeat the operation of the 3rd collector unit 407, as long as in the second judge module 4091 judgement number ponds, number is arranged, it is exactly pending number;
Judgment result is that pending number if the first sending module 4092 receives, the first sending module 4092 takes out an item code from the stem in number pond and reports MGC, the number that for example in the number pond, from stem, starts to store is " 1 ", " 2 ", " 3 ", now the first sending module 4092 takes out number " 1 " from the stem in number pond and reports MGC, it should be noted that, receive signal tone and start to detect signaling more than once, the VOIP terminal can receive the multiple signal sound and start to detect signaling, now as long as receiving a signal tone, judgement starts to detect signaling, will report an item code, when taking out an item code, deletes the first sending module 4092 number of this taking-up, for example, the number that starts to store from stem in the number pond is " 1 ", " 2 ", " 3 ", when taking out number " 1 " from the stem in number pond, the first sending module 4092 reports MGC, to count number " 1 " deletes simultaneously from the number pond, the stem that the position of number " 2 " is the number pond like this,
If collect the digits, signaling finishes signaling for detecting dialing, and please with further reference to Fig. 7, the first transmitting element 409 comprises: the 3rd judge module 4093, matching module 4094, the second sending module 4095;
When the 3rd judge module 4093 finishes signaling in the signaling that collects the digits for detecting dialing, judge in the number pond and whether pending number is arranged, if judgment result is that be, judged result is sent to matching module 4094, if the determination result is NO, repeat the operation of the 3rd collector unit 407;
If receiving, matching module 4094 judgment result is that pending number, matching module 4094 takes out successively number from the stem in number pond and is mated with the number rule map, the number that the match is successful if having, the number that the match is successful is sent to the second sending module 4095, for example, pending number is " 1 ", " 2 ", " 3 ", matching module 4094 takes out number " 1 " successively from the stem in number pond, " 2 ", " 3 " are also mated with several rule maps, if the match is successful for number " 1 " and " 3 ", number " 1 " and " 3 " are sent to the second sending module 4095,
The second sending module 4095 reports MGC by the number that in the number pond, the match is successful, for example, the second sending module 4095 receives the number that the match is successful " 1 " and " 3 ", the second sending module 4095 reports MGC by number " 1 " and " 3 ", the mode of number figure coupling is prior art, does not do restriction herein;
After the first sending module 4092 or the second sending module 4095 execute respective operations, the second judging unit 410 judges whether to receive the media that MGC sends and safeguards signaling, these media safeguard that signaling is the signaling in agreement H.248, and judged result is sent to stop element 411, it should be noted that, the second judging unit 410 judgement receives that media safeguard signaling, means that the number reported has matched a user, now can not receive the signaling that collects the digits again;
Safeguard signaling if receive media, stop element 411 stops collecting number, the number pond can be closed, if receive media, does not safeguard signaling, repeats the operation of the 3rd collector unit 407 simultaneously.
In addition, can also timer is set in the VOIP terminal and threshold value is set, when the time of number pond unlatching equals threshold value, timer cuts out the number pond, and this threshold value can be set to 15 seconds, those skilled in the art can also set up the size of threshold value as required on their own, do not do restriction herein.
In the present embodiment, receiving element 401 receives the signaling that collects the digits that MGC sends first, then the second collector unit 402 is collected the number that the user presses, the dial plan that matching unit 403 sends according to the MGC received, the number that the user is pressed is mated with the number rule map, if the match is successful, the second transmitting element 404 reports to MGC by the number that the match is successful, then start unit 405 starts default number pond, the number that the first collector unit 406 and the 3rd collector unit 407 continuation collection users press deposits in the number pond, whether the signaling that collects the digits that then the first judge module 4081 judgements receive is that signal tone starts to detect signaling or detects dialing and finish signaling, if collect the digits, signaling is that signal tone is while starting to detect signaling, the second judge module 4091 judges in the number pond whether pending number is arranged and when pending number is arranged, the first sending module 4092 takes out an item code from the stem in number pond and reports to MGC, when if collect the digits, signaling finishes signaling for detecting dialing, whether the 3rd judge module 4093 judges in the number pond pending number, when pending number is arranged, matching module 4094 takes out successively number from the stem in number pond and is mated with the number rule map, and after the match is successful, the second sending module 4095 reports to MGC by the number that in the number pond, the match is successful, the number of pressing by number pond cache user like this, collection user's that can the be complete number of pressing, and then when network environment is relatively more severe or network occurs in the situations such as serious shake or time delay, prevent the user key-press loss.
The those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (13)

1. collect the user key-press method for one kind, it is characterized in that, described method comprises:
The VOIP terminal signaling that collects the digits that receiving media gateway control server MGC sends first;
The number pond that described VOIP starting terminal sets in advance;
Described VOIP terminal is collected the number that described user presses, and the number storage of described user being pressed according to the sequencing of described user key-press is in described number pond;
Whether the described signaling that collects the digits that described VOIP terminal judges receives meets prerequisite;
If described VOIP terminal is reported the number in described number pond according to described prerequisite.
2. method according to claim 1, is characterized in that, the step that described VOIP terminal receives the signaling that collects the digits of MGC transmission first also comprises afterwards:
Described VOIP terminal is collected the number that described user presses;
The dial plan that described VOIP terminal sends according to the described MGC received, the number that described user is pressed is mated with the number rule map;
After the match is successful, described VOIP terminal reports to described MGC by the number that the match is successful, and triggers the operation that starts the number pond set in advance.
3. method according to claim 1, is characterized in that, the step whether described signaling that collects the digits that described VOIP terminal judges receives meets prerequisite also comprises before:
Described VOIP terminal is collected the number that described user presses again, and the number storage of described user being pressed according to the order of described user key-press is to the afterbody in described number pond.
4. method according to claim 3, is characterized in that, whether the described signaling that collects the digits that described VOIP terminal judges receives meets prerequisite is specially:
Whether the described signaling that collects the digits that described VOIP terminal judges receives is that signal tone starts to detect signaling or detects dialing and finish signaling;
If determine and meet prerequisite;
If the signaling that collects the digits described is that signal tone starts to detect signaling, and the number that described VOIP terminal is checked numbers in pond according to described prerequisite is reported to be specially:
Whether the described number of described VOIP terminal judges has pending number in pond;
If described VOIP terminal is taken out an item code from the stem in described number pond and is reported to described MGC; Perhaps
If the signaling that collects the digits described finishes signaling for detecting dialing, and the number that described VOIP terminal is checked numbers in pond according to described prerequisite is reported to be specially:
Whether the described number of described VOIP terminal judges has pending number in pond;
If have, described VOIP terminal is taken out number and described several rule map is mated successively from the stem in described number pond;
After the match is successful, described VOIP terminal reports to described MGC by the number that in described number pond, the match is successful.
5. method according to claim 1, is characterized in that, after the step that the number that described VOIP terminal is checked numbers in pond according to described prerequisite is reported, also comprises:
Whether described VOIP terminal judges receives that the media that described MGC sends safeguard signaling;
If described VOIP terminal receives described media and safeguards signaling, described VOIP terminal stops collecting number.
6. according to the method described in claim 5, it is characterized in that, the condition that described number pond is closed is that timer expiry or described VOIP terminal receive described media and safeguard signaling.
7. according to the described method of any one in claim 1 to 5, it is characterized in that, the data structure of described number pond storage is annular array, increases mutual exclusion lock simultaneously.
8. a network voice communication VOIP terminal, is characterized in that, comprising:
Receiving element, for the signaling that collects the digits that receiving media gateway control server MGC sends first;
Start unit, the number pond set in advance for startup;
The first collector unit, the number of pressing for collecting described user, and the number storage of described user being pressed according to the sequencing of described user key-press is in described number pond;
The first judging unit, whether the described signaling that collects the digits received for judgement meets prerequisite;
The first transmitting element, for when meeting prerequisite, reported the number in described number pond according to described prerequisite.
9. VOIP terminal according to claim 8, is characterized in that, described VOIP terminal also comprises:
The second collector unit, the number of pressing for collecting described user;
Matching unit, the dial plan sent for the described MGC according to receiving, the number that described user is pressed is mated with the number rule map;
The second transmitting element, for after the match is successful, report to described MGC by the number that the match is successful, and trigger described start unit.
10. VOIP terminal according to claim 8, is characterized in that, described VOIP terminal also comprises:
The 3rd collector unit, the number of pressing for again collecting described user, and the number storage of described user being pressed according to the order of described user key-press is to the afterbody in described number pond.
11. VOIP terminal according to claim 10, is characterized in that, described the first judging unit comprises:
The first judge module, whether the described signaling that collects the digits received for judgement is that signal tone starts to detect signaling or detects dialing and finish signaling;
The first determination module, for being that signal tone starts to detect signaling or detects dialing while finishing signaling in the described signaling that collects the digits, determine and meet prerequisite;
If the signaling that collects the digits described is that signal tone starts to detect signaling, and described the first transmitting element comprises:
Whether the second judge module, have pending number for judging described number pond;
The first sending module, for when pending number is arranged, take out an item code from the stem in described number pond and report to described MGC; Perhaps
If the signaling that collects the digits described finishes signaling for detecting dialing, and described the first transmitting element comprises:
Whether the 3rd judge module, have pending number for judging described number pond;
Matching module, for when pending number is arranged, take out number and described several rule map is mated successively from the stem in described number pond;
The second sending module, for after the match is successful, report to described MGC by the number that in described number pond, the match is successful.
12. VOIP terminal according to claim 8, is characterized in that, described VOIP terminal also comprises:
The second judging unit, safeguard signaling for judging whether the media of receiving described MGC transmission;
Stop element, for when receiving described media and safeguard signaling, stop collecting number.
13. VOIP terminal according to claim 12, is characterized in that, the condition that described number pond is closed is that timer expiry or described stop element receive described media and safeguard signaling.
CN201310253418.9A 2013-06-24 2013-06-24 Method of collecting user key press and network voice communication terminal Active CN103428322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310253418.9A CN103428322B (en) 2013-06-24 2013-06-24 Method of collecting user key press and network voice communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310253418.9A CN103428322B (en) 2013-06-24 2013-06-24 Method of collecting user key press and network voice communication terminal

Publications (2)

Publication Number Publication Date
CN103428322A true CN103428322A (en) 2013-12-04
CN103428322B CN103428322B (en) 2017-04-26

Family

ID=49652483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310253418.9A Active CN103428322B (en) 2013-06-24 2013-06-24 Method of collecting user key press and network voice communication terminal

Country Status (1)

Country Link
CN (1) CN103428322B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1179927A2 (en) * 2000-08-09 2002-02-13 Nortel Networks Limited Method for controlling services levels over packet based networks
CN1661969A (en) * 2004-02-28 2005-08-31 华为技术有限公司 Method for preventing loss of digit reception
EP2375649A1 (en) * 2008-12-26 2011-10-12 ZTE Corporation Number reception method based on media gateway control protocol and media gateway controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1179927A2 (en) * 2000-08-09 2002-02-13 Nortel Networks Limited Method for controlling services levels over packet based networks
CN1661969A (en) * 2004-02-28 2005-08-31 华为技术有限公司 Method for preventing loss of digit reception
EP2375649A1 (en) * 2008-12-26 2011-10-12 ZTE Corporation Number reception method based on media gateway control protocol and media gateway controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Also Published As

Publication number Publication date
CN103428322B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
US10560350B2 (en) Systems and methods for monitoring globally distributed remote storage devices
CN104954322B (en) A kind of binding processing method of account, apparatus and system
CN101848373B (en) Wireless video monitoring system and video monitoring method thereof
EP3714612B1 (en) Quick pairing of peripheral and host devices
CN104580409B (en) service request processing method, server and terminal
CN109413762A (en) A kind of awakening method and device of vehicle-mounted Tbox
CN103248452A (en) Data sending device, data receiving device, terminal and data transmission method
CN102271123A (en) Communication method, system and equipment
CN103401997A (en) Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection
TWI241829B (en) Remote control system
CN107003907A (en) A kind of data processing method and data processing equipment
CN109379422A (en) Smartwatch reports the loss method, apparatus, equipment and storage medium
CN103139818A (en) Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS)
CN105430747A (en) Communication method, device and system
CN107872396A (en) Communication means, processing equipment, terminal device and server with overtime control
CN104660639B (en) Cloud terminal upgrade processing method and device
CN101163307A (en) Monitoring method and apparatus
WO2011160378A1 (en) Method and apparatus for processing call failure
CN103747413A (en) Control system and control method of remote device
CN103167479A (en) Method, device and system for achieving remote inhibition and remote activation of terminal
CN103428322A (en) Method of collecting user key press and network voice communication terminal
CN102307204A (en) Interaction method and apparatus in network address list
CN102346822B (en) Traceable mobile storage device, system and tracking method
CN106067857A (en) A kind of user of preventing is forced the method and device rolled off the production line
CN104980483B (en) A kind of data transfering method, server and data transferring 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
GR01 Patent grant
GR01 Patent grant