CN1055813C - Telephone hook key switch state detection device - Google Patents
Telephone hook key switch state detection device Download PDFInfo
- Publication number
- CN1055813C CN1055813C CN94103895A CN94103895A CN1055813C CN 1055813 C CN1055813 C CN 1055813C CN 94103895 A CN94103895 A CN 94103895A CN 94103895 A CN94103895 A CN 94103895A CN 1055813 C CN1055813 C CN 1055813C
- Authority
- CN
- China
- Prior art keywords
- timer
- hook
- time interval
- phone
- switch
- 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
Links
- 238000001514 detection method Methods 0.000 title abstract description 8
- 230000004913 activation Effects 0.000 claims description 6
- 230000003213 activating effect Effects 0.000 claims 1
- 230000005236 sound signal Effects 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 abstract description 5
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 9
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
Description
本发明涉及一种钩键开关检测装置,尤指一种电话钩键开关状态检测装置。The invention relates to a hook switch detection device, in particular to a telephone hook switch state detection device.
对于能接受脉冲式(PULSE MODE)信号的交换机而言,只要线上信号的拨号频率(Dial Rate)和信号的断与通的比值(Make-Break-ratio)正确,交换机即可接受此脉冲讯号;如图1所示, HKSW为电话钩键开关(HOOK Switch)的脉冲状态,当 HKSW为“Low”(低),表示话筒被拿起,为“OFFHOOK”,当 HKSW为“High”(高)时,表示话筒被放回电话,为“ONHOOK”, DP则表示话机送至交换机的脉冲讯号;其中拨号频率=1/Tf,而断与通的比值=Tm/Tb;在图1中DP所输出的数字为3、2。For switches that can accept pulse (PULSE MODE) signals, as long as the dialing frequency (Dial Rate) of the online signal and the make-break-ratio of the signal (Make-Break-ratio) are correct, the switch can accept this pulse signal ;As shown in Figure 1, HKSW is the pulse state of the telephone hook switch (HOOK Switch), when HKSW is "Low" (low), which means that the microphone is picked up, and it is "OFFHOOK", when When HKSW is "High" (high), it means that the microphone is put back into the phone, which is "ONHOOK", DP represents the pulse signal sent by the phone to the exchange; where the dialing frequency = 1/Tf, and the ratio of off and on = Tm/Tb; in Figure 1, the numbers output by DP are 3, 2.
请再参阅图2,如果是由使用者控制钩键的挂、摘(ON、OFF),也就是将话筒拿起、放下,或以手按钩键,同样可以使 HKSW的讯号与 DP相同;然而这种非由使用者由键盘或转盘输入的号码所产生的脉冲,仍可被交换机所接受,在现今电话除了通话功能外,尚具有锁控、密码辨识等等的情况下,此种由HOOK所产生的脉冲讯号,大大地破坏了电话的正常使用。Please refer to Fig. 2 again, if the user controls the hanging and picking (ON, OFF) of the hook key, that is, the microphone is picked up and put down, or the hook key is pressed by hand, it can also be used HKSW's signal and DP is the same; however, this kind of pulse not generated by the number input by the user through the keyboard or dial can still be accepted by the exchange. This pulse signal produced by HOOK greatly disrupts the normal use of the phone.
在电话锁控系统中,例如一个锁“0”的电话,只要话机一检测到键盘输入的号码为0,则其后的号码就完全失效,不为电话机所输出,然而有使用者利用钩键的挂摘产生一同于“0”的脉冲讯号,其后再继续输入尾部的号码,则因为该“0”并非由键盘输入,故话机无法检测到,又因该“0”的脉冲讯号亦可为交换机所接受,所以该使用者可以使其欲输入的正常号码完全为交换机接收;举例而言:完整的电话号码为(02)1231231,如使用者欲破坏长途锁控系统,只要先以钩键产生一与0相同的脉冲讯号,再续拨(2)1231231等剩余的码,则因为该“0”以钩键产生,故电话机无法察觉其属违规拨号,又因该钩键所产生的代表“0”的脉冲讯号与直接由键盘输入者相同,故其亦可为交换机所接收,如此一来,锁控系统即被破解。In the phone lock control system, for example, a phone locked with "0", as long as the phone detects that the number entered by the keyboard is 0, the subsequent numbers will be completely invalid and will not be output by the phone. The pick-up of the key generates a pulse signal of "0", and then continue to input the number at the end, because the "0" is not input by the keyboard, so the phone cannot detect it, and because the pulse signal of "0" is also It can be accepted by the exchange, so the user can make the normal number he wants to input completely received by the exchange; for example: the complete telephone number is (02)1231231, if the user wants to destroy the long-distance locking system, he only needs to use The hook key produces a pulse signal identical to 0, and then continue to dial (2) 1231231 and other remaining codes, then because the "0" is generated by the hook key, the phone cannot detect that it is an illegal dialing, and because the hook key The generated pulse signal representing "0" is the same as that directly entered by the keyboard, so it can also be received by the switchboard, so that the lock control system is cracked.
本发明的主要目的在于提供一电话钩键开关状态检测装置,交换机只可接收到由电话键盘或拨盘输入的数码。The main purpose of the present invention is to provide a telephone hook key switch state detection device, the exchange can only receive the numbers input by the telephone keypad or dial.
本发明的另一目的在于提供一电话钩键开关状态检测装置,防止电话锁控系统遭破解。Another object of the present invention is to provide a device for detecting the state of a telephone hook switch, so as to prevent the telephone locking system from being cracked.
本发明为一种电话钩键开关状态检测装置,该电话具一钩键开关,而该钩键开关因该电话所具话筒的挂/摘而产生一脉冲讯号,该检测装置被用以检测该电话钩键开关所产生的脉冲,所述电话钩键开关状态检测装置包括:一计时器,其于计数多种时间间隔中的至少一种时间间隔后输出一讯号;一表值,与该计时器相连,在其上可任意设定该计时器所计数的各时间间隔的长度及参考值的大小;一控制电路,与该计时器及该表值相连,其检测该钩键所产生的脉冲的挂/摘状态及该计时器输出的讯号,判定该电话是否被正常使用,并于判定该电话被正常使用时发出一清除讯号,而于该电话被不正常使用时发出一激活讯号;一计数器,与该控制电路相连,于接收该激活讯号时产生进位,且于所计数的进位累进至一参考值时使该控制电路执行拨号无效动作,而于接收该清除讯号时将己有的计数结果清除为0,以使该电话处于能正常拨号状态。The present invention is a kind of telephone hook key switch state detection device, and this telephone has a hook key switch, and this hook key switch produces a pulse signal because of the hook up/off of the microphone that this phone has, and this detection device is used for detecting this The pulse generated by the telephone hook key switch, the state detection device of the telephone hook key switch includes: a timer, which outputs a signal after counting at least one time interval among various time intervals; a table value, and the timing Connected to the timer, on which the length of each time interval counted by the timer and the size of the reference value can be arbitrarily set; a control circuit, connected to the timer and the table value, detects the pulse generated by the hook key The hanging/picking status of the timer and the signal output by the timer determine whether the phone is in normal use, and send a clear signal when it is judged that the phone is in normal use, and send an activation signal when the phone is not in normal use; The counter, connected to the control circuit, generates a carry when receiving the activation signal, and makes the control circuit execute the dialing invalid action when the counted carry is accumulated to a reference value, and when the clear signal is received, the existing count The result is cleared to 0, so that the phone is in the normal dialing state.
当然,该参考值预存于该计数器内。Of course, the reference value is pre-stored in the counter.
该计时器所提供的多种时间间隔包括:第一时间间隔Td1、第二时间间隔Td2、第三时间间隔Td3及第四时间间隔Td4。The various time intervals provided by the timer include: a first time interval Td1 , a second time interval Td2 , a third time interval Td3 and a fourth time interval Td4 .
该控制电路接收到该计时器依序计数完Td3及Td2二时间间隔的计时结果后,且检测该钩键依然维持于状态的情况下,将该计数器清除为0。The control circuit clears the counter to 0 after receiving the timing results of the timer counting the two time intervals of Td3 and Td2 in sequence, and detecting that the hook key is still in the state.
该控制电路于尚未接收到该计时器数完时间间隔Td2的计时结果时,即检测到该钩键已由摘机状态变为挂机状态的状况下,便激活该计时器,使该计时器开始计数时间间隔Td1。The control circuit detects that the hook key has changed from the off-hook state to the on-hook state when it has not received the counting result of the time interval Td2 from the timer, and activates the timer to start the timer. Count time interval Td1.
该控制电路于尚未接收到该计时器数完时间间隔Td1的计数结果时即检测到该钩键已由挂机变为摘机的状态下,便发出该激活讯号予该计数器,使该计数器产生进位。The control circuit detects that the hook key has changed from on-hook to off-hook when it has not received the counting result of the time interval Td1 counted by the timer, and then sends the activation signal to the counter, so that the counter generates a carry .
该控制电路于执行拨号无效的同时,激活该计时器,使该计时器开始计数时间间隔Td4,而于接收到该计时器传回已计时完Td4的计时结果时,将该计数器清除为0。The control circuit activates the timer while performing invalid dialing, so that the timer starts counting the time interval Td4, and clears the counter to 0 when receiving the timing result that the timer has finished counting Td4.
该拨号无效是指该电话与交换机的连线中断(CALLDisconnect)。The invalid dialing means that the connection between the phone and the exchange is interrupted (CALLDisconnect).
该拨号无效是指静音(MUTE),其利用MUTE信号使语音信号无法被送出话机,令使用者无法听到彼此的通话声。The invalid dialing refers to mute (MUTE), which utilizes the MUTE signal to prevent voice signals from being sent out of the phone, so that users cannot hear each other's conversation.
该电话包括一拨号器,而该装置可设于该拨号器内,或使该装置成为该拨号器外的附加线路。The telephone includes a dialer, and the device can be built into the dialer, or the device can be an additional line outside the dialer.
本发明得藉下列图示及详细说明,得以深入了解:The present invention can be deeply understood by the following illustrations and detailed descriptions:
图1:正常状况下的钩键及 DP所产生的脉冲示意图;Figure 1: Hook and key under normal conditions Schematic diagram of pulse generated by DP;
图2:不正常状况下钩键产生与 DP相同的脉冲示意图;Figure 2: Hook key generation and Schematic diagram of pulses with the same DP;
图3:为本发明的一较佳实施例电路方块图;Fig. 3: be a preferred embodiment circuit block diagram of the present invention;
图4:为本发明的第一种相关脉冲示意图;Fig. 4: is the schematic diagram of the first correlation pulse of the present invention;
图5:为本发明的第二种相关脉冲示意图;Fig. 5: is the second correlation pulse schematic diagram of the present invention;
图6:为本发明的第三种相关脉冲示意图;Fig. 6: is the schematic diagram of the third correlation pulse of the present invention;
图7:为本发明的第四种相关脉冲示意图;Fig. 7: is the schematic diagram of the fourth correlation pulse of the present invention;
请参阅图3,其为本发明之一较佳实施例方块图,其包括:一控制电路11、一计数器12、一计时器13及一表值14。请再参阅图4,其为电话被正常使用时的波形示意图,其中
HKSW表示钩键的挂/摘情况,
HKSW为“High”(高),表示话筒被放下,即“ONHOOK”(挂机);而
HKSW为“Low”(低),表示话筒被拿起,即为“OFFHOOK”(摘机);“DET”表示了计时器13的所计时的时间间隔及计数器12所累计的计数状况。Please refer to FIG. 3 , which is a block diagram of a preferred embodiment of the present invention, which includes: a
图3、4的动作如下:控制电路11检测到摘机时,即经由讯号111线激活计时器13,而计时器13即开始计数,待计数至一时间间隔Td3后,计时器13通过表值14的讯号143通过控制电路11,控制电路即发出激活讯号112予计数器12,使计数器12产生进位,其后计时器13继续计时,待计时至Td2时,即通过讯号线142通知控制电路11,而控制电路检测到此时的钩键依然维持于“摘机”状态,即发出清除讯号113予计数器12,将计数器12清除为0,而使用者可正常使用该电话机拨号。The actions of Figures 3 and 4 are as follows: when the
由图4的脉冲讯号可知,当计时器计时至Td2时,钩键开关依然维持于“Low”状态,由此可判定,使用者并无故意使 HKSW造成类似 DP(如图2所示)的脉冲状况的不正常使用状况。From the pulse signal in Figure 4, it can be seen that when the timer counts to Td2, the hook switch is still in the "Low" state, so it can be determined that the user did not intentionally use HKSW caused similar Abnormal use of the pulse condition of the DP (shown in Figure 2).
请再参阅图5,其为钩键的另一种挂/摘状态,在摘机51及挂机52的期间,其脉冲状况如同图4所示,但是当控制电路11再次检测到摘机时,计时器13即计数Td3,其后计数器12所累计的值加1,计时器13继续计数至Td2,然后在Td2尚未被计数完毕时,控制电路11即已检测到钩键由“摘机”变成“挂机”,故控制电路即通过讯号线111,使计时器13开始计数另一种时间间隔Td1,于计时器13通过讯号线141通知控制电路11其已计时完Td1后,控制电路11检测出钩键依然维持于“挂”状态,此亦表示使用者并无意造成如图2所示的类似
DP的脉冲讯号,故控制电路即发出清除讯号113,使计数器12的计数值被请除为0,以使话机可处于正常拨号状态。Please refer to Fig. 5 again, it is another kind of hang/off state of hook key, during off-
请参阅图6,由于脉冲61维持于Low的时间小于Td2,故计数器12进1,此时控制电路11激活计时器13使其开始计时时间间隔Td1,然于Td1尚未计数终了之时,控制电路11即已检测到钩键由挂机变为摘机,故计数器12不会被清除为0,依此状况类推,表示该使用者为有意利用钩键来造成类似图2的
DP讯号,有不正常使用电话的意图,当计数器12的进位累进至一预设值X时,计数器即发出一拨号无效讯号予控制电路11,以使控制电路11执行拨号无效动作,该拨号无效动作的执行,可具多种不同的状态,例如,将
DP禁止,使
DP与交换机的连线中断,使交换机不致收到该不正常的脉冲,或利用电话内的MUTE(静音)信号,使用即使该由钩键不正常的挂、摘所造成类似电话号码的脉冲可被交换机接收而达成接通状态,双方的通话者亦无法听到彼此的通话声。当然,该预设值X于不同实际使用状况,可任意设定其值的大小。Please refer to Fig. 6, since the pulse 61 is maintained at Low for less than Td2, the
请参阅图7,当控制电路11执行拨号无效动作后,必待使用者将话筒放回,使得钩键状态为挂机时,控制电路再由讯号线111激活计时器13计时间间隔Td4,当于计时完Td4后经由讯号线144通知控制电路11,如果挂机的状态所持续的时间大于Td4,表示使用者欲不正当使用该电话的意图已消除,则控制电路11又以清除讯号113,使计数器12请除为0,且所有拨号无效动作将停止,而电话系统恢复到可正常拨号状态,以使下一位使用者可正常使用该电话。Please refer to Fig. 7, after the
由以上的描述可知,本发明为利用四种时间间隔Td1、Td2、Td3、Td4来做为检测钩键讯号的频率是否有同于拨号频率(Dialrate)或断与通的比值(Make-Break-ratio)的情况产生,如果有该种情况产生,则立刻执行拨号无效动作,以使交换机无法收到由钩键所产生的不正常脉冲讯号,有效地防止了利用钩键规律的挂/摘来破解长途锁控的企图,或因不当地使用钩键,所造成讯号输出的错误。As can be seen from the above description, the present invention uses four kinds of time intervals Td1, Td2, Td3, Td4 to detect whether the frequency of the hook signal is the same as the dialing frequency (Dialrate) or the ratio of off and on (Make-Break- ratio) occurs, if such a situation occurs, the dialing invalid action will be executed immediately, so that the switch cannot receive the abnormal pulse signal generated by the hook key, effectively preventing the use of the hook key to hang up / pick up Attempts to crack the remote lock control, or improper use of the hook key, resulting in an error in the signal output.
当然,为了更有弹性地适用于各种不同的拨号频率及断与通的比值,本发明将Td1、Td2、Td3、Td4的时间长度值及计数器12的累进预设参考值的大小X存于一表值14上,可调整其值。Of course, in order to be more flexible and applicable to various dialing frequencies and off-to-on ratios, the present invention stores the time length values of Td1, Td2, Td3, Td4 and the size X of the progressive preset reference value of
本发明得任熟悉本技术之人士任施匠思而为诸般修饰,然皆不脱如附申请专利范围所欲保护。The present invention can be modified by those who are familiar with the technology with the thought of a craftsman, but all will not break away from the intended protection of the scope of the appended patent application.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94103895A CN1055813C (en) | 1994-04-09 | 1994-04-09 | Telephone hook key switch state detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94103895A CN1055813C (en) | 1994-04-09 | 1994-04-09 | Telephone hook key switch state detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1110446A CN1110446A (en) | 1995-10-18 |
CN1055813C true CN1055813C (en) | 2000-08-23 |
Family
ID=5031321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN94103895A Expired - Fee Related CN1055813C (en) | 1994-04-09 | 1994-04-09 | Telephone hook key switch state detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1055813C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101283570B (en) * | 2005-10-07 | 2011-07-20 | Gn奈康有限公司 | Retrofit switch activated headset lifter |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009855B (en) * | 2006-01-24 | 2010-12-22 | 罗国东 | Method and circuit for implementing the line signaling before call pick-up of the wired PBX |
KR101127325B1 (en) * | 2007-09-04 | 2012-03-29 | 지멘스 엔터프라이즈 커뮤니케이션즈 게엠베하 운트 코. 카게 | Method and communication terminal for detecting the status of a telephone receiver |
CN101539847B (en) * | 2009-04-16 | 2015-01-21 | 北京中星微电子有限公司 | Random number generating device and method thereof |
CN102866351B (en) * | 2012-09-13 | 2014-07-09 | 十堰科纳汽车电器有限公司 | Switch state detection circuit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3980836A (en) * | 1975-05-05 | 1976-09-14 | International Components Corporation | Toll restricting method and apparatus |
CN1059244A (en) * | 1991-08-06 | 1992-03-04 | 姚婉 | Chronometric and counting device for telephone set |
-
1994
- 1994-04-09 CN CN94103895A patent/CN1055813C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3980836A (en) * | 1975-05-05 | 1976-09-14 | International Components Corporation | Toll restricting method and apparatus |
CN1059244A (en) * | 1991-08-06 | 1992-03-04 | 姚婉 | Chronometric and counting device for telephone set |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101283570B (en) * | 2005-10-07 | 2011-07-20 | Gn奈康有限公司 | Retrofit switch activated headset lifter |
Also Published As
Publication number | Publication date |
---|---|
CN1110446A (en) | 1995-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5544241A (en) | Telephone ring detector | |
US4540855A (en) | Detecting signals within a passband on a telephone line | |
US5577104A (en) | Method for system and message activation based on distinctive ringing | |
CN1055813C (en) | Telephone hook key switch state detection device | |
EP0423787B1 (en) | A multi-frequency signal receiver and a method of detecting the multi-frequency signal | |
CN1232340A (en) | Apparatus and method for preventing disconnection of consumer premises equipment | |
CN1122082A (en) | Disconnect signalling detection arrangement | |
US5426693A (en) | Apparatus and method for automatically blocking the transmission of identifying information concerning a telephone calling party | |
WO2001043402A3 (en) | Telephone fraud detection and prevention | |
US5570418A (en) | Device for detecting operation state of telephone hook switch | |
US5392341A (en) | Automatic telephone line monitoring and selection apparatus and method | |
CN1060902C (en) | Device for preventing telephone lock control system from being destroyed | |
CN1085457C (en) | A method and device for improving audio misdetection of warning signals of user front-end equipment | |
CN1110447A (en) | Telephone dialing delay device | |
CA1259146A (en) | Dial tone detector | |
JPS61144949A (en) | State monitoring system for termination side subscriber terminal | |
JP3461616B2 (en) | S1 signal detection device | |
RU2097933C1 (en) | Call receiver | |
CA2113125C (en) | Apparatus and method for automatically blocking the transmission of identifying information concerning a telephone calling party | |
GB2330744A (en) | Using DSP to control telephone howling attenuation | |
JP3252785B2 (en) | Key telephone equipment | |
CN1215278A (en) | A method for improving audio detection of alarm signal of customer front-end equipment | |
CN1228957C (en) | Double magnetic hysteresis signal detecting circuit | |
KR100229724B1 (en) | Tap preventing method of keyphone | |
EP1339241B1 (en) | Dual hysteresis signal detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |