[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101340681A - Implementing method and apparatus for shielding DTMF sound of outer telephone - Google Patents

Implementing method and apparatus for shielding DTMF sound of outer telephone Download PDF

Info

Publication number
CN101340681A
CN101340681A CNA200810147383XA CN200810147383A CN101340681A CN 101340681 A CN101340681 A CN 101340681A CN A200810147383X A CNA200810147383X A CN A200810147383XA CN 200810147383 A CN200810147383 A CN 200810147383A CN 101340681 A CN101340681 A CN 101340681A
Authority
CN
China
Prior art keywords
dtmf
phone
shielding
telephone
sound
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
CNA200810147383XA
Other languages
Chinese (zh)
Other versions
CN101340681B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810147383XA priority Critical patent/CN101340681B/en
Publication of CN101340681A publication Critical patent/CN101340681A/en
Application granted granted Critical
Publication of CN101340681B publication Critical patent/CN101340681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a realization method and a device for shielding DTMF (dual-tone multifrequency) voice, namely, out-of-band multi-tone multi-frequency voice of an external phone; wherein, the method comprises the following steps: step A: key events of the external phone is detected in a real time manner; step B. whether a current phone is in a connected state is judged, and if the answer is yes, the analog voice signals collected by the telephone are modulated into voice pulses modulated PCM data flows, intercepted and pressed in a cache; after delaying a preset time, relevant PCM data flow is sent; step C. after the key events of the phone are detected, a non-key tone data frame is adopted to replace the data frame of the cache of the delaying preset time; a protocol stack is triggered, and a DTMF signaling is generated by the protocol stack and is sent to a network side; an out-of-band DTMF event transmission can be realized by sending the DTMF signaling. On the basis of not increasing a processing chip, a device and cost, the method and the device of the invention can effectively remove the second dialing sound of DTMF of the external telephone.

Description

A kind of implementation method of shielding DTMF sound of outer telephone and device
Technical field
The present invention relates to the wireless communication technique field, particularly a kind of implementation method and device of shielding external phone DTMF (DualTone Multi-Frequency is with outer multitone multifrequency) sound.
Background technology
Along with popularizing gradually and the decline of rate of mobile communication in recent years, especially high speed mobile data communications such as GPRS, UMTS, HSDPA, CDMA are also more and more abundanter to the business that wireless terminal user provides, and the convenience of mobile communication, characteristics such as flexible are also more and more attractive to the fixed telephone subscriber, the wireless access box product is exactly at outlying and mobile system solution new markets fixed class user, and enters into the stage of a fast development all over the world.Because this product is wanted compatible fixing operator scheme and the type of service different with the mobile subscriber, so the technology relevant with this product also develops rapidly.
According to the mobile communication protocol requirement of 3GPP TS23.014, the two-stage dialing in the conversation of mobile communication need adopt the outer multitone multifrequency DTMF mode of band, promptly sends the dtmf key value by signaling; And insert the box series products owing to adopt the occupation mode of landline telephone, the user directly converses by the outer ordinary telephone set that connects of box, so during the two-stage dialing in the operation conversation, the interior DTMF keypad sounds of band and the outer dtmf signaling of band that the phone generation can occur send to network side simultaneously, cause network side to receive key-press event twice at synchronization, thereby cause that two-stage dialing receives mistake, the user can't operate supplementary services such as finishing some telephone bank, mobile hot line, voice mail, customer service phone.
Need to adopt the corresponding techniques means to remove the two-stage dialing dtmf tone of external phone for this reason, guarantee to insert the compatible fixed telephone service of box product.But because dtmf tone directly produces by phone, and be convenient to marketing for compatible common phone, so can't remove dtmf tone from the source phone.Also can or draw the DTMF frequency of inclined to one side correspondence in addition, make network side can not recognize dtmf tone in the band, but this scheme need increase process chip, device and cost by the filtering of relevant hardware circuit.
Summary of the invention
The objective of the invention is to, a kind of implementation method of shielding DTMF sound of outer telephone is provided, need not increase on the basis of process chip, device and cost, can effectively remove the two-stage dialing dtmf tone of external phone.
Another object of the present invention is to, a kind of device of shielding DTMF sound of outer telephone is provided, need not increase on the basis of process chip, device and cost, can effectively remove the two-stage dialing dtmf tone of external phone.
The implementation method of shielding DTMF sound of outer telephone of the present invention comprises the following steps:
Steps A: detect external phone key-press event in real time;
Step B: judge whether current phone is in the conversation, if, then the analog voice signal of phone collection is modulated to voice pulse code modulated PCM data flow after, intercept and capture and be pressed into buffer memory, and send corresponding PCM data flow behind the delay predetermined time;
Step C: after detecting the key-press event of phone, replace described delay predetermined time data in buffer frame with non-keypad tone Frame; And the triggered protocol stack, generate dtmf signaling by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.
Wherein, among the described step B, the analog voice signal of phone collection is modulated to voice pulse code modulated PCM data flow after, intercept and capture and be pressed into buffer memory among the interim first-in first-out FIFO.
Wherein, among the described step B, described delay predetermined time is removed the required reservation process time of dtmf tone for the phone button detects.
Wherein, the described reservation process time, can set according to the receptible voice transfer delay of user's sense of hearing scope.
Wherein, among the described step C, described non-keypad tone can comprise sky data or white noise data.
The device of shielding DTMF sound of outer telephone of the present invention, comprise checkout gear, buffer storage, control device, wherein, described checkout gear, be used for detecting external phone key-press event in real time, and judge whether current phone is in the conversation, if, after then the analog voice signal of phone collection being modulated to voice pulse code modulated PCM data flow, intercept and capture and be pressed into described buffer storage; Described buffer storage is used for sending corresponding PCM data flow behind the delay predetermined time; Described control device, be used for non-keypad tone Frame is replaced the Frame of the described buffer storage of described delay predetermined time correspondence, and the triggered protocol stack, dtmf signaling generated by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.
Wherein, described buffer storage can be interim first-in first-out FIFO.
Wherein, described delay predetermined time is removed the required reservation process time of dtmf tone for the phone button detects.
Wherein, the described reservation process time, can set according to the receptible voice transfer delay of user's sense of hearing scope.
Wherein, described non-keypad tone can comprise sky data or white noise data.
The invention has the beneficial effects as follows: according to the implementation method and the device of shielding DTMF sound of outer telephone of the present invention, need not increase on the basis of process chip, device and cost, can effectively remove the two-stage dialing dtmf tone of external phone, prevent the reception mistake that two-stage dialing causes, and guarantee to insert the compatible fixed telephone service of box product.
Description of drawings
Fig. 1 is the fifo structure schematic diagram in the embodiment of the invention;
Fig. 2 is the method flow diagram of the embodiment of the invention.
Embodiment
Below, 1~2 implementation method and the device of describing shielding DTMF sound of outer telephone of the present invention in detail with reference to the accompanying drawings.
Core concept of the present invention is: after the two-stage dialing incident key assignments in the external phone conversation is caught, fill the back transmission by corresponding VoP being carried out the sky bag, realize the function of dtmf tone in the external phone band of shielding.
The implementation method of shielding DTMF sound of outer telephone of the present invention comprises the following steps:
Step 1: detect external phone key-press event in real time;
Step 2: judge whether current phone is in the conversation, if, then the analog voice signal with the phone collection is modulated to voice pulse code modulated (Pulse Code Modulation, PCM) after the data flow, intercept and capture and be pressed into interim first-in first-out (First Input First Output, FIFO), send corresponding PCM data flow and behind the delay predetermined time.Wherein, this fifo structure can be referring to Fig. 1.
Step 3: after detecting the key-press event of phone, replace described delay predetermined time data in buffer frame with non-keypad tone Frame; And the triggered protocol stack, generate dtmf signaling by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.
For example, can (for example replace the predetermined former frames of conversation with empty frame, the corresponding time of preceding 5 frames is 100ms) send after the data, by FIFO realize artificially with the corresponding time of mouth-to-ear delay (for example, the corresponding time of preceding 5 frames is 100ms) send, for detecting, removes the dtmf tone reservation process time phone button.In addition, the reservation process time, can set according to the receptible voice transfer delay of user's sense of hearing scope.
In addition, non-keypad tone can comprise sky data or white noise data.
Based on as mentioned above, in order to accomplish time-delay, do not send at once receiving the data of coming, but it is carried out buffer memory, for example place the empty data of 5 bags in the bottom of this buffer memory, with receiving the 6th package location that the first bag data of coming are placed on buffer memory, when sending data, begin to fetch data from the buffer memory bottom, will produce 5 bag data like this is the time-delay of 100ms, after this data are placed continuously, and after buffer memory was piled, recirculation began to place from the buffer memory bottom, also be the same when fetching data, begin to get from the buffer memory bottom, behind the buffer memory top, recirculation begins to read from the buffer memory bottom.So not only can guarantee to control the data of transmission, also can guarantee the continuity of speech data, unique difference is exactly that speech data sends than normal condition 100ms in following evening, and this 100ms, people's ear is distinguished to be come out substantially.Concrete buffer structure as shown in Figure 1.
As shown in Figure 2, the method flow diagram for the embodiment of the invention comprises the following steps:
Step 101: wireless terminal powers on, and finishes system initialization and receives metadata cache FIFO;
Step 102: the user dials the connection phone, enters into talking state;
Step 103: after after the conversation analog voice signal of gathering being modulated to the bit stream data of PCM, intercepting and capturing and be pressed into FIFO successively since the 6th frame;
Step 104: detect whether receive key-press event, if then execution in step 105; Otherwise, directly jump to step 108;
Step 105:, send the outer dtmf signaling of band according to key assignments;
Step 106: fill preceding the 5th frame of the current received frame of FIFO with empty packet, promptly current transmit frame, and send;
Step 107: detect button and whether discharge, if then execution in step 108; Otherwise, jump to step 106;
Step 108: intercepted data packet is directly put into FIFO, and sends current transmit frame.
Step 109: judge whether this conversation finishes, and if not, then execution in step 104; Otherwise, end operation.
In addition, in step 109,, may further include the following step if this conversation finishes:
Step 110: behind the end of conversation, reinitialize FIFO, prepare conversation next time.
In addition, the device of shielding DTMF sound of outer telephone of the present invention, comprise checkout gear, buffer storage, control device, wherein, checkout gear is used for detecting in real time external phone key-press event, and judge whether current phone is in the conversation, if, then the analog voice signal of phone collection is modulated to voice pulse code modulated PCM data flow after, intercept and capture and be pressed into buffer storage; Buffer storage is used for sending corresponding PCM data flow behind the delay predetermined time; Control device, be used for non-keypad tone Frame is replaced the Frame of this delay predetermined time corresponding cache device, and the triggered protocol stack, dtmf signaling generated by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.Wherein, non-keypad tone can comprise sky data or white noise data.
Wherein, this buffer storage can be interim first-in first-out FIFO.
In addition, delay predetermined time is removed the required reservation process time of dtmf tone for the phone button detects.This reservation process time, can set according to the receptible voice transfer delay of user's sense of hearing scope.
In sum, implementation method and device according to shielding DTMF sound of outer telephone of the present invention, need not increase on the basis of process chip, device and cost, can effectively remove the two-stage dialing dtmf tone of external phone, prevent the reception mistake that two-stage dialing causes, and guarantee to insert the compatible fixed telephone service of box product.
More than be in order to make those of ordinary skills understand the present invention; and to detailed description that the present invention carried out; but can expect; in the scope that does not break away from claim of the present invention and contained, can also make other variation and modification, these variations and revising all in protection scope of the present invention.

Claims (10)

1. a shielding DTMF sound of outer telephone is characterized in that promptly with the implementation method of outer multitone multitone, comprises the following steps:
Steps A: detect external phone key-press event in real time;
Step B: judge whether current phone is in the conversation, if, then the analog voice signal of phone collection is modulated to voice pulse code modulated PCM data flow after, intercept and capture and be pressed into buffer memory, and send corresponding PCM data flow behind the delay predetermined time;
Step C: after detecting the key-press event of phone, replace described delay predetermined time data in buffer stream with non-keypad tone Frame; And the triggered protocol stack, generate dtmf signaling by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.
2. the implementation method of shielding DTMF sound of outer telephone as claimed in claim 1, it is characterized in that, among the described step B, the analog voice signal of phone collection is modulated to voice pulse code modulated PCM data flow after, intercept and capture and be pressed into buffer memory among the interim first-in first-out FIFO.
3. the implementation method of shielding DTMF sound of outer telephone as claimed in claim 1 or 2 is characterized in that, among the described step B, described delay predetermined time is removed the required reservation process time of dtmf tone for the phone button detects.
4. the implementation method of shielding DTMF sound of outer telephone as claimed in claim 3 is characterized in that, the described reservation process time, sets according to the receptible voice transfer delay of user's sense of hearing scope.
5. the implementation method of shielding DTMF sound of outer telephone as claimed in claim 4 is characterized in that, among the described step C, described non-keypad tone comprises sky data or white noise data.
6. the device of a shielding DTMF sound of outer telephone is characterized in that, comprises checkout gear, buffer storage, control device, wherein,
Described checkout gear, be used for detecting external phone key-press event in real time, and judge whether current phone is in the conversation, if, after then the analog voice signal of phone collection being modulated to voice pulse code modulated PCM data flow, intercept and capture and be pressed into described buffer storage;
Described buffer storage is used for sending corresponding PCM data flow behind the delay predetermined time;
Described control device, be used for data flow that non-keypad tone Frame is replaced the described buffer storage of described delay predetermined time correspondence, and the triggered protocol stack, dtmf signaling generated by protocol stack, be sent to network side, to realize that by sending dtmf signaling the outer DTMF incident of band transmits.
7. the device of shielding DTMF sound of outer telephone as claimed in claim 6 is characterized in that, described buffer storage is interim first-in first-out FIFO.
8. as the device of claim 6 or 7 described shielding DTMF sound of outer telephone, it is characterized in that described delay predetermined time is removed the required reservation process time of dtmf tone for the phone button detects.
9. the device of shielding DTMF sound of outer telephone as claimed in claim 8 is characterized in that, the described reservation process time, sets according to the receptible voice transfer delay of user's sense of hearing scope.
10. the device of shielding DTMF sound of outer telephone as claimed in claim 9 is characterized in that, described non-keypad tone comprises sky data or white noise data.
CN200810147383XA 2008-08-13 2008-08-13 Implementing method and apparatus for shielding DTMF sound of outer telephone Active CN101340681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810147383XA CN101340681B (en) 2008-08-13 2008-08-13 Implementing method and apparatus for shielding DTMF sound of outer telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810147383XA CN101340681B (en) 2008-08-13 2008-08-13 Implementing method and apparatus for shielding DTMF sound of outer telephone

Publications (2)

Publication Number Publication Date
CN101340681A true CN101340681A (en) 2009-01-07
CN101340681B CN101340681B (en) 2011-05-11

Family

ID=40214612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810147383XA Active CN101340681B (en) 2008-08-13 2008-08-13 Implementing method and apparatus for shielding DTMF sound of outer telephone

Country Status (1)

Country Link
CN (1) CN101340681B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895904A (en) * 2010-07-08 2010-11-24 中兴通讯股份有限公司 Method and device for shielding mobile bombs
CN102457631A (en) * 2010-10-21 2012-05-16 西安龙飞软件有限公司 Method and device for eliminating in-band dual-tone multi-frequency tone of 3G wireless router
CN104427096A (en) * 2013-08-26 2015-03-18 成都鼎桥通信技术有限公司 Wireless terminal and DTMF dialing realization method thereof
CN113965552A (en) * 2021-10-21 2022-01-21 合肥移瑞通信技术有限公司 Communication method of telephone audio signal, telephone system and Voice module
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560331B1 (en) * 1999-09-28 2003-05-06 3Com Corporation System and method for precise DTMF signal detection
US7039044B1 (en) * 1999-10-14 2006-05-02 Mindspeed Technologies, Inc. Method and apparatus for early detection of DTMF signals in voice transmissions over an IP network
CN1867011B (en) * 2005-05-18 2010-12-08 华为技术有限公司 Method and apparatus for transparently transmitting dual-tone multi-frequency signal under prepositioning echo canceller condition

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895904A (en) * 2010-07-08 2010-11-24 中兴通讯股份有限公司 Method and device for shielding mobile bombs
CN102457631A (en) * 2010-10-21 2012-05-16 西安龙飞软件有限公司 Method and device for eliminating in-band dual-tone multi-frequency tone of 3G wireless router
CN104427096A (en) * 2013-08-26 2015-03-18 成都鼎桥通信技术有限公司 Wireless terminal and DTMF dialing realization method thereof
CN113965552A (en) * 2021-10-21 2022-01-21 合肥移瑞通信技术有限公司 Communication method of telephone audio signal, telephone system and Voice module
CN113965552B (en) * 2021-10-21 2024-03-29 合肥移瑞通信技术有限公司 Communication method of telephone audio signals, telephone system and Volte module
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Also Published As

Publication number Publication date
CN101340681B (en) 2011-05-11

Similar Documents

Publication Publication Date Title
US7184529B1 (en) Method and system for connecting a subscriber to an advertiser prior to call completion
US7292683B2 (en) Ad ringer
CN101340681B (en) Implementing method and apparatus for shielding DTMF sound of outer telephone
CN101889432B (en) End user control of music on hold
CN102271197B (en) User interface tone echo cancellation
US6493432B1 (en) System for ensuring calling party privacy in a call screening system
EP0800301A3 (en) A telephone answering machine
CN101695197A (en) Wireless access equipment, circuit thereof and method for realizing wireless two-stage dialing
CN1141828C (en) Automatic response and record method and device for hand telephone set
CN102457631A (en) Method and device for eliminating in-band dual-tone multi-frequency tone of 3G wireless router
US3737576A (en) On-premise paystation adapter
US8774867B2 (en) Image display system, terminal device, image display method and program
JP2506695B2 (en) Line terminal equipment
US20070071198A1 (en) Apparatus and a method for applications of caller line identification signals
CN106101366A (en) A kind of incoming call managing device based on voice assistant and method
CN101753731B (en) Fixed telephone terminal
US6853725B2 (en) Method and apparatus for off-hook management of plural subscriber premises devices connected to same telephone line
JP2913127B2 (en) Digital public terminal
CN109361890A (en) A kind of video call system
KR100605875B1 (en) How to send a number during a call on a mobile device
CN100461680C (en) Display system and method for incoming telephone number for digital program controlled user exchanger
CN201238336Y (en) Mobile desk type telephone
JPS6066597A (en) Key telephone equipment
CN107800851A (en) A kind of dialing process method and device, telephone set
CN102833434A (en) Method, device and system for detecting network-side dual-tone multi-frequency signals

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