JPH01117560A - Line state identification device - Google Patents

Line state identification device

Info

Publication number
JPH01117560A
JPH01117560A JP27658687A JP27658687A JPH01117560A JP H01117560 A JPH01117560 A JP H01117560A JP 27658687 A JP27658687 A JP 27658687A JP 27658687 A JP27658687 A JP 27658687A JP H01117560 A JPH01117560 A JP H01117560A
Authority
JP
Japan
Prior art keywords
tone
waveform
telephone line
line
tone signal
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.)
Pending
Application number
JP27658687A
Other languages
Japanese (ja)
Inventor
Akio Fujiwara
藤原 明生
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.)
O G JOHO SYST KK
O G JOHO SYST SOKEN KK
Original Assignee
O G JOHO SYST KK
O G JOHO SYST SOKEN KK
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 O G JOHO SYST KK, O G JOHO SYST SOKEN KK filed Critical O G JOHO SYST KK
Priority to JP27658687A priority Critical patent/JPH01117560A/en
Publication of JPH01117560A publication Critical patent/JPH01117560A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow other equipment to recognize early whether a telephone line is busy or in the calling state by sampling an output of a tone decoder so as to detect a waveform parameter of a tone signal thereby comparing it with a prescribed value. CONSTITUTION:A tone decoder 1 detects a tone signal from signals in a telephone line 2 and outputs the waveform of a tone signal, a waveform parameter detection means 3 samples the output of the tone decoder 1 to detect a waveform parameter of the tone signal. The tone signal of a specific frequency included in the signals of the telephone line 2 is a call tone, a busy tone or a call tone of a specific frequency and the tone signal of any waveform is selected depending on the state of the telephone line 2. Thus, the waveform parameter is compared with a prescribed value to identify the line state of the telephone line 2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は例えばコンピュータ装置に組み込まれる電話
ボードなどに設けられて電話回線の回線状a(話中状態
、呼出状B)をコンピュータ装置に知らせる回線状態識
別装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] This invention is provided on a telephone board incorporated into a computer device, for example, to inform the computer device of the line status a (busy state, call letter B) of a telephone line. The present invention relates to a line status identification device.

〔従来の技術〕[Conventional technology]

従来から、コンピュータ装置などに接続してデータ通信
などを行うインテリジェント電話機が種々市場に出回っ
ている。
2. Description of the Related Art Various intelligent telephones that connect to computer devices and perform data communications have been on the market.

C発明が解決しようとする問題点〕 従来のインテリジェント電話機においては、電話回線の
回線状態(話中状態、呼出状態)を識別することができ
ないので、通信を行う際に、例えば相手先を呼出中であ
るのか相手先が話中であるのか判らず、相手先が話中で
ある場合にも無駄な呼出を長時間にわたって行わねばな
らなかった。
[Problems to be solved by the invention C] Conventional intelligent telephones cannot identify the line status (busy status, ringing status) of the telephone line, so when communicating, for example, when the other party is calling, It was difficult to tell whether the other party was busy or not, and even when the other party was busy, the user had to make unnecessary calls for a long time.

したがって、この発明の目的は、電話回線の回線状態が
話中状態であるか呼出状態であるかを他の機器に早期に
認識させることができる回線状態識別装置を提供するこ
とである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a line status identification device that allows other equipment to quickly recognize whether the line status of a telephone line is busy or ringing.

〔問題点を解決するための手段〕[Means for solving problems]

この発明の回線状態識別装置は、話中状態と呼出状態と
でトーン信号の波形が異なる電話回線の回線状態を識別
するものである。
The line status identification device of the present invention identifies the line status of a telephone line in which the waveform of a tone signal differs between a busy state and a ringing state.

このために、トーンデコーダで電話回線中の信号からト
ーン信号を検出してトーンデコーダからトーン信号の波
形を出力させ、波形パラメータ検出手段でトーンデコー
ダの出力をサンプリングしてトーン信号の波形パラメー
タを検出し、識別手段で波形パラメータを所定値と比較
することにより電話回線の回線状態を識別するようにし
ている。
For this purpose, a tone decoder detects a tone signal from a signal on a telephone line, the tone decoder outputs a tone signal waveform, and a waveform parameter detection means samples the output of the tone decoder to detect the waveform parameters of the tone signal. The line condition of the telephone line is identified by comparing the waveform parameter with a predetermined value by the identifying means.

〔作用〕[Effect]

