Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6475209B2 - Communication apparatus and communication control method - Google Patents
[go: Go Back, main page]

JP6475209B2 - Communication apparatus and communication control method - Google Patents

Communication apparatus and communication control method Download PDF

Info

Publication number
JP6475209B2
JP6475209B2 JP2016193380A JP2016193380A JP6475209B2 JP 6475209 B2 JP6475209 B2 JP 6475209B2 JP 2016193380 A JP2016193380 A JP 2016193380A JP 2016193380 A JP2016193380 A JP 2016193380A JP 6475209 B2 JP6475209 B2 JP 6475209B2
Authority
JP
Japan
Prior art keywords
telephone
communication
pulse signal
signal
pulse
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.)
Active
Application number
JP2016193380A
Other languages
Japanese (ja)
Other versions
JP2018056899A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2016193380A priority Critical patent/JP6475209B2/en
Publication of JP2018056899A publication Critical patent/JP2018056899A/en
Application granted granted Critical
Publication of JP6475209B2 publication Critical patent/JP6475209B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Description

本発明は、電話機からの発信動作に関するものであり、特に、異常が生じた際の制御技術に関するものである。   The present invention relates to a call origination operation from a telephone, and particularly to a control technique when an abnormality occurs.

家庭や小規模オフィスなどでも外部のネットワークと通信を行う情報処理装置や電子機器が広く用いられるようになっている。それらの情報処理装置等は、HGW(Home Gateway)のような通信装置を介して外部のネットワークと接続されることが多い。また、HGWには、情報処理装置等の他に電話機が接続され、HGWが電話機と基地局との間の通信の制御を行う。電話機は、例えば、ダイヤルパルスまたはDTMF(Dual Tone Multi Frequency)の信号を送信することで発信や通話の動作を行う。HGWは、電話機の回線種別、すなわち、ダイヤルパルスかDTMFを判断して、判断した回線種別に基づいて通信の制御を行う。   Information processing apparatuses and electronic devices that communicate with external networks are widely used in homes and small offices. These information processing devices and the like are often connected to an external network via a communication device such as an HGW (Home Gateway). In addition to the information processing apparatus and the like, a telephone is connected to the HGW, and the HGW controls communication between the telephone and the base station. For example, the telephone performs a call or a call operation by transmitting a dial pulse or a DTMF (Dual Tone Multi Frequency) signal. The HGW determines the telephone line type, that is, dial pulse or DTMF, and controls communication based on the determined line type.

電話機がダイヤルパルスを使用している際に、回線のノイズやパルス発生器の不具合によってダイヤルパルスに異常が生じると、HGWが正しく電話番号を識別できないことがある。HGWが電話番号を誤って識別した場合には、誤った識別した電話番号への誤発信が生じ、通話動作の信頼性が低下する。   When the dial pulse is used by the telephone, if the dial pulse becomes abnormal due to noise on the line or malfunction of the pulse generator, the HGW may not be able to correctly identify the telephone number. If the HGW erroneously identifies the telephone number, an erroneous call to the erroneously identified telephone number occurs, reducing the reliability of the call operation.

誤発信等が生じた際に、利用者は、原因を特定し電話機の設定の変更等を行う必要がある。しかし、知識が十分ではない利用者が原因を特定して対応するのは困難なことが多く、不具合が生じた際の問題解決に長い時間を要する恐れがある。そのため、回線に異常が生じた際に、信号形式の切り替えを行うことで発信動作の信頼性を向上できる技術があることが望ましく、関連する技術の開発が行われている。そのような、回線に異常が生じた際に、信号形式の切り替えを行う技術としては、例えば、特許文献1のような技術が開示されている。   When an erroneous call or the like occurs, the user needs to identify the cause and change the setting of the telephone. However, it is often difficult for a user with insufficient knowledge to identify and respond to the cause, and it may take a long time to solve the problem when a problem occurs. For this reason, it is desirable that there is a technique that can improve the reliability of the transmission operation by switching the signal format when an abnormality occurs in the line, and related techniques are being developed. As such a technique for switching the signal format when an abnormality occurs in a line, for example, a technique as disclosed in Patent Document 1 is disclosed.

特許文献1は、電話機やメータなどが接続された端末側の制御装置に関するものである。特許文献1の制御装置は、電話機の回線種別を判別する機能を有する。特許文献1の制御装置は、電話機から送られてくる信号から判別した回線種別に基づいて基地局への発呼を行う。特許文献1の制御装置は、発呼を行った際に応答信号が得られず基地局への接続が失敗した際に、失敗した数をカウントしている。特許文献1の制御装置は、失敗した数が所定の回数を超えたとき、判別した回線種別とは異なる回線種別で基地局への発呼を行う。特許文献1は、そのような構成とすることで、基地局との接続を継続的に行うことができるとしている。   Patent Document 1 relates to a terminal-side control device to which a telephone, a meter, or the like is connected. The control device of Patent Document 1 has a function of determining the line type of a telephone. The control device of Patent Document 1 makes a call to a base station based on a line type determined from a signal sent from a telephone. The control device of Patent Document 1 counts the number of failures when a response signal is not obtained when a call is made and connection to the base station fails. When the number of failures exceeds a predetermined number, the control device of Patent Document 1 makes a call to the base station using a line type different from the determined line type. According to Patent Document 1, such a configuration allows continuous connection with a base station.

特開2010−62657号公報JP 2010-62657 A

しかしながら、特許文献1の技術は次のような点で十分ではない。特許文献1の制御装置は、基地局に発呼した際に応答を得られなかった回数をカウントし、所定の回数を超えた回線に異常があると判断している。すなわち、特許文献1の技術は、発信を繰り返した後に応答を得られなかった回数をカウントすることで異常の有無を判断している。よって、特許文献1の技術では、電話機側は、異常と判断されるまでの間、信号形式の切り替えを行わずに発信動作を続ける。制御装置が信号を誤検出した場合に発信を継続すると、間違って認識された情報によって接続が確立され、間違い電話等が生じる恐れがある。そのため、特許文献1の技術は、異常が生じた際に、信号形式を適切に切り替えることで信頼性を向上するための技術としては十分ではない。   However, the technique of Patent Document 1 is not sufficient in the following points. The control device of Patent Document 1 counts the number of times a response is not obtained when a call is made to the base station, and determines that there is an abnormality in the line exceeding the predetermined number. That is, the technique of Patent Document 1 determines the presence / absence of an abnormality by counting the number of times a response cannot be obtained after repeated transmissions. Therefore, in the technique of Patent Document 1, the telephone side continues the transmission operation without switching the signal format until it is determined to be abnormal. If the control device erroneously detects a signal and continues to make a call, the connection is established based on the erroneously recognized information, and an erroneous call or the like may occur. Therefore, the technique of Patent Document 1 is not sufficient as a technique for improving the reliability by appropriately switching the signal format when an abnormality occurs.

本発明は、上記の課題を解決するため、異常が生じた際に、信号形式を適切に切り替えることで通話の信頼性を向上することができる通信装置を得ることを目的としている。   In order to solve the above-described problems, an object of the present invention is to obtain a communication device that can improve the reliability of a call by appropriately switching a signal format when an abnormality occurs.

上記の課題を解決するため、本発明の通信装置は、第1の通信手段と、第2の通信手段と、異常検知手段と、制御手段を備えている。第1の通信手段は、パルス信号と、トーン信号のうち、電話機が発信する信号に基づいて電話機と通信する。第2の通信手段は、電話機を通信網と接続する。異常検知手段は、電話機がパルス信号を発信した際に、パルス信号の異常の有無を監視し、監視結果に基づいてパルス信号による通信の可否を判断する。制御手段は、異常検知手段がパルス信号による通信が不可と判断したときに、トーン信号に切り替える要求を電話機に送信する。   In order to solve the above problems, the communication apparatus of the present invention includes a first communication unit, a second communication unit, an abnormality detection unit, and a control unit. The first communication means communicates with the telephone based on a signal transmitted from the telephone among the pulse signal and the tone signal. The second communication means connects the telephone to the communication network. The abnormality detection means monitors whether or not the pulse signal is abnormal when the telephone transmits a pulse signal, and determines whether communication using the pulse signal is possible based on the monitoring result. The control means transmits a request to switch to a tone signal to the telephone when the abnormality detection means determines that communication using a pulse signal is impossible.

本発明の通信制御方法は、電話機が発信したパルス信号を受信した際に、パルス信号の異常の有無を監視する。本発明の通信制御方法は、パルス信号の異常を検知したときに、電話機にトーン信号に切り替える要求を送信する。本発明の通信制御方法は、第2の形式の信号で発信を行う電話機を電話網と接続する。   According to the communication control method of the present invention, when a pulse signal transmitted from a telephone is received, the presence or absence of abnormality of the pulse signal is monitored. The communication control method of the present invention transmits a request to switch to a tone signal to a telephone when an abnormality of a pulse signal is detected. According to the communication control method of the present invention, a telephone set that transmits a signal in the second format is connected to the telephone network.

本発明によると、異常が生じた際に、信号形式を適切に切り替えることで通話の信頼性が向上する。   According to the present invention, when an abnormality occurs, the reliability of a call is improved by appropriately switching the signal format.

本発明の第1の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 1st Embodiment of this invention. 本発明の第2の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 2nd Embodiment of this invention. 本発明の第2の実施形態の装置構成を示す図である。It is a figure which shows the apparatus structure of the 2nd Embodiment of this invention. 電話機の回線等に異常が生じた際の信号の例を示す図である。It is a figure which shows the example of the signal when abnormality arises in the telephone line etc. 電話機の回線等に異常が生じた際の信号の例を示す図である。It is a figure which shows the example of the signal when abnormality arises in the telephone line etc. 電話機の回線等に異常が生じた際の信号の例を示す図である。It is a figure which shows the example of the signal when abnormality arises in the telephone line etc. 本発明の第2の実施形態における動作フローを示す図である。It is a figure which shows the operation | movement flow in the 2nd Embodiment of this invention. 本発明の第2の実施形態において異常が生じた際の動作を模式的に示した図である。It is the figure which showed typically the operation | movement when abnormality arises in the 2nd Embodiment of this invention. 本発明の第3の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 3rd Embodiment of this invention. 本発明の第3の実施形態の装置構成を示す図である。It is a figure which shows the apparatus structure of the 3rd Embodiment of this invention. 本発明の第3の実施形態における動作フローを示す図である。It is a figure which shows the operation | movement flow in the 3rd Embodiment of this invention. 本発明の第3の実施形態における動作フローを示す図である。It is a figure which shows the operation | movement flow in the 3rd Embodiment of this invention.

(第1の実施形態)
本発明の第1の実施形態について図を参照して詳細に説明する。図1は、本実施形態の通信装置の構成の概要を示したものである。本実施形態の通信装置は、第1の通信手段1と、第2の通信手段2と、異常検知手段3と、制御手段4を備えている。第1の通信手段1は、パルス信号と、トーン信号のうち、電話機が発信する信号に基づいて電話機と通信する。第2の通信手段2は、電話機を通信網と接続する。異常検知手段3は、電話機がパルス信号を発信した際に、パルス信号の異常の有無を監視し、監視結果に基づいてパルス信号による通信の可否を判断する。制御手段4は、異常検知手段3がパルス信号による通信が不可と判断したときに、トーン信号に切り替える要求を電話機に送信する。
(First embodiment)
A first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an outline of the configuration of the communication apparatus according to the present embodiment. The communication apparatus of this embodiment includes a first communication unit 1, a second communication unit 2, an abnormality detection unit 3, and a control unit 4. The first communication means 1 communicates with the telephone based on a signal transmitted from the telephone among the pulse signal and the tone signal. The second communication means 2 connects the telephone with a communication network. The abnormality detection means 3 monitors the presence / absence of an abnormality in the pulse signal when the telephone transmits a pulse signal, and determines whether communication using the pulse signal is possible based on the monitoring result. When the abnormality detection unit 3 determines that communication using a pulse signal is not possible, the control unit 4 transmits a request for switching to a tone signal to the telephone.

本実施形態の通信装置は、異常検知手段3において、電話機から発信されるパルス信号の異常の有無を監視し、監視結果に基づいてパルス信号による通信の可否を判断している。また、本実施形態の通信装置は、パルス信号による通信が不可と判断したときに、制御手段4においてトーン信号に切り替える要求を電話機に送信している。そのため、パルス信号が正常に認識できないような異常が生じている際に、電話機側では、トーン信号へ切り替える必要性を認識することができる。電話機側でトーン信号へ切り替える必要性を認識し、トーン信号の発信に切り替えを行うことで、誤発信等を防止することができる。その結果、本実施形態の通信装置を用いることで、異常が生じた際に、信号形式を適切に切り替えることで通話の信頼性が向上する。   In the communication apparatus according to the present embodiment, the abnormality detection unit 3 monitors the presence or absence of an abnormality in the pulse signal transmitted from the telephone, and determines whether communication using the pulse signal is possible based on the monitoring result. Further, the communication device of the present embodiment transmits a request for switching to a tone signal to the telephone in the control means 4 when it is determined that communication using a pulse signal is impossible. For this reason, when an abnormality occurs in which the pulse signal cannot be recognized normally, the telephone side can recognize the necessity of switching to the tone signal. By recognizing the necessity of switching to the tone signal on the telephone side and switching to the transmission of the tone signal, erroneous transmission or the like can be prevented. As a result, by using the communication device of the present embodiment, the reliability of a call is improved by appropriately switching the signal format when an abnormality occurs.

(第2の実施形態)
本発明の第2の実施形態について図を参照して詳細に説明する。図2は、本実施形態の電話システムの構成の概要を示したものである。本実施形態の電話システムは、HGW(Home Gateway)10と、電話機20を備えている。
(Second Embodiment)
A second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 shows an outline of the configuration of the telephone system of this embodiment. The telephone system of this embodiment includes an HGW (Home Gateway) 10 and a telephone 20.

本実施形態の電話機20は、ダイヤルパルスおよびDTMF(Dual Tone Multi Frequency)方式の信号を発信する機能を有する。ダイヤルパルスおよびDTMF方式の信号は、それぞれパルス信号およびトーン信号とも呼ばれる。また、HGW10は、電話網60に接続されている。電話機20は、HGW10を介して、電話網60上の基地局と接続され、電話機20の利用者は、他の電話機の利用者と通話を行う。HGW10には、電話機20の他に、情報処理装置、通信装置、電子機器および計測機器などがさらに接続され、外部のネットワークとの通信が行われていてもよい。   The telephone 20 of this embodiment has a function of transmitting a dial pulse and a DTMF (Dual Tone Multi Frequency) signal. Dial pulse and DTMF signals are also called pulse signals and tone signals, respectively. The HGW 10 is connected to the telephone network 60. The telephone 20 is connected to a base station on the telephone network 60 via the HGW 10, and a user of the telephone 20 makes a call with a user of another telephone. In addition to the telephone 20, an information processing device, a communication device, an electronic device, a measurement device, and the like may be further connected to the HGW 10 to communicate with an external network.

HGW10の構成について説明する。図3は、本実施形態のHGW10の構成を示している。本実施形態のHGW10は、制御部11と、記憶部12と、電話機インターフェース部13と、通信インターフェース部14を備えている。   The configuration of the HGW 10 will be described. FIG. 3 shows the configuration of the HGW 10 of the present embodiment. The HGW 10 of this embodiment includes a control unit 11, a storage unit 12, a telephone interface unit 13, and a communication interface unit 14.

制御部11は、HGW10の制御全般を行う機能を有する。制御部11は、記憶部制御部15と、電話機制御部16と、変換判定部17をさらに備えている。   The control unit 11 has a function of performing overall control of the HGW 10. The control unit 11 further includes a storage unit control unit 15, a telephone control unit 16, and a conversion determination unit 17.

記憶部制御部15は、HGW10が通信の制御を行う際に用いる各設定情報の記憶部12への書き込みおよび読み出しを行う。また、記憶部制御部15は、記憶部12の規格外パルス数記憶部18に規格外パルスの検出数の情報の書き込みおよび読み出しを行う。   The storage unit control unit 15 writes and reads each setting information used when the HGW 10 controls communication to and from the storage unit 12. Further, the storage control unit 15 writes and reads information on the number of detected nonstandard pulses in the nonstandard pulse number storage unit 18 of the storage unit 12.

電話機制御部16は、発信、着信、保留および切断等の電話機20の通話に関する動作の制御を行う。また、電話機制御部16は、規格外パルスの検出、ガイダンス音声の電話機20への送信および電話番号の検出等の制御を行う。また、電話機制御部16は、電話機20から送られてくる信号を基に回線種別を判断し、回線種別に基づいて通話の制御を行う。   The telephone control unit 16 controls operations related to a telephone call of the telephone 20 such as outgoing call, incoming call, hold, and disconnection. Further, the telephone control unit 16 performs control such as detection of nonstandard pulses, transmission of guidance voices to the telephone 20, and detection of telephone numbers. Further, the telephone control unit 16 determines the line type based on the signal transmitted from the telephone 20, and controls the call based on the line type.

電話機制御部16は、電話機20から電話機インターフェース部13に入力されるダイヤルパルスが正常であるかの監視を行う。電話機制御部16は、規格外パルスを検出すると所定の時間の規格外パルスの数をカウントする。所定の時間は、電話機20のパルス発生器や回線の異常を判断するために適切な時間となるようにあらかじめ設定されている。電話機制御部16は、検出された規格外パルスの数を、記憶部制御部15を介して記憶部12の規格外パルス数記憶部18に保存する。また、本実施形態の電話機制御部16は、第1の実施形態の制御手段4に相当する。   The telephone control unit 16 monitors whether the dial pulse input from the telephone 20 to the telephone interface unit 13 is normal. When detecting the nonstandard pulse, the telephone control unit 16 counts the number of nonstandard pulses for a predetermined time. The predetermined time is set in advance so as to be an appropriate time for judging the abnormality of the pulse generator of the telephone set 20 or the line. The telephone control unit 16 stores the number of detected nonstandard pulses in the nonstandard pulse number storage unit 18 of the storage unit 12 via the storage unit control unit 15. The telephone control unit 16 of the present embodiment corresponds to the control unit 4 of the first embodiment.

規格外パルスについて説明する。ダイヤルパルスの規格は、例えば、次のように設定されている。10パルス毎秒方式のダイヤルパルスの規格は、ダイヤルパルス速度が10±1.0パルス毎秒以内、ダイヤルパルスメーク率が30パーセント以上、42パーセント以下、ミニマムポーズ600ms以上として設定されている。また、20パルス毎秒方式のダイヤルパルスの規格は、ダイヤルパルス速度が20±1.6パルス毎秒以内、ダイヤルパルスメーク率が30パーセント以上、36パーセント以下、ミニマムポーズ450ms以上として設定されている。規格外パルスとは、このように設定されたダイヤルパルスの規格を満たさないダイヤルパルスのことをいう。   The nonstandard pulse will be described. The dial pulse standard is set as follows, for example. The 10 pulse / second dial pulse standard is set such that the dial pulse speed is within 10 ± 1.0 pulses per second, the dial pulse make rate is 30% or more, 42% or less, and the minimum pause is 600ms or more. Further, the dial pulse standard of the 20 pulses per second method is set such that the dial pulse speed is within 20 ± 1.6 pulses per second, the dial pulse make rate is 30% or more, 36% or less, and the minimum pause is 450ms or more. The non-standard pulse refers to a dial pulse that does not satisfy the dial pulse standard set in this way.

図4は、ダイヤルパルスメーク率違反の例を示したものである。図4の(1)は、中央のダイヤルパルスの幅が短く、ダイヤルパルスメーク率の規格の下限を下回っている場合を示している。また、図4の(2)は、中央のダイヤルパルスの幅が長く、ダイヤルパルスメーク率の規格の上限を上回っている場合を示している。   FIG. 4 shows an example of dial pulse make rate violation. (1) in FIG. 4 shows a case where the width of the center dial pulse is short and falls below the lower limit of the dial pulse make rate standard. Further, (2) of FIG. 4 shows a case where the width of the center dial pulse is long and exceeds the upper limit of the dial pulse make rate standard.

図5は、ダイヤルパルス速度違反の例と、ミニマムポーズ違反の例を示している。図5の上段のダイヤルパルス速度違反の例は、1秒以内に12パルス発生し、ダイヤルパルス速度が10±1.0パルス毎秒以内と定められた10パルス毎秒方式の規格から外れている場合を示している。また、図5の下段のミニマムポーズ違反の例は600ms未満の間隔しかなく、ミニマムポーズが600ms以上と定められた10パルス毎秒方式の規格から外れている場合を示している。図4および図5に示すようなダイヤルパルスの異常が生じると、HGW10が信号を誤検出する恐れがある。   FIG. 5 shows an example of a dial pulse speed violation and an example of a minimum pause violation. An example of dial pulse speed violation in the upper part of FIG. 5 is a case where 12 pulses are generated within 1 second, and the dial pulse speed is out of the standard of 10 pulses per second method defined as 10 ± 1.0 pulses per second. Show. Further, the example of the minimum pause violation in the lower part of FIG. 5 shows a case where there is only an interval of less than 600 ms and the minimum pause is not within the standard of 10 pulses per second method defined as 600 ms or more. When a dial pulse abnormality as shown in FIGS. 4 and 5 occurs, the HGW 10 may erroneously detect a signal.

図6は、HGW10におけるダイヤルパルスの誤検出の例を示したものである。図6の(1)は、左側の中央部のパルスが規格外として検出されず、左側に示す入力信号と、右側に示す検出される信号が異なっている場合を示している。すなわち、図6の(1)は、3つのパルスを送信したが、規格外パルスとして除外されることで、意図した数よりも少ない2つのパルスとして検出されている例を示している。   FIG. 6 shows an example of erroneous detection of dial pulses in the HGW 10. (1) in FIG. 6 shows a case where the left central pulse is not detected as nonstandard, and the input signal shown on the left side is different from the detected signal shown on the right side. That is, (1) of FIG. 6 shows an example in which three pulses are transmitted, but are excluded as non-standard pulses and detected as two pulses less than the intended number.

図6の(2)は、左側に示すようなノイズが入力信号に生じている際に、右側に示すようにノイズがパルスとして検出されている場合を示している。   (2) in FIG. 6 shows a case where noise is detected as a pulse as shown on the right side when noise as shown on the left side is generated in the input signal.

図6の(3)は、左側に示す入力信号では4つのパルスの後、ポーズをおき、2つのパルスが入力されているのに対し、右側の検出信号では、ポーズを正常に検出できずに6つの連続したパルス列として検出されている例を示している。HGW10においてこのようなパルスの誤検出が生じた場合には、電話機20から発信された電話番号の誤認識によって、誤発信が生じる恐れがある。   (3) in FIG. 6 shows that the input signal shown on the left side is paused after four pulses and two pulses are input, whereas the right detection signal cannot detect the pause normally. An example is shown in which six consecutive pulse trains are detected. When such an erroneous detection of a pulse occurs in the HGW 10, there is a possibility that an erroneous transmission may occur due to an erroneous recognition of a telephone number transmitted from the telephone set 20.

変換判定部17は、ダイヤルパルスからDTMFへの変換が必要であるかを判断する。変換判定部17は、規格外パルス数記憶部18に保存されている規格外パルスの検出数の情報を読み出す。変換判定部17は、読み出した規格外パルスの検出数と閾値を比較して、検出数が閾値よりも大きいときDTMFへの変換が必要であると判断する。DTMFへの変換を判断する際の規格外パルスの検出数の基準値としての閾値は、あらかじめ設定されている。変換判定部17は、DTMFへの変換が必要と判断すると、ダイヤルパルスからDTMFへの変換を要求するガイダンスの送信を電話機制御部16に要求する。また、本実施形態の変換判定部17は、第1の実施形態の異常検知手段3に相当する。   The conversion determination unit 17 determines whether conversion from dial pulse to DTMF is necessary. The conversion determination unit 17 reads information on the number of detected nonstandard pulses stored in the nonstandard pulse number storage unit 18. The conversion determination unit 17 compares the read number of detected nonstandard pulses with a threshold value, and determines that conversion to DTMF is necessary when the detected number is larger than the threshold value. A threshold value as a reference value for the number of detected non-standard pulses when determining conversion to DTMF is set in advance. When the conversion determination unit 17 determines that conversion to DTMF is necessary, the conversion determination unit 17 requests the telephone control unit 16 to transmit guidance requesting conversion from dial pulses to DTMF. Moreover, the conversion determination part 17 of this embodiment is corresponded to the abnormality detection means 3 of 1st Embodiment.

記憶部12は、HGW10で使用される設定情報等を保存する機能を有する。記憶部12は、規格外パルス数記憶部18をさらに備えている。規格外パルス数記憶部18は、電話機制御部16が規格外パルスを検出した数を保存している。規格外パルスを検出した数は、記憶部制御部15によって規格外パルス数記憶部18に保存される。記憶部12は、例えば、不揮発性の半導体記憶装置によって構成されている。   The storage unit 12 has a function of storing setting information used in the HGW 10. The storage unit 12 further includes a nonstandard pulse number storage unit 18. The nonstandard pulse number storage unit 18 stores the number of nonstandard pulses detected by the telephone control unit 16. The number of detected nonstandard pulses is stored in the nonstandard pulse number storage unit 18 by the storage unit control unit 15. The memory | storage part 12 is comprised by the non-volatile semiconductor memory device, for example.

電話機インターフェース部13は、電話機20との間で信号の送受信を行うインターフェースである。本実施形態の電話機インターフェース部13は、第1の実施形態の第1の通信手段1に相当する。   The telephone interface unit 13 is an interface that transmits and receives signals to and from the telephone 20. The telephone interface unit 13 of the present embodiment corresponds to the first communication unit 1 of the first embodiment.

通信インターフェース部14は、電話網60との間で信号の送受信を行うインターフェースである。本実施形態の通信インターフェース部14は、第1の実施形態の第2の通信手段2に相当する。   The communication interface unit 14 is an interface that transmits and receives signals to and from the telephone network 60. The communication interface unit 14 of the present embodiment corresponds to the second communication unit 2 of the first embodiment.

電話機20は、HGW10を介して通信回線に接続し、他の電話機と通話を行う機能を有する。本実施形態の電話機20は、ダイヤルパルスおよびDTMF方式の信号を発信する機能を有する。電話機20は、ダイヤルパルスとDTMFのうち、利用者によって選択され、電話機20に設定されている方式の信号を発信する。   The telephone 20 has a function of connecting to a communication line via the HGW 10 and making a call with another telephone. The telephone 20 of this embodiment has a function of transmitting dial pulses and DTMF signals. The telephone 20 transmits a signal of a method selected by the user from the dial pulse and DTMF and set in the telephone 20.

電話網60は、基地局と加入者の自宅や事業所等を接続する通信網である。電話網60は、光ファイバ等の有線回線、無線回線、または、それらの組み合わせによって構成されている。   The telephone network 60 is a communication network that connects a base station and a subscriber's home or office. The telephone network 60 is configured by a wired line such as an optical fiber, a wireless line, or a combination thereof.

本実施形態の電話システムの動作について説明する。図7は、本実施形態の電話システムの動作フローを示したシーケンス図である。通常時、電話機20からダイヤルパルスによる信号に基づいて発信動作が行われているとして、以下の説明を行う。   The operation of the telephone system of this embodiment will be described. FIG. 7 is a sequence diagram showing an operation flow of the telephone system according to the present embodiment. The following description will be given on the assumption that the transmission operation is performed based on a signal from the dial pulse from the telephone 20 at the normal time.

利用者は、電話機20を使用する際に受話器のオフフックを行う(ステップ101)。受話器がオフフックされると電話機20からの信号の送信が開始され、HGW10の電話機制御部16は、入力される信号の監視を行いダイヤルパルスの検出を開始する(ステップ102)。   The user goes off-hook of the handset when using the telephone 20 (step 101). When the handset is off-hooked, transmission of a signal from the telephone 20 is started, and the telephone control unit 16 of the HGW 10 monitors the input signal and starts detecting a dial pulse (step 102).

このとき、電話機20からHGW10に規格外パルスが入力されると(ステップ103)、電話機制御部16は、規格外パルスの検出を開始する(ステップ104)。図7は、ステップ105からステップ106で複数の規格外パルスが電話機20からHGW10に送信された場合を示している。   At this time, when a non-standard pulse is input from the telephone 20 to the HGW 10 (step 103), the telephone control unit 16 starts detecting the non-standard pulse (step 104). FIG. 7 shows a case where a plurality of nonstandard pulses are transmitted from the telephone set 20 to the HGW 10 in steps 105 to 106.

電話機制御部16は、規格外パルスを検出すると、所定の時間内に検出される規格外パルスの数をカウントする。所定の時間内に検出される規格外パルスの数をカウントすると、電話機制御部16は、検出された規格外パルスの数のデータを記憶部制御部15に送る。記憶部制御部15は、規格外パルスの数のデータを受け取ると、受け取ったデータを規格外パルス数記憶部18に保存する。   When detecting the nonstandard pulse, the telephone control unit 16 counts the number of nonstandard pulses detected within a predetermined time. When the number of non-standard pulses detected within a predetermined time is counted, the telephone control unit 16 sends data on the number of detected non-standard pulses to the storage unit control unit 15. When the storage unit control unit 15 receives data on the number of nonstandard pulses, the storage unit 15 stores the received data in the nonstandard pulse number storage unit 18.

規格外パルスの数のデータが保存されると、変換判定部17は、所定の時間にカウントされた規格外パルスの数を閾値と比較する。   When the data of the number of nonstandard pulses is stored, the conversion determination unit 17 compares the number of nonstandard pulses counted in a predetermined time with a threshold value.

規格外パルスの数が閾値以上であるとき(ステップ107)、変換判定部17は、ダイヤルパルスからDTMFへの変換が必要と判断する。DTMFへの変換が必要と判断すると、変換判定部17は、DTMFへの変換を要求する情報の送信命令を電話機制御部16に送る。   When the number of non-standard pulses is equal to or greater than the threshold (step 107), the conversion determination unit 17 determines that conversion from dial pulses to DTMF is necessary. If it is determined that conversion to DTMF is necessary, the conversion determination unit 17 sends a transmission command for information requesting conversion to DTMF to the telephone control unit 16.

電話機制御部16は、DTMFへの変換を要求する情報の送信命令を受け取ると、電話機20にDTMFへの変換を要求する通知として、変換を要求するガイダンスの音声データを送る(ステップ108)。電話機制御部16は、DTMFへの変換を要求するガイダンスの音声データを記憶部12から読み出して送信する。   When the telephone control unit 16 receives a transmission command for information requesting conversion to DTMF, the telephone control unit 16 sends voice data of guidance requesting conversion to the telephone 20 as a notification requesting conversion to DTMF (step 108). The telephone control unit 16 reads out voice data of a guidance requesting conversion to DTMF from the storage unit 12 and transmits it.

DTMFへの変換を要求するガイダンスの音声データが電話機20に送られると、電話機20からDTMFへの変換を要求するガイダンスが送出され、利用者にDTMFへの変換を要求する情報が伝達される。   When voice data of a guidance requesting conversion to DTMF is sent to the telephone set 20, guidance requesting conversion from the telephone set 20 to DTMF is transmitted, and information requesting conversion to DTMF is transmitted to the user.

ガイダンスを聞いた利用者は、スイッチ操作等によって、電話機20の設定をダイヤルパルスからDTMFに変換する(ステップ109)。DTMFに変換後に、利用者は、電話機20を再度、オフフックする(ステップ110)。利用者が電話機20をオフフックしてダイヤルすると、電話機20は、DTMFによってダイヤルを行い、DTMF基づく信号を送信する(ステップ111)。DTMFに切り替えて、再度、発信動作が行われることで、HGW10は、電話機20から送られてくる電話番号を正常に識別し、電話機20と電話網60上の基地局の交換機との接続を確立することができる。   The user who has heard the guidance converts the setting of the telephone 20 from dial pulse to DTMF by a switch operation or the like (step 109). After the conversion to DTMF, the user off-hooks the telephone 20 again (step 110). When the user dials by off-hooking the telephone 20, the telephone 20 dials by DTMF and transmits a signal based on DTMF (step 111). By switching to DTMF and making a call again, the HGW 10 correctly identifies the telephone number sent from the telephone 20 and establishes a connection between the telephone 20 and the base station switch on the telephone network 60. can do.

ステップ107において、規格外パルスの数が閾値未満であったとき、電話機制御部16は、電話機20から入力されるダイヤルパルスの監視を行いながら通常の通話に関する制御を行う。また、変換判定部17がDTMFへの変換が必要と判断したとき、誤発信を抑制するため、電話機制御部16は、ダイヤルパルスの検出処理を停止するようにしてもよい。   In step 107, when the number of nonstandard pulses is less than the threshold value, the telephone control unit 16 performs control related to a normal call while monitoring dial pulses input from the telephone 20. When the conversion determination unit 17 determines that conversion to DTMF is necessary, the telephone control unit 16 may stop the dial pulse detection process in order to suppress erroneous transmission.

図8は、本実施形態の電話システムにおける規格外パルスの検出と、ダイヤルパルスからDTMFへの変換の通知の動作を模式的に示したものである。図8の(1)は、電話機20からHGW10に規格外パルスが複数回、送信されている例を示している。また、図8の(2)は、HGW10が所定の時間内に、基準回数以上、すなわち、閾値以上の数の規格外パルスを検出した場合に、電話機20にダイヤルパルスからDTMFに変換する通知を送る例を示している。このように、HGW10で複数の規格外パルスを検出したときに、電話機20にダイヤルパルスからDTMFに変換する通知を送信して回線種別の切り替えを行って正常な信号形式への切り替えを行うことで、正常な通話動作を行うことができる。   FIG. 8 schematically shows the operation of detection of nonstandard pulses and notification of conversion from dial pulses to DTMF in the telephone system of this embodiment. (1) of FIG. 8 shows an example in which nonstandard pulses are transmitted from the telephone set 20 to the HGW 10 a plurality of times. (2) in FIG. 8 indicates that the HGW 10 notifies the telephone 20 to convert from dial pulses to DTMF when a predetermined number of non-standard pulses are detected within a predetermined time. An example of sending is shown. As described above, when a plurality of nonstandard pulses are detected by the HGW 10, a notification for converting the dial pulse to DTMF is transmitted to the telephone 20, and the line type is switched to switch to the normal signal format. Normal call operation can be performed.

本実施形態の電話システムは、HGW10の電話機制御部16が電話機20から入力されるダイヤルパルスが規格を満たしているかを監視している。電話機制御部16は、規格外のダイヤルパルスを検出した際に、所定の時間内の規格外のダイヤルパルスの検出数をカウントしている。所定の時間内の規格外のダイヤルパルスの検出数が閾値を超えているとき、変換判定部17は、ダイヤルパルスからDTMFへの変換が必要と判断する。変換判定部17によってDTMFへの変換が必要と判定されたとき、電話機制御部16は、電話機20にダイヤルパルスからDTMFに変換する通知を送っている。このように、電話機制御部16は、電話機20にダイヤルパルスからDTMFに変換する通知を送ることで、電話機20側において、利用者は、ダイヤルパルスの信号に異常が生じていることを認識し、DTMFに電話機20の回線種別を切り替えることができる。また、利用者は、ガイダンスを聞いて切り替えの動作を行えばよいため、十分な知識がなくても対応することができる。そのため、ダイヤルパルスからDTMFへの切り替えに要する時間を短縮することが可能になる。   In the telephone system of this embodiment, the telephone control unit 16 of the HGW 10 monitors whether the dial pulse input from the telephone 20 satisfies the standard. When the telephone control unit 16 detects a non-standard dial pulse, it counts the number of non-standard dial pulses detected within a predetermined time. When the number of non-standard dial pulses detected within a predetermined time exceeds the threshold value, the conversion determination unit 17 determines that conversion from dial pulses to DTMF is necessary. When the conversion determining unit 17 determines that conversion to DTMF is necessary, the telephone control unit 16 sends a notification to the telephone 20 for conversion from dial pulse to DTMF. In this way, the telephone control unit 16 sends a notification to the telephone 20 to convert the dial pulse to DTMF, so that on the telephone 20 side, the user recognizes that an abnormality has occurred in the dial pulse signal, The line type of the telephone 20 can be switched to DTMF. In addition, since the user only needs to listen to the guidance and perform a switching operation, the user can respond without sufficient knowledge. Therefore, it is possible to shorten the time required for switching from dial pulse to DTMF.

本実施形態の電話システムでは、規格外のダイヤルパルスの検出によって回線種別の切り替えを行っているので、異常が生じた際に、ダイヤルパルスの信号形式のまま、HGW10から電話網60への発信が継続されることを抑制することができる。そのため、電話機20から入力されるダイヤルパルスの誤検出によって、間違った電話番号を認識し、HGW10が誤発信を行う状態を抑制することができる。その結果、本実施形態の電話システムは、信頼性が向上する。以上より、本実施形態の電話システムは、異常が生じた際に、信号形式を適切に切り替えることで通話の信頼性が向上する。   In the telephone system according to the present embodiment, the line type is switched by detecting a nonstandard dial pulse, so that when an abnormality occurs, transmission from the HGW 10 to the telephone network 60 remains in the dial pulse signal format. It can be suppressed from continuing. Therefore, it is possible to suppress a state in which the wrong telephone number is recognized by the erroneous detection of the dial pulse input from the telephone set 20 and the HGW 10 makes an erroneous call. As a result, the telephone system according to the present embodiment has improved reliability. As described above, the telephone system according to the present embodiment improves the reliability of the call by appropriately switching the signal format when an abnormality occurs.

(第3の実施形態)
本発明の第3の実施形態について図を参照して詳細に説明する。図9は、本実施形態の電話システムの構成の概要を示したものである。本実施形態の電話システムは、HGW30と、電話機20を備えている。また、HGW30は、電話網60を介してSIP(Session Initiation Protocol)サーバ50と通信を行う。HGW30には、第2の実施形態と同様に、情報処理装置等がさらに接続されていてもよい。
(Third embodiment)
A third embodiment of the present invention will be described in detail with reference to the drawings. FIG. 9 shows an outline of the configuration of the telephone system of this embodiment. The telephone system of this embodiment includes an HGW 30 and a telephone 20. The HGW 30 communicates with a SIP (Session Initiation Protocol) server 50 via the telephone network 60. Similarly to the second embodiment, an information processing apparatus or the like may be further connected to the HGW 30.

第2の実施形態の電話システムでは、HGW10は、電話機20から送られてくるダイヤルパルスを監視し、所定の時間内に閾値以上の規格外パルスを検出した際に、DTMFへ切り替えを行っていた。本実施形態のHGW30は、そのような構成に加えて、SIPサーバ50への正常な発信動作が行えなかったときも、ダイヤルパルスからDTMFへの切り替えを行うことを特徴とする。   In the telephone system according to the second embodiment, the HGW 10 monitors dial pulses sent from the telephone 20 and switches to DTMF when a nonstandard pulse exceeding the threshold is detected within a predetermined time. . In addition to such a configuration, the HGW 30 of the present embodiment is characterized in that switching from dial pulse to DTMF is performed even when normal transmission operation to the SIP server 50 cannot be performed.

本実施形態の電話機20および電話網60の構成と機能は、第2の実施形態とそれぞれ同様である。   The configurations and functions of the telephone 20 and the telephone network 60 of this embodiment are the same as those of the second embodiment.

HGW30の構成について説明する。図10は、本実施形態のHGW30の構成について示したものである。本実施形態のHGW30は、制御部31と、記憶部32と、電話機インターフェース部33と、通信インターフェース部34を備えている。   The configuration of the HGW 30 will be described. FIG. 10 shows the configuration of the HGW 30 of this embodiment. The HGW 30 of this embodiment includes a control unit 31, a storage unit 32, a telephone interface unit 33, and a communication interface unit 34.

本実施形態の電話機インターフェース部33および通信インターフェース部34の構成と機能は、第2の実施形態の同名称の部位とそれぞれ同様である。   The configurations and functions of the telephone interface unit 33 and the communication interface unit 34 of the present embodiment are the same as the parts having the same names in the second embodiment.

制御部31は、HGW30の制御全般を行う機能を有する。制御部31は、記憶部制御部35と、電話機制御部36と、変換判定部37と、電話網監視部38をさらに備えている。   The control unit 31 has a function of performing overall control of the HGW 30. The control unit 31 further includes a storage unit control unit 35, a telephone control unit 36, a conversion determination unit 37, and a telephone network monitoring unit 38.

記憶部制御部35は、第2の実施形態の記憶部制御部15と同様の機能を有する。また、記憶部制御部35は、記憶部32の未登録発信数記憶部40の未登録番号への発信数の情報の書き込みおよび読み出しを行う。   The storage unit control unit 35 has the same function as the storage unit control unit 15 of the second embodiment. In addition, the storage unit control unit 35 writes and reads information on the number of outgoing calls to an unregistered number in the unregistered outgoing number storage unit 40 of the storage unit 32.

電話機制御部36は、第2の実施形態の電話機制御部16と同様の機能を有する。すなわち、電話機制御部36は、発信、着信、保留、切断および電話番号の検出等の電話機20の通話に関する動作の制御を行う。電話機制御部36は、発信動作を行う際に発信先の電話番号等を含む情報を「INVITE」としてSIPサーバ50に送信する。また、電話機制御部36は、規格外パルスの検出、ガイダンス音声の電話機20への送信および電話番号の検出等の制御を行う。   The telephone control unit 36 has the same function as the telephone control unit 16 of the second embodiment. That is, the telephone control unit 36 controls operations related to the telephone call of the telephone 20 such as outgoing call, incoming call, hold, disconnection, and telephone number detection. The telephone control unit 36 transmits information including the telephone number of the transmission destination to the SIP server 50 as “INVITE” when performing a call operation. In addition, the telephone control unit 36 performs control such as detection of nonstandard pulses, transmission of guidance voice to the telephone 20, and detection of telephone numbers.

変換判定部37は、第2の実施形態の変換判定部17と同様の機能を有する。さらに、本実施形態の変換判定部37は、未登録番号への発信数を基に、ダイヤルパルスからDTMFへの変換が必要であるかを判断する。変換判定部37は、未登録発信数記憶部40に保存されている未登録番号へ発信数と閾値を比較して、発信数が閾値よりも大きいときDTMFへの変換が必要であると判断する。DTMFへの変換を判断する際の未登録番号への発信数の検出数の基準値である閾値は、あらかじめ設定されている。変換判定部37は、DTMFへの変換が必要と判断すると、ダイヤルパルスからDTMFへの変換を要求するガイダンスの送信を電話機制御部36に要求する。   The conversion determination unit 37 has the same function as the conversion determination unit 17 of the second embodiment. Furthermore, the conversion determination unit 37 of this embodiment determines whether conversion from dial pulse to DTMF is necessary based on the number of outgoing calls to unregistered numbers. The conversion determination unit 37 compares the number of calls to the unregistered number stored in the unregistered call number storage unit 40 and a threshold value, and determines that conversion to DTMF is necessary when the number of calls is larger than the threshold value. . A threshold value that is a reference value for the number of detected outgoing calls to an unregistered number when determining conversion to DTMF is set in advance. When the conversion determination unit 37 determines that conversion to DTMF is necessary, the conversion determination unit 37 requests the telephone control unit 36 to transmit guidance requesting conversion from dial pulses to DTMF.

電話網監視部38は、SIPサーバ50からの応答の有無を監視する機能を有する。電話網監視部38は、電話機制御部36が発信した電話番号に該当する電話番号が無いことを示す応答をSIPサーバ50から受け取ったとき、記憶部制御部35を介して記憶部32の未登録発信数記憶部40の未登録番号への発信数の情報として保存する。電話網監視部38は、SIPサーバ50から該当する電話番号が無いことを示す応答を「404 Not Found」として受信する。電話網監視部38は、例えば、未登録番号への発信回数と、発信先の電話番号と、発信日時を関連づけて未登録発信数記憶部40に未登録番号への発信数の情報として保存する。   The telephone network monitoring unit 38 has a function of monitoring whether or not there is a response from the SIP server 50. When the telephone network monitoring unit 38 receives a response from the SIP server 50 indicating that there is no telephone number corresponding to the telephone number transmitted by the telephone control unit 36, the telephone network monitoring unit 38 is not registered in the storage unit 32 via the storage unit control unit 35. It is stored as information on the number of calls made to unregistered numbers in the call number storage unit 40. The telephone network monitoring unit 38 receives a response indicating that there is no corresponding telephone number from the SIP server 50 as “404 Not Found”. For example, the telephone network monitoring unit 38 associates the number of calls to the unregistered number, the telephone number of the call destination, and the call date and time, and stores the information as information on the number of calls to the unregistered number in the unregistered call number storage unit 40. .

記憶部32は、HGW30で使用される設定情報等を保存する機能を有する。記憶部32は、規格外パルス数記憶部39と、未登録発信数記憶部40をさらに備えている。本実施形態の規格外パルス数記憶部39の構成と機能は、第2の実施形態の規格外パルス数記憶部18と同様である。   The storage unit 32 has a function of storing setting information used in the HGW 30. The storage unit 32 further includes a nonstandard pulse number storage unit 39 and an unregistered transmission number storage unit 40. The configuration and function of the nonstandard pulse number storage unit 39 of the present embodiment are the same as those of the nonstandard pulse number storage unit 18 of the second embodiment.

未登録発信数記憶部40は、電話網監視部38が検出した未登録番号への発信数を保存している。未登録番号への発信数は、記憶部制御部35によって未登録発信数記憶部40に保存される。   The unregistered transmission number storage unit 40 stores the number of transmissions to the unregistered number detected by the telephone network monitoring unit 38. The number of outgoing calls to the unregistered number is stored in the unregistered outgoing call number storage unit 40 by the storage unit control unit 35.

SIPサーバ50は、電話網60に接続され、SIPを利用してIP(Internet protocol)電話の管理および制御を行うサーバである。   The SIP server 50 is a server that is connected to the telephone network 60 and manages and controls IP (Internet protocol) telephones using SIP.

本実施形態の電話システムの動作について説明する。本実施形態の電話システムにおいて、電話機20からHGW30に入力されるダイヤルパルスの異常を検出して、DTMFへの切り替えを行う際の動作は、第2の実施形態と同様である。よって、以下では、SIPサーバ50からの応答の有無を監視して、ダイヤルパルスからDTMFへの切り替えを行う際の動作についてのみ説明する。   The operation of the telephone system of this embodiment will be described. In the telephone system of the present embodiment, the operation when switching to the DTMF by detecting an abnormality of the dial pulse input from the telephone 20 to the HGW 30 is the same as that of the second embodiment. Therefore, hereinafter, only the operation at the time of switching from dial pulse to DTMF by monitoring presence / absence of a response from the SIP server 50 will be described.

図11および図12は、本実施形態の電話システムにおいてSIPサーバ50からの応答の有無を監視して、ダイヤルパルスからDTMFへの切り替えを行う際の動作フローについて示したシーケンス図である。通常時、電話機20からダイヤルパルスによる信号の送信が行われているとして、以下の説明を行う。   FIG. 11 and FIG. 12 are sequence diagrams showing an operation flow when switching from dial pulse to DTMF by monitoring the presence or absence of a response from the SIP server 50 in the telephone system of the present embodiment. The following explanation will be given on the assumption that a signal is transmitted from the telephone set 20 by dial pulses during normal times.

利用者は、電話機20を使用する際に受話器のオフフックを行う(ステップ201)。受話器がオフフックされると電話機20に電話番号が入力され、電話機20からHGW30に電話番号の情報が送信される(ステップ202)。   The user goes off-hook of the handset when using the telephone 20 (step 201). When the handset is off-hooked, the telephone number is input to the telephone 20 and the telephone number information is transmitted from the telephone 20 to the HGW 30 (step 202).

電話機20がオフフックされるとHGW30の電話機制御部36は、電話番号の検出を開始する。電話機制御部36は、電話機インターフェース部33を介して電話機20から送られてくる電話番号を検出する。電話機制御部36が電話番号を検出すると、電話網監視部38は、通信インターフェース部34を介して、電話網60に接続したSIPサーバ50に電話番号を含む「INVITE」を送信する(ステップ203)。   When the telephone 20 is off-hooked, the telephone control unit 36 of the HGW 30 starts detecting the telephone number. The telephone control unit 36 detects a telephone number sent from the telephone 20 via the telephone interface unit 33. When the telephone control unit 36 detects the telephone number, the telephone network monitoring unit 38 transmits “INVITE” including the telephone number to the SIP server 50 connected to the telephone network 60 via the communication interface unit 34 (step 203). .

SIPサーバ50は、HGW30から「INVITE」を受け取ると、受け取った「INVITE」に含まれる接続先の電話番号が登録されているかを確認する。接続先の電話番号が登録されていない場合、SIPサーバ50は、HGW30に「404 Not Found」を、電話網60を介して返信する(ステップ204)。   When the SIP server 50 receives “INVITE” from the HGW 30, it confirms whether or not the connection destination telephone number included in the received “INVITE” is registered. When the telephone number of the connection destination is not registered, the SIP server 50 returns “404 Not Found” to the HGW 30 via the telephone network 60 (step 204).

HGW30の電話機制御部36は、通信インターフェース部34を介してSIPサーバ50から「404 Not Found」の信号を受け取る(ステップ205)。電話機制御部36が「404 Not Found」の信号を受け取ると、電話網監視部38は「404 Not Found」を受信した回数をカウントする。   The telephone control unit 36 of the HGW 30 receives a “404 Not Found” signal from the SIP server 50 via the communication interface unit 34 (step 205). When the telephone control unit 36 receives the “404 Not Found” signal, the telephone network monitoring unit 38 counts the number of times “404 Not Found” is received.

電話網監視部38は、「404 Not Found」を受信した回数のデータを、記憶部制御部35を介して未登録発信数記憶部40に保存する。「404 Not Found」を受信した回数のデータが未登録発信数記憶部40に保存されると、変換判定部37は、「404 Not Found」を受信した回数と閾値を比較する(ステップ206)。   The telephone network monitoring unit 38 stores data on the number of times “404 Not Found” is received in the unregistered transmission number storage unit 40 via the storage unit control unit 35. When the data of the number of times of receiving “404 Not Found” is stored in the unregistered transmission number storage unit 40, the conversion determining unit 37 compares the number of times of receiving “404 Not Found” with the threshold (step 206).

「404 Not Found」を受信した回数が閾値未満のとき(ステップ207)、変換判定部37は、電話機制御部36に、未登録番号に発信したことの通信の送信を要求する。未登録番号に発信したことの通信の送信の要求を受け取ると、電話機制御部36は、電話機インターフェース部33を介して電話機20に未登録番号に発信したことを通知する(ステップ208)。電話機制御部36は、電話機20に未登録番号に発信したこと示す音声データを送信することで、未登録番号に発信したことを通知する。未登録番号に発信したことを示す音声データは、記憶部32に保存されている。   When the number of times “404 Not Found” is received is less than the threshold value (step 207), the conversion determination unit 37 requests the telephone control unit 36 to transmit communication indicating that the call has been sent to the unregistered number. Upon receiving a request for transmission of communication indicating that the call has been made to the unregistered number, the telephone control unit 36 notifies the telephone 20 that the call has been made to the unregistered number via the telephone interface unit 33 (step 208). The telephone control unit 36 notifies the telephone 20 that the call has been made to the unregistered number by transmitting voice data indicating that the call has been made to the unregistered number. Voice data indicating that a call has been made to an unregistered number is stored in the storage unit 32.

電話機20は、未登録番号に発信したことを示す音声データを受け取ると、未登録番号に発信したことを示す音声データを送出する。未登録番号に発信したことを示す音声データを聞いた利用者は、電話機20の受話器をオンフックして通信を終了する(ステップ209)。   When the telephone 20 receives the voice data indicating that the call is made to the unregistered number, the telephone 20 transmits the voice data indicating that the call is sent to the unregistered number. The user who has heard the voice data indicating that the call has been sent to the unregistered number on-hooks the handset of the telephone 20 and ends the communication (step 209).

利用者がさらに同じ番号に電話をかけ、ステップ201からステップ209の動作が、ステップ210からステップ211で複数回、繰り返されたとする。また、さらにステップ201からステップ208までの動作と同様に、ステップ201からステップ217の動作が行われ、所定の時間内に「404 Not Found」を受信した回数が閾値以上になったとする。   It is assumed that the user further calls the same number and the operations from step 201 to step 209 are repeated a plurality of times from step 210 to step 211. Furthermore, similarly to the operations from step 201 to step 208, the operations from step 201 to step 217 are performed, and it is assumed that the number of times “404 Not Found” is received within a predetermined time exceeds the threshold.

所定の時間内に「404 Not Found」を受信した回数が閾値以上になると(ステップS218)、変換判定部37は、ダイヤルパルスからDTMFへの変換が必要と判断する。DTMFへの変換が必要と判断すると、変換判定部37は、DTMFへの変換を要求する情報の送信命令を電話機制御部36に送る。   When the number of times “404 Not Found” is received within a predetermined time becomes equal to or greater than the threshold (step S218), conversion determination unit 37 determines that conversion from dial pulse to DTMF is necessary. If it is determined that conversion to DTMF is necessary, the conversion determination unit 37 sends a transmission command for information requesting conversion to DTMF to the telephone control unit 36.

