JP4624323B2 - IP communication relay device, network system, relay processing program, and relay method - Google Patents

IP communication relay device, network system, relay processing program, and relay method Download PDF

Info

Publication number
JP4624323B2
JP4624323B2 JP2006215894A JP2006215894A JP4624323B2 JP 4624323 B2 JP4624323 B2 JP 4624323B2 JP 2006215894 A JP2006215894 A JP 2006215894A JP 2006215894 A JP2006215894 A JP 2006215894A JP 4624323 B2 JP4624323 B2 JP 4624323B2
Authority
JP
Japan
Prior art keywords
communication
terminal device
unit
packet
communication terminal
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
JP2006215894A
Other languages
Japanese (ja)
Other versions
JP2008042648A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2006215894A priority Critical patent/JP4624323B2/en
Publication of JP2008042648A publication Critical patent/JP2008042648A/en
Application granted granted Critical
Publication of JP4624323B2 publication Critical patent/JP4624323B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、IP電話中継装置に関する。特に、IP電話中継装置と、その中継装置に接続された電話装置の間の回線で通信異常が発生したときに、通話相手に対して不快感のない通話終了処理を行なう中継装置に関する。   The present invention relates to an IP telephone relay device. More particularly, the present invention relates to a relay device that performs a call termination process without causing discomfort to a call partner when a communication abnormality occurs on a line between an IP telephone relay device and a telephone device connected to the relay device.

近年、ブロードバンド通信の普及に伴い、IP(Internet Protocol)網を利用し、家庭内にもネットワークを構築するケースが増えている。IP網とは、通信プロトコルとして、IPを利用するインターネットやLANなどの通信ネットワークである。   In recent years, with the spread of broadband communication, the number of cases where an IP (Internet Protocol) network is used and a network is built in a home is also increasing. The IP network is a communication network such as the Internet or LAN that uses IP as a communication protocol.

図8は、IP電話システムの一例を示した概略図である。
図8を参照して、一般的なIP電話システムについて説明する。このIP電話システム800は、IP網30を介して、IP電話装置82,84と、SIP(Session Initiation Protocol)サーバ80とが接続されることで構成されている。IP電話システムでは、通話に先立ってIP電話同士の接続を確立するため呼制御手順が必要となる。図8のIP電話システム800では、呼制御のためのプロトコルとしてSIPプロトコルを利用している。
FIG. 8 is a schematic diagram showing an example of an IP telephone system.
A general IP telephone system will be described with reference to FIG. The IP telephone system 800 is configured by connecting IP telephone apparatuses 82 and 84 and a SIP (Session Initiation Protocol) server 80 via an IP network 30. In the IP telephone system, a call control procedure is required to establish a connection between IP telephones prior to a call. In the IP telephone system 800 of FIG. 8, the SIP protocol is used as a protocol for call control.

図9は、IP電話システム800での基本的な処理を示したシーケンス図である。
図9を参照して、IP電話装置82からIP電話装置84へ発信を行ない、通話が確立され、その後、通話を終了するまでの一連の手順について説明する。
FIG. 9 is a sequence diagram showing basic processing in IP telephone system 800.
Referring to FIG. 9, a series of procedures from making a call from IP telephone apparatus 82 to IP telephone apparatus 84, establishing a call, and thereafter ending the call will be described.

まず、発信元となるIP電話装置82が、SIPサーバに対して接続要求メッセージ(INVITE)を送信する。この接続要求メッセージ(INVITE)は、発信先のIP電話装置84を指定するIP電話番号、またはURI(Uniform Resource Identifier)を含むデータパケットである。SIPサーバ80は、自身のデータベースからIP電話装置84のIPアドレスを調べて、この接続要求メッセージ(INVITE)をIP電話装置84へ送信する。また、IP電話装置82には、試行中メッセージ(Trying)が返送される。   First, the IP telephone device 82 as a transmission source transmits a connection request message (INVITE) to the SIP server. This connection request message (INVITE) is a data packet including an IP telephone number specifying a destination IP telephone device 84 or a URI (Uniform Resource Identifier). The SIP server 80 checks the IP address of the IP telephone device 84 from its own database, and transmits this connection request message (INVITE) to the IP telephone device 84. In addition, a message during trial (Trying) is returned to the IP telephone device 82.

IP電話装置84は、接続要求メッセージ(INVITE)を受け取ると、直ちに呼び出し音の鳴動などにより、着信をユーザに通知する。そして、呼び出し中メッセージ(Ringing)をSIPサーバ80に送信する。この呼び出し中メッセージ(Ringing)を、SIPサーバ80を介して、IP電話装置82に伝送される。   Upon receiving the connection request message (INVITE), the IP telephone device 84 immediately notifies the user of the incoming call by ringing a ringing tone or the like. Then, a calling message (Ringing) is transmitted to the SIP server 80. This ringing message (Ringing) is transmitted to the IP telephone device 82 via the SIP server 80.

この呼び出し状態において、IP電話装置84のユーザが、オフフック操作を行なえば、成功応答メッセージ(OK)が、SIPサーバ80を介してIP電話装置82へ伝送される。   In this calling state, if the user of the IP telephone device 84 performs an off-hook operation, a success response message (OK) is transmitted to the IP telephone device 82 via the SIP server 80.

成功応答メッセージ(OK)を受信したIP電話装置82は、最終応答メッセージ(ACK)を、SIPサーバ80を介してIP電話装置84に送信し、通話が確立される。以上で、電話をかける手順が終了する。   The IP telephone apparatus 82 that has received the success response message (OK) transmits a final response message (ACK) to the IP telephone apparatus 84 via the SIP server 80, and a call is established. This completes the procedure for making a call.

その後、IP電話装置82,84間において、互いに他方のIPアドレスを宛先とするデータパケットを送信することにより、通話が可能となる。なお、通話中は、RTP(Real-time Transport Protocol)プロトコルなどを利用する。   Thereafter, by transmitting data packets destined for the other IP address between the IP telephone devices 82 and 84, a call can be made. Note that the RTP (Real-time Transport Protocol) protocol or the like is used during a call.

通話中に、IP電話装置84において、オンフック操作が行なわれると、IP電話装置84は、終了要求メッセージ(BYE)を送信する。SIPサーバ80を介して終了要求メッセージ(BYE)を受け取ったIP電話装置82は、成功応答メッセージ(OK)を返送し、IP電話装置82,84間の通話が正常に終了する。   When an on-hook operation is performed in IP telephone device 84 during a call, IP telephone device 84 transmits an end request message (BYE). The IP telephone apparatus 82 that has received the end request message (BYE) via the SIP server 80 returns a success response message (OK), and the call between the IP telephone apparatuses 82 and 84 ends normally.

このような動作を行なうIP電話システムにおいて、IP網で異常が発生した時は、相手からの終了要求メッセージに対するやり取りができないため、通話を正常に終了することができない。これにより、IP網を利用した時間の管理が正確にできず、課金管理に不都合が生じるなどの問題があった。   In an IP telephone system that performs such an operation, when an abnormality occurs in the IP network, the call cannot be terminated normally because the end request message cannot be exchanged from the other party. As a result, there is a problem that time management using the IP network cannot be performed accurately and inconvenience occurs in billing management.

これらの問題を解決する手段として、特許文献1では、以下の方法が示されている。電話機間でIP網を介した通話が確立すると、発呼側の中継装置は着呼側の中継装置に対し、監視パケットを周期的に送信する。着呼側の中継装置は、発呼側の中継装置に応答パケットを送信する。この周期的なパケットのやり取りが、所定回数に達しなければ、IP網の異常を感知し、中継装置は監視装置に異常を通知する。監視装置は、公衆網を通じて電話機に終話処理を行なう。   As means for solving these problems, Patent Document 1 discloses the following method. When a call is established between the telephones via the IP network, the calling-side relay device periodically transmits a monitoring packet to the called-side relay device. The called relay device transmits a response packet to the calling relay device. If this periodic packet exchange does not reach the predetermined number of times, an abnormality in the IP network is detected, and the relay apparatus notifies the monitoring apparatus of the abnormality. The monitoring device performs call termination processing on the telephone through the public network.

また、別の解決手段として、特許文献2では、以下の方法が示されている。IP網を利用した通信システムにおいて、端末間の音声通信データを監視する中継装置がある。一定時間が経過しても端末の音声通信データが監視されないと、中継装置は、各端末に対して疎通試験を実施する。ここで、疎通異常が検出されると、中継装置は端末間の音声通信の終了処理を行なうよう、接続監視装置に通知する。
特開2002−271399号公報 特開2005−86337号公報
As another solution, Patent Document 2 discloses the following method. In a communication system using an IP network, there is a relay device that monitors voice communication data between terminals. If the voice communication data of the terminal is not monitored even after a certain time has elapsed, the relay apparatus performs a communication test on each terminal. Here, when a communication abnormality is detected, the relay apparatus notifies the connection monitoring apparatus to perform a voice communication end process between the terminals.
JP 2002-271399 A JP 2005-86337 A

特許文献1や特許文献2で示された方法は、通話中にIP網で異常が発生ときに、正常に終話処理を行なう方法である。   The methods disclosed in Patent Document 1 and Patent Document 2 are methods for normally performing a call termination process when an abnormality occurs in the IP network during a call.

しかしながら、これらの方法では、IP電話装置が、ホームゲートウェイなどの中継装置を介してIP網に接続されている場合であって、中継装置とIP電話との間の回線で、異常が発生したときに対応できない。また、これらの方法は、異常が発生した時に通話を終了させる方法であるため、突然の終話処理に、通話相手側に不快感を与えることもある。   However, in these methods, when the IP telephone apparatus is connected to the IP network via a relay apparatus such as a home gateway, and an abnormality occurs in the line between the relay apparatus and the IP telephone Cannot handle. In addition, since these methods are methods for terminating a call when an abnormality occurs, there is a case where the call partner side is uncomfortable during a sudden call termination process.

本発明は、上記のような問題を解決するためになされたものであって、その目的は、IP電話装置が中継装置を介してIP網に接続されている場合であって、中継装置とIP電話装置との通信において異常が発生したときに、発生した異常の内容に応じて、通話相手側に不快感を与えないように、所定の処理を行なう、IP電話中継装置、IP電話装置およびIP電話システムを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a case where an IP telephone apparatus is connected to an IP network via a relay apparatus. When an abnormality occurs in communication with the telephone device, an IP telephone relay device, an IP telephone device, and an IP phone that perform predetermined processing in accordance with the content of the abnormality that has occurred so as not to cause discomfort to the calling party To provide a telephone system.

本発明の1つの局面に従うと、接続された電話装置と通信パケットを送受信するための第1の通信部と、電話装置の通話先とIP網を介して、通信パケットを送受信するための第2の通信部と、電話装置と通話先との通話開始後、第1の通信部が電話装置からの通信パケットを正常に受信していないことを検出するための検出部と、検出部が、通信パケットを正常に受信していないことを検出した場合に、第1の通信部と第2の通信部とに対して、通話を維持した後に所定の制御をする通信制御部とを備えるIP電話中継装置を提供する。   According to one aspect of the present invention, a first communication unit for transmitting / receiving a communication packet to / from a connected telephone device, and a second for transmitting / receiving a communication packet via a call destination of the telephone device and an IP network. A communication unit, a detection unit for detecting that the first communication unit has not normally received a communication packet from the telephone device, and a detection unit that communicates IP telephone relay including a communication control unit that performs predetermined control after maintaining a call to the first communication unit and the second communication unit when it is detected that a packet is not normally received Providing equipment.

好ましくは、通信制御部は、通話先に対して、通話の終了処理を要求するように第2の通信部を制御するための終了処理手段と、通話先との通話を維持するように第2の通信部を制御するための通話維持手段とを含み、通信制御部は、電話装置と通話先との通話開始後、第2の通信部が、電話装置の指示に応じた終了処理手段の制御による、通話の終了処理をしていない場合であって、検出部が、通信パケットを第1の所定時間受信していないことを、通信パケットを正常に受信していないこととして検出したときは、通話維持手段によって、通話先との通話を維持する制御を行なう。   Preferably, the communication control unit includes a termination processing means for controlling the second communication unit so as to request the termination process of the call to the call destination, and a second so as to maintain the call with the call destination. A communication maintaining unit for controlling the communication unit, and the communication control unit controls the termination processing unit in response to an instruction from the telephone device after the second communication unit starts a call between the telephone device and the communication destination. , When the call termination process is not performed, and the detection unit detects that the communication packet has not been received for the first predetermined time as not having received the communication packet normally, Control is performed to maintain the call with the call destination by the call maintaining means.

好ましくは、通話維持手段は、ダミーの通信パケットを生成し、通信パケットに代わり、ダミーの通信パケットを第2の通信部を介して通話先へ送信することで通話を維持する。   Preferably, the call maintaining unit generates a dummy communication packet and maintains the call by transmitting the dummy communication packet to the call destination via the second communication unit instead of the communication packet.

好ましくは、IP電話中継装置は、音声データもしくは映像データの少なくとも一方が格納された記憶部をさらに備え、通話維持手段は、記憶部から読み込んだ、音声データもしくは映像データの少なくとも一方を含むパケットをダミーの通信パケットとして生成し、ダミーの通信パケットを第2の通信部を介して通話先へ送信することで通話を維持する。   Preferably, the IP telephone relay device further includes a storage unit storing at least one of audio data and video data, and the call maintaining unit reads a packet including at least one of the audio data and video data read from the storage unit. The communication is generated by generating a dummy communication packet and transmitting the dummy communication packet to the call destination via the second communication unit.

好ましくは、通信制御部は、電話装置と通話先との通話開始後、第2の通信部が、電話装置の指示に応じた終了処理手段の制御による、通話の終了処理をしていない場合であって、通話維持手段によって、第2の所定時間通話が維持されたと判断したときは、終了処理手段によって、通話先との通話の終了処理を行なう。   Preferably, the communication control unit is configured such that after the call between the telephone device and the call destination is started, the second communication unit is not performing a call termination process under the control of the termination processing means according to the instruction of the telephone device. If the call maintaining means determines that the call has been maintained for the second predetermined time, the end processing means performs a call end process with the call destination.

好ましくは、通信制御部は、通話維持手段によって、第2の所定時間通話が維持されたと判断したときは、i)前述の音声データもしくは映像データとは異なる、音声データもしくは映像データの少なくとも一方を含む代替パケットを生成し、通話先に対して、ダミーの通信パケットに代わり、代替パケットを送信するよう第2の通信部を制御し、ii)終了処理手段によって通話先との通話の終了処理を行なう。   Preferably, when the communication control unit determines that the call is maintained for the second predetermined time by the call maintaining means, i) at least one of the audio data or the video data different from the audio data or the video data described above. And the second communication unit is controlled to transmit the substitute packet instead of the dummy communication packet to the call destination, and ii) the end processing of the call with the call destination is performed by the end processing means. Do.

好ましくは、通信制御部は、通話維持手段によって、通話が維持されている場合であって、第1の通信部が電話装置から通信パケットを受信したと判断したときは、電話装置から受信した通信パケットを送信するように第2の通信部を制御する。   Preferably, the communication control unit is a case where the call is maintained by the call maintaining means, and when the first communication unit determines that the communication packet is received from the telephone device, the communication received from the telephone device The second communication unit is controlled to transmit the packet.

好ましくは、IP電話中継装置には、第1の通信部を介して通信する第1の電話装置および第2の電話装置が接続されており、通信制御部は、i)第1の電話装置の通話先に対して、通話維持手段によって、第3の所定時間通話が維持されたと判断したときは、第1の電話装置の通話先に対して、通話を維持するよう第2の通信部を制御し、ii)第2の電話装置に対して、着信音を鳴らす制御を行なうよう第1の通信部を制御し、iii)第1の通信部により第2の電話装置のオフフックが検出されたと判断した場合は、第2の電話装置からの通信パケットを第1の電話装置の通話先に対して送信し、第1の電話装置の通話先から受信した通信パケットを第2の電話装置に送信する。   Preferably, the IP telephone relay apparatus is connected to a first telephone apparatus and a second telephone apparatus that communicate via the first communication unit, and the communication control unit is configured to: i) the first telephone apparatus When the call maintaining means determines that the call has been maintained for the third predetermined time with respect to the call destination, the second communication unit is controlled to maintain the call with respect to the call destination of the first telephone device. And ii) controlling the first communication unit to control the second telephone device to ring, and iii) determining that the first communication unit has detected an off-hook of the second telephone device. If so, the communication packet from the second telephone device is transmitted to the destination of the first telephone device, and the communication packet received from the destination of the first telephone device is transmitted to the second telephone device. .

好ましくは、通信制御部は、検出部が、第1の通信部によって電話装置からのエラー通知が受信されたことを、通信パケットを正常に受信していないこととして検出したときは、電話装置に異常が発生したと判断する。   Preferably, when the detection unit detects that the error notification from the telephone device is received by the first communication unit as not receiving the communication packet normally, the communication control unit notifies the telephone device. Judge that an abnormality has occurred.

好ましくは、通信制御部は、検出部によって、電話装置に異常が発生したと判断した場合は、通話先に対して通話の終了処理を行なう。   Preferably, when the detection unit determines that an abnormality has occurred in the telephone device, the communication control unit performs a call termination process on the call destination.

好ましくは、通信制御部は、検出部によって、電話装置に異常が発生したと判断した場合は、通話を維持するよう制御する。   Preferably, when the detection unit determines that an abnormality has occurred in the telephone device, the communication control unit controls to maintain the call.

好ましくは、通信制御部は、検出部によって、通信パケットが正常に受信されていないことを検出した場合には、検出した内容に応じて、第1の通信部と第2の通信部とに対して、通話を維持させるか、通話を終了させるかの判断を行なう。   Preferably, when the detection unit detects that the communication packet is not normally received by the detection unit, the communication control unit determines whether the communication packet is transmitted to the first communication unit and the second communication unit. To determine whether to keep the call or end the call.

好ましくは、IP電話中継装置には、第1の通信部を介して通信する、電話装置とは異なる電子機器が接続されており、通信制御部は、通話が維持されていると判断した場合に、電話装置からの通信パケットを受信していないという情報を電子機器に通知するように第1の通信部を制御する。   Preferably, the IP telephone relay device is connected to an electronic device different from the telephone device that communicates via the first communication unit, and the communication control unit determines that the call is maintained. The first communication unit is controlled to notify the electronic device that the communication packet from the telephone device has not been received.

本発明の他の局面に従うと、IP電話中継装置に接続されたIP電話装置であって、通信データを圧縮・符号化するためのデータ変換部と、通信パケットを無線によってIP電話中継装置と通信するための無線通信部と、データ変換部と無線通信部とを制御するための制御部とを備え、制御部は、IP電話中継装置との無線通信の通信速度を、通信路の状況に応じて調整する速度調整手段を含み、速度調整手段によって調整した通信速度に応じた変換方式で、変換を行なうようにデータ変換部を制御する。   According to another aspect of the present invention, an IP telephone apparatus connected to an IP telephone relay apparatus, wherein a data conversion unit for compressing and encoding communication data, and communication packets communicate with the IP telephone relay apparatus wirelessly And a control unit for controlling the data conversion unit and the wireless communication unit. The control unit determines the communication speed of the wireless communication with the IP telephone relay device according to the state of the communication path. The data conversion unit is controlled to perform conversion by a conversion method according to the communication speed adjusted by the speed adjustment unit.

本発明のさらに他の局面に従うと、IP電話装置と、IP電話装置とは異なる電子機器とが接続されたIP電話中継装置とから構成されるIP電話システムであって、IP電話中継装置は、接続された電子機器とデータを送受信するための第1の通信手段と、IP網を介した通信をするための第2の通信手段と、電子機器およびIP電話装置の通信量の割り当てを調整するための通信量割り当て手段と、通信量の割り当てを、電子機器およびIP電話装置に通知するように第1の通信手段を制御するための制御手段を備え、IP電話装置は、通知された通信量の割り当てに応じた変換方式で、IP電話中継装置へ送信するデータを変換する手段を備える。   According to still another aspect of the present invention, there is provided an IP telephone system including an IP telephone apparatus and an IP telephone relay apparatus to which an electronic device different from the IP telephone apparatus is connected. The first communication unit for transmitting / receiving data to / from the connected electronic device, the second communication unit for communicating via the IP network, and the allocation of the communication amount of the electronic device and the IP telephone device are adjusted. And a control unit for controlling the first communication unit so as to notify the electronic device and the IP telephone device of the communication amount allocation, and the IP telephone device includes the notified communication amount. Means for converting data to be transmitted to the IP telephone relay device by a conversion method according to the allocation of the IP telephone.

本発明のさらに他の局面に従うと、接続された電話装置と電話装置の通話先とのIP網を介した通信を中継する中継処理をコンピュータに実行させるための中継処理プログラムであって、接続された電話装置と通信パケットを送受信するステップと、電話装置の通話先とIP網を介して、通信パケットを送受信するステップと、電話装置と通話先との通話開始後、電話装置からの通信パケットを正常に受信していないことを検出するステップと、通信パケットを正常に受信していないことを検出した場合に、通話を維持した後に所定の制御をするステップとを備える、中継処理をコンピュータに実行させるための中継処理プログラムを提供する。   According to still another aspect of the present invention, there is provided a relay processing program for causing a computer to execute relay processing for relaying communication between a connected telephone device and a telephone call destination of the telephone device via an IP network. Transmitting / receiving communication packets to / from the telephone device, transmitting / receiving communication packets via the IP network with the telephone device's call destination, and after starting communication between the telephone device and the call destination, The relay process is executed on the computer, comprising: detecting that the communication packet is not normally received; and performing a predetermined control after maintaining the call when the communication packet is not normally received. A relay processing program is provided.

本発明のさらに他の局面に従うと、上記中継処理プログラムを格納したコンピュータ読み取り可能な記録媒体を提供する。   According to still another aspect of the present invention, a computer-readable recording medium storing the relay processing program is provided.

本発明によれば、通話の中継装置とIP電話との通信において異常が発生したときに、通話を維持することができる。これにより、突然通話を終了することを防ぐため、通話相手側に不快感を与えないようにできる。   According to the present invention, a call can be maintained when an abnormality occurs in communication between the call relay device and the IP phone. Thereby, in order to prevent sudden termination of the call, it is possible to prevent the call partner from being uncomfortable.

以下、図面を参照しつつ本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについては詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

[実施の形態1]
図1は、実施の形態1におけるIP電話システム100を示した概略図である。
[Embodiment 1]
FIG. 1 is a schematic diagram showing IP telephone system 100 according to the first embodiment.

図1を参照して、IP電話システム100について説明する。IP電話システム100では、呼制御のためのプロトコルとしてSIPプロトコルを利用している。このIP電話システム100は、IP網30を介して、中継装置10に接続されたIP電話装置40と、IP電話装置40の通話先となるIP電話装置50と、SIPサーバ20とが接続されることで構成されている。   The IP telephone system 100 will be described with reference to FIG. The IP telephone system 100 uses the SIP protocol as a protocol for call control. In this IP telephone system 100, an IP telephone apparatus 40 connected to the relay apparatus 10, an IP telephone apparatus 50 that is a call destination of the IP telephone apparatus 40, and the SIP server 20 are connected via the IP network 30. It is composed of that.

IP電話装置40,50は、UA(User Agent)と呼ばれるユーザ端末である。いずれも、IP網30に対し、クライアント(UAC:User Agent Client)として要求メッセージを送信するとともに、サーバ(UAS:User Agent Server)として応答メッセージを送信することができる。すなわち、IP電話装置40,50は、IPパケットが送受信できるデジタル通信端末であり、それ自体が独立した電話機である場合のみならず、アナログ電話機が接続されたVoIP(Voice over IP)ゲートウェイであってもよいし、音声入出力が可能なPC(Personal Computer)などであってもよい。また、IP電話装置40に関しては、中継装置10がVoIPゲートウェイの機能を持っていれば、IP電話装置ではなく、アナログ電話装置であってもよい。   IP telephone devices 40 and 50 are user terminals called UA (User Agent). In either case, a request message can be transmitted as a client (UAC: User Agent Client) to the IP network 30 and a response message can be transmitted as a server (UAS: User Agent Server). That is, the IP telephone devices 40 and 50 are digital communication terminals capable of transmitting and receiving IP packets, and are not only cases where they are independent telephones themselves, but also VoIP (Voice over IP) gateways to which analog telephones are connected. Alternatively, a PC (Personal Computer) capable of voice input / output may be used. As for the IP telephone device 40, an analog telephone device may be used instead of the IP telephone device as long as the relay device 10 has a VoIP gateway function.

SIPサーバ20は、IP電話装置40,50間で送受信されるSIPメッセージを中継する装置である。なお、IP電話装置40のSIPメッセージは、中継装置10を介して、SIPサーバ20へ送信される。SIPサーバ20は、IP電話装置40,50間で呼接続制御が行なわれる際、要求メッセージをUASに、応答メッセージをUACに中継している。通話が確立された後は、IP電話装置40,50間で通信データパケットの送受信が行なわれる。なお、実際のネットワークでは、同一のSIPサーバを介して呼接続制御が行なわれることはまれであるが、本実施の形態では、例として、SIPサーバ20を介して行なわれているとしている。   The SIP server 20 is a device that relays SIP messages transmitted and received between the IP telephone devices 40 and 50. Note that the SIP message of the IP telephone device 40 is transmitted to the SIP server 20 via the relay device 10. The SIP server 20 relays a request message to the UAS and a response message to the UAC when call connection control is performed between the IP telephone devices 40 and 50. After the call is established, communication data packets are transmitted / received between the IP telephone devices 40 and 50. In an actual network, call connection control is rarely performed through the same SIP server, but in the present embodiment, it is performed through the SIP server 20 as an example.

中継装置10は、IP電話装置40からのSIPメッセージをSIPサーバ20へ、IP電話装置40からの通信データパケットを、IP網30を介してIP電話装置40の通話先であるIP電話装置等へ送信する。また、SIPサーバ20からのSIPメッセージおよびIP網30を介して受信した通信データパケットをIP電話装置40へ送信する。   The relay apparatus 10 sends the SIP message from the IP telephone apparatus 40 to the SIP server 20 and the communication data packet from the IP telephone apparatus 40 to the IP telephone apparatus or the like that is the destination of the IP telephone apparatus 40 via the IP network 30. Send. Further, the SIP message from the SIP server 20 and the communication data packet received via the IP network 30 are transmitted to the IP telephone device 40.

図2は、中継装置10の機能ブロック図である。
図2を参照して、本発明である中継装置10について説明する。
FIG. 2 is a functional block diagram of the relay device 10.
With reference to FIG. 2, the relay apparatus 10 which is this invention is demonstrated.

中継装置10は、制御部200と、制御部200に制御されるWAN(Wide Area Network)側IP通信制御部210と、LAN側IP通信制御部220と、データ制御部240と、表示制御部250と、音制御部260とを主要部として構成されている。   The relay apparatus 10 includes a control unit 200, a WAN (Wide Area Network) side IP communication control unit 210, a LAN side IP communication control unit 220, a data control unit 240, and a display control unit 250 controlled by the control unit 200. And the sound control part 260 is comprised as a main part.

WAN側IP通信制御部210は、WAN側IP通信インタフェース部212からADSL(Asynchronous Digital Subscriber Line)モデムやひかり接続のためのONU(Optical Network Unit)を経由してIP網に接続されている。なお、WAN側IP通信制御部210では、WAN側IP通信インタフェース部212を介して、SIPパケットや、音声映像パケットの送受信が行なわれる。   The WAN side IP communication control unit 210 is connected to the IP network from the WAN side IP communication interface unit 212 via an ADSL (Asynchronous Digital Subscriber Line) modem and an ONU (Optical Network Unit) for Hikari connection. Note that the WAN side IP communication control unit 210 transmits and receives SIP packets and audio / video packets via the WAN side IP communication interface unit 212.

LAN側IP通信制御部220は、LAN側IP通信インタフェース部222を介して、LAN側に設置されたIP電話装置40との通信を制御する。IP電話装置40から受け取ったパケットは、制御部200を介して、WAN側IP通信制御部210へ送られる。   The LAN side IP communication control unit 220 controls communication with the IP telephone device 40 installed on the LAN side via the LAN side IP communication interface unit 222. The packet received from the IP telephone device 40 is sent to the WAN side IP communication control unit 210 via the control unit 200.

呼情報判断部202は、SIPサーバ20からの接続要求メッセージを受信する等により着信を検出する。   The call information determination unit 202 detects an incoming call by receiving a connection request message from the SIP server 20 or the like.

制御部200は、中継装置10全体の制御を行なっている。制御部200は、呼制御するためのSIPメッセージを生成する。また、WAN側IP通信制御部210やLAN側IP通信制御部220から音声映像パケットを受信すれば、これらのパケットをシーケンス番号から、パケット抜けを確認する。LAN側IP通信制御部220からのパケットに抜けを確認すれば、回線や電話装置に異常が発生したと判断する。異常の内容によって、通話を維持するか、終了するかの処理を行なう。詳細については後述する。   The control unit 200 controls the entire relay device 10. The control unit 200 generates a SIP message for call control. If an audio / video packet is received from the WAN-side IP communication control unit 210 or the LAN-side IP communication control unit 220, the packet missing is confirmed from the sequence number of these packets. If it is confirmed that the packet from the LAN-side IP communication control unit 220 is missing, it is determined that an abnormality has occurred in the line or telephone device. Depending on the content of the anomaly, processing is performed to maintain or end the call. Details will be described later.

データ制御部240は、メモリ242に格納されている代替音声や映像データにアクセスする。これらの制御は、制御部200からの指示によって実行される。   The data control unit 240 accesses alternative audio and video data stored in the memory 242. These controls are executed according to instructions from the control unit 200.

表示部252、および音出力部262は、ユーザに対し、中継装置10に関するさまざまな情報を表示、および通知する。それぞれ、表示制御部250、音出力部262によって制御される。   The display unit 252 and the sound output unit 262 display and notify various information regarding the relay device 10 to the user. These are controlled by the display control unit 250 and the sound output unit 262, respectively.

なお、IP電話装置10は、アナログ通信できる機能を備えていてもよい。この場合、制御部200は、アナログ電話からの音声信号をデジタル化する処理、および音声データをアナログ化する処理を行なう。   The IP telephone device 10 may have a function capable of analog communication. In this case, the control unit 200 performs processing for digitizing a voice signal from an analog telephone and processing for converting voice data into analog.

図3は、IP電話装置40とIP電話装置50との通話中の処理を示すシーケンス図である。図3(A)は、IP電話装置40と中継装置10との間の回線に異常が発生した時の処理を示し、図3(B)は、IP電話装置40に異常が発生した時の処理を示している。   FIG. 3 is a sequence diagram showing processing during a call between IP telephone apparatus 40 and IP telephone apparatus 50. 3A shows processing when an abnormality occurs in the line between the IP telephone device 40 and the relay device 10, and FIG. 3B shows processing when abnormality occurs in the IP telephone device 40. Is shown.

図3(A)を参照して、IP電話装置40と中継装置10との間の回線で異常が発生した時の、本発明に係る中継装置10が行なう処理について説明する。図3(B)については、実施の形態1の変形例で説明する。   With reference to FIG. 3A, processing performed by the relay device 10 according to the present invention when an abnormality occurs in the line between the IP telephone device 40 and the relay device 10 will be described. FIG. 3B will be described in a modification of the first embodiment.

本実施の形態では、中継装置10は、IP電話装置40と中継装置10との間の回線で異常が発生したときに、通話を維持し、回線の異常が復旧した場合には、ふたたび通話を再開する処理を行なう。なお、ここでいう「回線異常」とは、IP電話装置40と中継装置10との通信状態の悪化などで通話に障害が発生したことをいう。たとえば、IP電話装置40と中継装置10との間の通信のためのケーブルが抜けた場合がある。また、IP電話装置40と中継装置10が無線通信できる場合には、IP電話装置40が中継装置10と通信可能な圏内から出てしまったときなどが考えられる。これらの場合は、一時的に通信が困難になるが、ケーブルを接続しなおす、または、通信可能圏内に戻る等により通信を再開することが可能である。   In the present embodiment, the relay device 10 maintains the call when an abnormality occurs on the line between the IP telephone device 40 and the relay device 10, and calls again when the line abnormality is recovered. Perform the process to resume. Here, “line abnormality” means that a failure has occurred in a call due to deterioration of the communication state between the IP telephone device 40 and the relay device 10. For example, a cable for communication between the IP telephone device 40 and the relay device 10 may be disconnected. In addition, when the IP telephone device 40 and the relay device 10 can perform wireless communication, it may be considered that the IP telephone device 40 has left the area where communication with the relay device 10 is possible. In these cases, communication temporarily becomes difficult, but communication can be resumed by reconnecting the cable or returning to a communicable area.

なお、本実施の形態では、通話中は、音声映像信号データがRTPパケットに詰め込まれ、IP電話装置間でやり取りされている。IP電話装置40,50および中継装置10は、RTPパケットの受信により、通話が維持されていると判断している。なお、通話継続の確認は、中継装置と相手側電話装置間、または中継装置とSIPサーバ間において、パケットを送出、応答することで通話を確認するセッションタイマー機能によって行なってもよい。   In the present embodiment, audio / video signal data is packed into RTP packets and exchanged between IP telephone apparatuses during a call. IP telephone devices 40 and 50 and relay device 10 determine that the call is maintained by receiving the RTP packet. Confirmation of call continuation may be performed by a session timer function for confirming a call by sending and responding to a packet between the relay device and the other party telephone device or between the relay device and the SIP server.