この発明の構成によれば、トーンデコーダの出力をサン
プリングしてトーン信号の波形パラメータを検出し、波
形パラメータを所定値と比較することにより電話回線の
回線状態を識別するようにしているので、他の機器に電
話回線が話中状態であるか呼出状態であるかを早期に認
識させることができ、相手先が話中である場合の無駄な
り出を避けることができる。
According to the configuration of the present invention, the line state of the telephone line is identified by sampling the output of the tone decoder to detect the waveform parameters of the tone signal and comparing the waveform parameters with predetermined values. The device can be made to recognize at an early stage whether the telephone line is busy or ringing, and unnecessary calls can be avoided when the other party is busy.

〔実・流側〕[Real/flow side]

この発明の一実施例を第1図ないし第6図に基づいて説
明する。この回線状態識別装置は、話中状態と呼出状態
とで特定の周波数のトーン信号の波形が異なる電話回線
の回線状態を識別するものである。
An embodiment of the present invention will be described based on FIGS. 1 to 6. This line state identification device identifies the line state of a telephone line in which the waveform of a tone signal of a specific frequency differs between a busy state and a ringing state.

このために、第1図に示すように、トーンデコーダlで
電話回線2中の信号からトーン信号を検出してトーンデ
コーダ1からトーン信号の波形(第5図参照;詳しくは
後述する)を出力させ、波形パラメータ検出手段3でト
ーンデコーダlの出力をサンプリングしてトーン信号の
波形パラメータ(例えば、トーン信号の波形における立
ち上がり時からその後の最初の立ち下がり時までの長さ
の最大値)を検出し、識別手段4で波形パラメータを所
定値と比較することにより電話回線2の回線状態(話中
状態8呼出状B)を識別するようにしている。
For this purpose, as shown in Fig. 1, a tone decoder 1 detects a tone signal from a signal on a telephone line 2, and a tone decoder 1 outputs a tone signal waveform (see Fig. 5; details will be described later). and the waveform parameter detection means 3 samples the output of the tone decoder l to detect the waveform parameter of the tone signal (for example, the maximum value of the length from the rising edge of the tone signal waveform to the subsequent first falling edge). The identification means 4 compares the waveform parameters with predetermined values to identify the line state of the telephone line 2 (busy state 8 call letter B).

つぎに、この回線状態識別装置を含む電話ボードの構成
および動作を第2図ないし第6図に基づいて説明する。
Next, the configuration and operation of the telephone board including this line status identification device will be explained based on FIGS. 2 to 6.

第2図は電話ボードが装着されるコンピュータシステム
の構成を示している。第2図において、11はコンピュ
ータ装置で、処理部12と、オプシッンスロット(図示
せず)に装着される電話ボード13とからなり、処理部
12と電話ボード13との間でバス10を通してデータ
のやりとりが行われる。14はコンピュータ装置11に
接続されたキーボード、15は同じ<CRTデイスプレ
ィ装置である。
FIG. 2 shows the configuration of a computer system to which a telephone board is installed. In FIG. 2, reference numeral 11 denotes a computer device, which consists of a processing section 12 and a telephone board 13 installed in an optic slot (not shown). Data is exchanged. 14 is a keyboard connected to the computer device 11, and 15 is the same CRT display device.

電話ボード13は、通信コネクタ16を介して電話回線
(公衆電話回線またはPBXの内線)2に接続され、コ
ネクタ17〜20を介して予備電話機21.ヘッドセッ
ト(送受話器)22.呼出リンガ23.保留音源24に
接続されている。
The telephone board 13 is connected to a telephone line (public telephone line or PBX extension) 2 via a communication connector 16, and is connected to a standby telephone 21. Headset (handset) 22. Call ringer 23. It is connected to the hold sound source 24.

第3図は電話ボード13の具体構成を示すブロック図で
ある。第3図において、31はバスインタフェース回路
、32はネットワークコントロール回路、33は電話装
置本体、34は着信検出およびループ検出回路、35は
音声信号の274線変換を行うスピーチIC(IR3N
31 iシャープ■製)、36はダイヤル信号を発生す
るダイヤルIC(LR48051)、37はトーンデコ
ーダ(lR3NO5;シ+−プ91)製〉、38は着信
検出信号に応答して着信出力を発生して着信リンガ23
を駆動する着信出力回路、39はデイツプスイッチであ
る。
FIG. 3 is a block diagram showing a specific configuration of the telephone board 13. As shown in FIG. In FIG. 3, 31 is a bus interface circuit, 32 is a network control circuit, 33 is a telephone device body, 34 is an incoming call detection and loop detection circuit, and 35 is a speech IC (IR3N) that performs 274-line conversion of audio signals.
31 is made by Sharp ■), 36 is a dial IC (LR48051) that generates a dial signal, 37 is a tone decoder (lR3NO5; made by SHIP 91), and 38 is a dial IC that generates an incoming call output in response to an incoming call detection signal. Incoming call ringer 23
39 is a dip switch.

第4図はネットワークコントロール回路32の具体構成
を示すブロック図である。第4図において、41.42
はパラレルインタフェース、43はCPU (280)
 、44はシリアルインタフェース、45はCTCであ
り、パラレルインタフェース41.42は電話装置本体
33に接続され、シリアルインタフェース44はバスイ
ンタフェース回路31に接続されている。なお、パラレ
ルインタフェース42はTC74HC294(東芝■製
)である、また、パラレルインタフェース41゜CPU
43. シリアルインタフェース44およびCTC45
はTMPZ84CO15AF (東芝■製)として一体
化されている。
FIG. 4 is a block diagram showing a specific configuration of the network control circuit 32. In Figure 4, 41.42
is the parallel interface, 43 is the CPU (280)
, 44 is a serial interface, 45 is a CTC, parallel interfaces 41 and 42 are connected to the telephone device body 33, and the serial interface 44 is connected to the bus interface circuit 31. The parallel interface 42 is TC74HC294 (manufactured by Toshiba ■), and the parallel interface 41°CPU
43. Serial interface 44 and CTC45
is integrated as TMPZ84CO15AF (manufactured by Toshiba ■).

つぎに、この電話ボードの動作を説明する。この電話ボ
ードは、つぎのような機能を有している。
Next, the operation of this telephone board will be explained. This telephone board has the following functions.

■ 自動発信 コンピュータ装置ttよりコマンド+ダイヤル番号が与
えられると、ダイヤル信号を電話回線に送出する。
- When a command + dial number is given from the automatic call computer device tt, a dial signal is sent to the telephone line.

■ 自動着信 着信があった場合、コンピュータ装置11に対して着信
通知メツセージを返送する。
■ When an automatic incoming call is received, an incoming notification message is sent back to the computer device 11.

したがって、着信後フック制御を行うことによって自動
応答が可能である。
Therefore, automatic answering is possible by performing hook control after receiving a call.

■ フック制御 コンピュータ装置11からのコマンドにより、オンフッ
ク/オフフック等の制御を行う。
(2) On-hook/off-hook, etc. are controlled by commands from the hook control computer device 11.

■ トーンJ禽出 ダイヤルトーン、ビジートーンなど各種トーンの検出を
行い、検出結果をコンピュータ装置11に通知する。こ
の結果、コンピュータ装置11では、相手先応答1話中
認識1回線監視などを行える。
(2) Tone Detects various tones such as a dial tone and a busy tone, and notifies the computer device 11 of the detection results. As a result, the computer device 11 can perform one-call response recognition, one-line monitoring, and the like.

■ ステータス通知 コンピュータ装置11からのステータス要求コマンドに
より、電話ボード13の状態を読み取ってステータスデ
ータとしてコンピュータ装置11へ返送する。
(2) Status notification In response to a status request command from the computer device 11, the status of the telephone board 13 is read and sent back to the computer device 11 as status data.

■ その他 上記機能の他、予備電話機21への切換。■ Others In addition to the above functions, switching to the backup telephone 21.

外部からの保留音の入力等を行う。Inputs hold music from external sources, etc.

つぎに、この電話ボード13において回線状態識別装置
を構成する部分、すなわちトーンデコーダ37およびネ
ットワークコントロール回路32について、回線状態識
別機能に関する動作を詳しく説明する。
Next, the operations related to the line state identification function of the parts constituting the line state identification device in the telephone board 13, that is, the tone decoder 37 and the network control circuit 32, will be explained in detail.

電話回線2の信号中に含まれる特定周波数のトーン信号
には、第5図fatに示す波形の発信音と、第5図(b
lに示す波形の話中音と、第5図tc+、 (dlに示
す波形の特定周波数の呼出音とがあり、電話回線2の状
態に応じて何れかの波形のトーン信号が選択されること
になる。したがって、上記トーン信号の波形パラメータ
(トーン信号の波形における立ち上がり時からその後の
最初の立ち下がり時までの長さの最大値)を検出して波
形パラメータを所定値と比較することにより、電話回線
2の回線状態を識別することができる。そして、この識
別結果をコンピュータ装置■1内の処理部12に送るこ
とにより、コンピュータ装置11内の処理部12に電話
回線2の回線状態を早期に認識することが可能どなり、
転送処理などを効率良く行わせることが可能となる。
The tone signal of a specific frequency included in the signal of the telephone line 2 includes a dial tone with a waveform shown in FIG.
There is a busy tone signal with the waveform shown in 1 and a ring tone signal with a specific frequency of the waveform shown in FIG. Therefore, by detecting the waveform parameter of the tone signal (the maximum value of the length from the rising edge of the tone signal waveform to the subsequent first falling edge) and comparing the waveform parameter with a predetermined value, The line status of the telephone line 2 can be identified.Then, by sending this identification result to the processing unit 12 in the computer device 1, the line status of the telephone line 2 can be quickly detected by the processing unit 12 in the computer device 11. It is possible to recognize the roar,
Transfer processing etc. can be performed efficiently.

この場合、上記のトーン信号の周波数は、電話回線2が
公衆電話回線の場合は400Hzである。
In this case, the frequency of the tone signal is 400 Hz if the telephone line 2 is a public telephone line.

また、トーン信号のうち発信音(発信状態を示す)は、
第5図Fa+に示すように、連続的にハイレベルとなる
波形である。また、話中音(話中状態を示す)は、第5
図(blに示すように、’[”11秒(=500ms)
間のハイレベル期間とT1□秒(= 500m5)間の
ロウレベル期間とを交互に繰り返す波形である。さらに
、呼出音(呼出状態を示す)は、第5図fclおよび第
5図[0)の時間軸を拡大して描いた第2図(dlに示
すように、’l”z+秒(=31.5m5)間のハイレ
ベル期間とT。秒(=31.5m5)間のロウレベル期
間とを交互に繰り返してなるTff1秒(=1秒)間の
16Hz期間とT3f秒(2秒)間のロウレベル期間と
を繰り返す波形である。
Also, among the tone signals, the dial tone (indicating the transmission status) is
As shown in FIG. 5 Fa+, the waveform is continuously high level. In addition, the busy tone (indicating the busy state) is
As shown in the figure (bl), '[''11 seconds (=500ms)
This waveform alternately repeats a high level period between T1□ seconds (=500 m5) and a low level period between T1□ seconds (=500 m5). Furthermore, the ringing sound (indicating the ringing state) is 'l''z + seconds (=31 A 16Hz period of Tff1 seconds (=1 second) and a low level of T3f seconds (2 seconds), which are made by repeating alternately a high level period of T.5m5) and a low level period of T.seconds (=31.5m5). This is a waveform that repeats periods.

第3図におけるトーンデコーダ37は、電話回線2中の
信号から例えば40011zの周波数のトーン信号を検
出し、その波形(第5図+alまたは同図(blまたは
同図((!l、 +d))を出力することになる。なお
、トーン信号の周波数は、公衆電話回線とPBXの内線
とで周波数が異なるので、両方に対処するには、公衆電
話回線用とPBXの内線用との2種類のトーンデコーダ
を準備し、スイッチで使用対象に応じてトーンデコーダ
を選択する必要がある。
The tone decoder 37 in FIG. 3 detects a tone signal with a frequency of, for example, 40011z from the signal in the telephone line 2, and converts the tone signal to its waveform (FIG. 5+al or (bl or (!l, +d)) in FIG. The frequency of the tone signal is different between the public telephone line and the PBX extension, so in order to deal with both, two types of tone signals are used: one for the public telephone line and one for the PBX extension. It is necessary to prepare a tone decoder and use a switch to select the tone decoder according to the intended use.

また、ネットワークコントロール回路32は、CPU4
3が第6図のフローチャートに従って動作することによ
りトーンデコーダ37から出力される波形における波形
パラメータを検出して所定値と比較することにより電話
回線2の回線状態を識別し、この識別結果をバスインタ
フェース回路31を介してコンピュータ装置11内の処
理部12へ送ることになる。
In addition, the network control circuit 32 includes the CPU 4
3 operates according to the flowchart of FIG. 6 to detect the waveform parameters in the waveform output from the tone decoder 37 and compare them with predetermined values to identify the line state of the telephone line 2, and transmit this identification result to the bus interface. It will be sent to the processing section 12 in the computer device 11 via the circuit 31.

以下、具体的に説明する。ネットワークコントロール回
路32内のCPU43は、第6図に示すように、CTC
45から与えられる10m毎の割込み信号によってトー
ンデコーダ37の出力信号を10m毎にサンプリングし
て3個のサンプリングデータを取り込む(ステップS1
)。
This will be explained in detail below. As shown in FIG. 6, the CPU 43 in the network control circuit 32
The output signal of the tone decoder 37 is sampled every 10 m by the interrupt signal given from 45 every 10 m, and three pieces of sampling data are taken in (step S1
).

ついで、3個のサンプリングデータのうち2個以上がハ
イレベルとなっているかどうかを判定しくステップS2
)、判定結果がNOのときはステップS1に戻る。
Next, in step S2, it is determined whether two or more of the three sampling data are at a high level.
), if the determination result is NO, the process returns to step S1.

一方、ステップS2の判定結果がYESのときは、トー
ン検出を開始してサンプル値レジスタの内容を1にする
(ステップS3)。
On the other hand, when the determination result in step S2 is YES, tone detection is started and the contents of the sample value register are set to 1 (step S3).

ついで、CTC45から与えられる10@s毎の割込み
信号によってトーンデコーダ37の出力信号を10+a
毎にサンプリングして3個のサンプリングデータを取り
込む(ステップS、)。
Next, the output signal of the tone decoder 37 is changed to 10+a by the interrupt signal given every 10@s from the CTC 45.
Each time, three pieces of sampling data are taken in (step S).

ついで、3個のサンプリングデータのうち2個以上がハ
イレベルとなっているかどうかを判定する(ステップS
 S ) * 上記ステップS5の判定結果がNOのときは、サンプル
値レジスタの内容を0にしくステップS6)、ステップ
S、に戻る。
Next, it is determined whether two or more of the three sampling data are at a high level (step S
S) *If the determination result in step S5 is NO, the contents of the sample value register are set to 0 and the process returns to step S6) and step S.

また、上記ステップS、の判定結果がYESのときは、
サンプル値レジスタの内容を1だけインクリメントする
とともに、サンプル値レジスタの内容を最大サンプル値
レジスタの内容と比較し、サンプル値レジスタの内容の
方が最大サンプル値レジスタの内容より大きいときは、
サンプル値レジスタの内容を最大サンプル値レジスタに
セットし、逆の場合は最大サンプル値レジスタの内容を
更新しない(ステップS7)。
Also, if the determination result in step S above is YES,
Increment the contents of the sample value register by 1 and compare the contents of the sample value register with the contents of the maximum sample value register, and if the contents of the sample value register are greater than the contents of the maximum sample value register,
The contents of the sample value register are set to the maximum sample value register, and in the opposite case, the contents of the maximum sample value register are not updated (step S7).

ついで、トーン検出開始後のサンプリング時間が一定時
間T4 (”−3秒)経過したどうかを判定する(ステ
ップS8)、なお、この一定時間は、トーン信号の波形
の中で繰り返し周期の長い呼出音の波形の周期より長く
し、話中音および呼出音の両方の波形について少なくと
も1周期以上にわたってサンプリングを行ってトーン信
号のすべての波形を確実に区別できるようにするためで
ある。
Next, it is determined whether the sampling time after the start of tone detection has elapsed for a certain period of time T4 ("-3 seconds) (step S8). Note that this certain period of time is limited to a ring tone with a long repetition period in the waveform of the tone signal. This is to ensure that all waveforms of the tone signal can be reliably distinguished by sampling both the busy tone and ringing tone waveforms over at least one cycle.

この例では、上記一定時間を満たす呼出音の繰返し周期
と等しい3秒に設定している。
In this example, it is set to 3 seconds, which is equal to the repetition period of the ringing tone that satisfies the above-mentioned fixed time.

上記のステップS8の判定結果がNoのときは、ステッ
プS4に戻る。
If the determination result in step S8 is No, the process returns to step S4.

一方、ステップS8の判定結果がYESのときは、最大
サンプル値レジスタの内容がどの範囲にあるかを判別し
くステップS、)、ステップS1に戻る。上記の最大サ
ンプル値レジスタの内容が前記したところの波形パラメ
ータ(トーン信号の波形における立ち上がり時からその
後の最初の立ち下がり時までの長さの最大値)となる。
On the other hand, if the determination result in step S8 is YES, it is determined in which range the contents of the maximum sample value register are located, and the process returns to step S1). The contents of the maximum sample value register described above become the above-mentioned waveform parameter (the maximum value of the length from the rising edge of the tone signal waveform to the subsequent first falling edge).

この場合、第1図の波形パラメータ検出手段3を構成す
るフローチャートのステップ31〜S8により、電話回
線2中のトーン信号が第5図(a)に示すような波形の
発信音である場合には、トーン検出開始時すなわち波形
の立ち上がり時から30勃毎にサンプル値レジスタの内
容が1.2.3゜・・・・・・とlずつ増加していき、
このとき最”大サンプル値レジスタの内容も同様に1ず
つ増加していく。
In this case, according to steps 31 to S8 of the flowchart constituting the waveform parameter detection means 3 of FIG. 1, if the tone signal in the telephone line 2 is a dial tone with a waveform as shown in FIG. , the contents of the sample value register increase by 1, 2, 3 degrees, etc. every 30 degrees from the start of tone detection, that is, from the rise of the waveform,
At this time, the contents of the maximum sample value register are similarly increased by 1.

そして、波形の立ち上がり時から3秒経過するまで波形
が全くロウレベルにならないので、トーン検出開始後3
秒の経過後は理論的にはサンプル値レジスタの内容およ
び最大サンプル値レジスタの内容がそれぞれ10Gとな
る。
Since the waveform does not go to low level at all until 3 seconds have passed from the start of the waveform, 3 seconds after the start of tone detection.
After seconds have passed, theoretically the contents of the sample value register and the contents of the maximum sample value register will each be 10G.

また、電話回線2中のトーン信号が第5図(blに示す
ような波形の話中音である場合には、トーン検出開始時
すなわち波形の最初の立ち上がり時以後301m毎にサ
ンプル値レジスタの内容が1.2゜3、・・・・・・と
1ずつ増加していき、このとき最大サンプル値レジスタ
の内容も同様に1ずつ増加していく、そして、500m
経過した最初の立ち下がりの直前においては、サンプル
値レジスタの内容および最大サンプル値レジスタの内容
が理論的には17となる。波形が立ち下がると、サンプ
ル値レジスタの内容が0になるが、最大サンプル値レジ
スタの内容は17を維持する。波形の2つ目の立ち上が
り時以後サンプル値レジスタの内容は上記と同様に1.
2.3.・・・・・・と増加していき、波形が立ち下が
ると0になり、波形のロウレベル期間中サンプル値レジ
スタの内容は0を持続する。
In addition, if the tone signal in the telephone line 2 is a busy tone with a waveform as shown in FIG. increases by 1 as 1.2゜3, etc. At this time, the contents of the maximum sample value register also increases by 1, and 500m
Just before the first elapsed falling edge, the contents of the sample value register and the contents of the maximum sample value register would theoretically be 17. When the waveform falls, the contents of the sample value register become 0, but the contents of the maximum sample value register remain 17. After the second rising edge of the waveform, the contents of the sample value register are 1.
2.3. ..., and becomes 0 when the waveform falls, and the contents of the sample value register continue to be 0 during the low level period of the waveform.

以後トーン検出開始時から3秒経過するまでこの動作を
繰り返すことになる。一方、最大サンプル値レジスタの
内容は、サンプル値レジスタの内容がインクリメントさ
れる毎に、サンプル値レジスタの内容と比較され、サン
プル値レジスタの内容の方が大きいときのみ更新される
ことになる。
Thereafter, this operation will be repeated until 3 seconds have elapsed from the start of tone detection. On the other hand, the contents of the maximum sample value register are compared with the contents of the sample value register each time the contents of the sample value register are incremented, and are updated only when the contents of the sample value register are larger.

さらに、電話回線2中のトーン信号が第5図(C)。Furthermore, the tone signal in the telephone line 2 is shown in FIG. 5(C).

(dlに示すような波形の呼出音である場合には、トー
ン検出開始時すなわち波形の最初の立ち上がり以後30
IIS経過後にサンプル値レジスタの内容および最大サ
ンプル値レジスタの内容が1となるが、この波形は、最
初の立ち上がり以後の1秒間は1611zの周波数でハ
イレベルとロウレベルとを繰す返す、すなわち31.2
5 ffiのハイレベル期間と31.25姑のロウレベ
ル期間とが交互に出現するので、波形の最初の立ち上が
りから1秒経過するまでの期間、サンプル値レジスタの
内容は、lと0とを交互に繰り返し、最大サンプル値レ
ジスタの内容はlを維持することになる。なお、その後
の波形のロウレベル期間はサンプル値レジスタの内容は
0を維持する。
(In the case of a ringing tone with a waveform as shown in dl, 30
After the IIS elapses, the contents of the sample value register and the maximum sample value register become 1, but this waveform repeats high level and low level at a frequency of 1611z for 1 second after the first rise, that is, 31. 2
Since the high level period of 5 ffi and the low level period of 31.25 appear alternately, the contents of the sample value register alternate between l and 0 during the period from the first rise of the waveform until 1 second has elapsed. Repeatedly, the contents of the maximum sample value register will remain l. Note that the contents of the sample value register maintain 0 during the subsequent low level period of the waveform.

そして、第1図の識別手段4を構成するフローチャート
のステップS9においては、最大サンプル値レジスタの
内容に約20%の誤差を考慮して、最大サンプル値レジ
スタの内容が78〜122の範囲にあれば、トーン信号
が発信音であって電話回線2が発信状態であるとみなし
、最大サンプル値レジスタの内容が13〜2oの範囲に
あれば、トーン信号が話中音であって電話回線2が話中
状態であるとみなし、最大サンプル値レジスタの内容が
1〜3の範囲にあれば、トーン信号が呼出音電話回線2
が呼出状態であるとみなすことになる。
In step S9 of the flowchart constituting the identification means 4 in FIG. For example, assuming that the tone signal is a dial tone and telephone line 2 is in the outgoing state, and the content of the maximum sample value register is in the range of 13 to 2o, it is assumed that the tone signal is a busy tone and telephone line 2 is in the outgoing state. It is assumed that the state is busy, and if the contents of the maximum sample value register are in the range of 1 to 3, the tone signal is set to ring telephone line 2.
is considered to be in the calling state.

なお、上記のフローチャートにおいて、Ioffls毎
に3個のサンプリングデータを取り込み、この3個のサ
ンプリングデータの全てがハイレベルとなっているか判
別してサンプル値をインクリメントしているのは、ノイ
ズパルスによる誤動作を防止するためである。
In addition, in the above flowchart, the reason why three pieces of sampling data are taken in for each Ioffls and the sample value is incremented after determining whether all three pieces of sampling data are at a high level is due to a malfunction caused by a noise pulse. This is to prevent

この実施例の回線状態識別装置は、トーンデコーダ1で
電話回線2中の信号から特定の周波数のトーン信号を検
出し、トーンデコーダlからトーン信号の波形を出力さ
せ、波形パラメータ検出手段3でトーンデコーダ1の出
力をサンプリングしてトーン信号の波形パラメータを検
出し、識別手段4で波形パラメータを所定値と比較する
ことにより電話回線2の回線状態(話中状態、呼出状態
)を識別するようにしているので、コンピュータ装置等
の他のJa器に電話回線2が話中状態であるか呼出状態
であるかを、早期に認識させることができ、相手先が話
中である場合の無駄な呼出を避けることができる。
In the line state identification device of this embodiment, a tone decoder 1 detects a tone signal of a specific frequency from a signal in a telephone line 2, a tone decoder 1 outputs a tone signal waveform, and a waveform parameter detection means 3 detects a tone signal of a specific frequency. The output of the decoder 1 is sampled to detect the waveform parameters of the tone signal, and the identification means 4 compares the waveform parameters with predetermined values to identify the line state (busy state, ringing state) of the telephone line 2. This allows other Ja devices such as computer equipment to quickly recognize whether the telephone line 2 is busy or ringing, and prevents unnecessary calls when the other party is busy. can be avoided.

〔発明の効果〕〔Effect of the invention〕

この発明の電話回線の状態検出装置によれば、トーンデ
コーダの出力をサンプリングしてトーン信号の波形パラ
メータを検出し、波形パラメータを所定値と比較するこ
とにより電話回線の回線状態を識別するようにしている
ので、コンビエータ装置等の他の機器に電話回線が話中
状態であるか呼出状態であるかを早期に認識させること
ができ、相手先が話中である場合の無駄な呼出を避ける
ことができる。
According to the telephone line status detection device of the present invention, the output of the tone decoder is sampled to detect the waveform parameters of the tone signal, and the line status of the telephone line is identified by comparing the waveform parameters with predetermined values. This allows other devices such as combiator devices to quickly recognize whether the telephone line is busy or ringing, thereby avoiding unnecessary calls when the other party is busy. Can be done.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の回線状B識別装置の構成
を示すブロック図、第2図は実施例の回線状態識別装置
を含む電話ボードが差し込まれるコンピュータシステム
の構成を示す概略図、第3図は電話ボードの構成を示す
ブロック図、第4図はネットワークコントロール回路の
構成を示すブロック図、第5図はトーン信号の波形図、
第6図はネットワークコントロール回路内のCPUの動
作を示すフローチャートである。 1・・・トーンデコーダ、2・・・電話回線、3・・・
波形パラメータ検出手段、4・・・識別手段特許出願人
 オージー情報システム株式会社/32
FIG. 1 is a block diagram showing the configuration of a line-type B identification device according to an embodiment of the present invention, and FIG. 2 is a schematic diagram showing the configuration of a computer system into which a telephone board including the line status identification device according to the embodiment is inserted. Figure 3 is a block diagram showing the configuration of the telephone board, Figure 4 is a block diagram showing the configuration of the network control circuit, Figure 5 is a waveform diagram of the tone signal,
FIG. 6 is a flowchart showing the operation of the CPU in the network control circuit. 1...Tone decoder, 2...Telephone line, 3...
Waveform parameter detection means, 4...Identification means Patent applicant OG Information System Co., Ltd./32

Claims (1)

【特許請求の範囲】 話中状態と呼出状態とでトーン信号の波形が異なる電話
回線の回線状態を識別する回線状態識別装置であって、 前記電話回線中の信号から前記トーン信号を検出して前
記トーン信号の波形を出力するトーンデコーダと、この
トーンデコーダの出力をサンプリングして前記トーン信
号の波形パラメータを検出する波形パラメータ検出手段
と、この波形パラメータ検出手段により検出された波形
パラメータを所定値と比較することにより前記電話回線
の回線状態を識別する識別手段とを備えた回線状態識別
装置。
[Scope of Claims] A line state identification device for identifying the line state of a telephone line in which the waveform of a tone signal is different between a busy state and a ringing state, the method comprising: detecting the tone signal from a signal on the telephone line; a tone decoder that outputs a waveform of the tone signal; a waveform parameter detection means that samples the output of the tone decoder to detect a waveform parameter of the tone signal; and a waveform parameter detected by the waveform parameter detection means that is set to a predetermined value. and identification means for identifying the line condition of the telephone line by comparing the line condition with the telephone line.
JP27658687A 1987-10-30 1987-10-30 Line state identification device Pending JPH01117560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27658687A JPH01117560A (en) 1987-10-30 1987-10-30 Line state identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27658687A JPH01117560A (en) 1987-10-30 1987-10-30 Line state identification device

Publications (1)

Publication Number Publication Date
JPH01117560A true JPH01117560A (en) 1989-05-10

Family

ID=17571524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27658687A Pending JPH01117560A (en) 1987-10-30 1987-10-30 Line state identification device

Country Status (1)

Country Link
JP (1) JPH01117560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015192324A (en) * 2014-03-28 2015-11-02 キヤノン株式会社 Communication device, control method therefor and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015192324A (en) * 2014-03-28 2015-11-02 キヤノン株式会社 Communication device, control method therefor and program

Similar Documents

Publication Publication Date Title
CA2113841C (en) Telecommunication device for the deaf with automatic self-identification
US4811381A (en) Direct inward dial integration apparatus
US5267301A (en) Data communication apparatus and method capable of discriminating calling stations
CN100576865C (en) Be suitable for the voice communication system and the telephone set thereof of broadband connections
US4394757A (en) Frame format for PCM speech data in a telephone transmission system and digital telephone apparatus for use with this frame format
JPH05160886A (en) Digital terminal equipment
KR0155633B1 (en) Method for transmitting greeting message in answering telephone
JP3080262B2 (en) Exchange control unit
JPH01117560A (en) Line state identification device
KR19990001882A (en) How your phone announces your caller's phone number
US6810112B1 (en) Method and apparatus for testing an information notification service
KR100368596B1 (en) Method for decision call response signal of UnPBX and apparatus thereof
JP3232640B2 (en) Telephone exchange
KR960043665A (en) Combined call device and method for cellular phone
KR19980065571A (en) Telephone capable of conducting calls by voice recognition and its operation method
JP3144565B2 (en) Telephone system
KR920004154B1 (en) Analog/digital communication system
JP3243815B2 (en) Telephone exchange
KR100222796B1 (en) Recording method of keyphone with voice mailing system
JPS59160365A (en) Automatic answer detector
KR910000847B1 (en) Calls connection method by ring back tone
JPH0632497B2 (en) Button telephone device
JPS62216461A (en) Switching device for voice communication and data communication
JPS63158951A (en) Telephone terminal equipment
JPH04215355A (en) Interruptive call response system