電話機制御部36は、DTMFへの変換を要求する情報の送信命令を受け取ると、電話機20にDTMFへの変換を要求する通知を送る(ステップ219)。電話機制御部36は、DTMFへの変換を要求する通知として、DTMFへの変換を要求するガイダンスの音声データを電話機20に送る。DTMFへの変換を要求するガイダンスの音声データは、記憶部32に保存されている。   When the telephone control unit 36 receives a transmission command of information requesting conversion to DTMF, the telephone control unit 36 sends a notification requesting conversion to DTMF to the telephone 20 (step 219). The telephone control unit 36 sends voice data of a guidance requesting conversion to DTMF to the telephone 20 as a notification requesting conversion to DTMF. The voice data of the guidance requesting conversion to DTMF is stored in the storage unit 32.

DTMFへの変換を要求するガイダンスの音声データが電話機20に送られると、電話機20からDTMFへの変換を要求するガイダンスが送出され、利用者にDTMFへの変換を要求する情報が伝達される。利用者にDTMFへの変換を要求する情報を聞いた利用者は、電話機20をオンフック状態にする(ステップ220)。   When voice data of a guidance requesting conversion to DTMF is sent to the telephone set 20, guidance requesting conversion from the telephone set 20 to DTMF is transmitted, and information requesting conversion to DTMF is transmitted to the user. The user who has heard the information requesting the user to convert to DTMF puts the telephone 20 in an on-hook state (step 220).

ガイダンスを聞いた利用者は、スイッチ操作等によって、電話機20の設定をダイヤルパルスからDTMFに変換する(ステップ221)。DTMFに変換後に、利用者は、電話機20をオフフックして電話番号をダイヤルする(ステップ222)。利用者が電話番号をダイヤルすると、電話機20は、DTMFでの動作に切り替えられているので、DTMFに基づく信号をHGW30に送信する(ステップ223)。HGW30は、DTMFで送られてくる信号を基に、SIPサーバ50に「INVITE」を送信して接続を確立する。HGW30は、DTMFで電話機20から送られてくる信号を基に、電話番号を正常に識別し、電話機20とSIPサーバ50との接続を確立することができる。   The user who has heard the guidance converts the setting of the telephone 20 from dial pulse to DTMF by a switch operation or the like (step 221). After conversion to DTMF, the user off-hooks the telephone 20 and dials the telephone number (step 222). When the user dials the telephone number, the telephone 20 is switched to DTMF operation, and therefore transmits a signal based on DTMF to the HGW 30 (step 223). The HGW 30 establishes a connection by sending “INVITE” to the SIP server 50 based on the signal sent by DTMF. The HGW 30 can normally identify a telephone number based on a signal sent from the telephone set 20 by DTMF, and can establish a connection between the telephone set 20 and the SIP server 50.

また、変換判定部37がDTMFへの変換が必要と判断したとき、誤発信を抑制するため、電話機制御部36は、ダイヤルパルスの検出処理を停止するようにしてもよい。   When the conversion determination unit 37 determines that conversion to DTMF is necessary, the telephone control unit 36 may stop the dial pulse detection process in order to suppress erroneous transmission.

本実施形態の電話システムは、第2の実施形態と同様の効果を有する。また、本実施形態の電話システムは、規格外ダイヤルパルスの検出数に加えて、SIPサーバ50からの応答の有無を基に、HGW30の変換判定部37がダイヤルパルスからDTMFへの変換の要否を判断している。そのため、規格外のダイヤルパルスが電話機20や回線の異常と判断される数まで増えていない際に、発信を正常に行えなかった場合に、ダイヤルパルスからDTMFへの切り替えを行うことができる。そのため、本実施形態の電話システムは、信頼性がより向上する。   The telephone system of this embodiment has the same effect as that of the second embodiment. Further, in the telephone system according to the present embodiment, whether or not the conversion determination unit 37 of the HGW 30 needs to convert dial pulses to DTMF based on the presence / absence of a response from the SIP server 50 in addition to the number of detected nonstandard dial pulses. Judging. Therefore, when the number of non-standard dial pulses has not increased to the number determined to be abnormal in the telephone 20 or the line, the dial pulse can be switched to DTMF when the transmission cannot be performed normally. Therefore, the telephone system according to the present embodiment is more reliable.

第2および第3の実施形態では、規格外パルスを1つの閾値と比較することで、ダイヤルパルスからDTMFへの変換の要否を判断しているが、閾値は複数段階であってもよい。例えば、閾値を2段階で設定し、直ちに異常と判断できない場合に、HGWから電話機20側に警告を通知するようにしてもよい。また、第3の実施形態において閾値を2段階で設定し、直ちに異常と判断できない場合に、HGWがSIPサーバ50からの応答の有無を基に切り替えの要否を判断するようにしてもよい。そのような構成とすることで、ダイヤルパルスからDTMFへの切り替えをより適切に管理することができる。   In the second and third embodiments, the necessity of conversion from the dial pulse to DTMF is determined by comparing the non-standard pulse with one threshold value. However, the threshold value may be in a plurality of stages. For example, the threshold value may be set in two stages, and a warning may be notified from the HGW to the telephone set 20 when it cannot be immediately determined as abnormal. Further, in the third embodiment, the threshold may be set in two stages, and if it cannot be immediately determined as abnormal, the HGW may determine whether switching is necessary based on the presence / absence of a response from the SIP server 50. With such a configuration, switching from dial pulse to DTMF can be more appropriately managed.

第2および第3の実施形態では、ダイヤルパルスの異常を検出して、電話機20が発信する信号をダイヤルパルスからDTMFに変換する構成について示している。そのような構成に加えて、DTMFの信号の異常を検出して、DTMFからダイヤルパルスに変換を行う構成を備えていてもよい。DTMFからダイヤルパルスに変換する構成をさらに備えることで、電話機20や回線の状態に応じて相互に切り替えを行うことができるので、信頼性がより向上する。   In the second and third embodiments, a configuration is shown in which a dial pulse abnormality is detected and a signal transmitted from the telephone 20 is converted from a dial pulse to DTMF. In addition to such a configuration, a configuration may be provided in which an abnormality in a DTMF signal is detected and conversion from DTMF to dial pulses is performed. By further providing a configuration for converting from DTMF to dial pulses, switching can be performed according to the state of the telephone 20 and the line, so that reliability is further improved.

また、第2および第3の実施形態では、ガイダンスを聞いた利用者が、ダイヤルパルスからDTMFに切り替えを行う構成について示している。そのような構成に代えて、回線種別の切り替えを、制御信号を受信した際に自動で行う機能を備えた電話機を用いて、HGWから切り替えの制御信号を送信し、ダイヤルパルスからDTMFへの切り替えを行うようにしてもよい。そのような構成とすることで、より確実に回線種別を替えることができるので利用者の利便性および信頼性が向上する。   In the second and third embodiments, a configuration in which the user who has heard the guidance switches from dial pulse to DTMF is shown. Instead of such a configuration, a switching control signal is transmitted from the HGW using a telephone having a function of automatically switching the line type when a control signal is received, and switching from dial pulse to DTMF is performed. May be performed. By adopting such a configuration, the line type can be changed more reliably, so that convenience and reliability for the user are improved.

第3の実施形態では、HGW30は、電話機20から入力される規格外パルスと、SIPサーバ50からの応答の有無によってダイヤルパルスからDTMFへの切り替えの要否を判断している。そのような構成に代えて、HGW30は、SIPサーバ50からの応答の有無によってのみダイヤルパルスからDTMFへの切り替えの要否を判断するようにしてもよい。   In the third embodiment, the HGW 30 determines whether or not it is necessary to switch from the dial pulse to the DTMF based on the nonstandard pulse input from the telephone set 20 and the presence / absence of a response from the SIP server 50. Instead of such a configuration, the HGW 30 may determine whether or not it is necessary to switch from the dial pulse to the DTMF only based on the presence / absence of a response from the SIP server 50.

第2の実施形態および第3の実施形態では、電話網60にHGWおよび電話機20が1組のみ備えられている例を示しているが、電話システムは、HGWおよび電話機20を、複数組、備えていてもよい。また、1台のHGWに複数の電話機20が接続されていてもよい。   In the second and third embodiments, an example is shown in which only one set of HGW and telephone 20 is provided in the telephone network 60. However, the telephone system includes a plurality of sets of HGW and telephones 20. It may be. A plurality of telephones 20 may be connected to one HGW.

1 第1の通信手段
2 第2の通信手段
3 異常検知手段
4 制御手段
10 HGW
11 制御部
12 記憶部
13 電話機インターフェース部
14 通信インターフェース部
15 記憶部制御部
16 電話機制御部
17 変換判定部
18 規格外パルス数記憶部
20 電話機
30 HGW
31 制御部
32 記憶部
33 電話機インターフェース部
34 通信インターフェース部
35 記憶部制御部
36 電話機制御部
37 変換判定部
38 電話網監視部
39 規格外パルス数記憶部
40 未登録発信数記憶部
50 SIPサーバ
60 電話網
DESCRIPTION OF SYMBOLS 1 1st communication means 2 2nd communication means 3 Abnormality detection means 4 Control means 10 HGW
DESCRIPTION OF SYMBOLS 11 Control part 12 Storage part 13 Telephone interface part 14 Communication interface part 15 Storage part control part 16 Telephone control part 17 Conversion determination part 18 Nonstandard pulse number storage part 20 Telephone 30 HGW
Reference Signs List 31 control unit 32 storage unit 33 telephone interface unit 34 communication interface unit 35 storage unit control unit 36 telephone control unit 37 conversion determination unit 38 telephone network monitoring unit 39 nonstandard pulse number storage unit 40 unregistered transmission number storage unit 50 SIP server 60 Telephone network

Claims (10)

パルス信号と、トーン信号のうち、電話機が発信する信号に基づいて前記電話機と通信する第1の通信手段と、
前記電話機を電話網と接続する第2の通信手段と、
前記電話機がパルス信号を発信した際に、前記パルス信号の異常の有無を監視し、監視結果に基づいて前記パルス信号による通信の可否を判断する異常検知手段と、
前記異常検知手段が前記パルス信号による通信が不可と判断したときに、前記トーン信号に切り替える要求を前記電話機に送信する制御手段と、
を備えることを特徴とする通信装置。
A first communication means for communicating with the telephone based on a signal transmitted from the telephone among the pulse signal and the tone signal;
Second communication means for connecting the telephone to a telephone network;
An abnormality detecting means for monitoring the presence or absence of an abnormality of the pulse signal when the telephone transmits a pulse signal, and determining whether communication by the pulse signal is possible based on a monitoring result;
Control means for transmitting a request for switching to the tone signal to the telephone when the abnormality detection means determines that communication by the pulse signal is impossible;
A communication apparatus comprising:
前記異常検知手段は、前記電話機から送られてくる前記パルス信号を監視して、前記異常の回数を計数し、所定の時間内に検出した前記異常の回数があらかじめ設定された基準を超えたときに、前記パルス信号による通信が不可と判断することを特徴とする請求項1に記載の通信装置。   The abnormality detection means monitors the pulse signal sent from the telephone, counts the number of abnormalities, and when the number of abnormalities detected within a predetermined time exceeds a preset reference The communication apparatus according to claim 1, wherein communication using the pulse signal is determined to be impossible. 前記異常検知手段は、前記パルス信号があらかじめ設定された規格を満たさない場合に、前記パルス信号に前記異常が生じているとして前記異常の回数の計数を行うことを特徴とする請求項2に記載の通信装置。   3. The abnormality detection unit according to claim 2, wherein when the pulse signal does not satisfy a preset standard, the abnormality detection unit counts the number of abnormalities as the abnormality occurs in the pulse signal. Communication equipment. 前記第2の通信手段を介して前記電話機を電話網と接続する際に、接続先からの応答信号を得られなかったときに前記パルス信号による通信が不可と判断する通信可否判断手段をさらに備え、
前記制御手段は、前記通信可否判断手段が前記パルス信号による通信が不可と判断したときに、前記トーン信号に切り替える要求を前記電話機に送信することを特徴とする請求項1から3いずれかに記載の通信装置。
When connecting the telephone to the telephone network via the second communication means, further comprising communication enable / disable determining means for determining that communication using the pulse signal is impossible when a response signal from the connection destination cannot be obtained. ,
The said control means transmits the request | requirement which switches to the said tone signal to the said telephone, when the said communication availability judgment means judges that the communication by the said pulse signal is impossible. Communication equipment.
前記異常検知手段が前記パルス信号による通信が不可と判断したときに、
前記制御手段は、前記電話機から送られてくる前記パルス信号の検出を行わないように制御することを特徴とする請求項1から4いずれかに記載の通信装置。
When the abnormality detection means determines that communication by the pulse signal is impossible,
5. The communication apparatus according to claim 1, wherein the control unit performs control so as not to detect the pulse signal transmitted from the telephone.
前記制御手段は、前記トーン信号に切り替える要求を音声データとして前記電話機に送信することを特徴とする請求項1から5いずれかに記載の通信装置。   The communication apparatus according to claim 1, wherein the control unit transmits a request to switch to the tone signal to the telephone as voice data. 電話機が発信したパルス信号を受信した際に、前記パルス信号の異常の有無を監視し、
前記パルス信号の異常を検知したときに、前記電話機にトーン信号に切り替える要求を送信し、
前記トーン信号で発信を行う前記電話機を電話網と接続することを特徴とする通信制御方法。
When receiving a pulse signal transmitted by the telephone, monitor the presence or absence of abnormality of the pulse signal,
When an abnormality of the pulse signal is detected, a request to switch to a tone signal is sent to the telephone,
A communication control method, comprising: connecting the telephone set that transmits a tone signal to a telephone network.
前記電話機から送られてくる前記パルス信号を監視して、前記異常の回数を計数し、
所定の時間内に検出した前記異常の回数があらかじめ設定された基準を超えたときに、前記パルス信号による通信が不可と判断することを特徴とする請求項7に記載の通信制御方法。
Monitor the pulse signal sent from the telephone, count the number of abnormalities,
The communication control method according to claim 7, wherein when the number of abnormalities detected within a predetermined time exceeds a preset reference, it is determined that communication using the pulse signal is impossible.
前記電話機を電話網と接続する際に、接続先からの応答信号が得られなかったときに前記パルス信号による通信が不可と判断し、
前記トーン信号に切り替える要求を前記電話機に送信することを特徴とする請求項7に記載の通信制御方法。
When connecting the telephone to the telephone network, it is determined that communication by the pulse signal is impossible when a response signal from the connection destination is not obtained,
The communication control method according to claim 7, wherein a request to switch to the tone signal is transmitted to the telephone.
前記パルス信号による通信が不可と判断したときに、
前記電話機から送られてくる前記パルス信号の検出を行わないように制御することを特徴とする請求項7から9いずれかに記載の通信制御方法。
When it is determined that communication by the pulse signal is impossible,
10. The communication control method according to claim 7, wherein control is performed so as not to detect the pulse signal transmitted from the telephone.
JP2016193380A 2016-09-30 2016-09-30 Communication apparatus and communication control method Active JP6475209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016193380A JP6475209B2 (en) 2016-09-30 2016-09-30 Communication apparatus and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016193380A JP6475209B2 (en) 2016-09-30 2016-09-30 Communication apparatus and communication control method

Publications (2)

Publication Number Publication Date
JP2018056899A JP2018056899A (en) 2018-04-05
JP6475209B2 true JP6475209B2 (en) 2019-02-27

Family

ID=61833100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016193380A Active JP6475209B2 (en) 2016-09-30 2016-09-30 Communication apparatus and communication control method

Country Status (1)

Country Link
JP (1) JP6475209B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0195644A (en) * 1987-10-08 1989-04-13 Canon Inc Telephone system
JPH01284140A (en) * 1988-05-11 1989-11-15 Nec Corp Subscriber's telephone set test system
JP3050893B2 (en) * 1990-05-11 2000-06-12 株式会社東芝 Network controller
JPH0575743A (en) * 1991-09-18 1993-03-26 Matsushita Electric Ind Co Ltd Automatic reporting device
JPH11187144A (en) * 1997-12-17 1999-07-09 Canon Inc Terminal adapter and communication device
JP4525379B2 (en) * 2005-02-23 2010-08-18 パナソニック株式会社 Reporting device
US8165271B2 (en) * 2007-08-03 2012-04-24 Broadcom Corporation Chattering line detection system and method

Also Published As

Publication number Publication date
JP2018056899A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
US8391277B2 (en) Interoperability of legacy alarm system
JP2002271399A (en) Telephone system and method for monitoring telephone connection
JP6475209B2 (en) Communication apparatus and communication control method
JP5597215B2 (en) Facsimile apparatus, control method thereof, and program
JP7115299B2 (en) Relay device and system switching method
JP4237226B2 (en) V. For modem connection in packet network. System and method for processing 8-bis signals
JP5218982B2 (en) Emergency call system and emergency call device
JP6597392B2 (en) Gateway device, communication processing program, and network system
JP6227161B1 (en) Communication adapter device, data communication system, and data communication method
JP6531518B2 (en) Communication apparatus, communication program, communication method and communication system
JP5451097B2 (en) Terminal network control device and data communication system
JP4892399B2 (en) Modem communication stabilization system and modem communication stabilization method
JP2010245941A (en) Gateway device, non-billing processing system, and non-billing processing method
JP2023117556A (en) PACKET LOSS DETECTION SYSTEM AND PACKET LOSS DETECTION METHOD
JP6623669B2 (en) Communication device, communication program, communication method, and communication system
KR20030046212A (en) Voice Over Internet Protocol gateway, method of processing system error for the same
JP6300146B2 (en) Communication control device and communication system
JP2982686B2 (en) Private branch exchange
KR101889075B1 (en) System and method for dualization call processing of direct inward dialing in internet telephony
KR101417648B1 (en) Call processing system and control method thereof
JP2005039470A (en) Security equipment
JP5604689B2 (en) Telephone terminal with automatic callback response function
KR20090123087A (en) RTP Packet Loss Recognition Method and Its System in MBE-based Communication Networks
JP2006333197A (en) Information apparatus, information transmission system and information transmitting method
JPH11263552A (en) Remote monitoring terminal device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181207

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: 20190108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190131

R150 Certificate of patent or registration of utility model

Ref document number: 6475209

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150