図3(A)において、IP電話装置40からのRTPパケットは、中継装置10を介してIP電話装置50へ送信される。ここで、IP電話装置40と中継装置10との間の回線で異常が発生する(S10)。中継装置10の制御部200は、LAN側IP通信制御部220から一定時間たってもRTPパケットを受信しなければ、制御部200は、IP電話装置40と中継装置10との回線において異常が発生したと判断する。なお、RTPパケットのシーケンス番号によって、パケット抜けを確認し、そのパケットが一定時間たっても送られてこなければ異常が発生したと判断してもよいし、ハードウェア的に異常を検知し、それを上位のアプリに通知することで異常が発生したと判断してもよい。   In FIG. 3A, the RTP packet from the IP telephone device 40 is transmitted to the IP telephone device 50 via the relay device 10. Here, an abnormality occurs in the line between the IP telephone device 40 and the relay device 10 (S10). If the control unit 200 of the relay device 10 does not receive an RTP packet from the LAN side IP communication control unit 220 even after a predetermined time, the control unit 200 has an abnormality in the line between the IP telephone device 40 and the relay device 10. Judge. It should be noted that the missing packet is confirmed by the sequence number of the RTP packet, and if the packet has not been sent even after a certain period of time, it may be determined that an abnormality has occurred. It may be determined that an abnormality has occurred by notifying a higher-level application.

異常が発生したと判断した中継装置10は、IP電話装置50との通話を維持するための制御を行なう。まず、制御部200で、ダミーのRTPパケットが生成される。そして、WAN側通信制御部210は、IP電話装置40からのRTPパケットの代わりに、IP電話装置50に送信する(S12)。なお、ダミーのRTPパケットを送信する際は、直前のRTPパケットのシーケンス番号を考慮する。これにより、異常から復旧したときに、直前のシーケンス番号を考慮した番号を割り振ることで、通話を再開することができる。   The relay device 10 that has determined that an abnormality has occurred performs control for maintaining a call with the IP telephone device 50. First, the control unit 200 generates a dummy RTP packet. Then, the WAN side communication control unit 210 transmits to the IP telephone apparatus 50 instead of the RTP packet from the IP telephone apparatus 40 (S12). When transmitting a dummy RTP packet, the sequence number of the immediately preceding RTP packet is taken into consideration. Thereby, when recovering from an abnormality, a call can be resumed by assigning a number that takes into consideration the immediately preceding sequence number.

ダミーのRTPパケットとしては、たとえば、無音の音声RTPパケットや、真黒映像のRTPパケットなどを送信する。また、「家庭内ネットワーク中に障害が発生しました」など、異常が発生したことを通話先に通知するような音声や映像をパケット化して送信してもよい。これらの代替音声や映像は、メモリ242に格納されており、制御部200は、メモリ242から音声映像データを取得するようにデータ制御部240に指示する。なお、この代替音声や映像は、製造時に予め設定されていてもよいし、ユーザが設定してもよい。たとえば、PCなどをLAN側IP通信制御部220に接続し、ユーザは、PCを介して、どのような音声、映像を流すかなどを設定する。   As the dummy RTP packet, for example, a silent audio RTP packet or a true black video RTP packet is transmitted. Also, voice or video that notifies the call destination that an abnormality has occurred, such as “a fault has occurred in the home network”, may be packetized and transmitted. These alternative audio and video are stored in the memory 242, and the control unit 200 instructs the data control unit 240 to acquire audio / video data from the memory 242. Note that the alternative sound and video may be set in advance at the time of manufacture or may be set by the user. For example, a PC or the like is connected to the LAN-side IP communication control unit 220, and the user sets what kind of audio and video is to be played through the PC.

IP電話装置50は、中継装置10からのダミーのRTPパケットを受信していることから回線異常が発生していることを判断することなくRTPパケットを送信し続ける(S13,S14,S15)。制御部200は、IP電話装置40からのRTPパケットを受信していないと判断している間は、ダミーのRTPパケットを送信し続ける。   The IP telephone device 50 continues to transmit the RTP packet without determining that a line abnormality has occurred because the dummy RTP packet is received from the relay device 10 (S13, S14, S15). While determining that the RTP packet from IP telephone apparatus 40 has not been received, control unit 200 continues to transmit a dummy RTP packet.

IP電話装置40と中継装置10との通信が可能になると、中継装置10は、IP電話装置40からのRTPパケットを受信する(S16)。制御部200は、IP電話装置40に対して、これまでに通話を維持するために送信していたダミーのRTPパケットのシーケンス番号などを通知する(S18)。これにより、ダミーのRTPパケットを送信することをやめ、ふたたび、IP電話装置40からのRTPパケットを送信するようにWAN側通信制御部210を制御する。   When communication between IP telephone apparatus 40 and relay apparatus 10 becomes possible, relay apparatus 10 receives the RTP packet from IP telephone apparatus 40 (S16). The control unit 200 notifies the IP telephone device 40 of the sequence number of the dummy RTP packet that has been transmitted so far to maintain the call (S18). As a result, transmission of the dummy RTP packet is stopped, and the WAN-side communication control unit 210 is controlled to transmit the RTP packet from the IP telephone device 40 again.

なお、RTPパケットの送受信の際、中継装置10において、常にRTPパケットのシーケンス番号を付け直すようにしてもよい。この場合は、S12およびS18でダミーのRTPパケットを送信する直前のRTPパケットのシーケンス番号を考慮する必要はない。   Note that when the RTP packet is transmitted / received, the relay apparatus 10 may always renumber the sequence number of the RTP packet. In this case, it is not necessary to consider the sequence number of the RTP packet immediately before transmitting the dummy RTP packet in S12 and S18.

また、本実施の形態では、中継装置が、一定時間パケットを受信しないことにより回線の異常を判断したが、他の方法で判断してもよい。たとえば、IP電話装置との通信するための通信ケーブルが抜けた場合は、通信デバイスにてケーブルが接続されていないことを検出することにより異常を判断することができる。また、IP電話端末が中継装置と無線可能な圏内から出てしまった場合は、無線デバイスからの電波強度によって異常を判断することができる。   In the present embodiment, the relay apparatus determines a line abnormality by not receiving a packet for a certain period of time. However, it may be determined by another method. For example, when a communication cable for communication with the IP telephone apparatus is disconnected, an abnormality can be determined by detecting that the cable is not connected by the communication device. Also, when the IP telephone terminal leaves the area where it can wirelessly communicate with the relay device, an abnormality can be determined based on the radio wave intensity from the wireless device.

以上で説明したような処理を行なうことで、中継装置10は、IP電話装置40と中継装置10との間の回線で異常が発生しても、通話を維持することができる。また、異常が復旧した時には、通話を再開することができる。   By performing the processing as described above, the relay device 10 can maintain a call even if an abnormality occurs on the line between the IP telephone device 40 and the relay device 10. In addition, when the abnormality is recovered, the call can be resumed.

したがって、通話が突然切断されることにより通話相手に不快感を与えることを防ぐことができる。   Therefore, it is possible to prevent the call partner from being uncomfortable due to the sudden disconnection of the call.

[実施の形態1の変形例]
以下、実施の形態1の変形例について説明する。本実施の形態では、中継装置10は、IP電話システム100において、IP電話装置40に発生した異常を検知することができる。中継装置10は、異常が一定時間続くと、通話を終了する処理を行なう。
[Modification of Embodiment 1]
Hereinafter, modifications of the first embodiment will be described. In the present embodiment, relay device 10 can detect an abnormality occurring in IP telephone device 40 in IP telephone system 100. The relay device 10 performs a process of terminating the call when the abnormality continues for a certain time.

なお、ここでの「装置異常」とは、中継装置10とIP電話装置40との通信は確立されているが、IP電話装置40にソフトウェア的な障害が発生したり、IP電話装置40のバッテリーが低下したりしたことによって、通話が困難な状態になった場合などを言う。このような異常は、IP電話装置40からのエラーを通知する通知コマンドを受信することで検出することができる。   Here, “device abnormality” means that communication between the relay device 10 and the IP telephone device 40 is established, but a software failure occurs in the IP telephone device 40 or the battery of the IP telephone device 40 This is a case where it becomes difficult to make a call due to a drop in the voice. Such an abnormality can be detected by receiving a notification command for notifying an error from the IP telephone device 40.

図3(B)は、IP電話装置40に異常が発生した時の処理を示している。
図3(B)を参照して、IP電話装置40に異常が発生した時の、本発明に係る中継装置10が行なう処理について説明する。通話中は、IP電話装置40は、中継装置10を介してIP電話装置50と、音声映像データの詰め込まれたRTPパケットの送受信を行なっている。
FIG. 3B shows processing when an abnormality occurs in the IP telephone device 40.
With reference to FIG. 3 (B), processing performed by the relay device 10 according to the present invention when an abnormality occurs in the IP telephone device 40 will be described. During a call, the IP telephone device 40 transmits / receives an RTP packet packed with audio-video data to / from the IP telephone device 50 via the relay device 10.

通話中に、IP電話装置40で異常が発生する(S20)。IP電話装置40は中継装置10に対して、エラーを通知する通知コマンドを送信する(S21)。中継装置10の制御部200は、通知コマンドによって、IP電話装置40に異常が発生したと判断し、通話を終了するため、終了要求メッセージ(BYE)を生成する。WAN側IP通信制御部210は、SIPサーバ20に送信する(S22)。SIPサーバ20は、終了要求メッセージ(BYE)をIP電話装置50に送信する。IP電話装置50は、終了要求メッセージ(BYE)により、送りつづけていたRTPパケットの送信を止め、成功応答メッセージ(OK)を送信する(S23)。中継装置10は、SIPサーバ20を介して、IP電話装置50からの成功応答メッセージ(OK)を受け取り、通話終了処理が完了する。   During a call, an abnormality occurs in the IP telephone device 40 (S20). The IP telephone device 40 transmits a notification command for notifying an error to the relay device 10 (S21). The control unit 200 of the relay device 10 determines that an abnormality has occurred in the IP telephone device 40 based on the notification command, and generates an end request message (BYE) to end the call. The WAN-side IP communication control unit 210 transmits to the SIP server 20 (S22). The SIP server 20 transmits an end request message (BYE) to the IP telephone device 50. The IP telephone device 50 stops sending the RTP packet that has been sent by the end request message (BYE), and sends a success response message (OK) (S23). The relay device 10 receives the success response message (OK) from the IP telephone device 50 via the SIP server 20, and the call termination process is completed.

本実施の形態では、IP電話装置40の異常を検出すると、通話を終了する処理を行なったが、実施の形態1で説明したように、ダミーのRTPパケットにより、通話を一定時間、維持し、維持している間に、再びIP電話装置40との通信が可能になれば、中継装置10は、通話を再開させることも実施の形態1で説明したのと同様の処理により、可能である。   In the present embodiment, when an abnormality is detected in the IP telephone device 40, a process for terminating the call is performed. As described in the first embodiment, the call is maintained for a certain period of time by using a dummy RTP packet. If the communication with the IP telephone device 40 becomes possible again during the maintenance, the relay device 10 can resume the call by the same processing as described in the first embodiment.

また、制御部200は、コマンドによる通知や、パケット抜けなどから、IP電話装置と中継装置との間の回線の異常か、IP電話装置に発生した異常か、さらにその異常の要因を判断することができる。その内容によって、通話を終了するか、維持するかを判断する。どのような異常内容で通話を終了するか、維持するかの制御は、予め、中継装置を製造する時に設定されていてもよいし、上記で代替音声の設定を説明したのと同様に、ユーザが設定してもよい。   Further, the control unit 200 determines whether the line between the IP telephone apparatus and the relay apparatus is abnormal, an abnormality that has occurred in the IP telephone apparatus, and the cause of the abnormality based on a command notification or a packet dropout. Can do. It is determined whether to end or maintain the call depending on the content. Control of what kind of abnormal content is used to end or maintain a call may be set in advance when the relay device is manufactured, and the user may set the alternative voice as described above. May be set.

このように、中継装置10は、パケットを正常に受信していないことを検出した場合に、常に通話を維持する必要はない。異常内容に応じて、通話を維持させるか、終了させるかの制御を行なうことも可能である。   As described above, when the relay apparatus 10 detects that the packet is not normally received, it is not always necessary to maintain the call. It is also possible to control whether the call is maintained or terminated depending on the content of the abnormality.

また、実施の形態1において、中継装置10は、実施の形態1の変形例で行なった通話終了処理を、ダミーのRTPパケットを一定時間送信した後に行なうこともできる。制御部200は、一定時間ダミーのRTPパケットを送信したと判断すれば、終了要求メッセージ(BYE)をSIPサーバに送信する。ダミーのRTPパケットを送信する時間は、製造時に設定されていてもよいし、ユーザが設定してもよい。さらに、通話終了処理を行なう前に、これまで送信していたダミーのRTPパケットに代わって、通話相手に通話を終了する旨を通知するメッセージを送信してもよい。たとえば、「障害が復旧できないため通話を終了します」等のメッセージを送信する。   In the first embodiment, the relay device 10 can also perform the call termination process performed in the modified example of the first embodiment after transmitting a dummy RTP packet for a certain period of time. When determining that the dummy RTP packet has been transmitted for a certain period of time, the control unit 200 transmits an end request message (BYE) to the SIP server. The time for transmitting the dummy RTP packet may be set at the time of manufacture or may be set by the user. Furthermore, before performing the call termination process, a message notifying the call partner of the termination of the call may be transmitted instead of the dummy RTP packet that has been transmitted so far. For example, a message such as “The call will be terminated because the failure cannot be recovered” is transmitted.

以上で説明したように、中継装置10は、IP電話装置40で発生した異常を検出する。これにより、通話ができない理由を通話相手に知らせることができる。   As described above, the relay device 10 detects an abnormality that has occurred in the IP telephone device 40. Thereby, it is possible to notify the other party of the reason why the call cannot be made.

また、中継装置10は、IP電話装置40、または、IP電話装置40と中継装置10との回線間の異常を検出したことをうけて、一定時間経過後に通話を終了する処理を行なう。これにより、通信料に対する課金が増大することを防ぐことができる。   Further, the relay device 10 performs a process of terminating the call after a predetermined time has elapsed in response to detecting an abnormality between the IP telephone device 40 or the line between the IP telephone device 40 and the relay device 10. This can prevent an increase in billing for communication charges.

また、中継装置10は、IP電話装置40、または、IP電話装置40と中継装置10との回線間の異常を検出したことをうけて、通話を終了する処理を行なう前に、IP電話装置50に音声映像パケットを送信する。これにより、通話相手に通話を終了する理由を通知して、不快感を与えることなく通話を終了することができる。   Further, the relay device 10 receives the IP telephone device 40 or the abnormality between the lines of the IP telephone device 40 and the relay device 10 and then performs the process of terminating the call before the IP telephone device 50. Send audio / video packets to Thereby, the reason for ending the call can be notified to the call partner, and the call can be ended without causing discomfort.

また、中継装置10は、IP電話装置40の異常を検出したことをうけて、通話を維持する処理を行なうことができる。これにより、短時間の通話不能状態でも通話が終了しない。したがって、再度、電話をかけなおす手間を省くことができる。   In addition, the relay device 10 can perform a process of maintaining a call in response to detecting the abnormality of the IP telephone device 40. As a result, the call does not end even when the call cannot be made for a short time. Therefore, it is possible to save the trouble of making another call.

また、中継装置10は、IP電話装置40と中継装置10との間の回線の異常であるか、IP電話装置40の異常であるかに応じて、通話を維持するか、終了するかを判断する。これにより、ユーザの利用状況に応じた処理を行なうことができる。   Also, the relay device 10 determines whether to maintain or end the call depending on whether the line between the IP telephone device 40 and the relay device 10 is abnormal or the IP telephone device 40 is abnormal. To do. Thereby, the process according to a user's utilization condition can be performed.

[実施の形態2]
図4は、実施の形態2におけるIP電話システム400を示した概略図である。
[Embodiment 2]
FIG. 4 is a schematic diagram showing IP telephone system 400 in the second embodiment.

図4を参照して、IP電話システム400について説明する。IP電話システム400は、IP電話システム100の中継装置10に代わって、中継装置12がIP網30に接続されている。中継装置12は、IP電話装置60と無線通信する。これら以外の構成は、IP電話システム100と同じである。ここでは、IP電話装置50と60間で通話しているとする。   The IP telephone system 400 will be described with reference to FIG. In the IP telephone system 400, the relay apparatus 12 is connected to the IP network 30 in place of the relay apparatus 10 of the IP telephone system 100. Relay device 12 communicates wirelessly with IP telephone device 60. Other configurations are the same as those of the IP telephone system 100. Here, it is assumed that a call is made between IP telephone devices 50 and 60.

図5は、中継装置12の機能ブロック図である。
図5を参照して、中継装置12の機能について説明する。中継装置12は、中継装置10の構成要素に加えて、無線LAN側IP通信制御部224を備える。無線LAN側IP通信制御部224は、無線LAN側IP通信インタフェース部226を介して、LAN側に設置されている機器との無線通信を制御する。本実施の形態では、IP電話装置60と無線LAN通信する。
FIG. 5 is a functional block diagram of the relay device 12.
The function of the relay device 12 will be described with reference to FIG. The relay device 12 includes a wireless LAN side IP communication control unit 224 in addition to the components of the relay device 10. The wireless LAN side IP communication control unit 224 controls wireless communication with a device installed on the LAN side via the wireless LAN side IP communication interface unit 226. In the present embodiment, wireless LAN communication is performed with IP telephone device 60.

図6は、IP電話装置60の機能ブロック図である。
図6を参照して、IP電話装置60の機能について説明する。IP電話装置60は、IPパケットの通信ができるデジタル通信端末である。IP電話装置60は、制御部600と、制御部600に制御される無線LAN側IP通信制御部630と、キー操作部650と、表示制御部660と、音制御部670とを主要部として構成されている。
FIG. 6 is a functional block diagram of IP telephone device 60.
With reference to FIG. 6, the function of IP telephone apparatus 60 will be described. The IP telephone device 60 is a digital communication terminal capable of IP packet communication. The IP telephone apparatus 60 includes a control unit 600, a wireless LAN side IP communication control unit 630 controlled by the control unit 600, a key operation unit 650, a display control unit 660, and a sound control unit 670 as main units. Has been.

無線LAN側IP通信制御部630は、無線LAN側IP通信インタフェース部632を介して、LAN側に設置された中継装置12との無線通信を制御する。たとえば、無線LAN側IP通信制御部630は、電波強度などに応じて、無線LANの通信速度を調整する。   The wireless LAN side IP communication control unit 630 controls wireless communication with the relay device 12 installed on the LAN side via the wireless LAN side IP communication interface unit 632. For example, the wireless LAN side IP communication control unit 630 adjusts the communication speed of the wireless LAN according to the radio wave intensity and the like.

データ制御部640は、メモリ642に格納されているデータにアクセスする。これらの制御は、制御部600からの指示によって実行される。   The data control unit 640 accesses data stored in the memory 642. These controls are executed according to instructions from the control unit 600.

キー操作部650は、ユーザがダイヤル操作や各種設定などを行なうための操作部である。   The key operation unit 650 is an operation unit for the user to perform dial operations and various settings.

表示制御部660は、映像データ変換部661によって変換された、受信映像データを表示するように表示部662を制御する。また、中継装置12に関する様々な情報を表示するよう制御する。   The display control unit 660 controls the display unit 662 to display the received video data converted by the video data conversion unit 661. Moreover, it controls so that various information regarding the relay apparatus 12 is displayed.

音制御部670は、音入出力部672を介して与えられたハンドセット674からのアナログ音声を音データ変換部671によってデジタル化し、音データを制御部600に与える。また、制御部600から与えられたデジタルの受話音声を音データ変換部671によってアナログ化し、音入出力部672を介して、音声をハンドセット674に与える。   The sound control unit 670 digitizes the analog voice from the handset 674 given through the sound input / output unit 672 by the sound data conversion unit 671 and gives the sound data to the control unit 600. In addition, the digital reception voice given from the control unit 600 is converted into an analog signal by the sound data conversion unit 671, and the voice is given to the handset 674 via the sound input / output unit 672.

また、音データ変換部671は、制御部600からの指示にしたがった圧縮伸張方式をとる。制御部600は、無線LAN側IP通信制御部630から、中継装置12との通信の速度を取得する。制御部600は、通信速度の変化に従った圧縮伸張方式の切り替えを行なうよう、音データ変換部671に指示する。   The sound data conversion unit 671 adopts a compression / decompression method according to an instruction from the control unit 600. The control unit 600 acquires the speed of communication with the relay device 12 from the wireless LAN side IP communication control unit 630. The control unit 600 instructs the sound data conversion unit 671 to switch the compression / decompression method according to the change in the communication speed.

たとえば、音データ変換部671が、64Kbpsで音声データを伝送するG.711で圧縮しているとする。無線LAN側IP通信制御部630は、通信相手との電波状況などによって、安定して通信できる最速の通信速度を設定する。設定した通信速度が下がった場合は、制御部600は、たとえば、8Kbpsで伝送するG.729に圧縮方式を切り替えるように音データ変換部671に指示する。音データ変換部671は、制御部600からの指示により、G.729に圧縮方式を切り替える。   For example, the sound data conversion unit 671 transmits the audio data at 64 Kbps. It is assumed that the data is compressed at 711. The wireless LAN side IP communication control unit 630 sets the fastest communication speed at which stable communication is possible depending on the radio wave condition with the communication partner. When the set communication speed decreases, the control unit 600, for example, transmits the G.G. 729 to instruct the sound data conversion unit 671 to switch the compression method. In response to an instruction from the control unit 600, the sound data conversion unit 671 The compression method is switched to 729.

呼情報判断部602は、中継装置10からのメッセージを受けて着信を検出する。着信を検出すれば、制御部600に通知する。制御部600は、音や表示によって、ユーザに着信を知らせるように音制御部670および表示制御部660に指示する。   The call information determination unit 602 receives a message from the relay device 10 and detects an incoming call. If an incoming call is detected, the control unit 600 is notified. The control unit 600 instructs the sound control unit 670 and the display control unit 660 to notify the user of an incoming call by sound or display.

制御部600は、上述したように、IP電話装置60全体の制御を行なう。
なお、IP電話装置60がテレビ電話などの機能を備え、映像データを中継装置12に送信する場合は、制御部600の指示により、映像データ変換部661は、画像サイズを切り替えることができる。
As described above, control unit 600 controls IP telephone device 60 as a whole.
When the IP telephone device 60 has a function such as a videophone and transmits video data to the relay device 12, the video data conversion unit 661 can switch the image size according to an instruction from the control unit 600.

以上により、IP電話装置60は、中継装置12との通信速度に応じて、通信データの転送速度を切り替える。従って、IP電話装置60は、利用できる通信量にあわせた通信を行なうため、安定した通信を行なうことができる。   As described above, the IP telephone device 60 switches the communication data transfer rate in accordance with the communication rate with the relay device 12. Therefore, the IP telephone device 60 performs communication according to the amount of communication that can be used, so that stable communication can be performed.

[実施の形態3]
図7は、実施の形態3におけるIP電話システム700を示した概略図である。
[Embodiment 3]
FIG. 7 is a schematic diagram showing IP telephone system 700 in the third embodiment.

図7を参照して、IP電話システム700について説明する。IP電話システム700は、中継装置12に、IP電話装置60、IP電話装置70およびPC72とが接続されている。これら以外の構成は、IP電話システム400と同じである。ここでは、IP電話装置60と50間で通話しているとする。なお、IP電話装置70は、IP通信装置60の機能に加え有線LAN通信ができる機能も備えている。本実施の形態では、IP電話装置70は、中継装置12とは、有線で通信しているが無線で通信させてもよい。   The IP telephone system 700 will be described with reference to FIG. In IP telephone system 700, IP telephone apparatus 60, IP telephone apparatus 70, and PC 72 are connected to relay apparatus 12. The other configuration is the same as that of the IP telephone system 400. Here, it is assumed that a call is made between IP telephone devices 60 and 50. The IP telephone device 70 has a function of performing wired LAN communication in addition to the function of the IP communication device 60. In this embodiment, IP telephone device 70 communicates with relay device 12 by wire, but may communicate wirelessly.

中継装置12のLAN側IP通信制御部220は、LAN側IP通信インタフェース部222を介して接続されている機器の通信データ量を観測することができる。また、無線LAN側IP通信制御部224は、無線LAN側IP通信インタフェース部226を介して接続されている機器の通信データ量を観測することができる。   The LAN-side IP communication control unit 220 of the relay device 12 can observe the communication data amount of devices connected via the LAN-side IP communication interface unit 222. In addition, the wireless LAN side IP communication control unit 224 can observe the communication data amount of devices connected via the wireless LAN side IP communication interface unit 226.

中継装置12の制御部200は、LAN側IP通信制御部220および無線LAN側IP通信制御部224から通知された通信データ量の総和と、WAN側IP通信制御部210がIP網側と通信可能なデータ量とを比較する。   The control unit 200 of the relay device 12 can communicate the total amount of communication data notified from the LAN side IP communication control unit 220 and the wireless LAN side IP communication control unit 224, and the WAN side IP communication control unit 210 can communicate with the IP network side. Compare the amount of data.

制御部200は、通知された通信データ量の総和が通信可能なデータ量を上回ったと判断すれば、通信可能帯域内で通信できるように、LAN側IP通信制御部220および無線LAN側IP通信制御部224に対して、通信量の割り当てを行なう。この割り当てに基づいて、通話中のIP電話装置に対して、音声データの圧縮伸張方式を切り替えるように指示する。   If the control unit 200 determines that the sum of the notified communication data amounts exceeds the communicable data amount, the LAN side IP communication control unit 220 and the wireless LAN side IP communication control so that communication can be performed within the communicable band. The communication amount is allocated to the unit 224. Based on this assignment, it instructs the IP telephone apparatus that is in a call to switch the compression / decompression method of the voice data.

たとえば、IP電話装置60が通話中の場合、PC72が大量のデータをダウンロードなどしたときに、中継装置12の制御部200は、WAN側との通信可能データ量を上回ったと判断する。制御部200は、PC72とIP電話装置60とに割り当てられている通信量を、IP電話装置60の通話に障害がでないように割り当てなおす。そして、IP電話装置60に対しては、割り当てられた通信量に応じた、データの圧縮伸張方式に切り替えるように指示する。IP電話装置60の制御部600は、中継装置12からの指示を受け、実施の形態2で説明したように、音データ変換部671に、音声データの圧縮伸張方式を切り替えるように指示する。   For example, when the IP telephone device 60 is busy, when the PC 72 downloads a large amount of data, the control unit 200 of the relay device 12 determines that the amount of data that can be communicated with the WAN side has been exceeded. The control unit 200 reassigns the traffic allocated to the PC 72 and the IP telephone device 60 so that there is no failure in the IP telephone device 60 call. Then, the IP telephone device 60 is instructed to switch to the data compression / decompression method according to the allocated traffic. The control unit 600 of the IP telephone device 60 receives the instruction from the relay device 12, and instructs the sound data conversion unit 671 to switch the compression / decompression method of the audio data as described in the second embodiment.

また、制御部200は、IP電話装置60と中継装置12との間で通信異常を検出すれば、IP電話装置50にダミーのRTPパケットを送信して、通話を維持する。そして、制御部200は、通話が予め定められた時間維持されたと判断すれば、IP電話装置50にダミーのRTPパケットを送信し続けると共に、接続要求メッセージを生成し、LAN側IP通信制御部220からIP電話装置70に対して送信する。IP電話装置70は、接続要求メッセージを受け、音や表示にて着信をユーザに知らせる。ユーザは、これに応答することにより、IP電話装置70によって、IP電話装置50との通話を再開することができる。この際、ダミーのRTPパケットを送信する制御は、実施の形態1で説明した通りである。   Further, when detecting a communication abnormality between IP telephone device 60 and relay device 12, control unit 200 transmits a dummy RTP packet to IP telephone device 50 to maintain the call. If the control unit 200 determines that the call has been maintained for a predetermined time, the control unit 200 continues to transmit a dummy RTP packet to the IP telephone device 50, generates a connection request message, and the LAN side IP communication control unit 220. To the IP telephone device 70. The IP telephone device 70 receives the connection request message and informs the user of the incoming call by sound or display. In response to this, the user can resume the call with the IP telephone device 50 by the IP telephone device 70. At this time, the control for transmitting the dummy RTP packet is as described in the first embodiment.

また、制御部200が、このように通話中のIP電話装置60と中継装置12との間で通信異常を検出した場合、中継装置12とネットワーク的に接続された機器に異常を通知することができる。たとえば、制御部200は、LAN側IP通信制御部220を介して、PC72に対して、通信異常があったことを通知する。   In addition, when the control unit 200 detects a communication abnormality between the IP telephone device 60 and the relay device 12 during a call as described above, the control unit 200 may notify the device connected to the relay device 12 in a network manner. it can. For example, the control unit 200 notifies the PC 72 that a communication abnormality has occurred via the LAN-side IP communication control unit 220.

以上により、中継装置12は、接続された機器の通信量に応じて、各機器に対して通信可能なデータ量を割り当てなおす。IP電話装置60は、中継装置12との間で割り当てられた通信量に応じて、通信データの圧縮伸張方式を切り替えることができる。従って、IP電話装置60は、割り当てられた通信量にあわせた通信を行なうため、安定した通信を行なうことができる。   As described above, the relay device 12 reassigns the communicable data amount to each device according to the communication amount of the connected device. The IP telephone device 60 can switch the compression / decompression method of communication data in accordance with the communication amount assigned to the relay device 12. Accordingly, since IP telephone apparatus 60 performs communication according to the allocated traffic, stable communication can be performed.

また、中継装置12は、通話中のIP電話装置60との間の回線で異常を検知すれば、中継装置12と接続された、その他のIP電話装置に対して発呼することができる。従って、ユーザは、中継装置との回線が正常なIP電話装置で、再び通話をすることができる。   Further, if the relay device 12 detects an abnormality in the line with the IP telephone device 60 during a call, the relay device 12 can make a call to another IP telephone device connected to the relay device 12. Therefore, the user can make a call again with the IP telephone apparatus having a normal line with the relay apparatus.

また、中継装置12は、通話中のIP電話装置60との間の回線で異常を検知すれば、中継装置12とネットワーク的に接続された機器に通信異常を通知することができる。従って、ユーザは、通信異常の原因に対して対策を取ることができる。たとえば、PCによる大量のデータをダウンロードしたために、通話に障害が発生したのであれば、そのダウンロードを中止するなどして、通信を正常にするような対策を取ることができる。   Further, if the relay device 12 detects an abnormality on the line with the IP telephone device 60 during a call, the relay device 12 can notify the communication abnormality to a device connected to the relay device 12 in a network. Therefore, the user can take measures against the cause of the communication abnormality. For example, if a failure occurs in a call because a large amount of data has been downloaded by the PC, it is possible to take measures to normalize the communication by canceling the download.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

実施の形態1におけるIP電話システム100を示した概略図である。1 is a schematic diagram showing an IP telephone system 100 according to Embodiment 1. FIG. 中継装置10の機能ブロック図である。3 is a functional block diagram of the relay device 10. FIG. IP電話装置40とIP電話装置50との通話中の処理を示すシーケンス図である。6 is a sequence diagram showing processing during a call between IP telephone apparatus 40 and IP telephone apparatus 50. FIG. 実施の形態2におけるIP電話システム400を示した概略図である。FIG. 3 is a schematic diagram showing an IP telephone system 400 in a second embodiment. 中継装置12の機能ブロック図である。3 is a functional block diagram of a relay device 12. FIG. IP電話装置60の機能ブロック図である。3 is a functional block diagram of an IP telephone device 60. FIG. 実施の形態3におけるIP電話システム700を示した概略図である。FIG. 6 is a schematic diagram showing an IP telephone system 700 in a third embodiment. IP電話システムの一例を示した概略図である。It is the schematic which showed an example of the IP telephone system. IP電話システム800での基本的な処理を示したシーケンス図である。3 is a sequence diagram showing basic processing in IP telephone system 800. FIG.

符号の説明Explanation of symbols

10,12 中継装置、20,80 SIPサーバ、30 IP網、40,50,60,70,82,84 IP電話装置、72 PC、100,400,700,800 IP電話システム、200,600 制御部、202,602 呼制御判断部、210 WAN側IP通信制御部、212 WAN側IP通信インタフェース部、220 LAN側IP通信制御部、222 LAN側IP通信インタフェース部、224,630 無線LAN側IP通信制御部、226,632 無線LAN側IP通信インタフェース部、240,640 データ制御部、242,642 メモリ、250,660 表示制御部、252,662 表示部、260,670 音制御部、262 音出力部、650 キー操作部、661 映像データ変換部、671 音データ変換部、672 音入出力部、674 ハンドセット。   10, 12 relay device, 20, 80 SIP server, 30 IP network, 40, 50, 60, 70, 82, 84 IP phone device, 72 PC, 100, 400, 700, 800 IP phone system, 200, 600 control unit 202, 602 Call control determination unit, 210 WAN side IP communication control unit, 212 WAN side IP communication interface unit, 220 LAN side IP communication control unit, 222 LAN side IP communication interface unit, 224, 630 Wireless LAN side IP communication control Unit, 226, 632 Wireless LAN side IP communication interface unit, 240, 640 Data control unit, 242, 642 Memory, 250, 660 Display control unit, 252, 662 Display unit, 260, 670 Sound control unit, 262 Sound output unit, 650 Key operation unit, 661 Video data conversion unit, 671 Sound data Data conversion unit, 672 sound input / output unit, 674 handset.

Claims (14)

接続された第1および第2の通信端末装置と通信パケットを送受信するための第1の通信部と、
IP網を介して、前記第1の通信端末装置の通信先と前記通信パケットを送受信するための第2の通信部と、
前記第1の通信端末装置と前記通信先との通信開始後、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないことを検出するための検出部と、
前記検出部が、第1の所定時間、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないことを検出した場合に、前記第2の通信部を介して、前記通信先に対して通信の終了を要求するための通信制御部とを備え、
前記通信制御部は、
前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないときも、前記第1の所定時間が経過するまでは、前記通信先との通信を維持する制御を行ない、
i)前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記第1の通信端末装置の通信先に対して、第2の所定時間、通信が維持されたと判断したときは、前記第1の通信端末装置の通信先に対する前記通信を維持するよう前記第2の通信部を制御し、
ii)前記第2の通信端末装置に対して、着信音を鳴らす制御を行なうよう前記第1の通信部を制御し、
iii)前記第1の通信部を介して、前記第2の通信端末装置のオフフックが検出されたと判断した場合は、前記第2の通信端末装置からの通信パケットを前記第1の通信端末装置の通信先に対して送信し、前記第1の通信端末装置の通信先から受信した通信パケットを前記第2の通信端末装置に送信する、IP通信中継装置。
A first communication unit for transmitting and receiving communication packets to and from the connected first and second communication terminal devices;
A second communication unit for transmitting and receiving the communication packet to and from the communication destination of the first communication terminal device via an IP network;
Detection for detecting that the first communication unit has not normally received the communication packet from the first communication terminal device after the communication between the first communication terminal device and the communication destination is started. And
The second communication unit when the detection unit detects that the first communication unit has not normally received the communication packet from the first communication terminal device for a first predetermined time. Via the communication control unit for requesting the end of communication to the communication destination,
The communication control unit
Even when the first communication unit does not normally receive the communication packet from the first communication terminal device, the communication with the communication destination is maintained until the first predetermined time elapses. Control,
i) A second predetermined time with respect to a communication destination of the first communication terminal device in a state where the first communication unit has not normally received the communication packet from the first communication terminal device. When the communication is determined to be maintained, the second communication unit is controlled to maintain the communication with respect to the communication destination of the first communication terminal device,
ii) controlling the first communication unit to control the second communication terminal apparatus to ring a ringtone;
iii) When it is determined that an off-hook of the second communication terminal device has been detected via the first communication unit, a communication packet from the second communication terminal device is transmitted to the first communication terminal device. An IP communication relay device , which transmits to a communication destination and transmits a communication packet received from the communication destination of the first communication terminal device to the second communication terminal device.
前記通信制御部は、ダミーの通信パケットを生成し、前記通信パケットに代わり、前記ダミーの通信パケットを前記第2の通信部を介して前記通信先へ送信することによって前記通信を維持する、請求項記載のIP通信中継装置。 The communication control unit generates a dummy communication packet, and maintains the communication by transmitting the dummy communication packet to the communication destination via the second communication unit instead of the communication packet. Item 2. The IP communication relay device according to Item 1 . 前記IP通信中継装置は、音声データもしくは映像データの少なくとも一方が格納された記憶部をさらに備え、
前記通信制御部は、前記記憶部から読み込んだ、前記音声データもしくは前記映像データの少なくとも一方を含むパケットを前記ダミーの通信パケットとして生成し、前記ダミーの通信パケットを前記第2の通信部を介して前記通信先へ送信することで前記通信を維持する、請求項記載のIP通信中継装置。
The IP communication relay device further includes a storage unit storing at least one of audio data and video data,
The communication control unit generates a packet including at least one of the audio data or the video data read from the storage unit as the dummy communication packet, and transmits the dummy communication packet via the second communication unit. The IP communication relay device according to claim 2 , wherein the communication is maintained by transmitting to the communication destination.
前記通信制御部は、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記第1の所定時間、通信が維持されたと判断したときは、
i)前記音声データもしくは前記映像データとは異なる、音声データもしくは映像データの少なくとも一方を含む代替パケットを生成し、前記通信先に対して、前記ダミーの通信パケットに代わり、前記代替パケットを送信するよう前記第2の通信部を制御し、
ii)前記通信先との通信の終了処理を行なう、請求項記載のIP通信中継装置。
When the communication control unit determines that communication is maintained for the first predetermined time in a state where the first communication unit has not normally received the communication packet from the first communication terminal device. Is
i) A substitute packet including at least one of audio data and video data different from the audio data or the video data is generated, and the substitute packet is transmitted to the communication destination instead of the dummy communication packet. Controlling the second communication unit so that
The IP communication relay device according to claim 3 , which performs a process for terminating communication with the communication destination.
前記通信制御部は、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記通信先との通信を維持しているときに、前記第1の通信部が前記第1の通信端末装置から前記通信パケットを受信したと判断したときは、前記第1の通信端末装置から受信した前記通信パケットを前記通信先へと送信するように前記第2の通信部を制御する、請求項からのいずれかに記載のIP通信中継装置。 The communication control unit maintains the communication with the communication destination in a state where the first communication unit has not normally received the communication packet from the first communication terminal device. When the first communication unit determines that the communication packet is received from the first communication terminal device, the communication packet received from the first communication terminal device is transmitted to the communication destination. It controls the second communication unit, IP communication relay apparatus according to any one of claims 1 to 4. 前記通信制御部は、前記検出部が、前記第1の通信部によって前記第1の通信端末装置からのエラー通知が受信されたことを、前記通信パケットを正常に受信していないこととして検出したときは、前記第1の通信端末装置に異常が発生したと判断する、請求項1記載のIP通信中継装置。 The communication control unit detects that the error notification from the first communication terminal device is received by the first communication unit as not receiving the communication packet normally. The IP communication relay device according to claim 1 , wherein it is determined that an abnormality has occurred in the first communication terminal device. 前記通信制御部は、前記検出部によって、前記第1の通信端末装置に異常が発生したと判断した場合は、前記通信先に対して通信の終了処理を行なう、請求項記載のIP通信中継装置。 The IP communication relay according to claim 6 , wherein when the detection unit determines that an abnormality has occurred in the first communication terminal device, the communication control unit performs a communication termination process on the communication destination. apparatus. 前記通信制御部は、前記検出部によって、前記第1の通信端末装置に異常が発生したと判断した場合は、前記通信を維持するよう制御する、請求項記載のIP通信中継装置。 The IP communication relay device according to claim 6 , wherein the communication control unit controls to maintain the communication when the detection unit determines that an abnormality has occurred in the first communication terminal device. 前記通信制御部は、前記検出部によって、前記通信パケットが正常に受信されていないことを検出した場合には、前記検出した内容に応じて、前記第1の通信部と前記第2の通信部とに対して、前記通信を維持させるか、前記通信を終了させるかの判断を行なう、請求項記載のIP通信中継装置。 When the communication control unit detects that the communication packet is not normally received by the detection unit, the communication control unit, according to the detected content, the first communication unit and the second communication unit The IP communication relay device according to claim 6 , which determines whether to maintain the communication or to end the communication. 前記IP通信中継装置には、前記第1の通信部を介して通信する、前記第1の通信端末装置とは異なる電子機器が接続されており、
前記通信制御部は、前記通信が維持されていると判断した場合に、前記第1の通信端末装置からの前記通信パケットを受信していないという情報を前記電子機器に通知するように前記第1の通信部を制御する、請求項記載のIP通信中継装置。
The IP communication relay device is connected to an electronic device different from the first communication terminal device, which communicates via the first communication unit,
When determining that the communication is maintained, the communication control unit notifies the electronic device of information that the communication packet is not received from the first communication terminal device. It controls the communication unit, IP communication relay apparatus according to claim 1.
第1の通信端末装置と、
第2の通信端末装置と、
前記第1および第2の通信端末装置に接続可能な中継装置と、
前記中継装置およびIP網を介して、前記第1の通信端末装置に接続可能な第の通信端末装置とを備え、
前記中継装置は、
前記第1の通信端末装置と通信パケットを送受信するための第1の通信部と、
前記IP網を介して、前記第の通信端末装置と前記通信パケットを送受信するための第2の通信部と、
前記第1の通信端末装置と前記第の通信端末装置との通信開始後、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないことを検出するための検出部と、
前記検出部が、第1の所定時間、前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないことを検出した場合に、前記第2の通信部を介して、前記第の通信端末装置に対して通信の終了を要求するための通信制御部とを含み
前記通信制御部は、
前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していないときも、前記第1の所定時間が経過するまでは、前記第3の通信端末装置との通信を維持する制御を行ない、
i)前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記第3の通信端末装置に対して、第2の所定時間、通信が維持されたと判断したときは、前記第3の通信端末装置に対する前記通信を維持するよう前記第2の通信部を制御し、
ii)前記第2の通信端末装置に対して、着信音を鳴らす制御を行なうよう前記第1の通信部を制御し、
iii)前記第1の通信部を介して、前記第2の通信端末装置のオフフックが検出されたと判断した場合は、前記第2の通信端末装置からの通信パケットを前記第3の通信端末装置に対して送信し、前記第3の通信端末装置から受信した通信パケットを前記第2の通信端末装置に送信する、ネットワークシステム。
A first communication terminal device;
A second communication terminal device;
A relay device connectable to the first and second communication terminal devices;
A third communication terminal device connectable to the first communication terminal device via the relay device and the IP network;
The relay device is
A first communication unit for transmitting and receiving communication packets to and from the first communication terminal device;
A second communication unit for transmitting and receiving the communication packet to and from the third communication terminal device via the IP network;
After the communication between the first communication terminal device and the third communication terminal device is started, the first communication unit detects that the communication packet from the first communication terminal device has not been received normally. A detection unit for performing,
The second communication unit when the detection unit detects that the first communication unit has not normally received the communication packet from the first communication terminal device for a first predetermined time. through, and a communication control unit for requesting the termination of the communication to the third communication terminal device,
The communication control unit
Even when the first communication unit does not normally receive the communication packet from the first communication terminal device, until the first predetermined time elapses, the first communication unit communicates with the third communication terminal device. Control to maintain communication,
i) In a state where the first communication unit has not normally received the communication packet from the first communication terminal device, communication is performed for the third predetermined time with respect to the third communication terminal device. When it is determined that the second communication unit is maintained, the second communication unit is controlled to maintain the communication with the third communication terminal device.
ii) controlling the first communication unit to control the second communication terminal apparatus to ring a ringtone;
iii) When it is determined that the off-hook of the second communication terminal device is detected via the first communication unit, the communication packet from the second communication terminal device is transmitted to the third communication terminal device. A network system for transmitting to the second communication terminal apparatus a communication packet transmitted from the third communication terminal apparatus .
接続された第1および第2の通信端末装置と前記第1の通信端末装置の通信先とのIP網を介した通信を中継する中継処理をコンピュータに実行させるための中継処理プログラムであって、
第1の通信部を用いて、前記第1の通信端末装置と通信パケットを送受信するステップと、
第2の通信部を用いて、前記IP網を介して、前記第1の通信端末装置の通信先と前記通信パケットを送受信するステップと、
前記第1の通信端末装置と前記通信先との通信開始後、前記第1の通信部を介して前記第1の通信端末装置からの前記通信パケットを正常に受信していないことを検出するステップと、
前記第1の通信部を介して前記第1の通信端末装置から前記通信パケットを正常に受信していないことを検出した場合に、第1の所定時間、前記第2の通信部を介して前記通信先との前記通信を維持するステップと、
前記第1の所定時間経過後に、前記第2の通信部を介して、前記通信先に対して通信の終了を要求するステップとを前記コンピュータに実行させ
前記通信先との前記通信を維持するステップでは、
i)前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記第1の通信端末装置の通信先に対して、第2の所定時間、通信が維持されたと判断したときは、前記第1の通信端末装置の通信先に対する前記通信を維持するよう前記第2の通信部を制御するステップと、
ii)前記第2の通信端末装置に対して、着信音を鳴らす制御を行なうよう前記第1の通信部を制御するステップと、
iii)前記第1の通信部を介して、前記第2の通信端末装置のオフフックが検出されたと判断した場合は、前記第2の通信端末装置からの通信パケットを前記第1の通信端末装置の通信先に対して送信し、前記第1の通信端末装置の通信先から受信した通信パケットを前記第2の通信端末装置に送信するステップとを前記コンピュータに実行させる、中継処理プログラム。
A relay processing program for causing a computer to execute relay processing for relaying communication via an IP network between the connected first and second communication terminal devices and a communication destination of the first communication terminal device,
Using the first communication unit to send and receive communication packets to and from the first communication terminal device;
Transmitting and receiving the communication packet to and from the communication destination of the first communication terminal device via the IP network using a second communication unit;
After starting communication between the first communication terminal device and the communication destination, detecting that the communication packet from the first communication terminal device is not normally received via the first communication unit When,
When it is detected that the communication packet is not normally received from the first communication terminal device via the first communication unit, the first predetermined time and the second communication unit via the second communication unit Maintaining the communication with a communication destination;
After the first predetermined time elapses, the computer is caused to execute a step of requesting the communication destination to end communication via the second communication unit,
In the step of maintaining the communication with the communication destination,
i) A second predetermined time with respect to a communication destination of the first communication terminal device in a state where the first communication unit has not normally received the communication packet from the first communication terminal device. Controlling the second communication unit to maintain the communication with the communication destination of the first communication terminal device when it is determined that the communication is maintained;
ii) controlling the first communication unit to control the second communication terminal device to ring a ringtone;
iii) When it is determined that an off-hook of the second communication terminal device has been detected via the first communication unit, a communication packet from the second communication terminal device is transmitted to the first communication terminal device. A relay processing program for causing the computer to execute a step of transmitting to a communication destination and transmitting a communication packet received from the communication destination of the first communication terminal device to the second communication terminal device .
請求項12に記載の中継処理プログラムを格納したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium storing the relay processing program according to claim 12 . 第1および第2の通信端末装置と前記第1の通信端末装置の通信先とのIP網を介した通信を中継するための中継装置における中継方法であって、
第1の通信部を用いて、前記中継装置に接続された前記第1の通信端末装置と通信パケットを送受信するステップと、
第2の通信部を用いて、前記IP網を介して、前記中継装置に接続された前記通信先と前記通信パケットを送受信するステップと、
前記第1の通信端末装置と前記通信先との通信開始後、前記第1の通信部を介して前記第1の通信端末装置から前記通信パケットを正常に受信していないことを検出するステップと、
前記第1の通信部を介して前記第1の通信端末装置から前記通信パケットを正常に受信していないことを検出した場合に、第1の所定時間、前記第2の通信部を介して前記通信先との前記通信を維持するステップと、
前記第1の所定時間経過後に、前記第2の通信部を介して、前記通信先に対して通信の終了を要求するステップとを備え、
前記通信先との前記通信を維持するステップは、
i)前記第1の通信部が前記第1の通信端末装置からの前記通信パケットを正常に受信していない状態で、前記第1の通信端末装置の通信先に対して、第2の所定時間、通信が維持されたと判断したときは、前記第1の通信端末装置の通信先に対する前記通信を維持するよう前記第2の通信部を制御するステップと、
ii)前記第2の通信端末装置に対して、着信音を鳴らす制御を行なうよう前記第1の通信部を制御するステップと、
iii)前記第1の通信部を介して、前記第2の通信端末装置のオフフックが検出されたと判断した場合は、前記第2の通信端末装置からの通信パケットを前記第1の通信端末装置の通信先に対して送信し、前記第1の通信端末装置の通信先から受信した通信パケットを前記第2の通信端末装置に送信するステップとを含む、中継方法。
A relay method in a relay apparatus for relaying communication via the IP network with the communication destination of the first and second communication terminal apparatuses first communication terminal device,
Using a first communication unit to send and receive communication packets to and from the first communication terminal device connected to the relay device;
Transmitting and receiving the communication packet to and from the communication destination connected to the relay device via the IP network using a second communication unit;
Detecting that the communication packet is not normally received from the first communication terminal device via the first communication unit after starting communication between the first communication terminal device and the communication destination; ,
When it is detected that the communication packet is not normally received from the first communication terminal device via the first communication unit, the first predetermined time and the second communication unit via the second communication unit Maintaining the communication with a communication destination;
Requesting the end of communication to the communication destination via the second communication unit after the first predetermined time has elapsed,
Maintaining the communication with the communication destination comprises:
i) A second predetermined time with respect to a communication destination of the first communication terminal device in a state where the first communication unit has not normally received the communication packet from the first communication terminal device. Controlling the second communication unit to maintain the communication with the communication destination of the first communication terminal device when it is determined that the communication is maintained;
ii) controlling the first communication unit to control the second communication terminal device to ring a ringtone;
iii) When it is determined that an off-hook of the second communication terminal device has been detected via the first communication unit, a communication packet from the second communication terminal device is transmitted to the first communication terminal device. Transmitting to a communication destination, and transmitting the communication packet received from the communication destination of the first communication terminal device to the second communication terminal device .
JP2006215894A 2006-08-08 2006-08-08 IP communication relay device, network system, relay processing program, and relay method Expired - Fee Related JP4624323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006215894A JP4624323B2 (en) 2006-08-08 2006-08-08 IP communication relay device, network system, relay processing program, and relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006215894A JP4624323B2 (en) 2006-08-08 2006-08-08 IP communication relay device, network system, relay processing program, and relay method

Publications (2)

Publication Number Publication Date
JP2008042648A JP2008042648A (en) 2008-02-21
JP4624323B2 true JP4624323B2 (en) 2011-02-02

Family

ID=39177168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006215894A Expired - Fee Related JP4624323B2 (en) 2006-08-08 2006-08-08 IP communication relay device, network system, relay processing program, and relay method

Country Status (1)

Country Link
JP (1) JP4624323B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5173607B2 (en) * 2008-06-03 2013-04-03 株式会社日立製作所 Communications system
JP5392050B2 (en) 2009-12-11 2014-01-22 富士通株式会社 Relay device, relay method, and communication system
JP5353773B2 (en) * 2010-03-11 2013-11-27 沖電気工業株式会社 RTP data communication device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0435440A (en) * 1990-05-30 1992-02-06 Seiko Instr Inc Intra-lan connection device
JPH0440139A (en) * 1990-06-06 1992-02-10 Matsushita Electric Ind Co Ltd Packet data transmitter
JP2001148717A (en) * 1999-11-19 2001-05-29 Sharp Corp Data server device
JP2002271399A (en) * 2001-03-09 2002-09-20 Nec Corp Telephone system and method for monitoring telephone connection
JP2002354145A (en) * 2001-05-25 2002-12-06 Iwatsu Electric Co Ltd Packet telephone system
JP2003273964A (en) * 2002-03-15 2003-09-26 Ntt Docomo Inc Communication system, communication control method, and router
JP2003309663A (en) * 2002-04-17 2003-10-31 Canon Inc Communication device, communication method and communication program
JP2005252429A (en) * 2004-03-02 2005-09-15 Matsushita Electric Ind Co Ltd Ip packetizing unit
JP2005348261A (en) * 2004-06-04 2005-12-15 Nec Corp Communication quality managing apparatus and communication quality managing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0435440A (en) * 1990-05-30 1992-02-06 Seiko Instr Inc Intra-lan connection device
JPH0440139A (en) * 1990-06-06 1992-02-10 Matsushita Electric Ind Co Ltd Packet data transmitter
JP2001148717A (en) * 1999-11-19 2001-05-29 Sharp Corp Data server device
JP2002271399A (en) * 2001-03-09 2002-09-20 Nec Corp Telephone system and method for monitoring telephone connection
JP2002354145A (en) * 2001-05-25 2002-12-06 Iwatsu Electric Co Ltd Packet telephone system
JP2003273964A (en) * 2002-03-15 2003-09-26 Ntt Docomo Inc Communication system, communication control method, and router
JP2003309663A (en) * 2002-04-17 2003-10-31 Canon Inc Communication device, communication method and communication program
JP2005252429A (en) * 2004-03-02 2005-09-15 Matsushita Electric Ind Co Ltd Ip packetizing unit
JP2005348261A (en) * 2004-06-04 2005-12-15 Nec Corp Communication quality managing apparatus and communication quality managing method

Also Published As

Publication number Publication date
JP2008042648A (en) 2008-02-21

Similar Documents

Publication Publication Date Title
US20060013195A1 (en) Terminal connection device, connection control device, and multi-function telephone terminal
US8184559B2 (en) Key telephone system using a SIP and method of receiving and answering an incoming call for a representative group in the key telephone system
US7848352B2 (en) Communication relay device, communication relay method and computer program product for communication relay
US20070189270A1 (en) Network adapter
JP4185891B2 (en) Communication terminal and communication terminal control method
US20070201450A1 (en) Network adapter
US20040116108A1 (en) Internet phone system and internet phone service method for a mobile telephone
CA2642456A1 (en) Techniques for facilitating emergency calls
JP4624323B2 (en) IP communication relay device, network system, relay processing program, and relay method
KR101909982B1 (en) VoIP GATEWAY DEVICE, CONTROL METHOD THEREOF AND VoIP GATEWAY SYSTEM
JP3795825B2 (en) IP communication system in which IP address registration is prompted by incoming number display, gatekeeper and IP terminal device constituting the IP communication system
JP2011239015A (en) Network apparatus and telephone system
JP2005020676A (en) Telephone communication method and apparatus
JP4687917B2 (en) Signal control method for IP telephone system
JP5614932B2 (en) Apparatus and method for enabling continuous use of a plurality of terminal apparatuses in the same voice communication
JP4836221B2 (en) PSTN terminal accommodating device
JP2005136449A (en) Ip phone system and ip phone set
JP2009081890A (en) Ip telephone terminal
JP4118897B2 (en) Image transmission device
JP2004328195A (en) Ip terminal
JP2004140621A (en) Telephone system
JP2008085808A (en) Method for calling call setting server
JP4292017B2 (en) IP phone terminal
JP2004147244A (en) Network facsimile equipment
JP2016012792A (en) Facsimile machine, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100218

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100917

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20101006

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101102

R150 Certificate of patent or registration of utility model

Ref document number: 4624323

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131112

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees