CN101272420B - Busy tone detecting method and apparatus - Google Patents

Busy tone detecting method and apparatus Download PDF

Info

Publication number
CN101272420B
CN101272420B CN2007100869322A CN200710086932A CN101272420B CN 101272420 B CN101272420 B CN 101272420B CN 2007100869322 A CN2007100869322 A CN 2007100869322A CN 200710086932 A CN200710086932 A CN 200710086932A CN 101272420 B CN101272420 B CN 101272420B
Authority
CN
China
Prior art keywords
busy tone
frequency
voice signal
low level
level counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007100869322A
Other languages
Chinese (zh)
Other versions
CN101272420A (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 CN2007100869322A priority Critical patent/CN101272420B/en
Publication of CN101272420A publication Critical patent/CN101272420A/en
Application granted granted Critical
Publication of CN101272420B publication Critical patent/CN101272420B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a busy tone detecting method which includes the steps that A. the frequency of speech signals is tested to judge whether the frequency of the speech signals is the audio frequency of the busy tone or not and an indication signal of a judgment result is output; B. the response period and the duty ratio of the speech signal are detected by using the indication signal of the judge result; C. according to the response time and the duty ratio detected in the step B, whether the speech signal is a busy tone or not is determined and the indication signal of the busy tone is output if the speech signal is the busy tone. The invention also discloses a device for realizing the method at the same time. The method has the advantages of easy realization, low cost and reliable performance.

Description

Busy tone detecting method and device
Technical field
The present invention relates to the busy tone detection technique, relate in particular to a kind of busy tone detecting method and device of the sign bit frequency detecting based on voice signal.
Background technology
Busy tone detects important effect in conversation, such as: after telephone relation finishes, if subscriber exchange does not in time detect busy-back signal, to cause that relaying can't discharge, relay resource can't all be utilized, so, when needs use telephone relation, will occur that the line is busy and the situation that can't transfer to.In addition, at present synchronous digital hierarchy (SDH, Synchronous Digital Hierarchy) in the transmission equipment, official telephone be need use and equipment control and maintenance carried out, for convenient management, official telephone all requirement can with public switch telephone network (PSTN, Public Switched Telephone Network) public network butt joint, but because the official telephone of SDH equipment adopts the communication signaling from customization, can't directly dock with the PSTN public network, therefore just need judge the on-hook action, thereby realize docking with the PSTN public network by detecting the busy tone standard signal.
The technology that more existing at present busy tones detect, as utilize audio coding decoding chip LM567 to add the busy-back signal audio frequency that peripheral circuit is discerned 450Hz, the output signal specific utilizes software that this signal is sampled, and analysis is also judged busy-back signal.Because LM567 chip and peripheral capacitance resistance ware temperature influence thereof are bigger, therefore cause this method instability, flexibility not enough.
Also have, disclose a kind of method of automatic detection busy-back signal in publication number is the Chinese patent of CN1383315, this method can be discerned various busy tone frequencies by self training, but it need take a large amount of software and hardware resources, cost is too high, is only applicable to specific applications.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of busy tone detecting method and device, not only detects reliable but also can reduce cost.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of busy tone detecting method may further comprise the steps:
A, voice signal is carried out frequency detecting, judge whether the frequency of described voice signal is the busy tone audio frequency, output judged result index signal;
B, response cycle and the duty ratio of utilizing described judged result index signal to carry out described voice signal detect;
C, judge according to detected response cycle and duty ratio among the step B whether described voice signal is busy tone, output busy tone index signal during for busy tone.
Wherein, steps A specifically may further comprise the steps:
A1, respectively the high level and the low level of each sign bit in the described voice signal are counted with high frequency clock;
A2, calculate the merchants of described high frequency clock frequency and two counting sums, the difference of judging the quotient that calculates and busy tone audio frequency as if then exporting high/low level, otherwise is exported low/high level whether in the setting threshold range.
Wherein, described high frequency clock frequency is more than or equal to two times busy tone audio frequency.
Wherein, step B specifically may further comprise the steps:
B1, respectively the high level and the low level of each sign bit in the described index signal are counted with another clock;
The merchant of B2, calculating two countings sums and described clock frequency calculates the duty ratio of the ratio of two countings as described voice signal as the response cycles of described voice signal.
Wherein, the frequency of clock described in the step B1 is more than or equal to i0Hz.
Wherein, step C is specially: whether detected response cycle and duty ratio are all being set in the threshold range separately among the determining step B, if then voice signal is a busy tone, and output busy tone index signal.
A kind of busy tone checkout gear comprises audio detection unit and busy tone judging unit, and wherein, described audio detection unit comprises:
First electrical level discrimination and trigger module are used for differentiating the high level and the low level of each sign bit of voice signal, trigger the first high level counter, the first low level counter respectively;
The high frequency clock source is used for providing counting clock pulse to the first high level counter and the first low level counter;
The first high level counter, being used at the voice signal sign bit is to count between high period;
The first low level counter, being used at the voice signal sign bit is to count between low period;
Busy tone audio frequency judge module is used for count results and high frequency clock source frequency according to the first high level counter, the first low level counter, judges whether described voice signal frequency is the busy tone audio frequency;
The index signal output module is according to described busy tone audio frequency judge module judged result output index signal;
Described busy tone judging unit comprises:
Second electrical level discrimination and trigger module are used for differentiating the high level and the low level of described each sign bit of index signal, trigger the second high level counter, the second low level counter respectively;
The clock source is used for providing counting clock pulse to the second high level counter and the second low level counter;
The second high level counter, being used at the index signal sign bit is to count between high period;
The second low level counter, being used at the index signal sign bit is to count between low period;
Voice signal response cycle and duty ratio computing module are used for the count results according to the second high level counter, the second low level counter, computing voice signal response cycle and duty ratio;
The busy tone judge module is used for judging according to the voice signal response cycle and the duty ratio that calculate whether described voice signal is busy tone, and output busy tone indication when being busy tone.
Method of the present invention and device are by being provided with counter, realize sign bit in the voice signal to be detected of input is respectively counting during the high and low level, thereby detect the frequency of voice signal, then by judging that whether this detection frequency is the busy tone audio frequency, exports index signal again according to judged result; And, this index signal during being high and low level, is counted respectively sign bit, can calculate the cycle and the duty ratio of voice signal to be detected, judge with this whether voice signal to be detected is busy tone.The present invention realizes simply, cost is lower and reliable.
Description of drawings
Fig. 1 is the composition structural representation of busy tone checkout gear of the present invention;
Fig. 2 is the realization flow schematic diagram of busy tone detecting method of the present invention.
Embodiment
Describe the present invention below in conjunction with accompanying drawing.
Fig. 1 is the composition structural representation of busy tone checkout gear of the present invention, as shown in Figure 1, busy tone checkout gear of the present invention comprises audio detection unit 10 and busy tone judging unit 11, wherein, audio detection unit 10 comprises first electrical level discrimination and trigger module 100, high frequency clock source 101, the first high level counter 102, the first low level counter 103, busy tone audio frequency judge module 104 and index signal output module 105.Wherein, first electrical level discrimination and trigger module 100 are used for differentiating the high level and the low level of each sign bit of voice signal to be detected of input, according to the level triggers first high level counter 102 or the first low level counter 103 of each sign bit; High frequency clock source 101 is used for providing counting clock pulse to the first high level counter 102 and the first low level counter 103; It is to count between high period that the first high level counter 102 is used at voice signal sign bit to be detected; It is to count between low period that the first low level counter 103 is used at voice signal sign bit to be detected; Busy tone audio frequency judge module 104 is used for the count value according to the first high level counter 102, the count value of the first low level counter 103 and the frequency computation part voice signal frequency to be detected in high frequency clock source 101, and judges whether the frequency that is calculated is the busy tone audio frequency; Index signal output module 105 is used for the judged result output index signal according to busy tone audio frequency judge module 104.
Busy tone judging unit 11 comprises second electrical level discrimination and trigger module 110, clock source 111, the second high level counter 112, the second low level counter 113, voice signal response cycle and duty ratio computing module 114 and busy tone judge module 115; Wherein, second electrical level discrimination and trigger module 110 high level and the low level that are used for differentiating each sign bit of index signal of audio detection unit 10 outputs triggers the second high level counter 112 or the second low level counter 113; Clock source 111 is used for providing counting clock pulse to the second high level counter 112 and the second low level counter 113; It is to count between high period that the second high level counter 112 is used at the index signal sign bit; It is to count between low period that the second low level counter 113 is used at the index signal sign bit; Voice signal response cycle and duty ratio computing module 114 are used for the count results according to the second high level counter 112 and the second low level counter 113, calculate the response cycle and the duty ratio of voice signal to be detected; Busy tone judge module 115 is used for the voice signal response cycle to be detected and the duty ratio that calculate according to voice signal response cycle and duty ratio computing module 114, the threshold range whether voice signal response cycle that judgement calculates and duty ratio all meet setting, if all meet, voice signal then to be detected is a busy tone, the indication of output busy tone, otherwise will not indicate.
When busy tone checkout gear of the present invention is used, can be directly connected on the PSTN circuit to be detected, voice signal to be detected is detected; Also can carry out detecting again after multiplexing to circuit voice signal to be detected.After receiving voice signal to be detected, high level and low level period by each sign bit of first electrical level discrimination and 100 pairs of voice signals to be detected of trigger module are differentiated, and can differentiate current be high level or low level by the rising edge and the trailing edge of detected symbol position.When detecting the rising edge of sign bit, send the zero clearing indication to the first high level counter 102, and trigger the first high level counter, 102 countings; When detecting the trailing edge of sign bit, send the zero clearing indication to the first low level counter 103, and trigger the first low level counter, 103 countings.Need to prove, providing the high frequency clock source 101 of counting clock to the first high level counter 102 and the first low level counter 103 must be high frequency, because the frequency of busy-back signal is 450Hz, in theory, the counting clock frequency that high frequency clock source 101 provides should be more than or equal to 900Hz.It will be appreciated by those skilled in the art that the counting clock frequency that high frequency clock source 101 provides is high more, the frequency accuracy of the detected voice signal to be detected of busy tone checkout gear of the present invention is high more.With 180KHz clock source is example, if voice signal to be detected is a busy tone, then the count results of the first high level counter 102 and the first low level counter 103 is 200 in theory.Busy tone audio frequency judge module 104 is calculated as follows the frequency F1 of voice signal to be detected:
F1=F2/(A1+A2)
Wherein, the frequency of the counting clock that F2 provides for high frequency clock source 101, A1, A2 are respectively the count results of the first high level counter 102 and the first low level counter 103.Afterwards, busy tone audio frequency judge module 104 calculates the poor of F1 and 450Hz, judges this difference whether in the threshold range of setting, as ± 25Hz or ± 30Hz etc., if in the setting threshold range, think that then voice signal frequency to be detected is busy tone audio frequency 450Hz.Index signal output module 105 if the busy tone audio frequency is exported high/low level, otherwise is exported low/high level according to the judged result output index signal of busy tone audio frequency judge module 104.
The first high level counter 102 and the first low level counter 103 in the busy tone checkout gear of the present invention are provided with retention value, keep when reaching this value hour counter, this is for preventing that voice signal to be detected from being fixed level, when continuing high level or low level, counter cycle count and influence the testing result of busy tone checkout gear.The retention value of counter of the present invention is relevant with the frequency F2 of the counting clock that high frequency clock source 101 provides, retention value is greater than (F2/ (450Hz-L))/2 and less than F2/ (450Hz+L), the threshold value that L sets when being busy tone audio frequency judge module 104 judgement busy tone audio frequency, 25Hz or 30Hz as the aforementioned.When F2 was 180KHz, the retention value of counter can be made as 240,250,270 or 300 etc.
The index signal of 110 pairs of index signal output modules of second electrical level discrimination and trigger module, 105 outputs is carried out high level and low level differentiation, differentiation and triggering mode are identical with first electrical level discrimination and trigger module 100, that is: be to trigger the second high level counter 112 and the second low level counter, 113 countings between high level, low period respectively at the index signal sign bit.Clock source 111 provides counting clock pulse to the second high level counter 112 and the second low level counter 113.Because effective sound of response sounds such as busy tone and ring-back tone is longer at interval, be that the audio signal of sound wave, 0.35 no sound wave was arranged in 0.35 second such as: busy tone; Ring-back tone is the audio signal that sound wave, 4 seconds no sound waves were arranged in 1 second, therefore the frequency of index signal is lower, so the counting clock frequency that clock source 111 provides can be low frequency, consider the index signal peak frequency exported in 450Hz voice signal 5Hz only, so clock source 111 gets final product more than or equal to 10Hz.The clock frequency that provides that it will be appreciated by those skilled in the art that clock source 111 is high more, and the response cycle of voice signal to be detected and duty ratio testing result are accurate more.For realizing that conveniently clock source 111 and high frequency clock source 101 can be selected same clock pulse for use.Voice signal response cycle and duty ratio computing module 114 are calculated as follows voice signal response cycle T to be detected according to the count results of the second high level counter 112 and the second low level counter 113:
T=(A3+A4)/F3
Wherein, A3, A4 are respectively the count results of the second high level counter 112 and the second low level counter 113, and F3 is the frequency of the counting clock in clock source 111.Duty ratio R is tried to achieve by following formula:
R=A3/A4
Because the resonant response cycle of busy-back signal is 0.7 second, duty ratio is 1:1, and therefore, busy tone judge module 115 is judged T and R whether simultaneously in the threshold range of setting separately, if all in threshold range, then exports busy tone and indicates, and voice signal to be detected is a busy tone.The threshold range of response cycle can be made as 0.6 second to 0.8 second, and the threshold range of duty ratio can be made as 0.8 to 1.2.
Fig. 2 is the realization flow schematic diagram of busy tone detecting method of the present invention, and as shown in Figure 2, this method may further comprise the steps:
Step 201: voice signal to be detected is carried out frequency detecting, judge whether the frequency of voice signal to be detected is the busy tone audio frequency, output judged result index signal.
Step 201 specifically realizes in the following manner: respectively the high level and the low level of each sign bit in the voice signal to be detected of input are counted with high frequency clock, calculate the merchant of high frequency clock frequency and two counting sums, this quotient is the frequency of voice signal to be detected, the difference of judging this frequency values and busy tone audio frequency 450Hz whether in setting threshold range, threshold range can be set to ± 25Hz or ± 30Hz etc.; If detected frequency is then exported high/low level in setting threshold range, otherwise exports low/high level.The frequency of the counting clock that the high frequency clock here provides is more than or equal to 900Hz, and is high more good more.
Step 202: response cycle and the duty ratio of utilizing described judged result index signal to carry out voice signal to be detected detect.Respectively the high level and the low level of each sign bit correspondence in the index signal of step 201 output are counted with clock; Calculate the response cycle of the merchant of two counting sums and clock frequency as voice signal to be detected; Calculate the duty ratio of the ratio of two countings as voice signal to be detected.
Concrete computational methods can be referring to the description of busy tone checkout gear part of the present invention.It is longer that (be 0.35 second have the audio signal of sound wave, 0.35 no sound wave) and ring-back tone because busy tone (audio signal that sound wave, 4 seconds no sound waves were arranged in 1 second) etc. respond effective sound interval of sound, therefore the frequency of index signal is lower, so the counting clock frequency that the clock source provides can be low frequency, consider the index signal peak frequency exported in 450Hz voice signal 5Hz only, so the clock source gets final product more than or equal to 10Hz.Certainly, the clock frequency that the clock source provides is high more, and the response cycle of voice signal to be detected and duty ratio testing result are accurate more.
Step 203: response cycle and duty ratio according to detected voice signal to be detected in the step 202 judge whether this voice signal to be detected is busy tone, if busy tone is then exported the busy tone index signal.
Be exactly specifically: if the response cycle of detected voice signal to be detected and duty ratio all in threshold range, are then exported the busy tone indication whether all in the threshold range of setting separately in the determining step 202, and voice signal to be detected is a busy tone.As previously mentioned, the threshold range of response cycle can be made as 0.6 second to 0.8 second, and the threshold range of duty ratio can be made as 0.8 to 1.2.Certainly, also can enlarge or dwindle above-mentioned threshold range as the case may be.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (5)

1. a busy tone detecting method is characterized in that, this method may further comprise the steps:
A, voice signal is carried out frequency detecting, judge whether the frequency of described voice signal is the busy tone audio frequency, output judged result index signal; Specifically comprise: respectively the high level and the low level of each sign bit in the described voice signal are counted with high frequency clock; Calculate the merchants of described high frequency clock frequency and two counting sums, the difference of judging the quotient that calculates and busy tone audio frequency as if then exporting high/low level, otherwise is exported low/high level whether in setting threshold range;
B1, respectively the high level and the low level of each sign bit in the described index signal are counted with another clock;
The merchant of the frequency of B2, calculating two countings sums and described clock calculates the duty ratio of the ratio of two countings as described voice signal as the response cycle of described voice signal;
C, judge according to response cycle that calculates among the step B2 and duty ratio whether described voice signal is busy tone, output busy tone index signal during for busy tone.
2. busy tone detecting method according to claim 1 is characterized in that, the frequency of described high frequency clock is more than or equal to two times busy tone audio frequency.
3. busy tone detecting method according to claim 1 is characterized in that the frequency of clock described in the step B1 is more than or equal to 10Hz.
4. busy tone detecting method according to claim 1, it is characterized in that, step C is specially: whether detected response cycle and duty ratio are all being set in the threshold range separately among the determining step B2, if then voice signal is a busy tone, and output busy tone index signal.
5. a busy tone checkout gear is characterized in that, this device comprises audio detection unit and busy tone judging unit, and wherein, described audio detection unit comprises:
First electrical level discrimination and trigger module are used for differentiating the high level and the low level of each sign bit of voice signal, trigger the first high level counter or the first low level counter;
The high frequency clock source is used for providing counting clock pulse to the first high level counter and the first low level counter;
The first high level counter, being used at the voice signal sign bit is to count between high period;
The first low level counter, being used at the voice signal sign bit is to count between low period;
Busy tone audio frequency judge module is used for according to the count results of the first high level counter and the first low level counter and the frequency in high frequency clock source, judges whether the frequency of described voice signal is the busy tone audio frequency;
The index signal output module is according to described busy tone audio frequency judge module judged result output index signal;
Described busy tone judging unit comprises:
Second electrical level discrimination and trigger module are used for differentiating the high level and the low level of described each sign bit of index signal, trigger the second high level counter or the second low level counter;
The clock source is used for providing counting clock pulse to the second high level counter and the second low level counter;
The second high level counter, being used at the index signal sign bit is to count between high period;
The second low level counter, being used at the index signal sign bit is to count between low period;
Voice signal response cycle and duty ratio computing module are used for the count results according to the second high level counter and the second low level counter, computing voice signal response cycle and duty ratio;
The busy tone judge module is used for judging according to the voice signal response cycle and the duty ratio that calculate whether described voice signal is busy tone, and output busy tone indication when being busy tone.
CN2007100869322A 2007-03-22 2007-03-22 Busy tone detecting method and apparatus Expired - Fee Related CN101272420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100869322A CN101272420B (en) 2007-03-22 2007-03-22 Busy tone detecting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100869322A CN101272420B (en) 2007-03-22 2007-03-22 Busy tone detecting method and apparatus

Publications (2)

Publication Number Publication Date
CN101272420A CN101272420A (en) 2008-09-24
CN101272420B true CN101272420B (en) 2011-08-24

Family

ID=40006100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100869322A Expired - Fee Related CN101272420B (en) 2007-03-22 2007-03-22 Busy tone detecting method and apparatus

Country Status (1)

Country Link
CN (1) CN101272420B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491249A (en) * 2014-09-18 2016-04-13 广东世纪网通信设备有限公司 Busy tone learning method and device
CN108120971B (en) * 2017-12-12 2021-01-29 中国特种设备检测研究院 Expected signal identification method and device, ground tracking equipment and system
CN108956160B (en) * 2018-08-10 2020-05-05 延锋伟世通电子科技(上海)有限公司 Method, system and device for measuring warning sound parameters of vehicle-mounted entertainment equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327338A (en) * 2000-06-01 2001-12-19 深圳市中兴通讯股份有限公司 Signal sound detection equipment and method for digital program controlled exchanger
CN1383315A (en) * 2001-04-24 2002-12-04 华为技术有限公司 Method for automatically detecting 'Busy' signal
CN2750596Y (en) * 2004-11-19 2006-01-04 韩绍清 Scheduling and instructing subset

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327338A (en) * 2000-06-01 2001-12-19 深圳市中兴通讯股份有限公司 Signal sound detection equipment and method for digital program controlled exchanger
CN1383315A (en) * 2001-04-24 2002-12-04 华为技术有限公司 Method for automatically detecting 'Busy' signal
CN2750596Y (en) * 2004-11-19 2006-01-04 韩绍清 Scheduling and instructing subset

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CN 2750596 Y,全文.
JP特开2000-286968A 2000.10.13

Also Published As

Publication number Publication date
CN101272420A (en) 2008-09-24

Similar Documents

Publication Publication Date Title
CN102160296B (en) Method and apparatus for detecting double talk
JPS60107960A (en) Method and device for detecting transition of data componentin periodic signal
JPH0333800A (en) Voice detector
CN101272420B (en) Busy tone detecting method and apparatus
WO2009111957A1 (en) A method and corresponding device for detecting line status, and a predictive outbound dialing system
US5970447A (en) Detection of tonal signals
US9261548B2 (en) Hum noise detection device
DK0740880T3 (en) Method for detecting a raised telephone handset during ringing and using a subscriber line interface circuit with
US6760574B1 (en) Two-dimensional signal detector with dynamic timing phase compensation
US5168518A (en) Coin tone validator for telephone paystations
JP3626094B2 (en) Method and apparatus for measuring echo parameters of telephone lines
DE50000939D1 (en) TONE CALL FREQUENCY DETERMINATION DEVICE AND METHOD
JP3779874B2 (en) Method and apparatus for detecting a dual tone alarm signal in a telephone system
JP3588080B2 (en) Circuit configuration for recognizing quantitative pulses
KR100430513B1 (en) Transmission system with improved tone detection function, terminal, tone detector and method of receiving a plurality of simultaneously transmitted tone signals
JP2997976B2 (en) Toll collection telephone
WO2002039711A3 (en) Evaluation circuit for alternating voltage pulses
RU1807426C (en) Method of determination of distance to point of fault in power line and device for its implementation
TW520591B (en) Double hysteresis signal test circuit
JP2779686B2 (en) Dial pulse recognition method
SU1518891A1 (en) Device for assessing quality of digital signals
KR920001888B1 (en) Subseribers call simulation system
KR100362587B1 (en) Method for measuring dial pulse
KR100556494B1 (en) Method for detecting conversation disconnection signal
KR19980067859A (en) Determination method of charging start point of wireless public telephone using mobile phone

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

Granted publication date: 20110824

Termination date: 20150322

EXPY Termination of patent right or utility model