JP5619792B2 - Data communication apparatus and data communication method - Google Patents

Data communication apparatus and data communication method Download PDF

Info

Publication number
JP5619792B2
JP5619792B2 JP2012016306A JP2012016306A JP5619792B2 JP 5619792 B2 JP5619792 B2 JP 5619792B2 JP 2012016306 A JP2012016306 A JP 2012016306A JP 2012016306 A JP2012016306 A JP 2012016306A JP 5619792 B2 JP5619792 B2 JP 5619792B2
Authority
JP
Japan
Prior art keywords
hook
data
unit
terminal
telephone
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
JP2012016306A
Other languages
Japanese (ja)
Other versions
JP2013157773A (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.)
Fujitsu Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Priority to JP2012016306A priority Critical patent/JP5619792B2/en
Publication of JP2013157773A publication Critical patent/JP2013157773A/en
Application granted granted Critical
Publication of JP5619792B2 publication Critical patent/JP5619792B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing

Landscapes

  • Telephonic Communication Services (AREA)
  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)

Description

本発明は、データ通信装置及びデータ通信方法に関する。   The present invention relates to a data communication apparatus and a data communication method.

近年、緊急時の通報システムとして、加入者の各家庭に通報用の通信端末が設置され、その通信端末が異常事態の検出時等にセンタへ通報し、センタ側のデータ通信装置でデータ収集を行なう通報システムが知られている(例えば、特許文献1参照)。   In recent years, as a notification system in an emergency, a communication terminal for notification has been installed in each subscriber's home, the communication terminal reports to the center when an abnormal situation is detected, etc., and the data communication device on the center side collects data A reporting system is known (see, for example, Patent Document 1).

特開平05−300265号公報Japanese Patent Laid-Open No. 05-300265

上記の通信端末を利用した通報システムでは、センタ側のオペレータが直接会話することもあり、内容によってはセンタ内の他部門又は他のセンタに転送して回答するケースが増えてきている。   In the notification system using the above communication terminal, the operator on the center side may have a direct conversation, and depending on the contents, there are an increasing number of cases where the response is transferred to another department in the center or another center.

具体例として、従来のデータ通信装置では、一般的に先ず、通信端末から最初にデータの通報を受けて通報内容を識別する。次に、データ通信装置では、通報内容がセンサではなく発信者(利用者)によって発信された場合、そのデータ通信装置に接続されている接続電話に電話回線を繋げて発信者とオペレータとを会話可能な状態にする。続いて、発信者とオペレータとが会話を終了すると、オペレータは、接続電話の受話器を下げた状態(オンフック)にする。この際、データ通信装置では、オンフックを検出すると、回路内部の処理で一時的に受話器を取った状態(オフフック)にし、通信端末に対して会話の終了を示す会話終話信号(例えばプッシュボタン(PB)信号等)を交換機側に送信する。これにより、データ通信装置は、電話回線を開放させる。   As a specific example, in a conventional data communication apparatus, generally, first, a data report is first received from a communication terminal to identify a report content. Next, in the data communication device, when the content of the report is transmitted by a caller (user) instead of a sensor, a telephone line is connected to the connection telephone connected to the data communication device, and the caller and the operator are conversed. Make it possible. Subsequently, when the caller and the operator end the conversation, the operator places the connected telephone handset down (on-hook). At this time, in the data communication device, when detecting the on-hook, the receiver is temporarily taken off (off-hook) by processing inside the circuit, and a conversation end signal (for example, push button ( PB) signal etc.) is transmitted to the exchange side. As a result, the data communication apparatus opens the telephone line.

ここで、発信者との会話中に、オペレータが会話の内容に応じてセンタ内の他部門又は他のセンタ等に転送処理をした場合、交換機側では、オペレータのオンフック操作(転送処理の操作)によっては、オンフック検出によるその後のオフフック状態の形成をいわゆるフッキングとみなしてしまうことがある。この場合、交換機側では、転送を解除してしまう。すると、本来、データ通信装置側の接続電話と通信端末とが通話状態になるべきところ、データ通信装置では、既に、オペレータのオンフック操作に起因して会話終話信号を送信しているので、接続電話を切断方向へ向けると共に、通信端末との通信も切断してしまうという不具合が生じる。   Here, during the conversation with the caller, when the operator performs a transfer process to another department in the center or another center according to the content of the conversation, the operator on-hook operation (transfer process operation) on the exchange side Depending on the case, the formation of the subsequent off-hook state by the on-hook detection may be regarded as so-called hooking. In this case, the exchange side cancels the transfer. Then, the connection phone and the communication terminal on the data communication device side should be in a call state, but the data communication device has already transmitted a conversation end signal due to the operator's on-hook operation. There is a problem that the telephone is turned in the disconnection direction and communication with the communication terminal is also disconnected.

しかしながら、上記の不具合が発生した場合の対処としては、例えば、通信切断後にオペレータが折り返し通信端末を介して発信者に連絡する等しているのが実情である。なお、特許文献1では、上記の不具合について特に考慮されていない。   However, as a countermeasure when the above-described problem occurs, for example, the situation is that an operator contacts the caller via a communication terminal after disconnecting communication. In Patent Document 1, the above-described problems are not particularly taken into consideration.

そこで、本発明は、上記事情に鑑み、緊急を要する通報システムにおける電話回線での転送処理の不具合の発生を防止する手段を提供することを目的とする。   SUMMARY OF THE INVENTION In view of the above circumstances, an object of the present invention is to provide means for preventing the occurrence of a transfer process failure on a telephone line in an emergency notification system.

第1の発明に係るデータ通信装置は、着信検出部と、データ受信部と、データ解析部と、接続制御部と、ライン監視部と、フック状態検出部と、判定部と、切替制御部と、通知部とを備える。着信検出部は、会話機能を有する外部通信端末からの着信の有無を検出する。データ受信部は、着信検出部が着信を検出した場合、外部通信端末からデータを受信する。データ解析部は、データ受信部が受信したデータを解析して、外部通信端末の利用者に対してオペレータとの会話の必要性の有無を判断する。接続制御部は、データ解析部が会話の必要性有りと判断した場合、オペレータ専用の複数の電話端末のうちの何れか1つと外部通信端末とを交換機を介して接続する。ライン監視部は、接続制御部が接続した第1の電話端末と外部通信端末との接続状態を監視する。フック状態検出部は、ライン監視部が接続状態の監視中に、第1の電話端末のオンフックと、オフフックと、フッキングとの状態を個別に検出する。判定部は、フック状態検出部の検出結果に応じて、会話の終了を示す会話終話信号の通知の可否を判定する。切替制御部は、判定部の判定結果に応じて、第1の電話端末から他の電話端末に切り替える転送処理を行なう。通知部は、切替制御部が転送処理を行なう場合、会話終話信号を非通知とする。   A data communication apparatus according to a first invention includes an incoming call detection unit, a data reception unit, a data analysis unit, a connection control unit, a line monitoring unit, a hook state detection unit, a determination unit, a switching control unit, And a notification unit. The incoming call detection unit detects whether there is an incoming call from an external communication terminal having a conversation function. The data receiving unit receives data from the external communication terminal when the incoming call detecting unit detects an incoming call. The data analysis unit analyzes the data received by the data reception unit, and determines whether or not the user of the external communication terminal needs to have a conversation with the operator. When the data analysis unit determines that there is a need for conversation, the connection control unit connects any one of a plurality of telephone terminals dedicated to the operator and the external communication terminal via the exchange. The line monitoring unit monitors a connection state between the first telephone terminal and the external communication terminal connected by the connection control unit. The hook state detection unit individually detects the on-hook state, the off-hook state, and the hooking state of the first telephone terminal while the line monitoring unit is monitoring the connection state. The determination unit determines whether or not notification of the conversation end signal indicating the end of the conversation is possible according to the detection result of the hook state detection unit. The switching control unit performs transfer processing for switching from the first telephone terminal to another telephone terminal according to the determination result of the determination unit. When the switching control unit performs the transfer process, the notification unit does not notify the conversation end signal.

第2の発明は、第1の発明において、フックキングの状態が予め設定した継続期間に達した場合、フックキングとして正規に検出する。   According to a second aspect, in the first aspect, when the state of hook king reaches a preset duration, it is properly detected as hook king.

第3の発明は、第1の発明において、フック状態検出部は、オンフックの状態が予め設定した継続期間に達した場合、オンフックとして正規に検出する。   In a third aspect based on the first aspect, the hook state detection unit properly detects the on-hook state when the on-hook state reaches a preset duration.

第4の発明は、第1の発明において、フック状態検出部は、オフフックの状態が予め設定した継続期間に達した場合、オフフックとして正規に検出する。   In a fourth aspect based on the first aspect, when the off-hook state reaches a preset duration, the hook state detection unit normally detects the off-hook state.

第5の発明に係るデータ通信方法は、着信検出ステップと、データ受信ステップと、データ解析ステップと、接続制御ステップと、ライン監視ステップと、フック状態検出ステップと、判定ステップと、切替制御ステップと、通知ステップとを備える。   A data communication method according to a fifth invention includes an incoming call detection step, a data reception step, a data analysis step, a connection control step, a line monitoring step, a hook state detection step, a determination step, and a switching control step. And a notification step.

着信検出ステップは、会話機能を有する外部通信端末からの着信の有無を検出する。データ受信ステップは、着信検出ステップにより着信が検出された場合、外部通信端末からデータを受信する。データ解析ステップは、データ受信ステップにより受信されたデータを解析して、外部通信端末の利用者に対してオペレータとの会話の必要性の有無を判断する。接続制御ステップは、データ解析ステップにより会話の必要性有りと判断された場合、オペレータ専用の複数の電話端末のうちの何れか1つと外部通信端末とを交換機を介して接続する。ライン監視ステップは、接続制御ステップにより接続された第1の電話端末と外部通信端末との接続状態を監視する。フック状態検出ステップは、ライン監視ステップにより接続状態の監視中に、第1の電話端末のオンフックと、オフフックと、フッキングとの状態を個別に検出する。判定ステップは、フック状態検出ステップの検出結果に応じて、会話の終了を示す会話終話信号の通知の可否を判定する。切替制御ステップは、判定ステップの判定結果に応じて、第1の電話端末から他の電話端末に切り替える転送処理を行なう。通知ステップは、切替制御ステップにより転送処理が行なわれた場合、会話終話信号を非通知とする。   The incoming call detection step detects whether there is an incoming call from an external communication terminal having a conversation function. The data receiving step receives data from the external communication terminal when an incoming call is detected by the incoming call detection step. In the data analysis step, the data received in the data reception step is analyzed to determine whether or not the user of the external communication terminal needs to have a conversation with the operator. The connection control step connects any one of a plurality of telephone terminals dedicated to the operator and the external communication terminal via an exchange when it is determined that the conversation is necessary in the data analysis step. The line monitoring step monitors the connection state between the first telephone terminal and the external communication terminal connected by the connection control step. The hook state detection step individually detects the on-hook state, the off-hook state, and the hooking state of the first telephone terminal during the monitoring of the connection state by the line monitoring step. The determination step determines whether or not notification of the conversation end signal indicating the end of the conversation is possible according to the detection result of the hook state detection step. The switching control step performs transfer processing for switching from the first telephone terminal to another telephone terminal according to the determination result of the determination step. In the notification step, when the transfer process is performed in the switching control step, the conversation end signal is not notified.

本発明は、緊急を要する通報システムにおける電話回線での転送処理の不具合の発生を防止する手段を提供できる。   INDUSTRIAL APPLICABILITY The present invention can provide means for preventing the occurrence of transfer processing problems on a telephone line in an emergency notification system.

通報システム100の構成例を示す図The figure which shows the structural example of the notification system 100 端末2aの内部構成例を示す図The figure which shows the internal structural example of the terminal 2a データ通信装置1の内部構成例を示す図The figure which shows the internal structural example of the data communication apparatus 1 転送処理を行なわない場合の電話回線制御の一例を示すシーケンス図Sequence diagram showing an example of telephone line control when transfer processing is not performed 転送処理を行なう場合の電話回線制御の比較例を示すシーケンス図Sequence diagram showing a comparative example of telephone line control when performing transfer processing 本実施形態における転送処理を行なう場合の電話回線制御の一例を示すシーケンス図The sequence diagram which shows an example of the telephone line control in the case of performing the transfer process in this embodiment ライン監視部11dの監視下における電話回線制御の一例を示すフローチャートThe flowchart which shows an example of the telephone line control under the monitoring of the line monitoring part 11d フック状態検出部11eの処理の一例を示すフローチャートThe flowchart which shows an example of a process of the hook state detection part 11e 着信検出部11aによる発信音の検出処理の一例を示すフローチャートThe flowchart which shows an example of the detection process of the dial tone by the incoming call detection part 11a.

以下、図面に基づいて本発明の実施の形態を詳細に説明する。先ず、緊急を要する通報システム100の構成について説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, the structure of the emergency notification system 100 will be described.

<通報システム100の構成>
図1は、通報システム100の構成の一例を示す図である。通報システム100は、本発明の一実施形態であるデータ通信装置1と、電話回線(通信回線)を通じて交換機3を介して接続する外部の通信端末(以下「端末」という。)2a、2b及び2cを備える。なお、端末の台数は、3台に限定されずに加入者の家庭数分、各々設置されることになるが、説明の便宜上、図1では、端末2aは家庭H1に設置され、端末2bは家庭H2に設置され、端末2cは家庭H3に設置されていることとする。
<Configuration of reporting system 100>
FIG. 1 is a diagram illustrating an example of the configuration of the notification system 100. The notification system 100 is an external communication terminal (hereinafter referred to as “terminal”) 2a, 2b and 2c connected to the data communication apparatus 1 according to an embodiment of the present invention via the telephone line (communication line) via the exchange 3. Is provided. Note that the number of terminals is not limited to three, but is set as many as the number of subscribers' homes. For convenience of explanation, in FIG. 1, the terminal 2a is installed in the home H1, and the terminal 2b It is assumed that the terminal 2c is installed in the home H3 and the terminal 2c is installed in the home H3.

また、通報システム100では、図1に示す通り、一例としてセンタS1と、他のセンタS2とを利用する。そして、通報システム100では、センタS1内の受付部門にデータ通信装置1、接続電話T1を設置すると共に、転送先(他部門)に専用電話T2を設置する。   In addition, as shown in FIG. 1, the notification system 100 uses a center S1 and another center S2 as an example. In the reporting system 100, the data communication device 1 and the connection telephone T1 are installed in the reception department in the center S1, and the dedicated telephone T2 is installed in the transfer destination (other department).

また、通報システム100では、他のセンタS2内に専用電話T3を設置する。ここで、本実施形態では、説明の便宜上、データ通信装置1と電話回線で直接接続されている電話端末を接続電話と称し、それ以外の電話端末を専用電話と称す。なお、電話端末の台数は、3台に限定されるものではなく、例えばオペレータの人数に応じた台数であれば良い。   In the reporting system 100, a dedicated telephone T3 is installed in another center S2. Here, in this embodiment, for convenience of explanation, a telephone terminal directly connected to the data communication apparatus 1 via a telephone line is referred to as a connection telephone, and other telephone terminals are referred to as dedicated telephones. Note that the number of telephone terminals is not limited to three, and may be any number according to the number of operators, for example.

以下、通報システム100における端末2a及びデータ通信装置1の各構成について具体的に説明する。なお、端末2a、2b及び2cは、同機種とし、以下の説明では、端末2aを代表して説明する。   Hereinafter, each structure of the terminal 2a and the data communication apparatus 1 in the notification system 100 will be specifically described. Note that the terminals 2a, 2b, and 2c are of the same model, and in the following description, the terminal 2a will be described as a representative.

<端末2aの構成>
図2は、端末2aの内部構成例を示す図である。端末2aは、通報システム100において、緊急時等にセンタS1側に通報するための装置である。
<Configuration of terminal 2a>
FIG. 2 is a diagram illustrating an internal configuration example of the terminal 2a. The terminal 2a is a device for reporting to the center S1 side in an emergency or the like in the reporting system 100.

端末2aは、図2に示す通り、緊急ボタン21と、マイク22と、スピーカ23と、音声入出力部24と、センサ25と、通信インターフェース部(以下「通信I/F部」という。)26と、制御部27とを備える。   As illustrated in FIG. 2, the terminal 2 a includes an emergency button 21, a microphone 22, a speaker 23, a voice input / output unit 24, a sensor 25, and a communication interface unit (hereinafter referred to as “communication I / F unit”) 26. And a control unit 27.

緊急ボタン21は、センタS1のデータ通信装置1に緊急を知らせるためのユーザ入力を受け付けるボタンである。マイク22は、音声入力を行ない、スピーカ23は、音声出力を行なう。音声入出力部24は、音声の入出力を制御する。そして、音声入出力部24は、緊急ボタン21が押下されると、受話器等を取って会話する必要がないハンズフリー通話機能を動作させる。これにより、発信者は、センタS1側のオペレータとハンズフリーの状態で会話をすることが可能となる。   The emergency button 21 is a button for accepting a user input for notifying the data communication device 1 of the center S1 of an emergency. The microphone 22 performs voice input, and the speaker 23 performs voice output. The voice input / output unit 24 controls voice input / output. Then, when the emergency button 21 is pressed, the voice input / output unit 24 operates a hands-free call function that does not require conversation by taking the handset or the like. As a result, the caller can talk with the operator on the center S1 side in a hands-free state.

センサ25は、例えばガスセンサであって、予め決められたガスの濃度が閾値以上になると、制御部27に異常を示す信号を送信する。なお、センサ25は、ガスセンサに限られず、例えば火災の発生を煙の濃度で検出する火災センサであっても良い。或いは、センサ25は、防犯カメラ等を搭載して、留守宅時に不審者の進入を検知するセンサであっても良い。或いは、センサ25は、上述した複数の種類のセンサを用いても良い。本実施形態におけるセンサ25は、データ通信装置1に対して、緊急時に会話を要しない通報手段を備える。   The sensor 25 is, for example, a gas sensor, and transmits a signal indicating an abnormality to the control unit 27 when a predetermined gas concentration exceeds a threshold value. The sensor 25 is not limited to a gas sensor, and may be a fire sensor that detects the occurrence of a fire based on the smoke concentration, for example. Alternatively, the sensor 25 may be a sensor that is equipped with a security camera or the like and detects the entry of a suspicious person at home. Alternatively, the sensor 25 may use a plurality of types of sensors described above. The sensor 25 in the present embodiment includes a reporting unit that does not require a conversation in the event of an emergency with respect to the data communication apparatus 1.

通信I/F部26は、発信者(利用者)の音声データやセンサ25からの異常を知らせる内容のデータ等をデータ通信装置1へ送信するためのインターフェースを提供する。   The communication I / F unit 26 provides an interface for transmitting to the data communication apparatus 1 voice data of a caller (user), data of contents for notifying abnormality from the sensor 25, and the like.

制御部27は、端末2aの統括的な制御を行なうプロセッサである。制御部27は、緊急ボタン21が押下されると、通信I/F部26を介して、発信者と会話を要する緊急を知らせる旨のデータをデータ通信装置1へ送信する。また、制御部27は、センサ25から異常を示す信号を受信すると、通信I/F部26を介して、発信者との会話が不要な緊急を知らせる旨のデータをデータ通信装置1へ送信する。   The control unit 27 is a processor that performs overall control of the terminal 2a. When the emergency button 21 is pressed, the control unit 27 transmits to the data communication apparatus 1 data indicating that an emergency requiring a conversation with the caller via the communication I / F unit 26. In addition, when receiving a signal indicating abnormality from the sensor 25, the control unit 27 transmits data indicating that an emergency that does not require a conversation with the caller to the data communication device 1 via the communication I / F unit 26. .

<データ通信装置1の構成>
データ通信装置1は、電話回線での転送処理の不具合の発生を防止するための機能を有している。そして、データ通信装置1は、接続電話からの転送動作の状態を自動的に認識する点を特徴とする。以下、具体的に内部構成について説明する。
<Configuration of Data Communication Device 1>
The data communication apparatus 1 has a function for preventing the occurrence of transfer processing problems on a telephone line. The data communication apparatus 1 is characterized in that it automatically recognizes the state of the transfer operation from the connected telephone. Hereinafter, the internal configuration will be specifically described.

図3は、データ通信装置1の内部構成例を示す図である。データ通信装置1は、図3に示す通り、CPU(Central Processing Unit)11と、データ受信部12と、RAM(Random Access Memory)13と、フラッシュメモリ14と、スイッチ15とを備える。   FIG. 3 is a diagram illustrating an internal configuration example of the data communication apparatus 1. As shown in FIG. 3, the data communication device 1 includes a CPU (Central Processing Unit) 11, a data receiving unit 12, a RAM (Random Access Memory) 13, a flash memory 14, and a switch 15.

データ受信部12は、後述するCPU11の着信検出部11aが着信を検出した場合、端末2aからのデータを受信する。   The data receiving unit 12 receives data from the terminal 2a when an incoming call detection unit 11a of the CPU 11 described later detects an incoming call.

RAM13は、揮発性のメモリであって、CPU11の演算処理等に用いる。フラッシュメモリ14は、データ通信装置1の制御を行なうプログラム等を予め記憶している不揮発性のメモリである。スイッチ15は、端末2aと接続電話T1との接続(第1の接続)と、端末2aとデータ通信装置1との接続(第2の接続)とを切り替えるスイッチである。   The RAM 13 is a volatile memory and is used for arithmetic processing of the CPU 11 and the like. The flash memory 14 is a non-volatile memory that stores a program for controlling the data communication apparatus 1 in advance. The switch 15 is a switch for switching between the connection (first connection) between the terminal 2a and the connection telephone T1, and the connection (second connection) between the terminal 2a and the data communication device 1.

CPU11は、データ通信装置1の統括的な制御を行なうプロセッサである。CPU11は、フラッシュメモリ14に予め格納された複数のプログラムを実行することによりデータ通信装置1の各部を制御する。ここで、CPU11は、その複数のプログラムのうちで、転送処理を行なう場合に生じる不具合を防止するための制御プログラムを実行することにより、着信検出部11aと、データ解析部11bと、接続制御部11cと、ライン監視部11dと、フック状態検出部11eと、判定部11fと、切替制御部11gと、通知部11hとしても機能する。   The CPU 11 is a processor that performs overall control of the data communication apparatus 1. The CPU 11 controls each unit of the data communication apparatus 1 by executing a plurality of programs stored in advance in the flash memory 14. Here, the CPU 11 executes a control program for preventing a malfunction that occurs when performing the transfer process among the plurality of programs, whereby the incoming call detection unit 11a, the data analysis unit 11b, and the connection control unit. 11c, line monitoring unit 11d, hook state detection unit 11e, determination unit 11f, switching control unit 11g, and notification unit 11h.

着信検出部11aは、端末2aからの着信の有無を検出する。具体的には、端末2aから交換機3を介して送出される発信音の着信の有無を検出する。   The incoming call detection unit 11a detects whether there is an incoming call from the terminal 2a. Specifically, the presence / absence of an incoming dial tone transmitted from the terminal 2a via the exchange 3 is detected.

データ解析部11bは、データ受信部12が受信したデータを解析して、端末2aの発信者(利用者)と、オペレータとの会話の必要性の有無を判断する。具体的には、データ解析部11bは、センサ25から緊急を知らせる旨のデータ(会話の必要性無し)と、緊急ボタン21が押下されることにより発生した緊急を知らせる旨のデータ(会話の必要性有り)との何れかを判断する。   The data analysis unit 11b analyzes the data received by the data reception unit 12 and determines whether or not a conversation between the sender (user) of the terminal 2a and the operator is necessary. Specifically, the data analysis unit 11b includes data indicating that the sensor 25 has notified the emergency (no need for conversation) and data indicating that the emergency has occurred when the emergency button 21 is pressed (conversation is required). Whether or not) is determined.

接続制御部11cは、データ解析部11bが会話の必要性有りと判断した場合、オペレータ専用の複数の電話端末のうちの何れか1つ(例えば接続電話T1)と端末2aとを交換機3を介して接続する。具体的には、接続制御部11cは、データ解析部11bが会話の必要性有りと判断した場合、図3に示すスイッチ15を接点B側から接点A側に切り替えることにより、接続電話T1と端末2aとを交換機3を介して接続する。   When the data analysis unit 11b determines that there is a need for conversation, the connection control unit 11c connects any one of a plurality of telephone terminals dedicated to the operator (for example, the connection phone T1) and the terminal 2a via the exchange 3. Connect. Specifically, when the data analysis unit 11b determines that the conversation is necessary, the connection control unit 11c switches the switch 15 shown in FIG. 3 from the contact B side to the contact A side, thereby connecting the connection telephone T1 and the terminal. 2a is connected via the exchange 3.

ライン監視部11dは、接続制御部11cが接続した接続電話T1と端末2aとの接続状態を監視する。フック状態検出部11eは、ライン監視部11dが接続状態を監視中に、接続電話T1のオンフックと、オフフックと、フッキングとの状態を個別に検出する。判定部11fは、フック状態検出部11eの検出結果に応じて、会話の終了を示す会話終話信号の通知(送信)の可否を判定する。   The line monitoring unit 11d monitors the connection state between the connection telephone T1 connected by the connection control unit 11c and the terminal 2a. The hook state detection unit 11e individually detects the on-hook state, off-hook state, and hooking state of the connection telephone T1 while the line monitoring unit 11d is monitoring the connection state. The determination unit 11f determines whether or not notification (transmission) of the conversation end signal indicating the end of the conversation is possible according to the detection result of the hook state detection unit 11e.

切替制御部11gは、判定部11fの判定結果に応じて、接続電話T1から他の電話端末(例えば、図1に示す専用電話T2、専用電話T3)に切り替える転送処理を行なう。通知部11hは、切替制御部11gが転送処理を行なう場合、交換機3に会話終話信号を非通知とする。一方、切替制御部11gが転送処理を行なわずに会話を終了させる場合、会話終話信号を端末2a側に通知する。   The switching control unit 11g performs a transfer process for switching from the connected telephone T1 to another telephone terminal (for example, the dedicated telephone T2 and the dedicated telephone T3 shown in FIG. 1) according to the determination result of the determination unit 11f. The notification unit 11h does not notify the exchange 3 of the conversation end signal when the switching control unit 11g performs the transfer process. On the other hand, when the switching control unit 11g ends the conversation without performing the transfer process, it notifies the terminal 2a of the conversation end signal.

なお、ライン監視部11d、フック状態検出部11e、判定部11f、切替制御部11g及び通知部11hの詳細については、図7、8に示すフローチャート等を用いて後述する。   Details of the line monitoring unit 11d, the hook state detection unit 11e, the determination unit 11f, the switching control unit 11g, and the notification unit 11h will be described later with reference to flowcharts shown in FIGS.

<通報システム100の動作>
次に、本実施形態における通報システム100の動作の一例を説明する。以下の説明では、先ず、転送処理を行なわない場合におけるデータ通信装置1の動作の一例について、図4を用いて説明する。続いて、比較例として、転送処理を行なう場合に生じる不具合について、図5を用いて説明する。さらに、転送処理を行なう場合に生じる不具合を防止する手段について、図6〜図9を用いて説明する。
<Operation of Notification System 100>
Next, an example of operation | movement of the notification system 100 in this embodiment is demonstrated. In the following description, first, an example of the operation of the data communication apparatus 1 when the transfer process is not performed will be described with reference to FIG. Subsequently, as a comparative example, a problem that occurs when the transfer process is performed will be described with reference to FIG. Furthermore, means for preventing problems that occur when performing the transfer process will be described with reference to FIGS.

図4は、転送処理を行なわない場合の電話回線制御の一例を示すシーケンス図である。先ず、端末2aの制御部27は、発信者による緊急ボタン21の押下を受け付けることにより、異常を検出すると、その制御部27は、通信事象検出として回路的にオンフックの状態からオフフックの状態に移行すると共に交換機を呼び出すため、ダイヤリングを行なう。   FIG. 4 is a sequence diagram showing an example of telephone line control when no transfer process is performed. First, when the control unit 27 of the terminal 2a detects an abnormality by accepting the pressing of the emergency button 21 by the caller, the control unit 27 shifts from an on-hook state to an off-hook state in terms of circuit as a communication event detection. And dialing to call the exchange.

交換機3は、端末2aからのダイヤリングを受けて、データ通信装置1に対して呼出信号(発信音)を送信すると共に、端末2aに対して呼出音を発呼させる。すると、端末2aの通信I/F部26は、交換機3を介してデータ通信装置1にデータを送信する。   The exchange 3 receives dialing from the terminal 2a, transmits a calling signal (sound) to the data communication apparatus 1, and causes the terminal 2a to make a calling sound. Then, the communication I / F unit 26 of the terminal 2 a transmits data to the data communication device 1 via the exchange 3.

一方、データ通信装置1の着信検出部11aは、呼出信号の着信を検出し、データ解析部11bは、データ受信部12が受信したデータを解析して、端末2aの発信者と、センタS1内のオペレータとの会話の必要性の有無を判断する。ここで、接続制御部11cは、データ解析部11bが会話の必要性有りと判断した場合、接続電話T1と端末2aとを交換機3を介して接続する(TEL切替)。これにより、端末2aの発信者と、接続電話T1のオペレータとは、会話することが可能となる。この場合、発信者は、ハンズフリーで会話することができる。   On the other hand, the incoming call detection unit 11a of the data communication apparatus 1 detects the incoming call signal, and the data analysis unit 11b analyzes the data received by the data reception unit 12 to determine the origin of the terminal 2a and the center S1. The necessity of a conversation with the operator is determined. Here, when the data analysis unit 11b determines that there is a need for conversation, the connection control unit 11c connects the connection telephone T1 and the terminal 2a via the exchange 3 (TEL switching). Thereby, the caller of the terminal 2a and the operator of the connection telephone T1 can have a conversation. In this case, the caller can talk hands-free.

ここで、ライン監視部11dは、接続電話T1と端末2aとの接続状態を監視する。さらに、フック状態検出部11eは、ライン監視部11dが接続状態を監視中に、接続電話T1のオンフック、オフフック、フッキングとの状態を個別に検出する。なお、フック状態検出部11eは、オンフックの状態が継続して、電話端末のオンフックの監視時間(装置定義情報)を経過した時に正式にオンフックとして検出する。ここでは、一例として、電話端末のオンフック監視時間を、1秒とする。   Here, the line monitoring unit 11d monitors the connection state between the connection telephone T1 and the terminal 2a. Furthermore, the hook state detection unit 11e individually detects the on-hook state, the off-hook state, and the hooking state of the connection telephone T1 while the line monitoring unit 11d is monitoring the connection state. The hook state detection unit 11e officially detects an on-hook state when the on-hook state continues and the on-hook monitoring time (device definition information) of the telephone terminal has elapsed. Here, as an example, the on-hook monitoring time of the telephone terminal is 1 second.

続いて、発信者と接続電話T1のオペレータとが会話を終了して、そのオペレータがオンフックの状態にすると、判定部11fは、会話終話信号(PB信号)の通知の可否を判定する。この際、オンフックの状態が1秒以上続くと、判定部11fは、会話終話信号の通知可と判定する。これにより、通知部11hは、会話終話信号を端末2a側に通知し、フック状態検出部11eは、内部の回路処理でオフフックからオンフックの状態遷移を検出する。そして、着信検出部11aは、再び、着信待ちとなる。   Subsequently, when the caller and the operator of the connection telephone T1 end the conversation and the operator enters an on-hook state, the determination unit 11f determines whether or not the conversation end signal (PB signal) can be notified. At this time, if the on-hook state continues for 1 second or longer, the determination unit 11f determines that the conversation end signal can be notified. Thereby, the notification unit 11h notifies the terminal 2a side of the conversation end signal, and the hook state detection unit 11e detects an on-hook to on-hook state transition by internal circuit processing. Then, the incoming call detection unit 11a waits for an incoming call again.

一方、端末2aの制御部27は、通信I/F部26を介して、会話終話信号を受信すると、オフフックからオンフックの状態に切り替える。この切り替えにより、制御部27は、通話可能な状態を解除する。   On the other hand, when receiving the conversation end signal via the communication I / F unit 26, the control unit 27 of the terminal 2a switches from the off-hook state to the on-hook state. By this switching, the control unit 27 cancels the state in which a call can be made.

次に、比較例として、転送処理を行なう場合に生じる不具合について説明する。   Next, as a comparative example, a problem that occurs when performing the transfer process will be described.

図5は、転送処理を行なう場合の電話回線制御の比較例を示すシーケンス図である。なお、端末2aの発信者と、接続電話T1のオペレータとが会話を開始するまでは、図4に示すシーケンス図と同様の処理を行なうので説明を省略する。ここで、比較例を説明するに当たり、データ通信装置1のCPU11は、上記の制御プログラムの機能をオフ(停止)させて、従来の電話回線制御を行なうこととする。   FIG. 5 is a sequence diagram showing a comparative example of telephone line control when performing transfer processing. Until the caller of the terminal 2a and the operator of the connection telephone T1 start a conversation, the same processing as in the sequence diagram shown in FIG. Here, in describing the comparative example, it is assumed that the CPU 11 of the data communication apparatus 1 performs the conventional telephone line control by turning off (stopping) the function of the control program.

図5において、接続電話T1のオペレータは、転送を行なうために例えば接続電話T1の転送ボタン(不図示)を押すと、接続電話T1のCPU11は、フッキング処理を行なう(図5中、数字1参照)。ここで、そのオペレータの操作によっては、例えば1秒未満のオンフックの状態が形成された場合、CPU11は、装置定義情報に基づいて、オンフックと認識しない。   In FIG. 5, when the operator of the connection telephone T1 presses a transfer button (not shown) of the connection telephone T1, for example, to perform the transfer, the CPU 11 of the connection telephone T1 performs a hooking process (see numeral 1 in FIG. 5). ). Here, depending on the operation of the operator, for example, when an on-hook state of less than 1 second is formed, the CPU 11 does not recognize it as on-hook based on the device definition information.

一方、交換機3は、0.1秒〜1秒未満のオンフックの状態を結果的にフッキング検出と認識すると、データ通信装置1に対して発信音を送出する。これにより、交換機3は、転送処理を開始する(図5中、数字2参照)。   On the other hand, when the exchange 3 recognizes that the on-hook state between 0.1 second and less than 1 second is detected as hooking as a result, it sends a dial tone to the data communication apparatus 1. As a result, the exchange 3 starts the transfer process (see numeral 2 in FIG. 5).

接続電話T1のオペレータは、発信音を確認すると接続電話T1から転送先の専用電話にダイヤル操作(ダイヤリング)を行なう(図5中、数字3参照)。これにより、接続電話T1は、ダイヤルナンバーを交換機3に送出する。すると、交換機3は、データ通信装置1に対して呼出信号を送出し(図5中、数字4参照)、接続電話T1では呼出音が鳴動する。一方、交換機3は、転送先の専用電話(例えば専用電話T2)に、呼出信号を送出し、専用電話T2では呼出音が鳴動する。また、交換機3は、端末2aに対して保留状態とする。これにより、端末2aでは、保留音が流れる。   When the operator of the connection telephone T1 confirms the dial tone, the operator performs a dialing operation (dialing) from the connection telephone T1 to the transfer destination dedicated telephone (see numeral 3 in FIG. 5). Thereby, the connection telephone T1 sends the dial number to the exchange 3. Then, the exchange 3 sends a calling signal to the data communication apparatus 1 (see numeral 4 in FIG. 5), and a ringing tone sounds on the connection telephone T1. On the other hand, the exchange 3 sends a call signal to a transfer destination dedicated telephone (for example, the dedicated telephone T2), and a ringing tone sounds in the dedicated telephone T2. Further, the exchange 3 is put on hold with respect to the terminal 2a. Thereby, a hold sound flows in the terminal 2a.

続いて、転送先のオペレータが専用電話T2の受話器を取り上げることにより(オフフック操作)、接続電話T1と専用電話T2との間で通話が可能となる(図5中、数字5参照)。   Subsequently, when the transfer destination operator picks up the handset of the dedicated telephone T2 (off-hook operation), a call can be made between the connected telephone T1 and the dedicated telephone T2 (see numeral 5 in FIG. 5).

ここで、接続電話T1のオペレータが、転送する旨を転送先のオペレータに伝達し、転送先に端末2aとの電話回線を繋げるため、受話器を置くと、接続電話T1は、オンフックの状態に遷移する。続いて、接続電話T1がオンフックの状態に遷移した後に1秒経過すると、CPU11は、オンフックの状態が1秒継続したため、オンフック検出を行なう。これにより、CPU11は、端末2aと専用電話T2との通話中に、接続電話T1のオンフックを検出したため、会話終話信号を通知するために、接続電話T1の通話中の電話回線を切り離し、オフフックの状態に遷移させる。   Here, when the operator of the connection telephone T1 notifies the transfer destination operator of the transfer and connects the telephone line with the terminal 2a to the transfer destination, the connection telephone T1 shifts to an on-hook state when a handset is placed. To do. Subsequently, when one second elapses after the connection telephone T1 transitions to the on-hook state, the CPU 11 performs on-hook detection because the on-hook state has continued for one second. As a result, the CPU 11 detects the on-hook of the connection telephone T1 during the call between the terminal 2a and the dedicated telephone T2, and therefore disconnects the telephone line during the call of the connection telephone T1 and notifies the end-of-call to notify the conversation end signal. Transition to the state.

この結果として、接続電話T1では、1秒間のオンフックの状態が形成される。このような状態が発生すると、交換機3は、1秒間のオンフックの状態をフッキングと認識することがある。これは、データ通信装置1側では、装置定義情報として1秒間をオンフックとみなすものの、1〜2.2秒未満のオンフックの状態は、交換機3側では、いわゆる「不確定領域」とされているため、フッキングと切断信号との何れかを認識するのは、交換機の仕様に依存するためである。   As a result, the connection telephone T1 forms an on-hook state for one second. When such a state occurs, the exchange 3 may recognize the on-hook state for one second as hooking. This is because the data communication apparatus 1 side regards 1 second as apparatus definition information as on-hook, but the on-hook state of less than 1 to 2.2 seconds is a so-called “indeterminate area” on the exchange 3 side. Therefore, the reason for recognizing either the hooking or the disconnection signal is because it depends on the specifications of the exchange.

したがって、交換機3が1秒間のオンフックの状態をフッキングと認識すると、交換機3は、転送を解除し、接続電話T1と端末2aとを再度接続しようとするため、転送先には話中音を送出する(図5中、数字6参照)。   Therefore, when the exchange 3 recognizes that the on-hook state for 1 second is hooking, the exchange 3 cancels the transfer and tries to connect the connection telephone T1 and the terminal 2a again, so that a busy tone is transmitted to the transfer destination. (Refer to numeral 6 in FIG. 5).

一方、データ通信装置1では、接続電話T1と専用電話T2との間で通話が可能となる状態(図5中、数字5参照)から継続して、オンフックを検出したため、端末2aに会話終話信号を通知(送信)して、切断処理を実行する。   On the other hand, in the data communication apparatus 1, since the on-hook is detected continuously from the state where the telephone call is possible between the connection telephone T1 and the dedicated telephone T2 (see numeral 5 in FIG. 5), the terminal 2a ends the conversation. A signal is notified (transmitted), and the disconnection process is executed.

他方、端末2aでは、会話終話信号の受信及び話音中の検出により、電話回線の切断を検出する。そのため、端末2aでは、一方的に通話が切られることになる。   On the other hand, the terminal 2a detects the disconnection of the telephone line by receiving the conversation end signal and detecting the voice. Therefore, the terminal 2a is unilaterally disconnected.

したがって、通報システムにおける従来の電話回線制御では、転送処理中に一方的に通話が切られる等の不具合が発生してしまうことがある。そこで、本実施形態では、転送処理を行なう場合に生じる不具合を防止する手段について以下説明する。   Therefore, in the conventional telephone line control in the notification system, there may be a problem that the call is unilaterally disconnected during the transfer process. Therefore, in the present embodiment, means for preventing a problem that occurs when performing transfer processing will be described below.

図6は、本実施形態における転送処理を行なう場合の電話回線制御の一例を示すシーケンス図である。なお、データ通信装置1のCPU11は、上記の制御プログラムの機能をオンにさせて実行することとする。したがって、図6では、図4と同様、図5と比較してライン監視のシーケンスも追加されている。データ通信装置1の電源(不図示)が入力されると、CPU11は、図7に示すフローチャートの処理(以下「フローの処理」という。)を開始させる。   FIG. 6 is a sequence diagram showing an example of telephone line control when performing transfer processing in the present embodiment. Note that the CPU 11 of the data communication apparatus 1 executes with the function of the control program turned on. Therefore, in FIG. 6, a line monitoring sequence is also added as compared with FIG. When a power supply (not shown) of the data communication apparatus 1 is input, the CPU 11 starts the process of the flowchart shown in FIG. 7 (hereinafter referred to as “flow process”).

図7は、ライン監視部11dの監視下における電話回線制御の一例を示すフローチャートである。なお、この図7に示すフローの処理は、転送処理を行なわない場合にも適用可能である。   FIG. 7 is a flowchart showing an example of telephone line control under the monitoring of the line monitoring unit 11d. Note that the processing of the flow shown in FIG. 7 can also be applied when no transfer processing is performed.

ステップS101:CPU11の着信検出部11aは、着信監視処理を行なう。具体的には、着信検出部11aは、端末2aから交換機3を介して、その交換機3が送出する信号(発信音等)の着信の有無を検出する。   Step S101: The incoming call detection unit 11a of the CPU 11 performs incoming call monitoring processing. Specifically, the incoming call detection unit 11a detects the presence or absence of an incoming signal (such as a dial tone) sent from the exchange 3 via the exchange 3 from the terminal 2a.

ステップS102:着信有りの場合(ステップS102:Yes)、CPU11は、ステップS103の処理に移行する。一方、着信無しの場合(ステップS102:No)、CPU11は、ステップS101の処理に戻る。つまり、着信検出部11aは、再度着信待ちの状態になる。   Step S102: If there is an incoming call (step S102: Yes), the CPU 11 proceeds to the process of step S103. On the other hand, when there is no incoming call (step S102: No), the CPU 11 returns to the process of step S101. That is, the incoming call detection unit 11a is again in an incoming call waiting state.

ステップS103:CPU11の接続制御部11cは、端末側(端末2a)とデータ通信装置1との接続処理を行なう。具体的には、接続制御部11cは、図3に示すスイッチ15とデータ受信部12とを接続状態にさせる。なお、本実施形態では、初期状態として、スイッチ15は、接点B側に接続していることとする。   Step S103: The connection control unit 11c of the CPU 11 performs a connection process between the terminal side (terminal 2a) and the data communication device 1. Specifically, the connection control unit 11c causes the switch 15 and the data receiving unit 12 illustrated in FIG. 3 to be in a connected state. In the present embodiment, the switch 15 is connected to the contact B side as an initial state.

ステップS104:CPU11のデータ受信部12は、データの受信処理を行なう。そして、CPU11は、ステップS105の処理に移行する。   Step S104: The data receiving unit 12 of the CPU 11 performs a data receiving process. And CPU11 transfers to the process of step S105.

ステップS105:CPU11のデータ解析部11bは、接続電話T1を使用するか否かを判断する。具体的には、データ解析部11bは、データ受信部12が受信したデータを解析して、端末2aの発信者と、接続電話T1のオペレータとの会話の必要性の有無を判断する。「会話の必要性無し」という判断の場合(ステップS105:No)、CPU11は、ステップS113の処理に移行する。この場合、CPU11は、センサ25からのデータであると判断して、接続電話T1のオペレータが使用している表示モニタ等(不図示)に緊急を知らせる情報を表示させる処理を別途行なう。   Step S105: The data analysis unit 11b of the CPU 11 determines whether to use the connection telephone T1. Specifically, the data analysis unit 11b analyzes the data received by the data reception unit 12 and determines whether or not a conversation between the caller of the terminal 2a and the operator of the connection telephone T1 is necessary. If the determination is “no need for conversation” (step S105: No), the CPU 11 proceeds to the process of step S113. In this case, the CPU 11 determines that the data is from the sensor 25, and separately performs a process of displaying information informing the emergency on a display monitor or the like (not shown) used by the operator of the connection telephone T1.

一方、「会話の必要性有り」という判断の場合(ステップS105:Yes)、CPU11は、ステップS106の処理に移行する。   On the other hand, if it is determined that “there is a need for conversation” (step S105: Yes), the CPU 11 proceeds to the process of step S106.

ステップS106:接続制御部11cは、端末側(端末2a)と接続電話T1との接続処理を行なう。具体的には、接続制御部11cは、図3に示すスイッチ15を接点B側から接点A側に切り替えることにより、接続電話T1と端末2aとを交換機3を介して接続する。そして、CPU11は、ステップS107の処理に移行する。   Step S106: The connection control unit 11c performs a connection process between the terminal side (terminal 2a) and the connection telephone T1. Specifically, the connection control unit 11c connects the connection telephone T1 and the terminal 2a via the exchange 3 by switching the switch 15 shown in FIG. 3 from the contact B side to the contact A side. And CPU11 transfers to the process of step S107.

ステップS107:ライン監視部11dは、オフフックの監視を開始する。すなわち、ライン監視部11dは、接続電話T1が現在のところオンフックの状態なので、オフフックの事象が発生するのをフック状態検出部11eを介して監視する。そして、図8に示すフローの処理で後述する通り、接続電話T1のオペレータがオフフック操作をすることにより、ライン監視部11dがフック状態検出部11eからオフフックの検出の通知を受け付けると、CPU11は、ステップS108の処理に移行する。   Step S107: The line monitoring unit 11d starts off-hook monitoring. That is, the line monitoring unit 11d monitors the occurrence of an off-hook event via the hook state detection unit 11e because the connection telephone T1 is currently on-hook. Then, as will be described later in the processing of the flow shown in FIG. 8, when the line monitoring unit 11d receives an off-hook detection notification from the hook state detection unit 11e by the off-hook operation of the operator of the connection telephone T1, the CPU 11 The process proceeds to step S108.

ステップS108:ライン監視部11dは、フック状態のフラグをオフに設定する。ここで、フック状態のフラグとは、接続電話T1が現在オンフックの状態(フラグ=オン)と、オフフックの状態(フラグ=オフ)との何れかを認識するためのフラグである。つまり、ライン監視部11dは、オフフックの検出の通知を受け付けたので、現在、接続電話T1がオフフックの状態(フラグ=オフ)であると認識する。そして、CPU11は、ステップS109の処理に移行する。なお、ライン監視部11dは、フック状態のフラグの状態をRAM13に記録する。   Step S108: The line monitoring unit 11d sets the hook state flag to OFF. Here, the hook state flag is a flag for recognizing whether the connection telephone T1 is currently on-hook (flag = on) or off-hook (flag = off). That is, since the line monitoring unit 11d has received notification of detection of off-hook, the line monitoring unit 11d recognizes that the connection telephone T1 is currently in the off-hook state (flag = off). And CPU11 transfers to the process of step S109. The line monitoring unit 11d records the state of the hook flag in the RAM 13.

ステップS109:ライン監視部11dは、オンフックの監視を開始する。すなわち、ライン監視部11dは、接続電話T1が現在のところオフフックの状態なので、オンフックの事象が発生するのをフック状態検出部11eを介して監視する。そして、図8に示すフローの処理で後述する通り、接続電話T1のオペレータがオンフック操作をすることにより、ライン監視部11dがフック状態検出部11eからオンフックの検出の通知を受け付けると、CPU11は、ステップS110の処理に移行する。   Step S109: The line monitoring unit 11d starts on-hook monitoring. That is, since the connection telephone T1 is currently in an off-hook state, the line monitoring unit 11d monitors the occurrence of an on-hook event via the hook state detection unit 11e. Then, as will be described later in the processing of the flow shown in FIG. 8, when the line monitoring unit 11d receives an on-hook detection notification from the hook state detection unit 11e by the on-hook operation of the operator of the connection telephone T1, the CPU 11 The process proceeds to step S110.

ステップS110:CPU11の判定部11fは、会話終話信号の通知の可否を判定する。例えば、図4に示す通り、フッキング操作がなく、フック状態検出部11eが接続電話T1についてオフフックの状態からオンフックの状態を検出した場合、判定部11fは、会話終話信号の通知を可と判定する。また、図6に示す通り、フッキング操作があり、転送処理のための発信音を交換機3が送出した後、フック状態検出部11eが接続電話T1についてオフフックの状態からオンフックの状態を検出した場合、判定部11fは、会話終話信号の通知を否と判定する。   Step S110: The determination unit 11f of the CPU 11 determines whether or not notification of the conversation end signal is possible. For example, as shown in FIG. 4, when there is no hooking operation and the hook state detection unit 11e detects an on-hook state from an off-hook state for the connected telephone T1, the determination unit 11f determines that notification of the conversation end signal is possible. To do. Also, as shown in FIG. 6, when there is a hooking operation and the exchange 3 sends a dial tone for transfer processing, the hook state detection unit 11e detects an on-hook state from an off-hook state for the connected telephone T1, The determination unit 11f determines not to notify the conversation end signal.

したがって、会話終話信号の通知を行なわない場合(ステップS110:No)、CPU11の切替制御部11gは、転送処理を行なう。具体的には、切替制御部11gは、端末2aと専用電話(例えば専用電話T2)と通話状態に切り替える(図6中、数字6参照)。   Therefore, when the notification of the conversation end signal is not performed (step S110: No), the switching control unit 11g of the CPU 11 performs a transfer process. Specifically, the switching control unit 11g switches between the terminal 2a, a dedicated telephone (for example, the dedicated telephone T2), and a call state (see numeral 6 in FIG. 6).

そして、CPU11は、ステップS113の処理に移行する。一方、会話終話信号の通知を行なう場合(ステップS110:Yes)、CPU11は、ステップS111の処理に移行する。   And CPU11 transfers to the process of step S113. On the other hand, when notifying the conversation end signal (step S110: Yes), the CPU 11 proceeds to the process of step S111.

ステップS111:CPU11の接続制御部11cは、端末側(端末2a)と接続電話T1との接続処理を行なう。そして、CPU11は、ステップS112の処理に移行する。   Step S111: The connection control unit 11c of the CPU 11 performs a connection process between the terminal side (terminal 2a) and the connection telephone T1. And CPU11 transfers to the process of step S112.

ステップS112:CPU11の通知部11hは、一旦オンフックの状態から回路的にオフフックの状態に移行させて、端末側(端末2a)へ会話終話信号の通知(送信)処理を行なう。そして、CPU11は、ステップS113の処理に移行する。   Step S112: The notification unit 11h of the CPU 11 temporarily shifts from the on-hook state to the off-hook state in circuit, and performs a notification (transmission) process of the conversation end signal to the terminal side (terminal 2a). And CPU11 transfers to the process of step S113.

ステップS113:CPU11は、電話回線のオンフック処理を行なう。そして、CPU11は、ステップS101の処理に戻り、着信監視処理を再開する。   Step S113: The CPU 11 performs on-hook processing of the telephone line. Then, the CPU 11 returns to the process of step S101 and restarts the incoming call monitoring process.

次に、CPU11のフック状態検出部11eの処理について説明する。   Next, the process of the hook state detection unit 11e of the CPU 11 will be described.

図8は、フック状態検出部11eの処理の一例を示すフローチャートである。フック状態検出部11eは、ライン監視部11dが接続状態(フック状態)を監視中に、接続電話T1がオンフックと、オフフックと、フッキングとの状態を個別に精度良く検出するため、図8に示すフローの処理を行なう。ここで、ライン監視部11dは、フック状態を監視するため、図7に示すフローの処理の実行時に必要に応じて定周期(一例として、100ミリ秒[ms])毎に、図8に示すフック状態検出部11eのフローの処理を起動する。この場合、ライン監視部11dは、図8に示すフローの処理を終了させると、再度ステップS201からフローの処理を繰り返す。   FIG. 8 is a flowchart illustrating an example of processing of the hook state detection unit 11e. The hook state detection unit 11e is illustrated in FIG. 8 because the connection telephone T1 individually detects the on-hook, off-hook, and hooking states with high accuracy while the line monitoring unit 11d is monitoring the connection state (hook state). Process the flow. Here, in order to monitor the hook state, the line monitoring unit 11d is shown in FIG. 8 at regular intervals (for example, 100 milliseconds [ms]) as necessary when executing the processing of the flow shown in FIG. The flow process of the hook state detection unit 11e is started. In this case, when the line monitoring unit 11d finishes the process of the flow illustrated in FIG. 8, the line monitoring unit 11d repeats the process of the flow from step S201 again.

ステップS201:フック状態検出部11eは、フック状態の獲得処理を行なう。具体的には、フック状態検出部11eは、RAM13に記録されているフック状態のフラグを参照する。そして、CPU11は、ステップS202の処理に移行する。   Step S201: The hook state detection unit 11e performs hook state acquisition processing. Specifically, the hook state detection unit 11 e refers to a hook state flag recorded in the RAM 13. Then, the CPU 11 proceeds to the process of step S202.

ステップS202:フック状態検出部11eは、現在、ライン監視部11dがオフフックの監視中か否かを判定する。すなわち、現在、オフフックの事象が発生するのを監視中の場合(ステップS202:Yes)、CPU11は、ステップS203の処理に移行する。一方、オフフックの事象が発生するのを監視していない場合(ステップS202:No)、CPU11は、後述するステップS209の処理に移行する。   Step S202: The hook state detection unit 11e determines whether or not the line monitoring unit 11d is currently monitoring off-hook. That is, when the occurrence of an off-hook event is currently being monitored (step S202: Yes), the CPU 11 proceeds to the process of step S203. On the other hand, when the occurrence of an off-hook event is not monitored (step S202: No), the CPU 11 proceeds to a process of step S209 described later.

ステップS203:フック状態検出部11eは、オフフックの監視中において、現在オフフックの状態か否かを判定する。現在オフフックの状態の場合(ステップS203:Yes)、CPU11は、ステップS204の処理に移行する。一方、現在オンフックの状態の場合(ステップS203:No)、CPU11は、図8に示すフローの処理を終了させる。   Step S203: The hook state detection unit 11e determines whether or not it is currently in the off-hook state during off-hook monitoring. If it is currently in the off-hook state (step S203: Yes), the CPU 11 proceeds to the process of step S204. On the other hand, if it is currently on-hook (step S203: No), the CPU 11 ends the process of the flow shown in FIG.

ステップS204:フック状態検出部11eは、オフフックのカウンタ(以下「オフカウント(offCount)」という。)を、プラス1を加算する。ここで、オフカウントとは、ライン監視部11dの指示によりフック状態検出部11eが100ミリ秒毎にオフフックを監視している間、フック状態のオフの連続獲得回数を意味する。なお、フック状態検出部11eは、RAM13にフック状態のオフの連続獲得回数を記録する。そして、CPU11は、ステップS205の処理に移行する。   Step S204: The hook state detection unit 11e adds 1 to the off-hook counter (hereinafter referred to as “off count”). Here, the off-count means the number of times of continuous acquisition of the off state of the hook state while the hook state detecting unit 11e monitors the off-hook every 100 milliseconds according to the instruction of the line monitoring unit 11d. The hook state detection unit 11e records the number of consecutive acquisitions of the hook state off in the RAM 13. And CPU11 transfers to the process of step S205.

ステップS205:フック状態検出部11eは、オフカウントの値が閾値以上か否かを判定する。具体的には、フック状態検出部11eは、フック状態のオフの連続獲得回数が閾値以上か否かを判定する。本実施形態では、フック状態のオフの連続獲得回数の閾値を一例として2回とする。なお、連続獲得回数を時間に換算すると、2回は0.2秒に相当する。そこで、フック状態のオフの連続獲得回数が閾値未満の場合(ステップS205:No)、CPU11は、図8に示すフローの処理を終了させる。一方、フック状態のオフの連続獲得回数が閾値以上の場合(ステップS205:Yes)、CPU11は、ステップS206の処理に移行する。   Step S205: The hook state detection unit 11e determines whether or not the off count value is equal to or greater than a threshold value. Specifically, the hook state detection unit 11e determines whether or not the number of times of continuous acquisition of the hook state is equal to or greater than a threshold value. In this embodiment, the threshold value of the number of consecutive acquisitions of the hook state is set to 2 as an example. When the number of consecutive acquisitions is converted to time, 2 times corresponds to 0.2 seconds. Therefore, when the number of times of continuous acquisition of the hook state is less than the threshold (step S205: No), the CPU 11 ends the process of the flow shown in FIG. On the other hand, when the number of consecutive acquisitions of the hook state OFF is equal to or greater than the threshold (step S205: Yes), the CPU 11 proceeds to the process of step S206.

ステップS206:フック状態検出部11eは、ライン監視部11dにオフフックの検出を通知する。続いて、CPU11は、並列処理により、図7に示すステップS108の処理に移行させると共に、ステップS207の処理に移行させる。   Step S206: The hook state detection unit 11e notifies the line monitoring unit 11d of off-hook detection. Subsequently, the CPU 11 shifts to the process of step S108 shown in FIG. 7 and shifts to the process of step S207 by parallel processing.

ステップS207:フック状態検出部11eは、オフカウントをゼロリセットする。そして、CPU11は、ステップS208の処理に移行する。   Step S207: The hook state detection unit 11e resets the off count to zero. Then, the CPU 11 proceeds to the process of step S208.

ステップS208:フック状態検出部11eは、オフフックの監視を終了させる。そして、CPU11は、図8に示すフローの処理を終了させる。   Step S208: The hook state detection unit 11e ends off-hook monitoring. Then, the CPU 11 ends the processing of the flow shown in FIG.

以上より、フック状態検出部11eは、ステップS201〜S208の処理を行なうことにより、フック状態のオフの連続獲得回数が閾値に達した時にオフフック検出を行なう。換言すると、フック状態検出部11eは、オフフックの状態が予め設定した継続期間に達した場合、オフフックとして正規に検出するので、検出の精度が向上する。   As described above, the hook state detection unit 11e performs steps S201 to S208, and performs off-hook detection when the number of continuous acquisitions of the hook state reaches the threshold value. In other words, when the off-hook state reaches a preset duration, the hook state detection unit 11e normally detects the off-hook state, so that the detection accuracy is improved.

次に、オフフックの監視中でない場合(ステップS202:No)における、その後のフローの処理について説明する。   Next, the processing of the subsequent flow when the off-hook monitoring is not being performed (step S202: No) will be described.

ステップS209:フック状態検出部11eは、オンフックの監視中か否かを判定する。すなわち、現在、オンフックの事象が発生するのを監視中の場合(ステップS209:Yes)、CPU11は、ステップS210の処理に移行する。   Step S209: The hook state detection unit 11e determines whether or not on-hook monitoring is being performed. That is, when the occurrence of an on-hook event is currently being monitored (step S209: Yes), the CPU 11 proceeds to the process of step S210.

一方、オンフックの事象が発生するのを監視していない場合(ステップS209:No)、CPU11は、オンフックとオフフックとの何れかの監視ができないシステム障害として図8に示すフローの処理を終了させる。この場合には、CPU11は、図8に示すフローの処理を繰り返さずに、オペレータが使用している表示モニタ等(不図示)にシステム障害を知らせる情報を表示させる処理を別途行なう。   On the other hand, when the occurrence of an on-hook event is not monitored (step S209: No), the CPU 11 ends the processing of the flow illustrated in FIG. 8 as a system failure in which either on-hook or off-hook cannot be monitored. In this case, the CPU 11 separately performs a process of displaying information notifying the system failure on a display monitor or the like (not shown) used by the operator without repeating the process of the flow shown in FIG.

ステップS210:フック状態検出部11eは、オンフックの監視中において、現在オンフックの状態か否かを判定する。現在オンフックの状態の場合(ステップS210:Yes)、CPU11は、ステップS211の処理に移行する。一方、オンフックの監視下で接続電話T1のオペレータがフッキング操作等をして、一旦オンフックの状態にしてからオフフックの状態に移行させた場合(ステップS210:No)、CPU11は、後述するステップS216の処理に移行する。なお、図8のフローの処理に図示していないが、オンフックの監視下で転送処理(フッキング操作)を行なわずにオフフックの状態が継続している場合には、通話中であるので、CPU11は、再度、図8に示すフローの処理を繰り返すため、一旦、図8に示すフローの処理を終了させる。   Step S210: The hook state detection unit 11e determines whether or not it is currently on-hook during on-hook monitoring. If it is currently on-hook (step S210: Yes), the CPU 11 proceeds to the process of step S211. On the other hand, when the operator of the connection telephone T1 performs a hooking operation or the like under on-hook monitoring, and once shifts to the on-hook state after shifting to the off-hook state (step S210: No), the CPU 11 proceeds to step S216 described later. Transition to processing. Although not shown in the processing of the flow of FIG. 8, if the off-hook state continues without performing the transfer process (hooking operation) under on-hook monitoring, the CPU 11 is in a call, so the CPU 11 In order to repeat the processing of the flow shown in FIG. 8 again, the processing of the flow shown in FIG. 8 is once ended.

ステップS211:フック状態検出部11eは、オンフックのカウンタ(以下「オンカウント(onCount)」という。)を、プラス1を加算する。ここで、オンカウントは、ライン監視部11dの指示によりフック状態検出部11eが100ミリ秒毎にオンフックを監視している間、オンフックの状態の連続獲得回数を意味する。フック状態検出部11eは、RAM13にオンフックの状態の連続獲得回数を記録する。そして、CPU11は、ステップS212の処理に移行する。   Step S211: The hook state detection unit 11e adds 1 to the on-hook counter (hereinafter referred to as “onCount”). Here, the on-count means the number of continuous acquisitions of the on-hook state while the hook state detection unit 11e monitors the on-hook every 100 milliseconds according to the instruction of the line monitoring unit 11d. The hook state detection unit 11e records the number of continuous acquisitions of the on-hook state in the RAM 13. And CPU11 transfers to the process of step S212.

ステップS212:フック状態検出部11eは、オンカウントの値が閾値以上か否かを判定する。具体的には、フック状態検出部11eは、フック状態のオンの連続獲得回数が閾値以上か否かを判定する。本実施形態では、連続獲得回数を時間に換算した閾値を2.2秒とする。なお、閾値を2.2秒としたのは、交換機3側での不確定領域を避けるためであり、交換機3側では、2.2秒以上のオンフックの状態で確実にオンフック検出(電話回線の切断)と認識することができる。   Step S212: The hook state detection unit 11e determines whether or not the on-count value is equal to or greater than a threshold value. Specifically, the hook state detection unit 11e determines whether or not the number of times of continuous acquisition of the hook state is equal to or greater than a threshold value. In the present embodiment, the threshold value obtained by converting the number of consecutive acquisitions into time is 2.2 seconds. The reason for setting the threshold to 2.2 seconds is to avoid an indeterminate area on the exchange 3 side. On the exchange 3 side, on-hook detection (phone line Disconnect).

したがって、フック状態検出部11eが100ミリ秒毎にオンフックを監視しているので、2.2秒に到達するためには、オンカウントの値の閾値は22(連続獲得回数)となる。フック状態のオンの連続獲得回数が閾値未満の場合(ステップS212:No)、オンフック検出とみなせないので、CPU11は、再度、図8に示すフローの処理を繰り返すため、一旦、図8に示すフローの処理を終了させる。一方、フック状態のオンの連続獲得回数が閾値以上の場合(ステップS213:Yes)、オンフック検出とみなせるので、CPU11は、ステップS213の処理に移行する。   Accordingly, since the hook state detection unit 11e monitors on-hook every 100 milliseconds, the threshold value of the on-count value is 22 (the number of consecutive acquisitions) in order to reach 2.2 seconds. If the number of times of continuous acquisition of the hook state is less than the threshold value (step S212: No), it cannot be regarded as on-hook detection, so the CPU 11 repeats the processing of the flow shown in FIG. End the process. On the other hand, if the number of times of continuous acquisition of the hook state is greater than or equal to the threshold (step S213: Yes), it can be regarded as on-hook detection, so the CPU 11 proceeds to the process of step S213.

ステップS213:フック状態検出部11eは、ライン監視部11dにオンフックの検出を通知する。続いて、CPU11は、並列処理により、図7のステップS110の処理に移行させると共に、ステップS214の処理に移行させる。   Step S213: The hook state detection unit 11e notifies the line monitoring unit 11d of on-hook detection. Subsequently, the CPU 11 shifts to the process of step S110 in FIG. 7 and shifts to the process of step S214 by parallel processing.

ステップS214:フック状態検出部11eは、オンカウントをゼロリセットする。さらに、フック状態検出部11eは、フック状態のフラグをオンに設定する。そして、CPU11は、ステップS215の処理に移行する。   Step S214: The hook state detection unit 11e resets the on count to zero. Further, the hook state detection unit 11e sets the hook state flag to ON. Then, the CPU 11 proceeds to the process of step S215.

ステップS215:フック状態検出部11eは、オンフックの監視を終了させる。そして、CPU11は、図8に示すフローの処理を終了させる。   Step S215: The hook state detection unit 11e ends the on-hook monitoring. Then, the CPU 11 ends the processing of the flow shown in FIG.

以上より、フック状態検出部11eは、ステップS209〜S215の処理を行なうことにより、フック状態のオンの連続獲得回数が閾値に達した時にオンフック検出を行なう。換言すると、フック状態検出部11eは、オンフックの状態が予め設定した継続期間に達した場合、オンフックとして正規に検出するので、検出の精度が向上する。   As described above, the hook state detection unit 11e performs the processing of steps S209 to S215, and performs on-hook detection when the number of continuous acquisitions of the hook state reaches the threshold value. In other words, when the on-hook state reaches a preset continuation period, the hook state detection unit 11e normally detects the on-hook state, so that the detection accuracy is improved.

次に、オンフックの監視中で現在オンフックの状態でない場合(ステップS210:No)における、その後のフローの処理について説明する。なお、ステップS210の処理において、Noの判定がなされる具体的な事例としては、例えばオンフックの閾値(2.2秒)に到達する前に、接続電話T1のオペレータによるオフフック操作(フッキング)が入ったことを意味する。   Next, the subsequent flow processing when on-hook monitoring is in progress and the current on-hook state is not established (step S210: No) will be described. In the process of step S210, as a specific example in which No is determined, for example, before reaching the on-hook threshold (2.2 seconds), an off-hook operation (hooking) by the operator of the connection telephone T1 is entered. Means that.

ステップS216:フック状態検出部11eは、フッキング状態の連続獲得回数が閾値以上か否かを判定する。フッキング状態の連続獲得回数が閾値未満の場合(ステップS216:No)、CPU11は、ステップS220の処理に移行する。本実施形態では、フッキング状態の連続獲得回数の閾値を一例として3回とする。なお、連続獲得回数を時間に換算すると、3回は0.3秒に相当する。   Step S216: The hook state detection unit 11e determines whether or not the number of consecutive acquisitions of the hooking state is greater than or equal to a threshold value. When the number of continuous acquisitions in the hooking state is less than the threshold (step S216: No), the CPU 11 proceeds to the process of step S220. In the present embodiment, the threshold value for the number of consecutive acquisitions of the hooking state is set to 3 as an example. When the number of consecutive acquisitions is converted to time, 3 times corresponds to 0.3 seconds.

一方、フッキング状態の連続獲得回数が閾値以上の場合(ステップS216:Yes)、CPU11は、ステップS217の処理に移行する。   On the other hand, when the number of consecutive acquisitions of the hooking state is equal to or greater than the threshold (step S216: Yes), the CPU 11 proceeds to the process of step S217.

つまり、オンフックの閾値(2.2秒)に到達する前に、オペレータによるオフフック操作が入った時のタイミングが、0.3秒未満であると、フック状態検出部11eは、いわゆる瞬断としてフッキング操作を無視することを意味する。   That is, if the timing when an off-hook operation is performed by the operator before reaching the on-hook threshold (2.2 seconds) is less than 0.3 seconds, the hook state detection unit 11e hooks as a so-called instantaneous interruption. Means to ignore the operation.

一方、接続電話T1のオペレータによるオフフック操作が入った時のタイミングが、0.3秒以上であって、連続獲得回数が3回以上に達した時に、オンフックの閾値の2.2秒未満の範囲内であれば、フック状態検出部11eは、フッキングの状態であると認識する。換言すると、フック状態検出部11eは、フックキングの状態が予め設定した継続期間に達した場合、フックキングとして正規に検出する。したがって、本実施形態では、オンフックの監視中に、フッキングの状態か否かを明確に時間で区切ることにより、フッキングの検出の精度を高めることができる。   On the other hand, when the off-hook operation by the operator of the connection telephone T1 is 0.3 seconds or more and the continuous acquisition count reaches 3 times or more, the on-hook threshold is less than 2.2 seconds. If it is within, the hook state detection unit 11e recognizes that it is in a hooking state. In other words, when the hook king state reaches the preset duration, the hook state detection unit 11e properly detects the hook king. Therefore, in the present embodiment, during the on-hook monitoring, it is possible to improve the accuracy of detection of hooking by clearly dividing whether or not it is in a hooking state by time.

ステップS217:フック状態検出部11eは、RAM13を参照して転送フラグがオン否かを判定する。転送フラグがオンでない場合(ステップS217:No)、CPU11は、ステップS218の処理に移行する。一方、転送フラグがオンである場合(ステップS217:Yes)、CPU11は、ステップS219の処理に移行する。   Step S217: The hook state detection unit 11e refers to the RAM 13 and determines whether or not the transfer flag is on. When the transfer flag is not on (step S217: No), the CPU 11 proceeds to the process of step S218. On the other hand, when the transfer flag is on (step S217: Yes), the CPU 11 proceeds to the process of step S219.

ここで、転送フラグは、フッキングの検出の連続獲得回数が閾値以上で、発信音の検出があった場合にオンの条件となり、後述する図9に示すフローの処理で、転送処理中に転送フラグがオフ(初期設定値)からオンに設定される。   Here, the transfer flag is turned on when the number of continuous acquisitions of hooking detection is greater than or equal to the threshold value and a dial tone is detected. In the flow process shown in FIG. Is set from off (default setting) to on.

また、転送フラグがオンに設定されると、次回、ステップS217に移行した場合、転送フラグがオンに設定されているので、ステップS219に移行することになる。これは、発信音を再度送出させないことを意味し、転送先との会話中(図6中、数字5参照)であることを意味する。この場合、交換機3側では、接続電話T1と端末2aとの通話状態を終了したと認識する(図6中、数字6参照)。   If the transfer flag is set to on, the next time the process proceeds to step S217, since the transfer flag is set to on, the process proceeds to step S219. This means that the dial tone is not sent again and means that the conversation with the transfer destination is in progress (see numeral 5 in FIG. 6). In this case, the exchange 3 recognizes that the call state between the connection telephone T1 and the terminal 2a has ended (see numeral 6 in FIG. 6).

ステップS218:フック状態検出部11eは、発信音(DT)の検出処理を行なう。具体的には、フック状態検出部11eは、着信検出部11aに図9に示すフローの処理を実行させる。着信検出部11aが図9に示すフローの処理を終了すると、CPU11は、ステップS220の処理に移行する。   Step S218: The hook state detection unit 11e performs a dial tone (DT) detection process. Specifically, the hook state detection unit 11e causes the incoming call detection unit 11a to execute the process of the flow shown in FIG. When the incoming call detection unit 11a finishes the process of the flow shown in FIG. 9, the CPU 11 proceeds to the process of step S220.

ステップS219:フック状態検出部11eは、転送フラグをオフに設定する。そして、CPU11は、ステップS220の処理に移行する。   Step S219: The hook state detection unit 11e sets the transfer flag to off. And CPU11 transfers to the process of step S220.

ステップS220:フック状態検出部11eは、オンカウントをゼロリセットする。そして、CPU11は、図8に示すフローの処理を終了させる。   Step S220: The hook state detection unit 11e resets the on-count to zero. Then, the CPU 11 ends the processing of the flow shown in FIG.

次に、着信検出部11aによる発信音(DT)の検出処理について説明する。   Next, a dial tone (DT) detection process by the incoming call detection unit 11a will be described.

図9は、着信検出部11aによる発信音の検出処理の一例を示すフローチャートである。着信検出部11aは、図8に示すステップS218により、フック状態検出部11eの指示を受けて、図9に示すフローの処理を開始する。   FIG. 9 is a flowchart illustrating an example of a dial tone detection process performed by the incoming call detection unit 11a. In response to an instruction from the hook state detection unit 11e in step S218 shown in FIG. 8, the incoming call detection unit 11a starts the processing of the flow shown in FIG.

ステップS301:着信検出部11aは、可聴音の獲得処理を行なう。具体的には、着信検出部11aは、可聴音のうちから発信音の獲得(受信)処理を行なう。   Step S301: The incoming call detection unit 11a performs an audible sound acquisition process. Specifically, the incoming call detection unit 11a performs a process for acquiring (receiving) a dial tone from audible sounds.

ステップS302:着信検出部11aは、現在、発信音の監視中か否かを判定する。具体的には、着信検出部11aが交換機3から発信音が送信されてくるのを監視している場合(ステップS302:Yes)、CPU11は、ステップS303の処理に移行する。一方、発信音の監視中でない場合(ステップS302:No)、CPU11は、図9に示すフローの処理を終了させる。   Step S302: The incoming call detection unit 11a determines whether or not the dial tone is currently being monitored. Specifically, when the incoming call detection unit 11a is monitoring the transmission of a dial tone from the exchange 3 (step S302: Yes), the CPU 11 proceeds to the process of step S303. On the other hand, when the dial tone is not being monitored (step S302: No), the CPU 11 ends the processing of the flow shown in FIG.

ステップS303:着信検出部11aは、発信音の受信中を意味するオン状態であるか否かを判定する。オン状態でない場合(ステップS303:No)、CPU11は、後述するステップS309の処理に移行する。一方、現在オン状態である場合(ステップS303:Yes)、CPU11は、ステップS304の処理に移行する。   Step S303: The incoming call detection unit 11a determines whether or not it is in an on state meaning that a dial tone is being received. When it is not in the on state (step S303: No), the CPU 11 proceeds to the process of step S309 described later. On the other hand, if it is currently on (step S303: Yes), the CPU 11 proceeds to the process of step S304.

ステップS304:着信検出部11aは、発信音のカウンタ(以下「DT-onCount」という。)を、プラス1を加算する。ここで、DT-onCountは、発信音の監視中に、可聴音(発信音)状態のオンの連続獲得回数を意味する。着信検出部11aは、RAM13に可聴音状態のオンの連続獲得回数を記録する。そして、CPU11は、ステップS305の処理に移行する。   Step S304: The incoming call detection unit 11a adds 1 to the dial tone counter (hereinafter referred to as “DT-onCount”). Here, DT-onCount means the number of times of continuous acquisition of an audible sound (radiation tone) state during monitoring of the dial tone. The incoming call detection unit 11a records the number of continuous acquisitions of the audible sound state in the RAM 13. And CPU11 transfers to the process of step S305.

なお、本実施形態では、可聴音(発信音)状態のオンの連続獲得回数の閾値を一例として20回とする。つまり、連続獲得回数を時間に換算すると、20回は2秒に相当する。   In the present embodiment, the threshold of the number of continuous acquisitions of the audible sound (radiation sound) state is set to 20 as an example. That is, when the number of consecutive acquisitions is converted to time, 20 times corresponds to 2 seconds.

ステップS305:着信検出部11aは、可聴音状態のオンの連続獲得回数が閾値以上か否かを判定する。閾値以上の場合(ステップS305:Yes)、CPU11は、ステップS306の処理に移行する。一方、閾値未満の場合(ステップS305:No)、CPU11は、図9に示すフローの処理を終了させる。   Step S305: The incoming call detection unit 11a determines whether or not the number of continuous acquisitions of the audible sound state is greater than or equal to a threshold value. If it is equal to or greater than the threshold (step S305: Yes), the CPU 11 proceeds to the process of step S306. On the other hand, when it is less than the threshold (step S305: No), the CPU 11 ends the process of the flow shown in FIG.

ステップS306:着信検出部11aは、転送フラグをオンに設定する。そして、CPU11は、ステップS307の処理に移行する。   Step S306: The incoming call detection unit 11a sets the transfer flag to ON. Then, the CPU 11 proceeds to the process of step S307.

ステップS307:着信検出部11aは、DT-onCountをゼロリセットする。そして、CPU11は、ステップS308の処理に移行する。   Step S307: The incoming call detection unit 11a resets DT-onCount to zero. Then, the CPU 11 proceeds to the process of step S308.

ステップS308:着信検出部11aは、発信音の監視を終了させる。そして、CPU11は、図9に示すフローの処理を終了させる。続いて、CPU11は、図8に示すステップS220に移行する。   Step S308: The incoming call detection unit 11a ends the monitoring of the dial tone. Then, the CPU 11 ends the process of the flow shown in FIG. Subsequently, the CPU 11 proceeds to step S220 shown in FIG.

ステップS309:着信検出部11aは、DT-onCountをゼロリセットする。そして、CPU11は、図9に示すフローの処理を終了させる。続いて、CPU11は、図8に示すステップS220に移行する。   Step S309: The incoming call detection unit 11a resets DT-onCount to zero. Then, the CPU 11 ends the process of the flow shown in FIG. Subsequently, the CPU 11 proceeds to step S220 shown in FIG.

以上より、通報システム100におけるデータ通信装置1では、電話回線を使用した転送操作時に、データ通信装置1に接続された接続電話T1のオンフックとオフフックとの状態を詳細に管理できる。さらに、データ通信装置1では、転送操作の開始又は中断のきっかけとなる、フッキング操作を正確に認識し、発信音の検出状態と合わせて、転送操作中かどうかを判断することができる。その結果をもとに、データ通信装置1では、このデータ通信装置1側の終了操作を決定することができる。さらに、データ通信装置1は、現在接続中の電話端末と端末2aとが転送処理を行なわずに通話を終了する場合には、会話終話信号を端末2a側に通知する。一方、データ通信装置1は、転送処理を行なうときには、発信音の送出を利用する判定処理により、会話終話信号を端末2a側に通知しない。   As described above, the data communication device 1 in the notification system 100 can manage in detail the on-hook and off-hook states of the connection telephone T1 connected to the data communication device 1 during a transfer operation using a telephone line. Furthermore, the data communication apparatus 1 can accurately recognize the hooking operation that triggers the start or stop of the transfer operation, and can determine whether the transfer operation is being performed in combination with the detection state of the dial tone. Based on the result, the data communication apparatus 1 can determine the end operation on the data communication apparatus 1 side. Further, when the currently connected telephone terminal and the terminal 2a end the call without performing the transfer process, the data communication apparatus 1 notifies the terminal 2a side of a conversation end signal. On the other hand, when performing the transfer process, the data communication apparatus 1 does not notify the terminal 2a side of the conversation end signal by the determination process using transmission of the dial tone.

したがって、データ通信装置1は、転送処理の不具合の発生を防止することができる。   Therefore, the data communication apparatus 1 can prevent the occurrence of transfer processing problems.

<実施形態の補足説明>
上記の実施形態において、フラッシュメモリ14は、制御プログラムをコンピュータに実行させるための命令が記録されたコンピュータ可読な記録媒体として用いても良い。ここで、制御プログラムは、着信検出ステップと、データ受信ステップと、データ解析ステップと、接続制御ステップと、ライン監視ステップと、フック状態検出ステップと、判定ステップと、切替制御ステップと、通知ステップとをコンピュータに実行させることを特徴とする。
<Supplementary explanation of the embodiment>
In the above-described embodiment, the flash memory 14 may be used as a computer-readable recording medium in which instructions for causing a computer to execute a control program are recorded. Here, the control program includes an incoming call detection step, a data reception step, a data analysis step, a connection control step, a line monitoring step, a hook state detection step, a determination step, a switching control step, and a notification step. Is executed by a computer.

1・・・データ通信装置、11a・・・着信検出部、11b・・・データ解析部、11c・・・接続制御部、11d・・・ライン監視部、11e・・・フック状態検出部、11f・・・判定部、11g・・・切替制御部、11h・・・通知部、2a、2b、2c・・・端末、100・・・通報システム
DESCRIPTION OF SYMBOLS 1 ... Data communication apparatus, 11a ... Arrival detection part, 11b ... Data analysis part, 11c ... Connection control part, 11d ... Line monitoring part, 11e ... Hook state detection part, 11f ... Determining unit, 11g ... Switch control unit, 11h ... Notifying unit, 2a, 2b, 2c ... Terminal, 100 ... Notification system

Claims (5)

会話機能を有する外部の通信端末と複数の電話端末とを交換機を介して接続するデータ通信装置であって、
前記通信端末からの着信の有無を検出する着信検出部と、
前記着信検出部が前記着信を検出した場合、前通信端末からデータを受信するデータ受信部と、
前記データ受信部と前記データ通信装置に接続された電話端末とを切り替えるスイッチ部と、
前記データ受信部が受信した前記データを解析して、前通信端末が有する前記会話機能を動作させる必要性の有無を判断するデータ解析部と、
前記データ解析部により必要性有りと判断された場合、前記スイッチ部を制御し、前記データ通信装置に接続された電話端末と前通信端末とを前記交換機を介して接続する接続制御部と、
接続された前記電話端末と前通信端末との接続状態を監視するライン監視部と、
前記ライン監視部が前記接続状態の監視中に、接続された前記電話端末のオンフックと、オフフックと、フッキングとの何れかの状態検出するフック状態検出部と、
前記フック状態検出部の検出結果に応じて、前記会話機能の終了を示す会話終話信号の通知の可否を判定する判定部と、
前記判定部の判定結果に応じて、接続された前記電話端末から他の電話端末に切り替える転送処理を行なう切替制御部と、
少なくとも前記切替制御部が前記他の電話端末として前記データ通信装置に接続されず前記交換機に接続された電話端末に切り替える場合、前記会話終話信号を前記交換機に非通知とする通知部と、
を備えることを特徴とするデータ通信装置。
A data communication apparatus for connecting an external communication terminal having a conversation function and a plurality of telephone terminals via an exchange,
A call detector for detecting the presence or absence of an incoming call from the communication terminal,
If the incoming call detecting section detects the incoming, and the data receiver for receiving data from the previous SL communication terminal,
A switch unit that switches between the data receiving unit and a telephone terminal connected to the data communication device;
A data analysis unit for analyzing the data to which the data receiving unit receives, determines whether it is necessary to operate the conversation function of the previous SL communication terminal,
If it is determined that there is a need by the data analyzing unit, a connection control unit that controls the switching unit to connect the telephone terminals connected to said data communication apparatus and before Symbol communication terminal via the exchange,
A line monitoring unit for monitoring the connection status of the connected the telephone terminal and the previous SL communication terminal,
A hook state detection unit for detecting any of the on-hook, off-hook, and hooking states of the connected telephone terminal while the line monitoring unit is monitoring the connection state;
In accordance with the detection result of the hook state detection unit, a determination unit that determines whether or not notification of a conversation end signal indicating the end of the conversation function is possible,
A switching control unit for performing a transfer process for switching from the connected telephone terminal to another telephone terminal according to the determination result of the determination unit;
When at least the switching control unit switches to a telephone terminal connected to the exchange not connected to the data communication device as the other telephone terminal , a notification unit for notifying the exchange of the conversation end signal;
A data communication apparatus comprising:
請求項1に記載のデータ通信装置において、
前記フック状態検出部は、前記オンフックの状態が予め設定し期間の範囲内継続した場合、前記フックキングとし検出することを特徴とするデータ通信装置。
The data communication apparatus according to claim 1, wherein
The hook state detection unit, when continuously within the time period in which the state of the hook is previously set, data communication and detecting by said hook King device.
請求項1に記載のデータ通信装置において、
前記フック状態検出部は、前記オンフックの状態が予め設定し期間以上継続した場合、前記オンフックとし検出することを特徴とするデータ通信装置。
The data communication apparatus according to claim 1, wherein
The hook state detecting section, if continued over a period in which the state of the hook is previously set, data communication and detecting with said hook device.
請求項1に記載のデータ通信装置において、
前記フック状態検出部は、前記オフフックの状態が予め設定し期間以上継続した場合、前記オフフックとし検出することを特徴とするデータ通信装置。
The data communication apparatus according to claim 1, wherein
The hook state detecting section, if continued over a period in which the off-hook state is set in advance, data communication and detecting by said off-hook device.
会話機能を有する外部の通信端末と複数の電話端末とを交換機を介して接続するデータ通信装置によるデータ通信方法であって、
前記通信端末からの着信の有無を検出する着信検出ステップと、
前記着信検出ステップにより前記着信が検出された場合、前通信端末からデータを前記データ通信装置が有するデータ受信部で受信するデータ受信ステップと、
前記データ受信ステップにより受信された前記データを解析して、前通信端末が有する前記会話機能を動作させる必要性の有無を判断するデータ解析ステップと、
前記データ解析ステップによ必要性有りと判断された場合、前記データ受信部と前記データ通信装置に接続された電話端末とを切り替えるスイッチ部を制御し、前記データ通信装置に接続された電話端末と前通信端末とを前記交換機を介して接続する接続制御ステップと、
続された記電話端末と前通信端末との接続状態を監視するライン監視ステップと、
前記ライン監視ステップにより前記接続状態の監視中に、接続された前記電話端末のオンフックと、オフフックと、フッキングとの何れかの状態検出するフック状態検出ステップと、
前記フック状態検出ステップの検出結果に応じて、前記会話機能の終了を示す会話終話信号の通知の可否を判定する判定ステップと、
前記判定ステップの判定結果に応じて、接続された前記電話端末から他の電話端末に切り替える転送処理を行なう切替制御ステップと、
少なくとも前記切替制御ステップにより前記他の電話端末として前記データ通信装置に接続されず前記交換機に接続された電話端末に切り替えられる場合、前記会話終話信号を前記交換機に非通知とする通知ステップと、
を含むことを特徴とするデータ通信方法。
A data communication method by a data communication device for connecting an external communication terminal having a conversation function and a plurality of telephone terminals via an exchange,
And incoming detection step of detecting the presence or absence of an incoming call from the communication terminal,
If the incoming call is detected by the incoming call detecting step, and a data reception step of receiving by the data receiving unit included in the data communications device data from the previous SL communication terminal,
A data analyzing step of determining the presence or absence of the analyzes received the data is the data receiving step, the need to operate the conversation function of the previous SL communication terminal,
Wherein if it is the data analysis determined that there by Ri need to step, the controls the switch unit for switching a data receiving unit and a telephone terminal connected to the data communications device, a telephone terminal connected to said data communication apparatus a connection control step of connecting a front Symbol communication terminal via the exchange when,
And line monitoring step of monitoring the connection status of the previous SL telephone terminal before Symbol communication terminal which is connected,
During the monitoring of the connection state by the line monitoring step, the hook of the connected the telephone terminal, and off-hook, and the hook state detecting step of detecting one of the state of the hooking,
A determination step of determining whether or not notification of a conversation end signal indicating the end of the conversation function is possible according to a detection result of the hook state detection step;
A switching control step for performing a transfer process for switching from the connected telephone terminal to another telephone terminal according to the determination result of the determination step;
A notification step of notifying the switch of the conversation end signal when switching to a telephone terminal connected to the switch but not connected to the data communication device as the other telephone terminal by at least the switching control step;
A data communication method comprising:
JP2012016306A 2012-01-30 2012-01-30 Data communication apparatus and data communication method Expired - Fee Related JP5619792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012016306A JP5619792B2 (en) 2012-01-30 2012-01-30 Data communication apparatus and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012016306A JP5619792B2 (en) 2012-01-30 2012-01-30 Data communication apparatus and data communication method

Publications (2)

Publication Number Publication Date
JP2013157773A JP2013157773A (en) 2013-08-15
JP5619792B2 true JP5619792B2 (en) 2014-11-05

Family

ID=49052585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012016306A Expired - Fee Related JP5619792B2 (en) 2012-01-30 2012-01-30 Data communication apparatus and data communication method

Country Status (1)

Country Link
JP (1) JP5619792B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10327263A (en) * 1997-05-23 1998-12-08 Matsushita Electric Ind Co Ltd Fixed telephone subscriber unit device
JP2002057801A (en) * 2000-08-11 2002-02-22 Canotec Kk Network device, communication method, and recording medium
JP2003008746A (en) * 2001-06-26 2003-01-10 Matsushita Electric Works Ltd Call center system
JP2004282338A (en) * 2003-03-14 2004-10-07 Matsushita Electric Ind Co Ltd Telephone exchange

Also Published As

Publication number Publication date
JP2013157773A (en) 2013-08-15

Similar Documents

Publication Publication Date Title
CN104869221A (en) Calling method and device in mute mode
JP5619792B2 (en) Data communication apparatus and data communication method
JP5597215B2 (en) Facsimile apparatus, control method thereof, and program
JP2019004307A (en) Emergency reporting device and system
US20080079563A1 (en) Security alarm operation in telephone device
JP2009080694A (en) Security terminal apparatus with call function
US10009943B2 (en) Method for controlling disconnection during call, and terminal
JP4941739B2 (en) Reporting method and reporting device using the method
JP5218982B2 (en) Emergency call system and emergency call device
WO2015131621A1 (en) Mobile communication terminal calling control method and device, and mobile communication terminal
JP4638363B2 (en) Terminal network controller
JP4499644B2 (en) Terminal network controller
JP2011166479A (en) Communication equipment
KR20060094342A (en) Method for notifying the reason of irregular call termination at mobile communication service
KR101078938B1 (en) The system and method for informing the situation which can be spoken to a person using a generic telephone
JP5604689B2 (en) Telephone terminal with automatic callback response function
KR100446658B1 (en) Apparatus and method for monitoring disconnection of the telephone line for crime prevention system
JP3107647B2 (en) Error reporting device
JP2022138184A (en) emergency call device
JP3997417B2 (en) ISDN line relay equipment
JP2010171786A (en) Failure determination system
JP2005094342A (en) Telephone set having stay-at-home confirming function
JP2000251179A (en) Device for confirming safety of aged person living alone
JP2006025115A (en) Incoming answering method, equipment and system for communication, and program
JP2002152343A (en) Cordless communication terminal equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131010

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140703

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140916

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140917

R150 Certificate of patent or registration of utility model

Ref document number: 5619792

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees