JP2004310295A - Gateway appliance, relay method, relay processing program, and recording medium - Google Patents

Gateway appliance, relay method, relay processing program, and recording medium Download PDF

Info

Publication number
JP2004310295A
JP2004310295A JP2003100666A JP2003100666A JP2004310295A JP 2004310295 A JP2004310295 A JP 2004310295A JP 2003100666 A JP2003100666 A JP 2003100666A JP 2003100666 A JP2003100666 A JP 2003100666A JP 2004310295 A JP2004310295 A JP 2004310295A
Authority
JP
Japan
Prior art keywords
internal
control information
communication
external
address
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.)
Granted
Application number
JP2003100666A
Other languages
Japanese (ja)
Other versions
JP4064854B2 (en
Inventor
Hiroyoshi Toda
浩義 戸田
Tomoyuki Totani
智之 戸谷
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 JP2003100666A priority Critical patent/JP4064854B2/en
Publication of JP2004310295A publication Critical patent/JP2004310295A/en
Application granted granted Critical
Publication of JP4064854B2 publication Critical patent/JP4064854B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gateway appliance which speeds up in establishing a session when an external appliance and an internal appliance exchange each control information, even in the internal equipment without a method for registering the control information. <P>SOLUTION: The gateway appliance 101 relays communications between the internal appliances 102, 103 on an internal network and the external appliance 104 on an external network. The gateway appliance 101 is provided with: a communication control unit 109 which acquires an internal appliance address and the control information from among the pieces of information exchanged in the relayed communications; a virtual appliance management part 110 which registers and manages a virtual appliance for communicating with the external appliance on the external network; and an internal appliance management part 111 which associates the control information possessed by the internal appliance and defining communication conditions based on the function and performance of the internal appliance with the address of the internal appliance to manage the information in own appliance, and updates control information managed by the control information acquired by the communication control unit. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継するゲートウェイ機器の構成、中継方法、中継処理プログラムおよびこのような中継処理プログラムを記録した記録媒体に関する。
【0002】
【従来の技術】
近年のインターネットのブロードバンド化にともない、外部機器や内部機器として、TCP/IPプロトコルを利用して音声/映像通信を行なうIP電話やTV電話が普及しつつある。
【0003】
IP電話やTV電話の通信では、呼制御シグナリング、メディア制御、メディア転送と呼ばれる概念が存在する。呼制御シグナリングは、互いの機器が音声/映像通信を行なう際のセッションの確立について規定したものである。メディア制御は、互いの機器が音声/映像通信を行なう際に交換する制御情報について規定したものである。メディア転送は、互いの機器の音声/映像通信そのものについて規定したものである。
【0004】
以下、本明細書において、「制御情報」とは、機器の機能や性能に基いて通信条件を規定する情報であり、制御情報の一例として、このメディア制御で規定され、メディア転送で利用される制御情報があり、それは音声入出力/映像入出力で使用するプロトコルの種類(例えばRTP(Real−time Transport Protocol))、コーデックの種類(例えばG.711)などからなる情報である。
【0005】
IP電話やTV電話の通信プロトコルには、H.323やSIP(Session Initiation Protocol)がある。H.323はIP電話やTV電話そのものを実現するプロトコルの集まりで、呼制御シグナリングにはH.225とQ.931を、メディア制御にはH.245を、メディア転送にはRTPなどを利用することが規定されている。一方、SIPは一般的なセッションの確立を規定するプロトコルで、IP電話やTV電話の呼制御シグナリングに利用される。呼制御シグナリングにSIPを利用する場合、メディア制御にはSDP(Session Description Protocol)が、メディア転送にはRTPなどが利用される。近年、IP電話やTV電話の通信プロトコルは、H.323からSIPに移行しつつある。IP電話やTV電話の通信においても、インターネット上のIP電話やTV電話と、イントラネット/ホームネットワーク上のIP電話やTV電話が通信を行なう場合(または、あるイントラネット/ホームネットワーク上のIP電話やTV電話と、他のイントラネット/ホームネットワーク上のIP電話やTV電話が通信を行なう場合)、ゲートウェイ機器を中継して通信が行われる。通信プロトコルにSIPを利用する場合、ゲートウェイ機器にSIPプロキシが用意され、呼制御シグナリングを中継する。メディア転送のRTPの中継については、アドレス変換機能やRTPプロキシ機能が利用される(たとえば、非特許文献1参照)。
【0006】
他に従来の技術として、複数の機器をネットワークに接続して構成する分散システムにおいて、自動的に機器を設定して相互に通信を行なうことを可能にする分散システムの設定方式に関するものとして「分散システムの設定方法」がある(たとえば、特許文献1参照)。
【0007】
また、外部ネットワークからのアクセス要求に対して、ローカルネットワーク上のサービス情報やアクセス情報を取得して、アクセス要求に対する応答を行なうような通信中継装置、および通信中継方法に関するものがある(たとえば、特許文献2参照)。
【0008】
【非特許文献1】
Jonathan Davidson/James Peters著 風工舎訳編 「VoIP基本ガイド」
【0009】
【特許文献1】
特開2000−269998号公報
【0010】
【特許文献2】
特開2002−141953号公報
【0011】
【発明が解決しようとする課題】
従来、H.323やSIPを利用した既存のIP電話やTV電話などを実現するシステムでは、外部のネットワークとの中継を行なうゲートウェイ機器に内部機器の制御情報を予め登録することは行われていない。
【0012】
実際、H.323やSIPを利用した既存のIP電話やTV電話などの機器を含むシステムでは、通信を行なうために制御情報を交換する必要があるが、従来のシステムの各機器は、内部機器の制御情報を予め登録するための仕組み、例えば、内部機器からゲートウェイ機器に制御情報を登録できる仕組み、あるいは、ゲートウェイ機器から内部機器の制御情報を取得できる仕組みを持っていないので、外部機器から制御情報を含む要求を内部機器に中継し、内部機器の制御情報を含む応答を返すことしかしない。
【0013】
内部機器は外部機器から制御情報の要求を受けて始めて制御情報を外部機器に返すよう実装されており、ゲートウェイ機器は毎回、制御情報の要求があるたびに内部機器と通信を行って制御情報を取得した後、外部機器に応答することになるため、ゲートウェイ機器に各内部機器の制御情報が登録されていれば不要な制御情報取得の所要時間や内部ネットワークに不要トラフィックが発生という問題点がある。
【0014】
特開2000−269998号公報における設定方式では、ネットワークに接続された機器を自動的に認識し、認識された前記機器から前記機器が保持する情報を収集し、収集された前記情報に基づいて機器の設定を行なうのに必要な情報を生成し、生成された前記情報を機器に設定することにより機器間の通信を実現すること、を特徴とする。しかしながら、特開2000−269998号公報における設定方式では、各機器がこの設定方式に対応したネットワークシステムを前提としており、H.323やSIPを利用した既存のIP電話やTV電話などの機器で構築されるネットワークシステムには対応できない。
【0015】
特開2002−141953号公報における通信中継装置は、ローカルネットワーク上のサービス情報やアクセス情報を取得し、外部のネットワークに提供するが、それらの情報を通信中継装置上に登録、蓄積しておくようなことはできない。
【0016】
この発明は上記のような問題点を解決するためになされたものであって、その目的は、制御情報の登録方法を持たない内部機器においても、外部機器と内部機器が互いの制御情報を交換する際に、セッションの確立を高速化できるゲートウェイ機器、中継方法、中継処理プログラムおよびこのような中継処理プログラムを記録した記録媒体を提供することである。
【0017】
【課題を解決するための手段】
上記の課題を解決するために、本発明に係るゲートウェイ機器は、内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継するゲートウェイ機器であって、内部ネットワーク上の内部機器と通信する内部通信手段と、外部ネットワーク上の外部機器と通信する外部通信手段と、内部通信手段と外部通信手段の通信を中継する通信制御部と、内部機器の代理として外部ネットワーク上の外部機器と通信する仮想機器の登録、管理を行なう仮想機器管理部と、内部機器が持つ、該内部機器の機能と性能とに基いて通信条件を規定する制御情報を内部機器のアドレスと対応付けて自機内で管理する内部機器管理部とを備え、通信制御部は、中継した通信において外部機器と内部機器が交換する情報の中から内部機器のアドレスと制御情報とを取得すること、内部機器管理部が、取得した該制御情報で内部機器管理部内の対応する制御情報を更新することを特徴とする。
【0018】
したがって、このようなゲートウェイ機器は、ゲートウェイ機器以外の外部機器や何部機器に特別な制御情報登録のための仕組みを追加しなくとも、通信時に中継した制御情報を取得して、内部機器と対応付けられた制御情報をゲートウェイ機器内で管理することが可能になる。
【0019】
好ましくは、本発明に係るゲートウェイ機器は、内部機器管理部が、外部機器からの制御情報の要求に対し、要求先の内部機器の制御情報が内部機器管理部で管理されている場合に、それを用いて応答する機能をさらにもつ。
【0020】
したがって、このようなゲートウェイ機器は、外部機器からの制御情報の要求に対して、要求のたびに要求先の内部機器から制御情報を取得せずに、外部機器に制御情報を提供することができる。
【0021】
さらに好ましくは、本発明に係るゲートウェイ機器は、仮想機器管理部が、内部機器の内部ネットワークにおけるアドレスと、外部ネットワークにおけるアドレスとの対応を保持して管理する。
【0022】
したがって、外部ネットワークのアドレスへの要求に対し、対応する内部ネットワークアドレスをもつ機器の制御情報を返すことができる。
【0023】
さらに好ましくは、本発明に係るゲートウェイ機器は、内部機器管理部が、内部機器のアドレスを用いて新たな内部機器の登録を行なう。
【0024】
したがって、このようなゲートウェイ機器は、制御情報を提供する特別な仕組みをもたない内部機器を新規に登録、管理することができる。
【0025】
さらに好ましくは、本発明に係るゲートウェイ機器は、通信制御部が、中継した通信から内部機器のアドレスと実際に内部機器が持つと確認できた制御情報を取得し、内部機器管理部が、通信制御部が取得した内部機器のアドレスに対応する内部機器の制御情報として、通信制御部が取得した内部機器の制御情報を新規登録する。
【0026】
したがって、このようなゲートウェイ機器は、登録するために制御情報を提供する特別な仕組みをもたない内部機器に対しても、通信時の制御情報を取得することで、制御情報もあわせて登録することができる。
【0027】
好ましくは、本発明に係るゲートウェイ機器は、通信制御部が、中継した通信から内部機器のアドレスと実際に内部機器が持つと確認できた制御情報を取得し、内部機器管理部が、通信制御部で実際に持つと確認された制御情報は、通信制御部が取得した内部機器のアドレスに対応する内部機器の制御情報登録にない場合に登録を追加する。
【0028】
したがって、このようなゲートウェイ機器は、登録するために制御情報を提供する特別な仕組みをもたない内部機器に対しても、未登録の制御情報をあとから登録に追加することができる。
【0029】
好ましくは、本発明に係るゲートウェイ機器は、通信制御部が、中継した通信から内部機器のアドレスと実際に内部機器がもたないと確認できた制御情報を取得し、内部機器管理部が、通信制御部で実際には持たないと確認された制御情報を、通信制御部が取得した内部機器のアドレスに対応する内部機器の制御情報登録から削除する。
【0030】
したがって、このようなゲートウェイ機器は、登録済みの制御情報でも利用できないことが分かったものを削除することができる。
【0031】
この発明の他の局面に従うと、内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継方法であって、ゲートウェイ機器において、内部機器の代理として外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、外部ネットワーク上の外部機器からの通信を受けるステップと、外部機器からの通信を内部機器に中継するステップとを備え、中継するステップは、外部機器からの通信に応じて、内部ネットワーク上の内部機器と通信するステップと、内部機器からの応答に応じて、内部機器のアドレスと制御情報を取得するステップと、取得した内部機器のアドレスと制御情報から、管理するアドレスに対応する内部機器の制御情報を更新するステップとを含む。
【0032】
したがって、このような中継方法は、内部機器からの制御情報の通信を中継したときに内部機器の制御情報を取得し、中継する機器内で管理している該当する内部機器の制御情報を更新することができる。
【0033】
この発明のさらに他の局面に従うと、内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継処理処理をコンピュータに実行させるための中継処理プログラムであってであって、ゲートウェイ機器において、内部機器の代理として外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、外部ネットワーク上の外部機器からの通信を受けるステップと、外部機器からの通信を内部機器に中継するステップとを備え、中継するステップは、外部機器からの通信に応じて、内部ネットワーク上の内部機器と通信するステップと、内部機器からの応答に応じて、内部機器のアドレスと制御情報を取得するステップと、取得した内部機器のアドレスと制御情報から、管理するアドレスに対応する内部機器の制御情報を更新するステップとを含む。
【0034】
この発明のさらに他の局面に従うと、内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継処理をコンピュータに実行させるための中継処理プログラムを記録した記録媒体であって、ゲートウェイ機器において、内部機器の代理として外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、外部ネットワーク上の外部機器からの通信を受けるステップと、外部機器からの通信を内部機器に中継するステップとを備え、中継するステップは、外部機器からの通信に応じて、内部ネットワーク上の内部機器と通信するステップと、内部機器からの応答に応じて、内部機器のアドレスと制御情報を取得するステップと、取得した内部機器のアドレスと制御情報から、管理するアドレスに対応する内部機器の制御情報を更新するステップとを含む中継処理を、コンピュータに実行させる。
【0035】
したがって、この中継処理をコンピュータに実行させるためのプログラムによって、内部機器からの制御情報の通信を中継したときに内部機器の制御情報を取得し、中継する機器内で管理している該当する内部機器の制御情報を更新することができる。
【0036】
【発明の実施の形態】
[実施の形態1]
図1は、本発明の実施の形態1のゲートウェイ機器101の構成を説明するための機能ブロック図である。
【0037】
図1を参照して、ゲートウェイ機器101は、内部ネットワーク105上の少なくとも1つの内部機器102、103と、外部ネットワーク106上の少なくとも1つの外部機器104との通信を中継する。
【0038】
ゲートウェイ機器101は、内部通信部107と、外部通信部108と、通信制御部109と、仮想機器管理部110と、内部機器管理部111とを備える。
【0039】
内部通信部107は、内部ネットワーク105上の内部機器102、103と通信を行なう。外部通信部108は、外部ネットワーク106上の外部機器104と通信を行なう。通信制御部109は、内部通信部107と外部通信部108の通信を中継する。仮想機器管理部110は、内部機器102、103を外部ネットワーク106上の仮想機器として管理する。内部機器管理部111は、内部機器102、103の制御情報を管理する。
【0040】
内部機器102、103、外部機器104の例としては、H.323やSIPを利用した電話、TV電話、モニタ、カメラなどが挙げられる。内部ネットワーク105の例としては、TCP/IPプロトコルを利用して構築された企業内のイントラネット、家庭内のホームネットワークなどが挙げられる。
【0041】
外部ネットワーク106の例としては、TCP/IPプロトコルを利用して構築されたインターネットなどが挙げられる。また、内部ネットワーク105と外部ネットワーク106は、物理的に同じネットワーク上に構築された、異なる論理ネットワークであってもよい。
【0042】
ここで、本発明における「仮想機器」について説明する。
「仮想機器」とは、外部ネットワーク106上の外部機器104が、内部ネットワーク105上の内部機器102、103と通信するために、ゲートウェイ機器101上に用意される内部機器102、103の代理である。仮想機器は、内部機器102、103の外部ネットワーク106上の外部アドレスとして表現される。
【0043】
仮想機器が代理する内部機器の、内部ネットワーク105上での内部アドレスと外部ネットワーク106上での外部アドレスとの対応は、後述の仮想機器データベース618にて管理される。また、仮想機器が代理する内部機器の制御情報は、後述の内部機器データベース621にて管理される。更に、外部ネットワーク106上の外部機器がゲートウェイ機器101上の仮想機器と通信を行なう際の仮想機器の処理内容は、後述の仮想機器実現部615にて実行される。「内部機器の外部アドレス」という表現は、内部機器に対応する仮想機器のアドレスと同義である。
【0044】
以下、図1に示した本発明のゲートウェイ機器のより詳細な構成とその動作を説明する前提として、ゲートウェイ機器の行なう動作の概略を図に従って説明しておく。
【0045】
図2から図5は、本発明の実施形態1の本発明のゲートウェイ機器101の処理を示す概念図である。
【0046】
図2から図5では、宅内にTV電話とゲートウェイ機器を含むネットワークが存在している。
【0047】
図2に示すとおり、ゲートウェイ機器101は、宅外のネットワークとも接続されており、宅内のTV電話と宅外の機器はゲートウェイ機器101を介して通信を行なう。またTV電話は、その機能と性能とに基いて通信条件を規定する制御情報として、音声入力、音声出力、映像入力、映像出力、それぞれについて、使用するメディア転送のプロトコルの種類(例えばRTP)、CODECの種類(例えばG.711)などを保持している。
【0048】
宅内のTV電話が宅外の機器と通信を行なうためには、最初に、ゲートウェイ機器101にTV電話のアドレスを登録しておく必要がある(図2中で「アドレスの登録」で示す)。この時に登録されるのは、TV電話の宅内ネットワークにおける内部アドレスと、宅外からアクセスするための外部アドレスの対応のみである。
【0049】
図2の「機器1→TV電話」という記述は、TV電話の宅内ネットワークにおける内部アドレス「TV電話」が、宅外からアクセスするための外部アドレス「機器1」に対応していることを示している。本発明ではこの機器1のように内部機器に代って外部の機器と交信するものを「仮想機器」と呼ぶ。既存のTV電話は自機の制御情報を他の機器に登録する手段を持たないため、前述の制御情報はこの初期登録の時点ではゲートウェイ機器101には登録されない。そのため、ここで登録されたTV電話は、宅外の機器からは機器1という外部アドレスで参照できるだけで、具体的にどのような機器なのか知ることはできない。
【0050】
本発明の実施の形態1では、TV電話のアドレスが初めて登録された際には、ゲートウェイ機器101は制御情報については自機内には何も登録しない。以後、機器1を仮想機器1と呼ぶ。
【0051】
次に、図3に示すとおり、宅外の電話がゲートウェイ機器101に登録されている仮想機器1と音声通信を行なおうとしたとする。(図3で「電話への制御情報の応答」で示す)この時、まず宅外の電話からゲートウェイ機器101の仮想機器1に制御情報の要求が行なわれる。
【0052】
ゲートウェイ機器101は自機内に所定の制御情報が登録されていないので制御情報の要求を宅内のTV電話に中継し、宅内のTV電話は自身が保持する制御情報を、ゲートウェイ機器101を介して宅外の電話に通知する。通常、宅外の電話は制御情報の要求を行なう際に、電話に必要な音声入力と音声出力に関する制御情報を通知するよう相手に要求する。
【0053】
宅内のTV電話はこれに対応して、自身が持つ音声入力と音声出力に関する制御情報のみを返すことになる。制御情報の交換の後、宅外の電話と宅内のTV電話は、音声入出力を用いた通信を行なう。本発明の実施の形態1では、宅内のTV電話が制御情報をゲートウェイ機器101を介して返す際に、ゲートウェイ機器101がその制御情報を傍受する形で取得して、自機器内の制御情報に音声入力と音声出力を追加して更新する。これにより、ゲートウェイ機器101に登録されている仮想機器1が制御情報として音声入力と音声出力を持つ機器に更新されたことになる。
【0054】
さらに、同様にして、図4に示すとおり、さらに宅外のカメラがゲートウェイ機器101に登録されている仮想機器1と映像通信を行なおうとしたとする(図4でカメラへの「制御情報の応答」で示す)。制御情報の交換の後、宅外のカメラと宅内のTV電話は、映像入力(TV電話から見て)を用いた通信を行なう。本発明の実施の形態1では、宅内のTV電話が制御情報をゲートウェイ機器101を介して返す際に、ゲートウェイ機器101がその制御情報を傍受する形で取得して、それまで音声入力と音声出力のみ登録されていた自機器内の制御情報に、映像入力を追加する。これにより、ゲートウェイ機器101に登録されている仮想機器1が制御情報として音声入力、音声出力、映像入力を持つ機器に更新されたことになる。
【0055】
また、同様にして、図5に示すとおり、さらに宅外のモニタがゲートウェイ機器101に登録されている仮想機器1と映像通信を行なおうとしたとする(図5でモニタへの「制御情報の応答」で示す)制御情報の交換の後、宅外のモニタと宅内のTV電話は、映像出力(TV電話から見て)を用いた通信を行なう。本発明の実施の形態1では、宅内のTV電話が制御情報をゲートウェイ機器101を介して返す際に、ゲートウェイ機器101がその制御情報を傍受する形で取得して、それまで音声入力、音声出力、映像入力のみ登録されていた制御情報に、映像出力を追加する。これにより、ゲートウェイ機器101に登録されている仮想機器1が制御情報として音声入力、音声出力、映像入力、映像出力を持つ機器に更新されたことになる。
【0056】
以上の結果、仮想機器1は最終的にTV電話の各機能を持つ機器にゲートウェイ機器101内の制御情報が更新され、宅外の機器からも仮想機器1がTV電話の機能をもつ機器であることを知ることができるようになる。
【0057】
図6は、図1の通信制御部109、仮想機器管理部110、内部機器管理部111の構成図である。実線矢印は、通信制御部109が中継する外部機器と内部機器の通信の流れを示している。また破線矢印は、ゲートウェイ機器101の内部処理の流れを示している。
【0058】
図6を参照して、通信制御部109は、中継部612と、アドレス取得部613と、制御情報取得部614と、前述の仮想機器実現部615とからなる。中継部612は、内部通信部107と仮想機器実現部615、および、外部通信部108と仮想機器実現部615の通信を中継する。アドレス取得部613は、中継部612が中継した通信を傍受する形で内部機器102、103の外部ネットワーク106上における外部アドレスを取得して仮想機器管理部に渡す。制御情報取得部614は、中継部612が中継した通信を傍受する形で内部機器102、103の制御情報を取得して仮想機器管理部に渡す。仮想機器実現部615は、中継部612を介して外部機器104と内部機器102、103の通信を中継する。または、外部機器104からの要求に対して直接応答を返す。
【0059】
仮想機器管理部110は、仮想機器参照部616と、仮想機器登録部617と、前述の仮想機器データベース618とを備える。
【0060】
仮想機器参照部616は、アドレス取得部613から受け取った外部アドレスに対応する内部機器102、103の内部ネットワーク上における内部アドレスを、仮想機器データベース618から受け取って内部機器管理部111に渡したり、制御情報取得部614から受け取った内部機器102、103の制御情報を内部機器管理部111に渡したり、内部機器102、103の外部アドレスと内部アドレスの対応を、仮想機器登録部617を介して仮想機器データベース618に登録したり、内部機器管理部111から受け取った内部機器102、103の制御情報を元に、仮想機器実現部615の動作を制御したりする。
【0061】
仮想機器登録部617は、仮想機器参照部616から受け取った内部機器102、103の外部アドレスと内部アドレスの対応を、仮想機器データベース618に登録する。
【0062】
仮想機器データベース618は、仮想機器登録部617から登録された内部機器102、103の外部アドレスと内部アドレスの対応を保持し、仮想機器参照部616に外部アドレスに対応する内部機器102、103の内部アドレスを渡す。
【0063】
内部機器管理部111は、内部機器参照部619と、内部機器登録部620と、前述の内部機器データベース621とを備える。
【0064】
内部機器参照部619は、仮想機器参照部616から受け取った内部アドレスに対応する内部機器102、103の制御情報を、内部機器データベース621から受け取って仮想機器参照部616に渡したり、仮想機器参照部616から受け取った内部機器102、103の内部アドレスと制御情報を、内部機器登録部620を介して内部機器データベース621に登録したりする。
【0065】
内部機器登録部620は、内部機器参照部619から受け取った内部機器102、103の内部アドレスと制御情報の対応を、内部機器データベース621に登録する。内部機器データベース621は、内部機器登録部620から登録された内部機器102、103の内部アドレスと制御情報の対応を保持し、内部機器参照部619に内部アドレスに対応する内部機器102、103の制御情報を渡す。
【0066】
図7は、図6の仮想機器データベース618と内部機器データベース621に格納されるデータの構成を示す図である。
【0067】
図7を参照して、仮想機器データベース618は、内部機器102、103の外部ネットワーク106上における外部アドレスと、内部ネットワーク105上における内部アドレスの対応を、データ722、723として保持する。
【0068】
データ722では、外部アドレスdevice1@global.abc.co.jpで示される仮想機器が、内部アドレスdevice1@local.abc.co.jpで示される内部機器に対応していることを示している。データ723では、外部アドレスdevice2@global.abc.co.jpで示される仮想機器が、内部アドレスdevice2@local.abc.co.jpで示される内部機器に対応していることを示している。
【0069】
一方、内部機器データベース621は、内部機器102、103の内部ネットワーク105上における内部アドレスと、内部機器102、103の制御情報の対応を、それぞれデータ724、725として保持する。
【0070】
データ724では、内部アドレスdevice1@local.abc.co.jpで示される内部機器が、制御情報として音声入力、音声出力、映像入力、映像出力を持つことを示している。データ725では、内部アドレスdevice2@local.abc.co.jpで示される内部機器が、制御情報として音声入力、音声出力を持つことを示している。
【0071】
なお、ここでは、制御情報を単に音声入力、音声出力、映像入力、映像出力としてのみ記述しているが、この中には、メディア転送のプロトコルの種類、CODECの種類などの情報が含まれる。
【0072】
図8は、TV電話を例に通信セッションを張る際に交換するメッセージの例である。このメッセージでは、TV電話1がTV電話2に対し、TV電話で通話する際にやりとりされるメッセージの例である。
【0073】
図8を参照して、リクエストメッセージは、TV電話1は、IPアドレス100.101.102.103の49172ポートでG.711エンコードの音声データを、49173ポートでG.711エンコードの音声データを、それぞれRTPプロトコルで受信することを意味する。
【0074】
一方、応答メッセージは、同様にTV電話2は、IPアドレス110.111.112.113の3456ポートでG.711エンコードの音声データを、3457ポートでG.711エンコードの音声データを、それぞれRTPプロトコルで受信することを意味する。
【0075】
この2つのメッセージより、TV電話2の音声入出力、映像入出力の制御情報を取得できる。
【0076】
ただし、このメッセージは1つの例である。SIPではPayload部分はSDPの記述に基づくが、このメッセージ例の情報はやはりPayload内部に含んでいる。
【0077】
図9は、本発明の実施の形態1のゲートウェイ機器101の構成および動作を説明するための図である。
【0078】
図において、実線矢印は、通信制御部109が中継する外部機器と内部機器の通信の流れを示している。また破線矢印は、ゲートウェイ機器101の内部処理の流れを示している。
【0079】
図9では、図1および図9の内部機器102、103の具体例として、内部ネットワーク105にTV電話930、電話931が接続されている。
【0080】
また、外部機器104の具体例として、外部ネットワーク106にTV電話926、電話927、カメラ928、モニタ929が接続されている。これに合わせて仮想機器データベース618は、データ922、923の情報を保持する。
【0081】
データ922では、外部アドレスdevice1@global.abc.co.jpで示される仮想機器が、内部アドレスtvphone@local.abc.co.jpで示されるTV電話930に対応していることを示している。データ923では、外部アドレスdevice2@global.abc.co.jpで示される仮想機器が、内部アドレスphone@local.abc.co.jpで示される電話931に対応していることを示している。
【0082】
また、内部機器データベース621は、データ924、925の情報を保持する。
【0083】
データ924では、内部アドレスtvphone@local.abc.co.jpで示されるTV電話930が、制御情報として音声入力、音声出力、映像入力、映像出力を持つことを示している。データ925では、内部アドレスphone@local.abc.co.jpで示される電話931が、制御情報として音声入力、音声出力を持つことを示している。
【0084】
図10は、図1のゲートウェイ機器101のハードウェア構成を示すブロック図である。
【0085】
図10に示される例では、ゲートウェイ機器101が一般的なパーソナルコンピュータにより構成される場合を示している。
【0086】
図10のゲートウェイ機器101は、CPU1002と、外部記憶装置であるハードディスク1003と、ROM(Read Only Memory)1004と、RAM(Random Access Memory)1005と、表示装置1006と、キーボート/マウス1007と、内部ネットワーク105とのインターフェースである内部通信I/F1008と、外部ネットワーク106とのインターフェースである外部通信I/F1009とを備える。ゲートウェイ機器101の各構成要素は、バス1001によって互いに接続されている。
【0087】
すなわち、図1のゲートウェイ機器101の各機能のうち、外部通信部108の機能は、外部通信I/F1009により実現され、内部通信部107の機能は、内部通信I/F1008により実現される。また、通信制御部109、仮想機器管理部110、内部機器管理部111の機能のうち、中継部612、アドレス取得部613、制御情報取得部614、仮想機器実現部615の機能や、仮想機器参照部616、仮想機器登録部617の機能や、内部機器参照部619、内部機器登録部620の機能は、ROM1004またはハードディスク1003中に格納されたプログラムに基づく処理を、CPU1002が実行することにより実現される。さらに、仮想機器データベース618および内部機器データベース621は、たとえば、ハードディスク1003中に格納される。
【0088】
また、上記プログラムは、CD−ROMやDVD−ROMなどの記録媒体に記録されたものを、パーソナルコンピュータに接続された読取装置(ドライブ装置)によりハードディスク1003中に読取り格納することで、インストールされるものであってもよいし、あるいは、インターネットなどの通信回線を介して配信されたものをインストールしたものであってもよい。
【0089】
次に、図11から図23を用いて、本発明の実施の形態1を説明する。なお、ここではSIPプロトコルが利用されているとして説明を行なうが、それに限られるものではない。
【0090】
図11は、本発明の実施の形態1におけるゲートウェイ機器101の初期状態を示す図である。
【0091】
初期状態では、内部ネットワーク105上のTV電話930、電話931は、まだゲートウェイ機器101に登録されていない。したがって、仮想機器データベース618と内部機器データベース621には何も登録されていない。
【0092】
図12は、本発明の実施の形態1におけるゲートウェイ機器101へのTV電話930のアドレス登録を示す図である。また、図13は、本発明の実施の形態1におけるゲートウェイ機器101へのTV電話930のアドレス登録の処理手順を示すフローチャートである。
【0093】
図12と図13を用いて、TV電話930のアドレス登録の処理手順を説明する。
【0094】
まず、ゲートウェイ機器101の中継部612に、内部通信部107を介して、内部ネットワーク105上のTV電話930から要求が送信される。SIPプロトコルを利用する場合、この要求とは、機器の登録を要求するSIP REGISTERリクエストや、他の機器に接続を要求するSIP INVITEリクエストなどである(ステップS1302)。
【0095】
ゲートウェイ機器101は、中継部612が受信した要求が、アドレス登録の要求であるか否か判断する。SIPプロトコルを利用する場合、アドレス登録の要求である場合とは、SIP REGISTERリクエストの場合である(ステップS1303)。
【0096】
ステップS1303でアドレス登録の要求でないと判断された場合、TV電話930からの要求は、外部通信部108を介して要求された外部アドレス例えばdevice@global.xyz.co.jpに対応する外部機器(TV電話926、電話927、カメラ928、モニタ929など)に中継される(ステップS1312)。
【0097】
一方、ステップS1303でアドレス登録の要求であると判断された場合、アドレス取得部613にて、TV電話930の内部ネットワーク105上における内部アドレスtvphone@local.abc.co.jpと、外部ネットワーク106上における対応する外部アドレスdevice1@global.abc.co.jpとがアドレス登録要求情報の中から取得され、仮想機器参照部616に送られる(ステップS1304)。
【0098】
仮想機器参照部616は、仮想機器データベース618に取得した外部アドレスdevice1@global.abc.co.jpをエントリに持つフィールドが存在するか否か、すなわち、取得した外部アドレスdevice1@global.abc.co.jpをエントリに持つフィールドが存在する登録済みのTV電話930であるか、存在しない未登録のTV電話930であるかを判断する(ステップS1305)。
【0099】
ステップS1305で未登録のTV電話930であると判断された場合、TV電話930の内部ネットワーク105上における内部アドレスtvphone@local.abc.co.jpと、外部ネットワーク106上における外部アドレスdevice1@global.abc.co.jpとが、仮想機器参照部616から仮想機器登録部617に渡され、仮想機器データベース618に登録される。この仮想機器データベース618に登録されたデータが請求項2の内部機器と外部機器のアドレスの対応に相当する(ステップS1306)。
【0100】
更に、内部アドレスtvphone@local.abc.co.jpは、仮想機器参照部616から内部機器参照部619を介して内部機器登録部620に渡され、内部機器データベース621に登録される(ステップS1307)。
【0101】
更に、内部機器登録部620は、内部アドレスtvphone@local.abc.co.jpをもつ内部機器を内部機器データベース621に登録する。登録の際、制御情報については何も登録しない。この処理は本発明の請求項3に相当する(ステップS1308)。
【0102】
一方、ステップS1305で登録済みのTV電話930であると判断された場合、TV電話930の内部ネットワーク105上における内部アドレスtvphone@local.abc.co.jpは、仮想機器参照部616から仮想機器登録部617に渡され、仮想機器データベース618のTV電話930の外部アドレスdevice1@global.abc.co.jpをエントリに持つ内部アドレスのフィールドが書き換えられる(ステップS1309)。
【0103】
更に、内部アドレスtvphone@local.abc.co.jpは、仮想機器参照部616から内部機器参照部619を介して内部機器登録部620に渡され、内部機器データベース621のTV電話930の内部アドレスのエントリが書き換えられる(ステップS1310)。
【0104】
ステップS1308、或いはステップS1310の後、中継部612でTV電話930からの要求に対する応答が生成され、内部通信部107を介してTV電話930に返される。SIPプロトコルを利用する場合、この応答とは、SIP各種リクエストの処理に成功したことを示すSIP OKレスポンスである(ステップS1311)。
【0105】
ステップS1311、或いはステップS1312を経て、TV電話930からのアドレス登録要求の処理は終了する(ステップS1313)。
【0106】
ステップS1301、ステップS1302、ステップS1303、ステップS1304、ステップS1305、ステップS1306、ステップS1307、ステップS1308、ステップS1311、ステップS1313の処理手順を経た場合、ゲートウェイ機器101の仮想機器データベース618には、TV電話930の外部ネットワーク106上における外部アドレスdevice1@global.abc.co.jpと、内部ネットワーク105上における内部アドレスtvphone@local.abc.co.jpの対応1222がとして登録される。また、内部機器データベース621には、新たな内部機器としてTV電話930の内部ネットワーク105上における内部アドレス1224tvphone@local.abc.co.jpを持つ機器が登録される。ただし、登録時点では、TV電話930の制御情報は何も登録されない。
【0107】
図14は、本発明の実施の形態1における電話927からの制御情報要求を示す概念図である。
【0108】
また、図15は、本発明の実施の形態1における電話927からの制御情報要求の処理手順を示すフローチャートである。
【0109】
図14と図15を用いて、電話927がTV電話930の制御情報を要求するときの処理手順を説明する。
【0110】
まず、ゲートウェイ機器101の中継部612に、外部通信部108を介して、外部ネットワーク106上の電話927から接続要求がTV電話の外部ネットワーク上におけるアドレスdevice1@global.abc.co.jpを接続先として送信される。SIPプロトコルを利用する場合、この要求とは、他の機器に接続を要求するSIP INVITEリクエストなどである(ステップS1502)。
【0111】
次に、アドレス取得部613にて、電話927からの要求に含まれる、電話927が接続を行なおうとしているTV電話930の外部ネットワーク106上における外部アドレスdevice1@global.abc.co.jpが取得され、仮想機器参照部616に送られる(ステップS1503)。
【0112】
仮想機器参照部616は、仮想機器データベース618に、取得した外部アドレスdevice1@global.abc.co.jpをエントリに持つフィールドが存在するか否か、すなわち、登録済みのTV電話930であるか、存在しない未登録のTV電話930であるかを判断する(ステップS1504)。
【0113】
ステップS1504で未登録のTV電話930であると判断された場合、中継部612で電話930からの要求に対するアドレス不明の応答が生成され、外部通信部108を介して電話930に返される。SIPプロトコルを利用する場合、このアドレス不明の応答とは、SIP Not Foundレスポンスである(ステップS1508)。
【0114】
ステップS1504で登録済みのTV電話930であると判断された場合、ゲートウェイ機器101は、中継部612が受信した要求が、制御情報の要求であるか否か判断する。SIPプロトコルを利用する場合、制御情報の要求である場合とは、SIP INVITEリクエストの場合である(ステップS1505)。
【0115】
ステップS1505で制御情報の要求であると判断された場合、制御情報取得部614にて、電話927からの要求に含まれる、電話927が接続を行なおうとしているTV電話930に要求している制御情報が取得され、仮想機器参照部616に送られる(ステップS1506)。
【0116】
仮想機器参照部616は、仮想機器データベース618から、ステップS1503で取得した外部アドレス1222(device1@global.abc.co.jp)に対応するTV電話930の内部ネットワーク105上での内部アドレス1224(tvphone@local.abc.co.jp)を取得し、内部機器参照部619を介して、内部機器データベース621から取得した内部アドレス1224 (tvphone@local.abc.co.jp)に対応するTV電話930の制御情報を取得する。その制御情報がステップS1506で取得したTV電話930に要求している制御情報であるか否か、すなわち要求されている制御情報が内部機器データベース621登録されているか否かを判断する(ステップS1507)。
【0117】
ステップS1507で、TV電話930に要求している制御情報が登録されていると判断された場合、内部機器データベース621で取得した制御情報が仮想機器参照部616から仮想機器実現部615に渡され、仮想機器実現部615で中継部612から受け取った制御情報の要求に対する制御情報の応答が生成され、中継部612、外部通信部108を介して外部機器に返される。SIPプロトコルを利用する場合、この制御情報の応答とは、SIP INVITEリクエストの処理に成功したことを示すSIP OKレスポンスである(ステップS1509)。
【0118】
ステップS1505で制御情報の要求でないと判断された場合、また、ステップS1507で内部機器に要求する制御情報が未登録と判断された場合、仮想機器参照部616の指示により、仮想機器実現部615が中継部612から受け取った制御情報の要求は、中継部612、内部通信部107を介して内部アドレス1224 (tvphone@local.abc.co.jp)に対応するTV電話930に中継される(ステップS1510)。
【0119】
ステップS1508、ステップS1509、ステップS1510を経て、電話927からの要求の処理は終了する(ステップS1511)。
【0120】
制御情報が未登録の場合、ステップS1501、ステップS1502、ステップS1503、ステップS1504、ステップS1505、ステップS1506、ステップS1507、ステップS1510、ステップS1511の処理手順を経た場合、電話930からの制御情報の要求は、ゲートウェイ機器101で中継されて、TV電話930に送られる。
【0121】
図16は、本発明の実施の形態1において制御情報が未登録の場合に、電話927への制御情報応答を示す概念図である。
【0122】
また、図17は、本発明の実施の形態1における電話927への制御情報応答の処理手順を示すフローチャートである。
【0123】
図18は、図17のS1706の処理手順を示すフローチャートである。
以下、図16、図17、図18を用いて、制御情報が未登録の場合の電話927への制御情報応答の処理手順を説明する。
【0124】
まず、ゲートウェイ機器101の中継部612に、内部通信部108を介して、内部ネットワーク105上のTV電話930からの、制御情報の要求に対する応答が送信される。SIPプロトコルを利用する場合、この応答とは、他の機器に接続を要求するSIP INVITEリクエストに対するSIP OKレスポンスなどである(ステップS1702)。
【0125】
ゲートウェイ機器101は、中継部612が受信した応答が、制御情報の要求に対する応答であるか否か判断する。SIPプロトコルを利用する場合、制御情報の要求に対する応答である場合とは、レスポンスボディにSDPで記述された制御情報が付加された、SIP OKレスポンスの場合である(ステップS1703)。
【0126】
ステップS1703で制御情報の要求に対する応答であると判断された場合、アドレス取得部613にて、TV電話930の外部ネットワーク106上における外部アドレスdevice1@global.abc.co.jpが取得され、仮想機器参照部616に送られる(ステップS1704)。
【0127】
更に、制御情報取得部614にて、TV電話930からの応答に含まれる、電話927が接続先の機器に要求した制御情報が取得され、仮想機器参照部616に送られる(ステップS1705)。
【0128】
更に、仮想機器参照部616にて、TV電話930の外部アドレスdevice1@global.abc.co.jpに対応する内部アドレスtvphone@local.abc.co.jpが仮想機器データベース618内の仮想機器1222から取得され、TV電話930の制御情報と一緒に内部機器参照部に渡され、内部機器データベース621の更新が行なわれる。内部機器データベース621の更新の処理手順については、図18で後述する(ステップS1706)。
【0129】
ステップS1703で制御情報の要求に対する応答でないと判断された場合、または、ステップS1704、ステップS1705、ステップS1706を経た後、仮想機器実現部615が中継部612から受け取った制御情報の要求に対する応答は、中継部612、外部通信部108を介して外部アドレスdevice1@global.abc.co.jpに対応する電話927に中継され(ステップS1707)、応答の処理は終了する(ステップS1708)。
【0130】
次に、図18のフローチャートを参照して、図17のステップS1706の「制御情報の更新」の処理手順を説明する。
【0131】
まず、仮想機器参照部616からTV電話930の内部アドレスtvphone@local.abc.co.jpと制御情報を受け取った内部機器参照部619は、内部機器データベース621のTV電話930の内部アドレスtvphone@local.abc.co.jpをエントリに持つ制御情報のフィールドに制御情報が一つでも存在するかを確認する(ステップS1802)。
【0132】
ステップS1802で制御情報がまったく存在しないと確認した場合、TV電話930の内部アドレスtvphone@local.abc.co.jpと取得した制御情報とは、内部機器登録部620に渡され、内部機器データベース621のTV電話930の内部アドレスtvphone@local.abc.co.jpをエントリに持つフィールドに取得した制御情報全てを追加する(ステップS1803)。
【0133】
ステップS1802で制御情報が一つでも存在すると確認した場合、TV電話930の内部アドレスtvphone@local.abc.co.jpと取得した制御情報とは、内部機器登録部620に渡される。内部機器登録部620はこの制御情報を内部機器データベース621のTV電話930の内部アドレスtvphone@local.abc.co.jpをエントリに持つフィールドの制御情報と比較し、全てがこのフィールドに既に存在する場合は何もしない(ステップS1804)。
【0134】
ステップS1804で、取得した制御情報のなかに内部機器データベース621のTV電話930の内部アドレスtvphone@local.abc.co.jpをエントリに持つフィールドの制御情報にないものがある場合、取得した制御情報のうちこのフィールドにないものだけを追加する(ステップS1805)。
【0135】
ステップS1803、ステップS1805を経て、図17のステップS1706の処理は終了する(ステップS1806)。
【0136】
ステップS1701、ステップS1702、ステップS1703、ステップS1704、ステップS1705、ステップS1706、ステップS1801、ステップS1802、ステップS1803、ステップS1806、ステップS1707、ステップS1708の処理手順を経た結果、ゲートウェイ機器101の内部機器データベース621の、TV電話930の内部ネットワーク105上における内部アドレスtvphone@local.abc.co.jpをエントリに持つフィールドには、TV電話930が電話927と音声通話をする際に必要な、音声入力と音声出力の制御情報が登録される(図16のデータ1624)。
【0137】
図19は、本発明の実施の形態1における電話927とTV電話930の音声通話を示す概念図である。
【0138】
図12から図17を用いて説明した処理を経た後、電話927とTV電話930は、交換した制御情報に基づいて通信制御部109の制御のもとで音声通話を行なう。
【0139】
図20は、本発明の実施の形態1において、図19の後でさらにカメラ928とTV電話930の通信を行なった後の状態を示す概念図である。
【0140】
図20と、図12から図19の図を用いて説明した処理を経た後の違いは、図18のフローチャート図において、ステップS1803に代わりステップS1804、ステップS1805を経ていることである。これにより、ゲートウェイ機器101の内部機器データベース621のTV電話930の内部アドレスをエントリに持つフィールドには、音声入出力に加えて、カメラ928との間で交換した映像入力の制御情報が書き加えられる。
【0141】
同様に、図21は、本発明の実施の形態1において、図20の後でさらにモニタ929とTV電話930の通信を行なった後の状態を示す概念図である。
【0142】
図21と、図12から図20を用いて説明した処理を経た後との違いは、図18のフローチャート図において、ステップS1803に代わりステップS1804、ステップS1805を経ていることである。これにより、ゲートウェイ機器101の内部機器データベース621のTV電話930の内部アドレスをエントリに持つフィールドには、音声入出力と映像入力に加えて、モニタ929との間で交換した映像出力の制御情報が書き加えられる。
【0143】
図22は、本発明の実施の形態1において、図21の後でさらにTV電話926と制御情報の要求と応答を行なった場合を示す概念図である。
【0144】
図22の処理と、図12から図21を用いて説明した処理を経た後との違いは、既にTV電話に必要な全ての制御情報が登録されているため、図15のフローチャート図において、ステップS1507の判断でステップS1510に代わりステップS1509を経ていることである。これにより、TV電話926からの制御情報の要求は内部ネットワーク105上のTV電話930に送られず、ゲートウェイ機器101から直接応答が返される。
【0145】
図23は、本発明の実施の形態1において、図22の後の電話927とTV電話930の音声通話を示す概念図である。図23と図19の間に処理の違いはない。
【0146】
以上説明したように、実施の形態の1によって、制御情報の登録方法を持たない内部機器においても、外部機器と内部機器が互いの制御情報を交換する際に、外部機器から制御情報の要求を受けた本ゲートウェイ機器が、内部機器に問い合わせずに自身に登録してある制御情報を前記外部機器に直接返すことで、セッションの確立を高速化できる。同時に、前記内部ネットワーク上に無駄なトラフィックを発生させなくてすむ。
【0147】
[実施の形態2]
以下、図24から図27を参照して、本発明の実施の形態2について説明する。なお、実施の形態1と同一または相当部分には、同一符号を付して、その説明は繰り返さない。
【0148】
図24から図27は、本発明の実施形態2の本発明のゲートウェイ機器101の処理を示す概念図である。
【0149】
図24から図27では、宅内に電話とゲートウェイ機器を含むネットワークが存在している。ゲートウェイ機器は宅外のネットワークとも接続されており、宅内の電話と宅外の機器はゲートウェイ機器を介して通信を行なう。また電話は、その機能と性能とに基いて通信条件を規定する制御情報として、音声入力、音声出力、それぞれについて、使用するメディア転送のプロトコルの種類(例えばRTP)、CODECの種類(例えばG.711)などを保持している。
【0150】
図24を参照して、宅内の電話が宅外の機器と通信を行なうためには、最初に、ゲートウェイ機器に電話のアドレスを登録しておく必要がある(図24で「アドレスの登録」で示す)。この時に登録されるのは、電話の宅内ネットワークにおける内部アドレスと、宅外からアクセスするための外部アドレスの対応のみである。
【0151】
図24から図27の「機器2→電話」という記述は、電話の宅内ネットワークにおける内部アドレス「電話」が、宅外からアクセスするための外部アドレス「機器2」に対応していることを示している。この機器2も機器1と同様に仮想機器である。既存の電話は制御情報を他の機器に登録する手段を持たないため、前述の制御情報はこの初期登録の時点ではゲートウェイ機器には登録されない。そのため、ここで登録された電話は、宅外の機器からは機器2という外部アドレスで参照できるだけで、具体的にどのような機器なのか登録されていない。本発明の実施の形態2では、実施の形態1とは違って「電話」のアドレスが登録された際に、ゲートウェイ機器は仮想機器として代理することになる宅内機器が持ち得る制御情報全てを仮の制御情報として登録しておく。すなわち、ゲートウェイ機器が、仮想機器として代理することになる宅内機器が持ち得ると判断する全ての制御情報の種類(ここでは音声入力、音声出力、映像入力、映像出力)について、メディア転送のプロトコルの種類、CODECの種類などを、ゲートウェイ機器が決めるデフォルトの値で設定しておく。以後、機器2を仮想機器2と呼ぶ。
【0152】
次に、図25を参照して、宅外の電話がゲートウェイ機器に登録されている仮想機器2と音声通信を行なおうとしたとする。(図25で、電話への「制御情報の応答」で示す)この時、まず宅外の電話からゲートウェイ機器の仮想機器2に制御情報の要求が行なわれる。ゲートウェイ機器は自機内に確定した制御情報がないので制御情報の要求を宅内の電話に中継し、宅内の電話は自身が保持する制御情報を、ゲートウェイ機器を介して宅外の電話に通知する。通常、宅外の電話は制御情報の要求を行なう際に、電話に必要な音声入力と音声出力に関する制御情報を通知するよう相手に要求する。宅内の電話はこれに対応して、自身が持つ音声入力と音声出力に関する制御情報のみを返すことになる。制御情報の交換の後、宅外の電話と宅内の電話は、音声入出力を用いた通信を行なう。本発明の実施の形態2では、宅内の電話が制御情報の応答をゲートウェイ機器を介して返す際に、ゲートウェイ機器がその制御情報を傍受する形で取得して、それまで仮の制御情報として登録されていた音声入力と音声出力を、確定した制御情報として登録変更する。映像入力と映像出力についてはまだ仮登録されたままである。これにより、ゲートウェイ機器に登録されている仮想機器2が制御情報として音声入力と音声出力を実際に持つことが、宅外の機器から知ることができる。
【0153】
同様にして、図26に示すとおり、さらに宅外のカメラがゲートウェイ機器に登録されている仮想機器2と映像通信を行なおうとしたとする(図26で、カメラへの「制御情報の応答」で示す)。
【0154】
制御情報の交換の結果、宅外のカメラと宅内の電話は、映像入力(電話から見て)を用いた通信は不可能として通信を終了する。本発明の実施の形態2では、宅内の電話が制御情報をゲートウェイ機器を介して返す際に、その応答から電話が映像入力を用いた通信が不可能だったと分かるので、ゲートウェイ機器はそれまで仮の制御情報として登録されていた映像入力を仮想機器2の制御情報から削除する。これにより、仮想機器2が、制御情報として音声入力と音声出力は実際に持ち、映像入力は持たない、映像出力が持つか否かは未確定な機器としてゲートウェイ機器内の登録が更新されたことになる。
【0155】
同様にして、図27に示すとおり、さらに宅外のモニタがゲートウェイ機器に登録されている仮想機器2と映像通信を行なおうとしたとする(図27で、カメラへの「制御情報の応答」で示す)。
【0156】
制御情報の交換の結果、宅外のモニタと宅内の電話は、映像出力(電話から見て)を用いた通信は不可能として通信を終了する。本発明の実施の形態2では、宅内の電話が制御情報をゲートウェイ機器を介して返す際に、その応答から電話が映像出力を用いた通信が不可能だったと分かるので、ゲートウェイ機器はそれまで仮の制御情報として登録されていた映像出力を仮想機器2の制御情報から削除する。これにより、仮想機器2が、制御情報として音声入力と音声出力は実際に持ち、映像入力も、映像出力ももたない機器としてゲートウェイ機器内の登録が更新されたことになる。
【0157】
以上により、仮想機器2が電話の機能のみを持つ機器としてゲートウェイ機器内の登録が更新され、宅外の機器からも仮想機器2が電話機能のみをもつ機器であることを知ることができるようになる。
【0158】
実施の形態1と同様に、図28から図40を用いて、本発明の実施の形態2について詳しく説明する。ここでは、一例として、SIPプロトコルが利用されているとして説明を行なう。
【0159】
本発明の実施の形態2においては、実施の形態1で説明した、発明の全体構成(図1)、通信制御部などの構成(図2)、仮想機器DBの構成(図7)、内部機器DBの構成(図8、図9)、ハードウェア構成(図10)で示した内容は、基本的には、実施の形態1と同様なので、ここでは説明は繰り返さない。
【0160】
以下、実施の形態2が、実施の形態1と異なっている部分について詳しく説明する。
【0161】
図28は、本発明の実施の形態2における初期状態を示す概念図である。
初期状態では、内部ネットワーク105上のTV電話930、電話931は、まだゲートウェイ機器101に登録されていない。したがって、仮想機器データベース618と内部機器データベース621には何も登録されていない。
【0162】
図29は、本発明の実施の形態2における電話931のアドレス登録を示す概念図である。また、図30は、本発明の実施の形態2における電話931のアドレス登録の処理手順を示すフローチャート図である。図29と図30を用いて、電話931のアドレス登録の処理手順を説明する。
【0163】
まず、ゲートウェイ機器101の中継部612に、内部通信部107を介して、内部ネットワーク105上の電話931から要求が送信される。SIPプロトコルを利用する場合、この要求とは、機器の登録を要求するSIP REGISTERリクエストや、他の機器に接続を要求するSIP INVITEリクエストなどである(ステップS3002)。
【0164】
ゲートウェイ機器101は、中継部612が受信した要求が、アドレス登録の要求であるか否か判断する。SIPプロトコルを利用する場合、アドレス登録の要求である場合とは、SIP REGISTERリクエストの場合である(ステップS3003)。
【0165】
ステップS3003でアドレス登録の要求でないと判断された場合、電話931からの要求は、外部通信部108を介して外部アドレス、例えばdevice2@global.comに対応する外部機器(TV電話926、電話927、カメラ928、モニタ929など)に中継される(ステップS3012)。
【0166】
ステップS3003でアドレス登録の要求であると判断された場合、アドレス取得部613にて、電話930の内部ネットワーク105上における内部アドレスphone@local.abc.co.jpと、外部ネットワーク106上における外部アドレスdevice2@global.abc.co.jpとがアドレス登録の要求情報の中から取得され、仮想機器参照部616に送られる(ステップS3004)。
【0167】
仮想機器参照部616は、仮想機器データベース618に、取得した外部アドレスdevice2@global.abc.co.jpをエントリに持つフィールドが存在するか否か、すなわち、取得した外部アドレスdevice2@global.abc.co.jpをエントリに持つフィールドが存在する登録済みの電話930であるか、存在しない未登録の電話930であるかを判断する(ステップS3005)。
【0168】
ステップS3005で未登録の電話931であると判断された場合、電話931の内部ネットワーク105上における内部アドレスphone@local.abc.co.jpと、外部ネットワーク106上における外部アドレスdevice2@global.abc.co.jpとが、仮想機器参照部616から仮想機器登録部617に渡され、仮想機器データベース618に仮想機器2923として登録される(ステップS3006)。
【0169】
更に、内部アドレスphone@local.abc.co.jpは、仮想機器参照部616から内部機器参照部619を介して内部機器登録部620に渡され、内部機器データベース621に登録される(ステップS3007)。
【0170】
更に、内部機器登録部620は、内部アドレスphone@local.abc.co.jpに対応する制御情報を内部機器データベース621に仮の制御情報として登録する。この制御情報は、ゲートウェイ機器に登録される可能性のある全ての制御情報(例えば音声入出力と映像入出力)であり、それぞれデフォルトのプロトコルの種類(RTPなど)やCODECの種類(G.711など)が決められている。また、登録された各制御情報は、それが仮の制御情報であることを示すフラグが立っている。図29の内部機器データ2925の(仮)という記述は仮登録であることを示すフラグが立っていることを示している(ステップS3008)。
【0171】
ステップS3005で登録済みの電話931であると判断された場合、電話931の内部ネットワーク105上における内部アドレスphone@local.abc.co.jpは、仮想機器参照部616から仮想機器登録部617に渡され、仮想機器データベース618の電話931の外部アドレスdevice2@global.abc.co.jpをエントリに持つ内部アドレスのフィールドが書き換えられる(ステップS3009)。
【0172】
更に、内部アドレスphone@local.abc.co.jpは、仮想機器参照部616から内部機器参照部619を介して内部機器登録部620に渡され、内部機器データベース621の電話931の内部アドレスのエントリが書き換えられる(ステップS3010)。
【0173】
ステップS3008、或いはステップS3010の後、中継部612で電話931からの要求に対する応答が生成され、内部通信部107を介して電話931に返される。SIPプロトコルを利用する場合、この応答とは、SIP各種リクエストの処理に成功したことを示すSIP OKレスポンスである(ステップS3011)。
【0174】
ステップS3011、或いはステップS3012を経て、電話931からの要求の処理は終了する(ステップS3013)。
【0175】
ステップS3001、ステップS3002、ステップS3003、ステップS3004、ステップS3005、ステップS3006、ステップS3007、ステップS3008、ステップS3011、ステップS3013の処理手順を経た場合、ゲートウェイ機器101の仮想機器データベース618には、電話931の外部ネットワーク106上における外部アドレスdevice2@global.abc.co.jpと、内部ネットワーク105上における内部アドレスphone@local.abc.co.jpの対応がデータ2923として登録される。
【0176】
また、内部機器データベース621には、電話931の内部ネットワーク105上における内部アドレスphone@local.abc.co.jpと、電話931の制御情報の対応がデータ2925として登録される。この制御情報は、ゲートウェイ機器に登録される可能性のある全ての制御情報(例えば音声入出力と映像入出力)が含まれ、それぞれデフォルトのプロトコルの種類(RTPなど)やCODECの種類(G.711など)が決められている。また、各制御情報には、それが仮登録であることを示すフラグが立っている。図29のデータ2925の(仮)という記述は仮の内容であることを示すフラグである。
【0177】
図31は、本発明の実施の形態2における外部の電話927からの制御情報要求を示す図である。また、図32は、本発明の実施の形態2における電話927からの制御情報要求の処理手順を示すフローチャートである。
【0178】
図31と図32を用いて、電話927の制御情報要求の処理手順を説明する。
まず、ゲートウェイ機器101の中継部612に、外部通信部108を介して、外部ネットワーク106上の電話927から要求が送信される。SIPプロトコルを利用する場合、この要求とは、他の機器に接続を要求するSIP INVITEリクエストなどである(ステップS3202)。
【0179】
次に、アドレス取得部613にて、電話927からの要求に含まれる、電話927が接続を行なおうとしている電話931の外部ネットワーク106上における外部アドレスdevice2@global.abc.co.jpが取得され、仮想機器参照部616に送られる(ステップS3203)。
【0180】
仮想機器参照部616は、仮想機器データベース618に、取得した外部アドレスdevice2@global.abc.co.jpをエントリに持つフィールドが存在するか否か、すなわち、取得した外部アドレスdevice1@global.abc.co.jpをエントリに持つフィールドが存在する登録済みの電話931であるか、存在しない未登録の電話931であるかを判断する(ステップS3204)。
【0181】
ステップS3204で未登録のTV電話931であると判断された場合、中継部612で電話927からの要求に対するアドレス不明の応答が生成され、外部通信部108を介して電話927に返される。SIPプロトコルを利用する場合、このアドレス不明の応答とは、SIP Not Foundレスポンスである(ステップS3208)。
【0182】
ステップS3204で登録済みの電話931であると判断された場合、ゲートウェイ機器101は、中継部612が受信した要求が、制御情報の要求であるか否か判断する。SIPプロトコルを利用する場合、制御情報の要求である場合とは、SIP INVITEリクエストの場合である(ステップS3205)。
【0183】
ステップS3205で制御情報の要求であると判断された場合、制御情報取得部614にて、電話927からの要求に含まれる、電話927が接続を行なおうとしている電話930に要求している制御情報が取得され、仮想機器参照部616に送られる(ステップS3206)。
【0184】
仮想機器参照部616は、仮想機器データベース618から、ステップS3203で取得した外部アドレスdevice2@global.abc.co.jpに対応する電話931の内部ネットワーク105上での内部アドレスphone@local.abc.co.jpを取得し、内部機器参照部619を介して、内部機器データベース621から、取得した内部アドレスphone@local.abc.co.jpに対応する電話931の制御情報を取得する。その制御情報が、ステップS3206で取得した電話931に要求している制御情報であるか否か、すなわち要求されている制御情報が内部機器データベース621に登録されているか否かを判断する。その際、仮登録を示すフラグが立っている制御情報は、要求されている制御情報を満足させないとして判断する(ステップS3207)。
【0185】
ステップS3207で、電話931に要求している制御情報が登録されていると判断された場合、内部機器データベース621で取得した制御情報が仮想機器参照部616から仮想機器実現部615に渡され、仮想機器実現部615で中継部612から受け取った制御情報の要求に対する制御情報の応答が生成され、中継部612、外部通信部108を介して外部機器に返される。SIPプロトコルを利用する場合、この制御情報の応答とは、SIP INVITEリクエストの処理に成功したことを示すSIP OKレスポンスである(ステップS3209)。
【0186】
ステップS3205で制御情報の要求でないと判断された場合、また、ステップS3207で内部機器に要求する制御情報が未登録と判断された場合、仮想機器参照部616の指示により、仮想機器実現部615が中継部612から受け取った制御情報の要求は、中継部612、内部通信部107を介して内部アドレスphone@local.abc.co.jpに対応する電話931に中継される(ステップS3210)。
【0187】
ステップS3208、ステップS3209、ステップS3210を経て、電話927からの要求の処理は終了する(ステップS3211)。
【0188】
ステップS3201、ステップS3202、ステップS3203、ステップS3204、ステップS3205、ステップS3206、ステップS3207、ステップS3210、ステップS3211の処理手順を経た場合、電話931からの制御情報の要求は、ゲートウェイ機器101で中継されて、電話931に送られる。
【0189】
図33は、本発明の実施の形態2における電話927からの制御情報要求に対し、内部電話931からの制御情報応答を示す概念図である。また、図34は、本発明の実施の形態2における電話927への制御情報応答の処理手順を示すフローチャートである。
【0190】
図35は、図34のステップS3406の処理手順を示すフローチャート図である。図33、図34、図35を用いて、電話927の制御情報応答の処理手順を説明する。
【0191】
まず、ゲートウェイ機器101の中継部612に、内部通信部107を介して、内部ネットワーク105上の電話931から、外部電話927からの制御情報の要求に対する応答が送信される。SIPプロトコルを利用する場合、この応答とは、他の機器に接続を要求するSIP INVITEリクエストに対するSIP OKレスポンスなどである(ステップS3402)。
【0192】
ゲートウェイ機器101は、中継部612が受信した応答が、制御情報の要求に対する応答であるか否か判断する。SIPプロトコルを利用する場合、制御情報の要求に対する応答である場合とは、レスポンスボディにSDPで記述された制御情報が付加された、SIP OKレスポンスの場合である(ステップS3403)。
【0193】
ステップS3403で制御情報の要求に対する応答であると判断された場合、アドレス取得部613にて、電話931の外部ネットワーク106上における外部アドレスdevice2@global.abc.co.jpが取得され、仮想機器参照部616に送られる(ステップS3404)。
【0194】
更に、制御情報取得部614にて、電話931からの応答に含まれる、電話927が接続先の機器に要求した制御情報が取得され、仮想機器参照部616に電話931がもつことを確認できた制御情報として送られる。また、図25のカメラ928と電話931の通信のような場合、要求した制御情報を持たない機器であり、そのことは応答から分かるので、仮想機器参照部616に電話931がもたないことを確認できた制御情報として送られる。制御情報は、宅内機器が持つ機能と確認されたものはyes(制御情報)、持たないと確認されたものはno(制御情報)といったメッセージにして送られる(ステップS3405)。
【0195】
更に、仮想機器参照部616にて、電話931の外部アドレスdevice2@global.abc.co.jpに対応する内部アドレスphone@local.abc.co.jpが仮想機器データベース618から取得され、電話931が持つか否かの情報が付加された制御情報と一緒に、内部機器参照部に渡され、内部機器データベース621の更新が行なわれる。内部機器データベース621の更新の処理手順については、図32で後述する(ステップS3406)。
【0196】
ステップS3403で制御情報の要求に対する応答でないと判断された場合、または、ステップS3404、ステップS3405、ステップS3406を経た後、仮想機器実現部615が中継部612から受け取った制御情報の要求に対する応答は、中継部612、外部通信部108を介して外部アドレスdevice2@global.comに対応する電話927に中継される(ステップS3407)。
【0197】
ステップS3407を経て、電話931からの応答の処理は終了する(ステップS3408)。
【0198】
図35は、図34のステップS3406の処理手順を示すフローチャートである。
【0199】
まず、仮想機器参照部616から電話931の内部アドレスphone@local.abc.co.jpと電話931が持つこと、または持たないことが確認された制御情報を受け取った内部機器参照部619は、内部機器データベース621の電話931の内部アドレスphone@local.abc.co.jpをエントリに持つフィールドに仮に登録してある制御情報が、取得した電話931が持つことを確認された制御情報と一致するか否かを判断する。「仮に登録してある制御情報」とは、図30のステップS3008でゲートウェイ機器101がデフォルトで登録した制御情報で、仮登録を示すフラグが立っているものである。また、「持つことを確認された制御情報と一致する」とは、例えば、仮登録を示すフラグが立った音声入力の制御情報が登録されている場合に、内部機器参照部619が受け取った内部機器が持つことが確認された制御情報のなかに音声入力の制御情報が含まれている場合を指す。但し、その際、たとえば、音声入力の制御情報の内容(プロトコルやCODECの種類など)が異なっていても、音声入力という制御情報が含まれていれば「記述されている」とみなす(ステップS3502)。
【0200】
ステップS3502で、仮に登録してある制御情報が、電話931が持つと確認された制御情報と一致していると判断された場合、電話931の内部アドレスphone@local.abc.co.jpと取得した電話931の制御情報とは内部機器登録部620に渡され、内部機器データベース621の電話931の内部アドレスphone@local.abc.co.jpをエントリに持つフィールドに仮に登録されている制御情報を、取得した制御情報に記述されている内容で置き換える。その時に仮登録を示すフラグは外される。具体的には、電話931が持つことが確認された制御情報のなかに「音声入力」、「音声出力」という制御情報が含まれていれば、内部機器データベース621に該当機器の制御情報として仮に登録されている「音声入力」、「音声出力」の制御情報が新に取得した制御情報の「音声入力」、「音声出力」のデータで置き換えられ、仮登録を示すフラグが外される。以後、この制御情報は電話931の確定した制御情報として扱われる(ステップS3503)。
【0201】
次に、内部機器参照部619は、内部機器データベース621の電話931の内部アドレスphone@local.abc.co.jpをエントリに持つフィールドに仮に登録してある制御情報のどれかが、電話931が持たないことが確認された制御情報と一致するか否か判断する。「仮に登録してある制御情報」とは、前述の通りである。また、「持たないことが確認された制御情報と一致する」とは、、制御情報の要求の際「映像入力」が要求されたにもかかわらず、それに対して応答した制御情報に「映像入力」が含まれていなかった場合などである。この場合電話931が持たないことが確認された制御情報として「映像入力」が内部機器参照部619に渡されているので、それと仮登録の制御情報のどれかが一致しているかを確認する(ステップS3504)。
【0202】
ステップS3504で仮登録してある制御情報のどれかが、電話931が持たないことが確認された制御情報と一致すると判断された場合、電話931の内部アドレスphone@local.abc.co.jpは内部機器登録部620に渡され、内部機器データベース621の電話931の内部アドレスphone@local.abc.co.jpをエントリに持つフィールドから、仮登録されていたが、持たないことが確認された制御情報は削除される(ステップS3505)。
【0203】
ステップS3504で、仮登録してある制御情報の中に、内部機器が持たないことが確認された制御情報と一致するものがない場合、および、ステップS3505を経た場合、図35のステップS3406の処理は終了する(ステップS3506)。
【0204】
ステップS3401、ステップS3402、ステップS3403、ステップS3404、ステップS3405、ステップS3406、ステップS3501、ステップS3502、ステップS3503、ステップS3504、ステップS3506、ステップS3407、ステップS3408の処理手順を経た場合、ゲートウェイ機器101の内部機器データベース621の、電話931の内部ネットワーク105上における内部アドレスphone@local.abc.co.jpをエントリに持つフィールドは、電話931が電話927と音声通話をする際に必要な音声入力と音声出力の制御情報が通話開始時に中継した内容で更新され、仮登録を示すフラグが外される(図33のデータ3325)。
【0205】
図36は、本発明の実施の形態2における電話927と電話931の音声通話を示す概念図である。図29から図35を用いて説明した処理を経た後、電話927と電話931は、交換した制御情報に基づいて音声通話を行なう。
【0206】
図37は、本発明の実施の形態2において、図36の後でカメラ928と電話931の通信を行なった後の状態を示す概念図である。実際には、カメラ928と電話931は制御情報を交換した結果、通信不可であることが分かり通信は行なわれない。
【0207】
図37と、図29から図36を用いて説明した処理を経た後の違いは、図37の場合には、図35のフローチャート図において、ステップS3502でnoが選択されたためステップS3503を経ず、さらにステップS3504でyesが選択されたためステップS3505を経ていることである。これにより、カメラ928から要求された映像入力の制御情報を電話931が持たないことが判明し、ゲートウェイ機器101の内部機器データベース621の電話931の内部アドレスをエントリに持つフィールドから、仮登録を示すフラグが立っている映像入力の制御情報が削除される。
【0208】
同様に、図38は、本発明の実施の形態2において、図37の後でモニタ929と電話931の通信を行なった後の状態を示す概念図である。実際には、モニタ929と電話931は制御情報を交換した結果、通信不可であることが分かり通信は行なわれない。図38と、図29から図36で説明した処理を経た後の違いは、図38の場合には、図35のフローチャート図において、ステップS3502でnoが選択されたためステップS3503を経ず、さらにステップS3504でyesが選択されたためステップS3505を経ていることである。これにより、モニタ929から要求された映像出力の制御情報を電話931が持たないことが判明し、ゲートウェイ機器101の内部機器データベース621の電話931の内部アドレスをエントリに持つフィールドから、仮登録を示すフラグが立っている映像出力の制御情報が削除される
図39は、本発明の実施の形態2において、図38の後でTV電話926から電話931に電話としての制御情報の要求を行ない、それに対し応答を行なった場合を示す概念図である。
【0209】
図39の処理と、図29から図35を用いて説明した処理の違いは、図39の場合には電話931の制御情報として「音声入力」「音声出力」が既に確定しているので図32のフローチャート図において、ステップS3207の判断でステップS3210に代わりステップS3209を経ていることである。これにより、TV電話926からの制御情報の要求は内部ネットワーク105上の電話931に送られない。そしてゲートウェイ機器101から直接確定済みの制御情報がTV電話926へ返される。
【0210】
図40は、本発明の実施の形態2において、図39の後のTV電話926と電話931の音声通話を示す概念図である。ただし、外部ネットワークに接続する機器がTV電話926となっている他は、図40と図36の間に処理の違いはない。
【0211】
以上のように、実施の形態の2においては、実施の形態1の奏する効果と同様に、次の効果が奏される。
【0212】
すなわち、制御情報の登録方法を持たない内部機器においても、外部機器と内部機器が互いの制御情報を交換する際に、外部機器から制御情報の要求を受けた本ゲートウェイ機器が、内部機器に問い合わせずに自身に登録してある制御情報を前記外部機器に直接返すことで、セッションの確立を高速化できる。同時に、前記内部ネットワーク上に無駄なトラフィックを発生させなくてすむ。
【0213】
なお、本ゲートウェイ機器をもとにして、自身が管理している前記内部機器の制御情報の内容を予め知ることができるので、複数の前記内部機器を組み合わせた新しいサービスを前記ゲートウェイ機器の中で生成して提供することができる。例えば、前記内部機器として電話、モニタ、カメラが接続されており、それらの制御情報が予め登録されている場合、電話の音声入出力機能、モニタの映像入力機能、カメラの映像出力機能を組み合わせた仮想的なTV電話サービスを前記ゲートウェイ機器の中で生成して提供することが考えられる
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
【0214】
【発明の効果】
以上説明したとおり、本発明によれば、通信制御部が中継した通信から取得した内部機器のアドレスと制御情報から、取得したアドレスに対応する内部機器管理部が管理する内部機器についての制御情報を更新することによって、制御情報の登録方法を持たない内部機器でも制御情報を登録することができるようになる。
【0215】
また、仮想機器管理部は、内部機器の内部ネットワークにおけるアドレスと、内部機器の代理として動作する外部ネットワークにおけるアドレスとの対応を保持することによって、通信制御部が取得したアドレスから内部機器の内部ネットワークにおけるアドレスを特定して、内部機器管理部で管理される内部機器に対応する制御情報の更新を行なうことができ、それによって制御情報の登録方法を持たない内部機器でも制御情報を登録することができるようになる。
【0216】
また、内部機器管理部が、内部機器の制御情報は用いずに、アドレスのみを用いて、新たな内部機器の登録を行なうことによって、内部機器の内部ネットワーク上におけるアドレスと制御情報を登録する際に制御情報の登録は行なわれず、制御情報の登録方法を持たない内部機器でも、ゲートウェイ機器に登録できるようになる。
【0217】
また、通信制御部が、外部機器から仮想機器に対する制御情報の要求を受信した際にそれを対応する内部機器に中継し、内部機器から外部機器に対する制御情報の応答を受信した際にそれを外部機器に中継すると同時に制御情報を取得し、取得した制御情報を用いて内部機器管理部にて内部機器の制御情報を登録、もしくは更新することにより、制御情報の登録方法を持たない内部機器でも、ゲートウェイ機器に制御情報を登録できるようになる。
【0218】
また、内部機器管理部は、外部機器からの制御情報の要求に対し、要求先の内部機器の制御情報が内部機器管理部に存在する場合には、それを用いて応答することによって、制御情報の登録方法を持たない内部機器においても、外部機器と内部機器が互いの制御情報を交換する際に、外部機器から制御情報の要求を受けたゲートウェイ機器が、内部機器に問い合わせずに自身に登録してある制御情報を外部機器に直接返すことで、セッションの確立を高速化できる。同時に、内部ネットワーク上に無駄なトラフィックを発生させなくてすむ。
【図面の簡単な説明】
【図1】本発明の実施の形態1のゲートウェイ機器101の構成を説明するための機能ブロック図である。
【図2】本発明の実施形態1の本発明のゲートウェイ機器101の処理を示す第1の概念図である。
【図3】本発明の実施形態1の本発明のゲートウェイ機器101の処理を示す第2の概念図である。
【図4】本発明の実施形態1の本発明のゲートウェイ機器101の処理を示す第3の概念図である。
【図5】本発明の実施形態1の本発明のゲートウェイ機器101の処理を示す第4の概念図である。
【図6】図1の通信制御部109、仮想機器管理部110、内部機器管理部111の構成図である。
【図7】図6の仮想機器データベース618と内部機器データベース621に格納されるデータの構成を示す図である。
【図8】TV電話を例に通信セッションを張る際に交換するメッセージの例である。
【図9】本発明の実施の形態1のゲートウェイ機器101の構成および動作を説明するための図である。
【図10】図1のゲートウェイ機器101のハードウェア構成を示すブロック図である。
【図11】本発明の実施の形態1におけるゲートウェイ機器101の初期状態を示す図である。
【図12】本発明の実施の形態1におけるゲートウェイ機器101へのTV電話930のアドレス登録を示す図である。
【図13】本発明の実施の形態1におけるゲートウェイ機器101へのTV電話930のアドレス登録の処理手順を示すフローチャートである。
【図14】本発明の実施の形態1における電話927からの制御情報要求を示す概念図である。
【図15】本発明の実施の形態1における電話927からの制御情報要求の処理手順を示すフローチャートである。
【図16】本発明の実施の形態1において制御情報が未登録の場合に、電話927への制御情報応答を示す概念図である。
【図17】本発明の実施の形態1における電話927への制御情報応答の処理手順を示すフローチャートである。
【図18】図17のS1706の処理手順を示すフローチャートである。
【図19】本発明の実施の形態1における電話927とTV電話930の音声通話を示す概念図である。
【図20】本発明の実施の形態1において、図19の後でさらにカメラ928とTV電話930の通信を行なった後の状態を示す概念図である。
【図21】本発明の実施の形態1において、図20の後でさらにモニタ929とTV電話930の通信を行なった後の状態を示す概念図である。
【図22】本発明の実施の形態1において、図21の後でさらにTV電話926と制御情報の要求と応答を行なった場合を示す概念図である。
【図23】本発明の実施の形態1において、図22の後の電話927とTV電話930の音声通話を示す概念図である。
【図24】本発明の実施形態2の本発明のゲートウェイ機器101の処理を示す第1の概念図である。
【図25】本発明の実施形態2の本発明のゲートウェイ機器101の処理を示す第2の概念図である。
【図26】本発明の実施形態2の本発明のゲートウェイ機器101の処理を示す第3の概念図である。
【図27】本発明の実施形態2の本発明のゲートウェイ機器101の処理を示す第4の概念図である。
【図28】本発明の実施の形態2における初期状態を示す概念図である。
【図29】本発明の実施の形態2における電話931のアドレス登録を示す概念図である。
【図30】本発明の実施の形態2における電話931のアドレス登録の処理手順を示すフローチャート図である。
【図31】本発明の実施の形態2における外部の電話927からの制御情報要求を示す図である。
【図32】本発明の実施の形態2における電話927からの制御情報要求の処理手順を示すフローチャートである。
【図33】本発明の実施の形態2における電話927からの制御情報要求に対し、内部電話931からの制御情報応答を示す概念図である。
【図34】本発明の実施の形態2における電話927への制御情報応答の処理手順を示すフローチャートである。
【図35】図34のステップS3406の処理手順を示すフローチャート図である。
【図36】本発明の実施の形態2における電話927と電話931の音声通話を示す概念図である。
【図37】本発明の実施の形態2において、図36の後でカメラ928と電話931の通信を行なった後の状態を示す概念図である。
【図38】本発明の実施の形態2において、図37の後でモニタ929と電話931の通信を行なった後の状態を示す概念図である。
【図39】図38の後でTV電話926から電話931に電話としての制御情報の要求を行ない、それに対し応答を行なった場合を示す概念図である。
【図40】本発明の実施の形態2において、図39の後のTV電話926と電話931の音声通話を示す概念図である。
【符号の説明】
101 ゲートウェイ機器、102,103 内部機器、104 外部機器、105 内部ネットワーク、106 外部ネットワーク、107 内部通信部、108 外部通信部、109 通信制御部、110 仮想機器管理部、111 内部機器管理部、612 中継部、613 アドレス取得部、614 制御情報取得部、615 仮想機器実現部、616 仮想機器参照部、617 仮想機器登録部、618 仮想機器、619 内部機器参照部、620 内部機器登録部、621 内部機器データベース。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention records a configuration, a relay method, a relay processing program, and a relay processing program of a gateway device that relays communication between at least one internal device on an internal network and at least one external device on an external network. It relates to a recording medium.
[0002]
[Prior art]
With the recent broadband use of the Internet, IP phones and TV phones that perform audio / video communication using the TCP / IP protocol have become widespread as external devices and internal devices.
[0003]
In communication of IP phones and TV phones, there are concepts called call control signaling, media control, and media transfer. The call control signaling specifies the establishment of a session when each device performs audio / video communication. The media control defines control information to be exchanged when devices perform audio / video communication. The media transfer defines the audio / video communication between the devices.
[0004]
Hereinafter, in the present specification, “control information” is information that defines communication conditions based on the function and performance of a device. As an example of control information, the “control information” is defined by this media control and used in media transfer. There is control information, which is information including the type of protocol (eg, RTP (Real-time Transport Protocol)) used for audio input / output / video input / output, the type of codec (eg, G.711), and the like.
[0005]
Communication protocols for IP phones and TV phones include H.264. H.323 and SIP (Session Initiation Protocol). H. H.323 is a set of protocols for realizing an IP telephone or a TV telephone itself. 225 and Q.E. 931 for media control. 245, and the use of RTP or the like for media transfer. On the other hand, SIP is a protocol for establishing a general session, and is used for call control signaling of IP phones and TV phones. When SIP is used for call control signaling, SDP (Session Description Protocol) is used for media control, and RTP or the like is used for media transfer. In recent years, communication protocols for IP telephones and TV telephones have become H.264. 323 is shifting to SIP. Also in the communication of IP phones and TV phones, when an IP phone or TV phone on the Internet communicates with an IP phone or TV phone on an intranet / home network (or an IP phone or TV on a certain intranet / home network). When a telephone communicates with an IP telephone or a TV telephone on another intranet / home network, communication is performed via a gateway device. When SIP is used as the communication protocol, a SIP proxy is prepared in the gateway device and relays call control signaling. For the RTP relay of media transfer, an address translation function and an RTP proxy function are used (for example, see Non-Patent Document 1).
[0006]
In addition, as a conventional technique, in a distributed system in which a plurality of devices are connected to a network, a distributed system setting method that enables automatic setting of devices and communication with each other is described as "distributed system". System setting method "(for example, see Patent Document 1).
[0007]
In addition, there is a communication relay device and a communication relay method that acquire service information and access information on a local network in response to an access request from an external network and respond to the access request (for example, see Patent Literature 1). Reference 2).
[0008]
[Non-patent document 1]
Jonathan Davidson / James Peters Kazekosha Translated Edition "VoIP Basic Guide"
[0009]
[Patent Document 1]
JP 2000-269998 A
[0010]
[Patent Document 2]
JP-A-2002-141953
[0011]
[Problems to be solved by the invention]
Conventionally, H. In a system for realizing an existing IP phone or TV phone using H.323 or SIP, control information of internal devices is not registered in advance in a gateway device for relaying to an external network.
[0012]
In fact, H. In a system including devices such as an existing IP phone and a TV phone using H.323 and SIP, it is necessary to exchange control information in order to perform communication. However, each device of the conventional system transmits control information of an internal device. Since there is no mechanism for registering control information in advance, for example, a mechanism for registering control information from the internal device to the gateway device, or a mechanism for acquiring control information for the internal device from the gateway device, a request including control information from the external device Is only relayed to the internal device and a response including control information of the internal device is returned.
[0013]
The internal device is implemented so that control information is returned to the external device only after receiving a request for control information from the external device, and the gateway device communicates with the internal device every time the control information is requested and transmits the control information. Since the response is made to the external device after the acquisition, if the control information of each internal device is registered in the gateway device, there is a problem that the necessary time for acquiring the unnecessary control information and unnecessary traffic are generated in the internal network. .
[0014]
In the setting method disclosed in Japanese Patent Application Laid-Open No. 2000-269998, a device connected to a network is automatically recognized, information held by the device is collected from the recognized device, and a device is determined based on the collected information. And generating information necessary for performing the above setting, and setting the generated information in the device to realize communication between the devices. However, the setting method in Japanese Patent Application Laid-Open No. 2000-269998 presupposes that each device is based on a network system compatible with the setting method. H.323 and SIP cannot use a network system constructed with devices such as existing IP phones and TV phones.
[0015]
The communication relay device disclosed in JP-A-2002-141953 acquires service information and access information on a local network and provides the information to an external network. The information is registered and stored on the communication relay device. You can't do anything.
[0016]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object of the present invention is to allow an external device and an internal device to exchange control information with each other even in an internal device having no control information registration method. An object of the present invention is to provide a gateway device, a relay method, a relay processing program, and a recording medium on which such a relay processing program is recorded, which can speed up the establishment of a session.
[0017]
[Means for Solving the Problems]
In order to solve the above problems, a gateway device according to the present invention is a gateway device that relays communication between at least one internal device on an internal network and at least one external device on an external network. Internal communication means for communicating with internal equipment on the outside, external communication means for communicating with external equipment on the external network, a communication control unit for relaying communication between the internal communication means and external communication means, and an external network as a proxy for the internal equipment A virtual device management unit that registers and manages a virtual device that communicates with the external device, and control information that the internal device has to define communication conditions based on the function and performance of the internal device and the address of the internal device. An internal device management unit that manages the internal devices in association with each other.The communication control unit exchanges external devices and internal devices in relayed communication. Obtaining the control information and the address of the internal device from among that information inside the device management unit, and updates the corresponding control information in the internal device management unit by the acquired control information.
[0018]
Therefore, such a gateway device can acquire control information relayed at the time of communication and respond to internal devices without adding a special control information registration mechanism to external devices other than the gateway device and some devices. The attached control information can be managed in the gateway device.
[0019]
Preferably, the gateway device according to the present invention, when the internal device management unit, in response to a request for control information from an external device, the control information of the requested internal device is managed by the internal device management unit, It also has the function of responding using.
[0020]
Therefore, in response to a request for control information from an external device, such a gateway device can provide control information to the external device without acquiring control information from the requested internal device each time the request is made. .
[0021]
More preferably, in the gateway device according to the present invention, the virtual device management unit manages the correspondence between the address of the internal device in the internal network and the address of the external device in the external network.
[0022]
Therefore, in response to a request for an external network address, control information of a device having a corresponding internal network address can be returned.
[0023]
More preferably, in the gateway device according to the present invention, the internal device management unit registers a new internal device using the address of the internal device.
[0024]
Therefore, such a gateway device can newly register and manage an internal device that does not have a special mechanism for providing control information.
[0025]
More preferably, in the gateway device according to the present invention, the communication control unit obtains, from the relayed communication, the address of the internal device and control information that can be confirmed to be actually possessed by the internal device, and the internal device management unit performs communication control. The control information of the internal device acquired by the communication control unit is newly registered as the control information of the internal device corresponding to the address of the internal device acquired by the unit.
[0026]
Therefore, such a gateway device registers control information together with an internal device that does not have a special mechanism for providing control information for registration by acquiring control information at the time of communication. be able to.
[0027]
Preferably, in the gateway device according to the present invention, the communication control unit obtains, from the relayed communication, an address of the internal device and control information that can be confirmed to be actually possessed by the internal device, and the internal device management unit performs communication control unit control. If the control information that is confirmed to have the information is not included in the control information registration of the internal device corresponding to the address of the internal device acquired by the communication control unit, the registration is added.
[0028]
Therefore, such a gateway device can add unregistered control information to the registration later even for an internal device that does not have a special mechanism for providing control information for registration.
[0029]
Preferably, in the gateway device according to the present invention, the communication control unit acquires, from the relayed communication, the address of the internal device and control information that can confirm that the internal device does not actually exist, and the internal device management unit performs communication. The control unit confirms that the control information is not actually possessed, and deletes the control information registration of the internal device corresponding to the address of the internal device acquired by the communication control unit.
[0030]
Therefore, such a gateway device can delete registered control information that is found to be unusable.
[0031]
According to another aspect of the present invention, there is provided a relay method for relaying communication between at least one internal device on an internal network and at least one external device on an external network. Registering a virtual device for communicating with an external device on the device network, receiving communication from the external device on the external network, and relaying communication from the external device to the internal device, Relaying, in response to communication from the external device, communicating with the internal device on the internal network; responding to the response from the internal device, acquiring the address and control information of the internal device; Updates the control information of the internal device corresponding to the managed address from the address and control information of the internal device. And a step.
[0032]
Therefore, such a relay method acquires the control information of the internal device when relaying the communication of the control information from the internal device, and updates the control information of the corresponding internal device managed in the relay device. be able to.
[0033]
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 at least one internal device on an internal network and at least one external device on an external network. Registering a virtual device for communicating with an external device on an external device network on behalf of the internal device in the gateway device; receiving communication from the external device on the external network; Relaying the communication from the device to the internal device, wherein the relaying step is, in response to the communication from the external device, communicating with the internal device on the internal network, and in response to the response from the internal device, Obtaining the address and control information of the internal device, and the obtained address of the internal device From the control information, and updating the control information of the internal device corresponding to the address managed.
[0034]
According to still another aspect of the present invention, a relay processing program for causing a computer to execute a relay process for relaying communication between at least one internal device on an internal network and at least one external device on an external network is recorded. A recording medium, in the gateway device, registering a virtual device for communicating with the external device on the external device network as a proxy for the internal device, and receiving communication from the external device on the external network; Relaying communication from the external device to the internal device, wherein the relaying step includes: communicating with the internal device on the internal network in response to the communication from the external device; and responding to the response from the internal device. Acquiring the address and control information of the internal device, and acquiring the address of the acquired internal device. From less and control information, a relay process and updating the control information of the internal device corresponding to the address managed, causes the computer to execute.
[0035]
Therefore, a program for causing the computer to execute the relay processing acquires control information of the internal device when relaying control information communication from the internal device, and controls the corresponding internal device managed in the relay device. Can be updated.
[0036]
BEST MODE FOR CARRYING OUT THE INVENTION
[Embodiment 1]
FIG. 1 is a functional block diagram for explaining a configuration of the gateway device 101 according to the first embodiment of the present invention.
[0037]
Referring to FIG. 1, gateway device 101 relays communication between at least one internal device 102 and 103 on internal network 105 and at least one external device 104 on external network 106.
[0038]
The gateway device 101 includes an internal communication unit 107, an external communication unit 108, a communication control unit 109, a virtual device management unit 110, and an internal device management unit 111.
[0039]
The internal communication unit 107 communicates with the internal devices 102 and 103 on the internal network 105. The external communication unit 108 communicates with the external device 104 on the external network 106. The communication control unit 109 relays communication between the internal communication unit 107 and the external communication unit 108. The virtual device management unit 110 manages the internal devices 102 and 103 as virtual devices on the external network 106. The internal device management unit 111 manages control information of the internal devices 102 and 103.
[0040]
Examples of the internal devices 102 and 103 and the external device 104 include H.264. H.323 and SIP, a TV phone, a monitor, a camera, and the like. Examples of the internal network 105 include an intranet in a company and a home network in a home constructed using the TCP / IP protocol.
[0041]
An example of the external network 106 includes the Internet constructed using the TCP / IP protocol. In addition, the internal network 105 and the external network 106 may be different logical networks physically constructed on the same network.
[0042]
Here, the “virtual device” according to the present invention will be described.
The “virtual device” is a proxy for the internal devices 102 and 103 prepared on the gateway device 101 so that the external device 104 on the external network 106 communicates with the internal devices 102 and 103 on the internal network 105. . The virtual device is represented as an external address on the external network 106 of the internal devices 102 and 103.
[0043]
The correspondence between the internal address of the internal device represented by the virtual device on the internal network 105 and the external address on the external network 106 is managed by a virtual device database 618 described later. The control information of the internal device represented by the virtual device is managed by an internal device database 621 described later. Furthermore, the processing content of the virtual device when the external device on the external network 106 communicates with the virtual device on the gateway device 101 is executed by a virtual device realizing unit 615 described later. The expression “external address of the internal device” is synonymous with the address of the virtual device corresponding to the internal device.
[0044]
Hereinafter, as a premise for describing a more detailed configuration and operation of the gateway device of the present invention shown in FIG. 1, an outline of an operation performed by the gateway device will be described with reference to the drawings.
[0045]
FIG. 2 to FIG. 5 are conceptual diagrams showing processing of the gateway device 101 of the present invention according to the first embodiment of the present invention.
[0046]
2 to 5, a network including a TV phone and a gateway device exists in the house.
[0047]
As shown in FIG. 2, the gateway device 101 is also connected to a network outside the home, and the TV telephone inside the home and the device outside the home communicate via the gateway device 101. In addition, the TV phone uses media transfer protocol types (for example, RTP) for audio input, audio output, video input, and video output as control information for defining communication conditions based on its function and performance. It holds the type of CODEC (for example, G.711).
[0048]
In order for the in-home TV phone to communicate with a device outside the home, it is necessary to first register the address of the TV phone in the gateway device 101 (indicated by "address registration" in FIG. 2). At this time, only the correspondence between the internal address of the TV phone in the home network and the external address for access from outside the home is registered.
[0049]
The description “device 1 → TV phone” in FIG. 2 indicates that the internal address “TV phone” in the home network of the TV phone corresponds to the external address “device 1” for access from outside the home. I have. In the present invention, a device that communicates with an external device instead of the internal device, such as the device 1, is referred to as a “virtual device”. Since the existing TV telephone has no means for registering its own control information in another device, the above-mentioned control information is not registered in the gateway device 101 at the time of this initial registration. Therefore, the TV telephone registered here can be referred to only by the external address of the device 1 from a device outside the house, and it is not possible to know the specific device.
[0050]
In the first embodiment of the present invention, when the TV phone address is registered for the first time, the gateway device 101 does not register any control information in its own device. Hereinafter, the device 1 is referred to as a virtual device 1.
[0051]
Next, as shown in FIG. 3, it is assumed that a telephone outside the home tries to perform voice communication with the virtual device 1 registered in the gateway device 101. At this time, a request for control information is first made from the telephone outside the home to the virtual device 1 of the gateway device 101 (indicated by "response of control information to telephone" in FIG. 3).
[0052]
Since the predetermined control information is not registered in the own device, the gateway device 101 relays the request for the control information to the home TV telephone, and the home TV telephone transmits the control information held by itself to the home TV via the gateway device 101. Notify outside phones. Normally, when making a request for control information, a telephone outside the home requests the other party to notify control information relating to voice input and voice output necessary for the telephone.
[0053]
In response, the TV telephone in the house returns only the control information relating to its own voice input and voice output. After the exchange of the control information, the telephone outside the home and the TV telephone inside the home perform communication using voice input / output. In the first embodiment of the present invention, when a home TV telephone returns control information via the gateway device 101, the gateway device 101 acquires the control information in an intercepting form, and stores the control information in the own device. Update by adding audio input and audio output. This means that the virtual device 1 registered in the gateway device 101 has been updated to a device having audio input and audio output as control information.
[0054]
Further, similarly, as shown in FIG. 4, it is assumed that a camera outside the home tries to perform video communication with the virtual device 1 registered in the gateway device 101 (see FIG. Response "). After the exchange of the control information, the camera outside the house and the TV phone inside the house perform communication using video input (as viewed from the TV phone). In the first embodiment of the present invention, when a home TV telephone returns control information via the gateway device 101, the gateway device 101 acquires the control information in an intercepting manner, and until then, voice input and voice output are performed. The video input is added to the control information in the own device registered only. This means that the virtual device 1 registered in the gateway device 101 has been updated to a device having audio input, audio output, and video input as control information.
[0055]
Similarly, as shown in FIG. 5, it is further assumed that a monitor outside the home tries to perform video communication with the virtual device 1 registered in the gateway device 101. After the exchange of the control information (indicated by "response"), the monitor outside the home and the TV telephone at home perform communication using video output (as viewed from the TV telephone). In the first embodiment of the present invention, when a home TV telephone returns control information via the gateway device 101, the gateway device 101 acquires the control information in an intercepted form, and then performs voice input and voice output. Then, the video output is added to the control information in which only the video input is registered. As a result, the virtual device 1 registered in the gateway device 101 has been updated to a device having audio input, audio output, video input, and video output as control information.
[0056]
As a result, the virtual device 1 finally updates the control information in the gateway device 101 to a device having each function of a TV phone, and the virtual device 1 is also a device having a TV phone function from devices outside the house. You will be able to know that.
[0057]
FIG. 6 is a configuration diagram of the communication control unit 109, the virtual device management unit 110, and the internal device management unit 111 of FIG. A solid arrow indicates a flow of communication between the external device and the internal device relayed by the communication control unit 109. A broken arrow indicates a flow of internal processing of the gateway device 101.
[0058]
Referring to FIG. 6, communication control section 109 includes relay section 612, address obtaining section 613, control information obtaining section 614, and virtual device realizing section 615 described above. The relay unit 612 relays communication between the internal communication unit 107 and the virtual device realizing unit 615, and between the external communication unit 108 and the virtual device realizing unit 615. The address acquisition unit 613 acquires the external addresses of the internal devices 102 and 103 on the external network 106 and intercepts the communication relayed by the relay unit 612, and passes the external addresses to the virtual device management unit. The control information acquisition unit 614 acquires the control information of the internal devices 102 and 103 in a form that intercepts the communication relayed by the relay unit 612 and passes the control information to the virtual device management unit. The virtual device realizing unit 615 relays communication between the external device 104 and the internal devices 102 and 103 via the relay unit 612. Alternatively, a response is directly returned to a request from the external device 104.
[0059]
The virtual device management unit 110 includes a virtual device reference unit 616, a virtual device registration unit 617, and the above-described virtual device database 618.
[0060]
The virtual device reference unit 616 receives the internal addresses of the internal devices 102 and 103 on the internal network corresponding to the external addresses received from the address acquisition unit 613 from the virtual device database 618, passes them to the internal device management unit 111, and controls The control information of the internal devices 102 and 103 received from the information acquisition unit 614 is passed to the internal device management unit 111, and the correspondence between the external addresses and the internal addresses of the internal devices 102 and 103 is determined by the virtual device registration unit 617 via the virtual device registration unit 617. The operation of the virtual device realizing unit 615 is controlled based on the control information of the internal devices 102 and 103 received from the internal device management unit 111 or registered in the database 618.
[0061]
The virtual device registration unit 617 registers the correspondence between the external addresses and the internal addresses of the internal devices 102 and 103 received from the virtual device reference unit 616 in the virtual device database 618.
[0062]
The virtual device database 618 holds the correspondence between the external addresses and the internal addresses of the internal devices 102 and 103 registered from the virtual device registration unit 617, and stores the internal devices 102 and 103 corresponding to the external addresses in the virtual device reference unit 616. Pass the address.
[0063]
The internal device management unit 111 includes an internal device reference unit 619, an internal device registration unit 620, and the above-described internal device database 621.
[0064]
The internal device reference unit 619 receives the control information of the internal devices 102 and 103 corresponding to the internal address received from the virtual device reference unit 616 from the internal device database 621 and passes the control information to the virtual device reference unit 616. The internal addresses and control information of the internal devices 102 and 103 received from the 616 are registered in the internal device database 621 via the internal device registration unit 620.
[0065]
The internal device registration unit 620 registers the correspondence between the internal addresses of the internal devices 102 and 103 and the control information received from the internal device reference unit 619 in the internal device database 621. The internal device database 621 holds the correspondence between the internal addresses of the internal devices 102 and 103 registered from the internal device registration unit 620 and the control information, and controls the internal device reference unit 619 to control the internal devices 102 and 103 corresponding to the internal addresses. Pass information.
[0066]
FIG. 7 is a diagram showing a configuration of data stored in the virtual device database 618 and the internal device database 621 in FIG.
[0067]
Referring to FIG. 7, virtual device database 618 holds, as data 722 and 723, correspondence between external addresses of internal devices 102 and 103 on external network 106 and internal addresses on internal network 105.
[0068]
In the data 722, the external address device1 @ global. abc. co. jp is an internal address device1 @ local. abc. co. jp indicates that it corresponds to the internal device indicated by jp. In the data 723, the external address device2 @ global. abc. co. jp is an internal address device2 @ local. abc. co. jp indicates that it corresponds to the internal device indicated by jp.
[0069]
On the other hand, the internal device database 621 holds the correspondence between the internal addresses of the internal devices 102 and 103 on the internal network 105 and the control information of the internal devices 102 and 103 as data 724 and 725, respectively.
[0070]
In the data 724, the internal address device1 @ local. abc. co. jp indicates that the internal device has audio input, audio output, video input, and video output as control information. In the data 725, the internal address device2 @ local. abc. co. jp indicates that the internal device has audio input and audio output as control information.
[0071]
Here, the control information is simply described as audio input, audio output, video input, and video output, but this includes information such as the type of media transfer protocol and the type of CODEC.
[0072]
FIG. 8 is an example of a message exchanged when a communication session is established using a TV phone as an example. This message is an example of a message exchanged between the TV phone 1 and the TV phone 2 when talking on the TV phone.
[0073]
Referring to FIG. 8, the request message indicates that the TV phone 1 has received a G.49 message at port 49172 of IP address 100.101.102.103. 711-encoded audio data is transmitted to the G. 711-encoded audio data is received by the RTP protocol.
[0074]
On the other hand, the response message also indicates that the TV phone 2 has received the IP address 110.11.11.113. The G.711 encoded audio data is transmitted to the G.711 port at port 3457. 711-encoded audio data is received by the RTP protocol.
[0075]
From these two messages, control information for audio input / output and video input / output of the TV phone 2 can be obtained.
[0076]
However, this message is one example. In SIP, the payload portion is based on the description of the SDP, but the information of this message example is also included in the payload.
[0077]
FIG. 9 is a diagram for explaining the configuration and operation of the gateway device 101 according to the first embodiment of the present invention.
[0078]
In the drawing, solid arrows indicate the flow of communication between the external device and the internal device relayed by the communication control unit 109. A broken arrow indicates a flow of internal processing of the gateway device 101.
[0079]
9, a TV phone 930 and a phone 931 are connected to the internal network 105 as specific examples of the internal devices 102 and 103 in FIGS.
[0080]
As a specific example of the external device 104, a TV phone 926, a phone 927, a camera 928, and a monitor 929 are connected to the external network 106. At the same time, the virtual device database 618 holds information of the data 922 and 923.
[0081]
In the data 922, the external address device1 @ global. abc. co. jp is an internal address tvphone @ local. abc. co. jp indicates that it corresponds to the TV phone 930. In the data 923, the external address device2 @ global. abc. co. jp is an internal address phone @ local. abc. co. jp indicates that it corresponds to the telephone 931 indicated by jp.
[0082]
Further, the internal device database 621 holds information of data 924 and 925.
[0083]
In the data 924, the internal address tvphone @ local. abc. co. jp indicates that the TV phone 930 has audio input, audio output, video input, and video output as control information. In the data 925, the internal address phone @ local. abc. co. jp indicates that the telephone 931 has voice input and voice output as control information.
[0084]
FIG. 10 is a block diagram showing a hardware configuration of the gateway device 101 of FIG.
[0085]
The example illustrated in FIG. 10 illustrates a case where the gateway device 101 is configured by a general personal computer.
[0086]
10 includes a CPU 1002, a hard disk 1003 as an external storage device, a read only memory (ROM) 1004, a random access memory (RAM) 1005, a display device 1006, a keyboard / mouse 1007, and an internal device. An internal communication I / F 1008 which is an interface with the network 105 and an external communication I / F 1009 which is an interface with the external network 106 are provided. The components of the gateway device 101 are connected to each other by a bus 1001.
[0087]
That is, among the functions of the gateway device 101 in FIG. 1, the function of the external communication unit 108 is realized by the external communication I / F 1009, and the function of the internal communication unit 107 is realized by the internal communication I / F 1008. Also, among the functions of the communication control unit 109, the virtual device management unit 110, and the internal device management unit 111, the functions of the relay unit 612, the address acquisition unit 613, the control information acquisition unit 614, the virtual device realization unit 615, and the virtual device reference The functions of the unit 616 and the virtual device registration unit 617, and the functions of the internal device reference unit 619 and the internal device registration unit 620 are realized by the CPU 1002 executing processing based on a program stored in the ROM 1004 or the hard disk 1003. You. Further, the virtual device database 618 and the internal device database 621 are stored, for example, in the hard disk 1003.
[0088]
The program is installed by reading a program recorded on a recording medium such as a CD-ROM or a DVD-ROM into a hard disk 1003 by a reading device (drive device) connected to a personal computer. It may be one that has been installed or one that has been distributed via a communication line such as the Internet.
[0089]
Next, a first embodiment of the present invention will be described with reference to FIGS. Here, the description will be made assuming that the SIP protocol is used, but the present invention is not limited to this.
[0090]
FIG. 11 is a diagram illustrating an initial state of the gateway device 101 according to Embodiment 1 of the present invention.
[0091]
In the initial state, the TV phone 930 and the phone 931 on the internal network 105 have not been registered in the gateway device 101 yet. Therefore, nothing is registered in the virtual device database 618 and the internal device database 621.
[0092]
FIG. 12 is a diagram showing address registration of the TV phone 930 to the gateway device 101 according to Embodiment 1 of the present invention. FIG. 13 is a flowchart showing a procedure for registering the address of TV phone 930 with gateway device 101 according to Embodiment 1 of the present invention.
[0093]
The procedure for registering the address of the TV phone 930 will be described with reference to FIGS.
[0094]
First, a request is transmitted from the TV phone 930 on the internal network 105 to the relay unit 612 of the gateway device 101 via the internal communication unit 107. When the SIP protocol is used, this request is a SIP REGISTER request for requesting device registration, a SIP INVITE request for requesting connection to another device, or the like (step S1302).
[0095]
The gateway device 101 determines whether or not the request received by the relay unit 612 is a request for address registration. In the case of using the SIP protocol, the case of the request for address registration is the case of the SIP REGISTER request (step S1303).
[0096]
If it is determined in step S1303 that the request is not an address registration request, the request from the TV phone 930 is an external address requested via the external communication unit 108, for example, device @ global. xyz. co. jp (TV phone 926, telephone 927, camera 928, monitor 929, etc.) (step S1312).
[0097]
On the other hand, if it is determined in step S1303 that the request is for address registration, the address acquisition unit 613 causes the TV phone 930 to use the internal address tvphone@local.local on the internal network 105. abc. co. jp and the corresponding external address device1 @ global. abc. co. jp is acquired from the address registration request information and sent to the virtual device reference unit 616 (step S1304).
[0098]
The virtual device reference unit 616 stores the acquired external address device1 @ global. abc. co. jp as an entry, that is, whether the acquired external address device1 @ global. abc. co. It is determined whether the registered TV phone 930 has a field having a jp entry as an entry or an unregistered TV phone 930 that does not exist (step S1305).
[0099]
If it is determined in step S1305 that the TV phone 930 is an unregistered TV phone 930, the internal address tvphone @ local. abc. co. jp and the external address device1 @ global. abc. co. jp is passed from the virtual device reference unit 616 to the virtual device registration unit 617 and registered in the virtual device database 618. The data registered in the virtual device database 618 corresponds to the correspondence between the addresses of the internal device and the external device in claim 2 (step S1306).
[0100]
Further, the internal address tvphone @ local. abc. co. The jp is passed from the virtual device reference unit 616 to the internal device registration unit 620 via the internal device reference unit 619, and is registered in the internal device database 621 (step S1307).
[0101]
Further, the internal device registration unit 620 stores the internal address tvphone @ local. abc. co. jp is registered in the internal device database 621. At the time of registration, no control information is registered. This processing corresponds to claim 3 of the present invention (step S1308).
[0102]
On the other hand, if it is determined in step S1305 that the TV phone 930 has been registered, the internal address tvphone @ local. abc. co. jp is passed from the virtual device reference unit 616 to the virtual device registration unit 617, and the external address device1 @ global. abc. co. The field of the internal address having jp as an entry is rewritten (step S1309).
[0103]
Further, the internal address tvphone @ local. abc. co. The jp is passed from the virtual device reference unit 616 to the internal device registration unit 620 via the internal device reference unit 619, and the entry of the internal address of the TV phone 930 in the internal device database 621 is rewritten (step S1310).
[0104]
After step S1308 or step S1310, the relay unit 612 generates a response to the request from the TV phone 930, and returns the response to the TV phone 930 via the internal communication unit 107. When the SIP protocol is used, this response is a SIP OK response indicating that the processing of the various SIP requests has been successful (step S1311).
[0105]
After step S1311 or step S1312, the processing of the address registration request from the TV phone 930 ends (step S1313).
[0106]
After the processing procedure of step S1301, step S1302, step S1303, step S1304, step S1305, step S1306, step S1307, step S1308, step S1311, and step S1313, the virtual device database 618 of the gateway device 101 stores the TV phone 930 External address device1 @ global. abc. co. jp and the internal address tvphone @ local. abc. co. jp correspondence 1222 is registered as. Also, the internal device database 621 includes an internal address 1224tvphone@local.com on the internal network 105 of the TV phone 930 as a new internal device. abc. co. jp is registered. However, at the time of registration, no control information of the TV phone 930 is registered.
[0107]
FIG. 14 is a conceptual diagram showing a control information request from telephone 927 according to Embodiment 1 of the present invention.
[0108]
FIG. 15 is a flowchart showing a processing procedure of a control information request from telephone 927 according to Embodiment 1 of the present invention.
[0109]
The processing procedure when the telephone 927 requests the control information of the TV telephone 930 will be described with reference to FIGS.
[0110]
First, a connection request from the telephone 927 on the external network 106 to the relay unit 612 of the gateway device 101 via the external communication unit 108 is transmitted to the TV device at the address device1 @ global. abc. co. jp is transmitted with the connection destination. When the SIP protocol is used, this request is a SIP INVITE request for requesting a connection to another device (step S1502).
[0111]
Next, in the address acquisition unit 613, the external address device1@global.com included in the request from the telephone 927 on the external network 106 of the TV telephone 930 to which the telephone 927 attempts to connect. abc. co. jp is acquired and sent to the virtual device reference unit 616 (step S1503).
[0112]
The virtual device reference unit 616 stores the acquired external address device1 @ global. abc. co. It is determined whether there is a field having jp as an entry, that is, whether the TV phone 930 is a registered TV phone or an unregistered TV phone 930 (step S1504).
[0113]
If it is determined in step S1504 that the TV phone 930 has not been registered, the relay unit 612 generates an address unknown response to the request from the phone 930, and returns the response to the phone 930 via the external communication unit 108. When the SIP protocol is used, the response of unknown address is a SIP Not Found response (step S1508).
[0114]
If it is determined in step S1504 that the TV phone 930 has been registered, the gateway device 101 determines whether the request received by the relay unit 612 is a request for control information. In the case of using the SIP protocol, the case of requesting control information is the case of a SIP INVITE request (step S1505).
[0115]
If it is determined in step S1505 that the request is for control information, the control information acquisition unit 614 makes a request to the TV phone 930 included in the request from the phone 927 to which the phone 927 is trying to make a connection. The control information is obtained and sent to the virtual device reference unit 616 (step S1506).
[0116]
The virtual device reference unit 616 reads from the virtual device database 618 the internal address 1224 (tvphone) on the internal network 105 of the TV phone 930 corresponding to the external address 1222 (device1@global.abc.co.jp) acquired in step S1503. $ Local.abc.co.jp) and the TV phone 930 corresponding to the internal address 1224 (tvphone@local.abc.co.jp) acquired from the internal device database 621 via the internal device reference unit 619. Get control information. It is determined whether the control information is the control information requested to the TV phone 930 acquired in step S1506, that is, whether the requested control information is registered in the internal device database 621 (step S1507). .
[0117]
If it is determined in step S1507 that the control information requesting the TV phone 930 has been registered, the control information acquired in the internal device database 621 is passed from the virtual device reference unit 616 to the virtual device realization unit 615, The virtual device realizing unit 615 generates a control information response to the control information request received from the relay unit 612, and returns the response to the external device via the relay unit 612 and the external communication unit 108. When the SIP protocol is used, the response of the control information is a SIP OK response indicating that the processing of the SIP INVITE request has been successful (step S1509).
[0118]
If it is determined in step S1505 that the request is not a request for control information, or if it is determined in step S1507 that the control information requesting the internal device has not been registered, the virtual device realizing unit 615 issues a command from the virtual device reference unit 616. The request for control information received from the relay unit 612 is relayed to the TV phone 930 corresponding to the internal address 1224 (tvphone@local.abc.co.jp) via the relay unit 612 and the internal communication unit 107 (step S1510). ).
[0119]
After step S1508, step S1509, and step S1510, the processing of the request from the telephone 927 ends (step S1511).
[0120]
If the control information has not been registered, and if the processing procedure of step S1501, step S1502, step S1503, step S1504, step S1505, step S1506, step S1507, step S1510, and step S1511 has passed, the request for the control information from the telephone 930 is Is relayed by the gateway device 101 and sent to the TV phone 930.
[0121]
FIG. 16 is a conceptual diagram showing a control information response to telephone 927 when control information has not been registered in Embodiment 1 of the present invention.
[0122]
FIG. 17 is a flowchart showing a processing procedure of a control information response to telephone 927 in the first embodiment of the present invention.
[0123]
FIG. 18 is a flowchart illustrating the processing procedure of S1706 in FIG.
Hereinafter, a processing procedure of a control information response to the telephone 927 in a case where the control information has not been registered will be described with reference to FIGS. 16, 17, and 18.
[0124]
First, a response to a request for control information from the TV phone 930 on the internal network 105 is transmitted to the relay unit 612 of the gateway device 101 via the internal communication unit 108. When using the SIP protocol, this response is a SIP OK response to a SIP INVITE request requesting a connection to another device (step S1702).
[0125]
The gateway device 101 determines whether the response received by the relay unit 612 is a response to a request for control information. When using the SIP protocol, the case where the response is a response to a request for control information is a case where the control body described in SDP is added to a response body in the case of a SIP OK response (step S1703).
[0126]
If it is determined in step S1703 that the response is a response to the request for control information, the address acquisition unit 613 uses the external address device1@global.com on the external network 106 of the TV phone 930. abc. co. jp is acquired and sent to the virtual device reference unit 616 (step S1704).
[0127]
Further, the control information acquisition unit 614 acquires the control information, which is included in the response from the TV phone 930 and has been requested by the telephone 927 to the connection destination device, and sends it to the virtual device reference unit 616 (step S1705).
[0128]
Further, in the virtual device reference unit 616, the external address device1 @ global. abc. co. jpone internal address tvphone@local.jp. abc. co. jp is acquired from the virtual device 1222 in the virtual device database 618, passed to the internal device reference unit together with the control information of the TV phone 930, and the internal device database 621 is updated. The procedure for updating the internal device database 621 will be described later with reference to FIG. 18 (step S1706).
[0129]
If it is determined in step S1703 that the response is not a response to the request for control information, or after steps S1704, S1705, and S1706, the response to the request for control information received from the relay unit 612 by the virtual device realization unit 615 is: Via the relay unit 612 and the external communication unit 108, the external address device1 @ global. abc. co. jp is relayed to the telephone 927 corresponding to jp (step S1707), and the response process ends (step S1708).
[0130]
Next, the processing procedure of “update control information” in step S1706 in FIG. 17 will be described with reference to the flowchart in FIG.
[0131]
First, the virtual device reference unit 616 sends the internal address tvphone @ local. abc. co. jp and the control information, the internal device reference unit 619 converts the internal address tvphone @ local. abc. co. It is confirmed whether at least one control information exists in the control information field having jp as an entry (step S1802).
[0132]
If it is confirmed in step S1802 that no control information exists, the internal address tvphone @ local. abc. co. jp and the acquired control information are passed to the internal device registration unit 620, and the internal address tvphone @ local. abc. co. All the acquired control information is added to the field having jp as an entry (step S1803).
[0133]
If it is confirmed in step S1802 that any control information exists, the internal address tvphone @ local. abc. co. jp and the acquired control information are passed to the internal device registration unit 620. The internal device registration unit 620 stores this control information in the internal device database 621 at the internal address tvphone @ local. abc. co. jp is compared with the control information of the field having the entry, and if all the fields already exist in this field, nothing is performed (step S1804).
[0134]
In step S1804, the internal address tvphone @ local. Of the TV phone 930 in the internal device database 621 is included in the acquired control information. abc. co. If there is no control information in the field having jp in the entry, only the control information obtained that is not in this field is added (step S1805).
[0135]
After step S1803 and step S1805, the process of step S1706 in FIG. 17 ends (step S1806).
[0136]
The internal device database 621 of the gateway device 101 as a result of the processing procedure of step S1701, step S1702, step S1703, step S1704, step S1705, step S1706, step S1801, step S1802, step S1803, step S1806, step S1707, step S1708. Internal address tvphone @ local. On the internal network 105 of the TV phone 930. abc. co. In a field having jp as an entry, control information of voice input and voice output necessary for the TV phone 930 to make a voice call with the phone 927 is registered (data 1624 in FIG. 16).
[0137]
FIG. 19 is a conceptual diagram showing a voice call between telephone 927 and TV telephone 930 according to Embodiment 1 of the present invention.
[0138]
After the processing described with reference to FIGS. 12 to 17, the telephone 927 and the TV telephone 930 perform a voice call under the control of the communication control unit 109 based on the exchanged control information.
[0139]
FIG. 20 is a conceptual diagram showing a state after communication between camera 928 and TV phone 930 has been performed after FIG. 19 in the first embodiment of the present invention.
[0140]
The difference between FIG. 20 and the processing described with reference to FIGS. 12 to 19 is that steps S1804 and S1805 are performed instead of step S1803 in the flowchart of FIG. As a result, in the field having the internal address of the TV phone 930 in the entry of the internal device database 621 of the gateway device 101 as the entry, in addition to the audio input / output, the control information of the video input exchanged with the camera 928 is added. .
[0141]
Similarly, FIG. 21 is a conceptual diagram showing a state after communication between monitor 929 and TV phone 930 has been performed after FIG. 20 in the first embodiment of the present invention.
[0142]
The difference between FIG. 21 and after the processing described with reference to FIGS. 12 to 20 is that in the flowchart of FIG. 18, steps S1804 and S1805 are performed instead of step S1803. Accordingly, in the field having the internal address of the TV phone 930 in the entry of the internal device database 621 of the gateway device 101 as an entry, in addition to the audio input / output and the video input, the control information of the video output exchanged with the monitor 929 is included. It is added.
[0143]
FIG. 22 is a conceptual diagram showing a case where a request and a response for control information with TV phone 926 are further performed after FIG. 21 in the first embodiment of the present invention.
[0144]
The difference between the processing of FIG. 22 and the processing after the processing described with reference to FIGS. 12 to 21 is that all the control information necessary for the TV phone has already been registered. That is, step S1509 has been performed instead of step S1510 in the determination of step S1507. As a result, a request for control information from the TV phone 926 is not sent to the TV phone 930 on the internal network 105, and a response is directly returned from the gateway device 101.
[0145]
FIG. 23 is a conceptual diagram showing a voice call between telephone 927 and TV telephone 930 after FIG. 22 in the first embodiment of the present invention. There is no difference in processing between FIG. 23 and FIG.
[0146]
As described above, according to the first embodiment, even in an internal device having no control information registration method, when the external device and the internal device exchange control information with each other, the external device requests a control information request from the external device. The received gateway device directly returns the control information registered therein to the external device without inquiring of the internal device, whereby the session establishment can be sped up. At the same time, unnecessary traffic does not occur on the internal network.
[0147]
[Embodiment 2]
Hereinafter, the second embodiment of the present invention will be described with reference to FIGS. The same or corresponding parts as in the first embodiment are denoted by the same reference numerals, and description thereof will not be repeated.
[0148]
FIGS. 24 to 27 are conceptual diagrams showing the processing of the gateway device 101 of the present invention according to the second embodiment of the present invention.
[0149]
24 to 27, a network including a telephone and a gateway device exists in the house. The gateway device is also connected to a network outside the house, and the telephone inside the house and the device outside the house communicate via the gateway device. Further, the telephone uses, as control information for defining communication conditions based on its function and performance, a type of a media transfer protocol (for example, RTP) and a type of CODEC (for example, G.100) for voice input and voice output, respectively. 711).
[0150]
Referring to FIG. 24, in order for an in-home telephone to communicate with a device outside the home, it is necessary to first register the telephone address in the gateway device (in FIG. 24, "register address"). Shown). At this time, only the correspondence between the internal address of the telephone in the home network and the external address for access from outside the home is registered.
[0151]
The description “device 2 → phone” in FIGS. 24 to 27 indicates that the internal address “phone” in the telephone home network corresponds to the external address “device 2” for access from outside the home. I have. The device 2 is a virtual device like the device 1. Since the existing telephone has no means for registering the control information in another device, the above-mentioned control information is not registered in the gateway device at the time of the initial registration. Therefore, the telephone registered here can only be referred to by the external address of the device 2 from a device outside the house, and the specific device is not registered. According to the second embodiment of the present invention, unlike the first embodiment, when a “telephone” address is registered, the gateway device temporarily stores all control information that can be held by the home device acting as a virtual device. Is registered as control information. That is, for all types of control information (in this case, audio input, audio output, video input, and video output) that the gateway device determines that the home device acting as a virtual device can have, the media transfer protocol The type, the type of CODEC, and the like are set with default values determined by the gateway device. Hereinafter, the device 2 is referred to as a virtual device 2.
[0152]
Next, referring to FIG. 25, it is assumed that a telephone outside the home tries to perform voice communication with virtual device 2 registered in the gateway device. At this time, a request for control information is first made from a telephone outside the home to the virtual device 2 of the gateway device (indicated by "response of control information" to the telephone in FIG. 25). The gateway device relays the request for control information to the home telephone because there is no determined control information in itself, and the home telephone notifies the control information held by itself to the telephone outside the home via the gateway device. Normally, when making a request for control information, a telephone outside the home requests the other party to notify control information relating to voice input and voice output necessary for the telephone. Correspondingly, the home telephone returns only the control information on its own voice input and voice output. After the exchange of the control information, the telephone outside the home and the telephone inside the home perform communication using voice input / output. According to the second embodiment of the present invention, when the home telephone returns a response of the control information via the gateway device, the gateway device obtains the control information in an intercepting form and registers it as temporary control information until then. The registered voice input and voice output are changed as registered control information. The video input and the video output are still provisionally registered. Thereby, it is possible to know from the device outside the house that the virtual device 2 registered in the gateway device actually has the voice input and the voice output as the control information.
[0153]
Similarly, as shown in FIG. 26, it is further assumed that a camera outside the home tries to perform video communication with the virtual device 2 registered in the gateway device (in FIG. 26, "response of control information" to the camera). ).
[0154]
As a result of the exchange of the control information, the camera outside the house and the telephone inside the house end the communication because the communication using the video input (as viewed from the telephone) is impossible. According to the second embodiment of the present invention, when the home telephone returns the control information via the gateway device, it is known from the response that the telephone cannot perform the communication using the video input. The video input registered as the control information of the virtual device 2 is deleted from the control information of the virtual device 2. As a result, the registration in the gateway device has been updated as a device in which the virtual device 2 actually has the audio input and the audio output as the control information, does not have the video input, and does not have the video output. become.
[0155]
Similarly, as shown in FIG. 27, it is further assumed that the monitor outside the home tries to perform video communication with virtual device 2 registered in the gateway device (in FIG. 27, "response of control information" to the camera). ).
[0156]
As a result of the exchange of the control information, the monitor outside the house and the telephone inside the house terminate the communication because the communication using the video output (as viewed from the telephone) is impossible. According to the second embodiment of the present invention, when the home telephone returns the control information via the gateway device, it is known from the response that the telephone cannot perform the communication using the video output. The video output registered as the control information of the virtual device 2 is deleted from the control information of the virtual device 2. This means that the registration in the gateway device has been updated as a device in which the virtual device 2 actually has audio input and audio output as control information and has neither video input nor video output.
[0157]
As described above, the registration in the gateway device is updated as the virtual device 2 has only the telephone function, and the device outside the home can know that the virtual device 2 has only the telephone function. Become.
[0158]
As in the first embodiment, a second embodiment of the present invention will be described in detail with reference to FIGS. Here, as an example, description will be made assuming that the SIP protocol is used.
[0159]
In the second embodiment of the present invention, the overall configuration of the invention (FIG. 1), the configuration of the communication control unit and the like (FIG. 2), the configuration of the virtual device DB (FIG. 7), and the internal devices described in the first embodiment The contents shown in the configuration of the DB (FIGS. 8 and 9) and the hardware configuration (FIG. 10) are basically the same as those in the first embodiment, and therefore, description thereof will not be repeated here.
[0160]
Hereinafter, portions of the second embodiment that are different from the first embodiment will be described in detail.
[0161]
FIG. 28 is a conceptual diagram showing an initial state according to Embodiment 2 of the present invention.
In the initial state, the TV phone 930 and the phone 931 on the internal network 105 have not been registered in the gateway device 101 yet. Therefore, nothing is registered in the virtual device database 618 and the internal device database 621.
[0162]
FIG. 29 is a conceptual diagram showing address registration of telephone 931 according to Embodiment 2 of the present invention. FIG. 30 is a flowchart showing a procedure of address registration of telephone 931 according to Embodiment 2 of the present invention. The procedure for registering the address of the telephone 931 will be described with reference to FIGS. 29 and 30.
[0163]
First, a request is transmitted from the telephone 931 on the internal network 105 to the relay unit 612 of the gateway device 101 via the internal communication unit 107. When the SIP protocol is used, the request is a SIP REGISTER request for requesting device registration, a SIP INVITE request for requesting connection to another device, or the like (step S3002).
[0164]
The gateway device 101 determines whether or not the request received by the relay unit 612 is a request for address registration. When the SIP protocol is used, the case of the address registration request is the case of the SIP REGISTER request (step S3003).
[0165]
If it is determined in step S3003 that the request is not an address registration request, the request from the telephone 931 is transmitted to the external address via the external communication unit 108, for example, device2 @ global. com is relayed to an external device (TV phone 926, phone 927, camera 928, monitor 929, etc.) corresponding to the com (step S3012).
[0166]
If it is determined in step S3003 that the request is an address registration request, the address acquisition unit 613 uses the internal address phone@local.com on the internal network 105 of the telephone 930. abc. co. jp and the external address device2 @ global. abc. co. jp is obtained from the address registration request information and sent to the virtual device reference unit 616 (step S3004).
[0167]
The virtual device reference unit 616 stores the acquired external address device2 @ global. abc. co. jp as an entry, that is, whether the acquired external address device2 @ global. abc. co. It is determined whether the telephone 930 is a registered telephone 930 in which a field having jp as an entry exists or an unregistered telephone 930 which does not exist (step S3005).
[0168]
If it is determined in step S3005 that the telephone 931 has not been registered, the internal address phone @ local. abc. co. jp and the external address device2 @ global. abc. co. jp is passed from the virtual device reference unit 616 to the virtual device registration unit 617, and registered as a virtual device 2923 in the virtual device database 618 (step S3006).
[0169]
Further, the internal address phone @ local. abc. co. The jp is passed from the virtual device reference unit 616 to the internal device registration unit 620 via the internal device reference unit 619, and is registered in the internal device database 621 (step S3007).
[0170]
Further, the internal device registration unit 620 stores the internal address phone @ local. abc. co. jp is registered in the internal device database 621 as temporary control information. This control information is all control information (for example, audio input / output and video input / output) that may be registered in the gateway device, and each has a default protocol type (RTP, etc.) and a CODEC type (G.711). Etc.) are determined. Each registered control information has a flag indicating that it is temporary control information. The description of (temporary) in the internal device data 2925 in FIG. 29 indicates that the flag indicating the temporary registration is on (step S3008).
[0171]
If it is determined in step S3005 that the telephone 931 has been registered, the internal address phone @ local. abc. co. jp is passed from the virtual device reference unit 616 to the virtual device registration unit 617, and the external address device2 @ global. abc. co. The field of the internal address having jp as an entry is rewritten (step S3009).
[0172]
Further, the internal address phone @ local. abc. co. jp is passed from the virtual device reference unit 616 to the internal device registration unit 620 via the internal device reference unit 619, and the entry of the internal address of the telephone 931 in the internal device database 621 is rewritten (step S3010).
[0173]
After step S3008 or step S3010, the relay unit 612 generates a response to the request from the telephone 931 and returns the response to the telephone 931 via the internal communication unit 107. When the SIP protocol is used, this response is a SIP OK response indicating that the processing of the various SIP requests has been successful (step S3011).
[0174]
After step S3011 or step S3012, the processing of the request from the telephone 931 ends (step S3013).
[0175]
After the processing procedure of step S3001, step S3002, step S3003, step S3004, step S3005, step S3006, step S3007, step S3008, step S3011, and step S3013, the virtual device database 618 of the gateway device 101 stores the telephone 931 The external address device2 @ global. abc. co. jp and the internal address phone @ local. abc. co. jp is registered as data 2923.
[0176]
Further, the internal device database 621 includes an internal address phone@local.com on the internal network 105 of the telephone 931. abc. co. The correspondence between jp and control information of the telephone 931 is registered as data 2925. The control information includes all control information (for example, audio input / output and video input / output) that may be registered in the gateway device, and includes a default protocol type (RTP or the like) and a CODEC type (G. 711). Each control information has a flag indicating that it is a temporary registration. The description (temporary) of the data 2925 in FIG. 29 is a flag indicating that the content is temporary.
[0177]
FIG. 31 shows a control information request from external telephone 927 in the second embodiment of the present invention. FIG. 32 is a flowchart showing a processing procedure of a control information request from telephone 927 in the second embodiment of the present invention.
[0178]
The processing procedure of the control information request of the telephone 927 will be described with reference to FIGS. 31 and 32.
First, a request is transmitted from the telephone 927 on the external network 106 to the relay unit 612 of the gateway device 101 via the external communication unit 108. When using the SIP protocol, this request is a SIP INVITE request for requesting a connection to another device (step S3202).
[0179]
Next, in the address acquisition unit 613, the external address device2 @ global. abc. co. jp is acquired and sent to the virtual device reference unit 616 (step S3203).
[0180]
The virtual device reference unit 616 stores the acquired external address device2 @ global. abc. co. jp as an entry, that is, whether the acquired external address device1 @ global. abc. co. It is determined whether the phone is a registered phone 931 having a field having jp as an entry or an unregistered phone 931 which does not exist (step S3204).
[0181]
If it is determined in step S3204 that the TV phone 931 has not been registered, the relay unit 612 generates an unknown address response to the request from the telephone 927, and returns the response to the telephone 927 via the external communication unit 108. When the SIP protocol is used, this response with unknown address is a SIP Not Found response (step S3208).
[0182]
If it is determined in step S3204 that the telephone 931 has been registered, the gateway device 101 determines whether the request received by the relay unit 612 is a request for control information. In the case of using the SIP protocol, the case of requesting control information is the case of a SIP INVITE request (step S3205).
[0183]
If it is determined in step S3205 that the request is for control information, the control information acquisition unit 614 requests the telephone 930 included in the request from the telephone 927 to request the telephone 930 to establish a connection. Information is obtained and sent to the virtual device reference unit 616 (step S3206).
[0184]
The virtual device reference unit 616 reads from the virtual device database 618 the external address device2 @ global. abc. co. jp on the internal network 105 of the telephone 931 corresponding to phone@local.jp. abc. co. jp, and the acquired internal address phone@local.jp from the internal device database 621 via the internal device reference unit 619. abc. co. The control information of the telephone 931 corresponding to jp is acquired. It is determined whether or not the control information is the control information requested for the telephone 931 acquired in step S3206, that is, whether or not the requested control information is registered in the internal device database 621. At this time, it is determined that the control information in which the flag indicating the temporary registration is set does not satisfy the requested control information (step S3207).
[0185]
If it is determined in step S3207 that the control information requested for the telephone 931 has been registered, the control information acquired in the internal device database 621 is passed from the virtual device reference unit 616 to the virtual device realization unit 615, and A response of the control information to the request for the control information received from the relay unit 612 is generated by the device realizing unit 615, and is returned to the external device via the relay unit 612 and the external communication unit 108. When using the SIP protocol, the response to the control information is a SIP OK response indicating that the processing of the SIP INVITE request has been successful (step S3209).
[0186]
If it is determined in step S3205 that the request is not a request for control information, or if it is determined in step S3207 that the control information requested to the internal device is not registered, the virtual device realizing unit 615 is The control information request received from the relay unit 612 is transmitted to the internal address phone@local.com via the relay unit 612 and the internal communication unit 107. abc. co. jp is relayed to the telephone 931 (step S3210).
[0187]
After step S3208, step S3209, and step S3210, the processing of the request from the telephone 927 ends (step S3211).
[0188]
After the processing procedure of step S3201, step S3202, step S3203, step S3204, step S3205, step S3206, step S3207, step S3210, and step S3211, the request for control information from the telephone 931 is relayed by the gateway device 101. , Sent to the telephone 931.
[0189]
FIG. 33 is a conceptual diagram showing a control information response from internal telephone 931 in response to a control information request from telephone 927 in the second embodiment of the present invention. FIG. 34 is a flowchart showing a processing procedure of a control information response to telephone 927 in the second embodiment of the present invention.
[0190]
FIG. 35 is a flowchart showing the processing procedure in step S3406 in FIG. The processing procedure of the control information response of the telephone 927 will be described with reference to FIGS. 33, 34, and 35.
[0191]
First, a response to the control information request from the external telephone 927 is transmitted from the telephone 931 on the internal network 105 to the relay unit 612 of the gateway device 101 via the internal communication unit 107. When the SIP protocol is used, this response is a SIP OK response to a SIP INVITE request for requesting another device to connect (step S3402).
[0192]
The gateway device 101 determines whether the response received by the relay unit 612 is a response to a request for control information. In the case of using the SIP protocol, the case where the response is a response to a request for control information is the case of a SIP OK response in which control information described in SDP is added to a response body (step S3403).
[0193]
If it is determined in step S3403 that the response is a response to the request for control information, the address acquisition unit 613 uses the external address device2 @ global. abc. co. jp is acquired and sent to the virtual device reference unit 616 (step S3404).
[0194]
Further, the control information acquisition unit 614 acquires the control information included in the response from the telephone 931 and requested by the telephone 927 to the connected device, and confirms that the virtual device reference unit 616 has the telephone 931. Sent as control information. Also, in the case of communication between the camera 928 and the telephone 931 in FIG. 25, the device does not have the requested control information, which can be known from the response. Therefore, it is determined that the telephone 931 does not exist in the virtual device reference unit 616. It is sent as confirmed control information. The control information is sent as a message such as "yes" (control information) if the function is confirmed to be possessed by the in-home device, and "no" (control information) if not confirmed (step S3405).
[0195]
Further, in the virtual device reference unit 616, the external address device2 @ global. abc. co. jp, the internal address phone @ local. abc. co. The jp is acquired from the virtual device database 618 and passed to the internal device reference unit together with the control information to which information on whether or not the telephone 931 is added is added, and the internal device database 621 is updated. The procedure for updating the internal device database 621 will be described later with reference to FIG. 32 (step S3406).
[0196]
If it is determined in step S3403 that the response is not a response to the request for control information, or after steps S3404, S3405, and S3406, the response to the request for control information received from the relay unit 612 by the virtual appliance realization unit 615 is: Via the relay unit 612 and the external communication unit 108, the external address device2 @ global. com (step S3407).
[0197]
After step S3407, the processing of the response from telephone 931 ends (step S3408).
[0198]
FIG. 35 is a flowchart showing the processing procedure of step S3406 in FIG.
[0199]
First, the virtual device reference unit 616 sends the internal address phone @ local. abc. co. jp and the internal device reference unit 619 that has received the control information confirmed to be possessed or not possessed by the telephone 931, the internal address phone@local.com of the telephone 931 in the internal device database 621. abc. co. It is determined whether or not the control information provisionally registered in the field having jp in the entry matches the control information confirmed to have the acquired telephone 931. The “temporarily registered control information” is the control information registered by default by the gateway device 101 in step S3008 in FIG. 30, and the flag indicating the temporary registration is set. Further, “matches with control information confirmed to have” means that, for example, when control information of voice input with a flag indicating temporary registration is registered, the internal This refers to the case where control information of voice input is included in the control information confirmed to have the device. However, at this time, for example, even if the contents (protocol, CODEC type, etc.) of the voice input control information are different, if the control information of the voice input is included, it is regarded as “described” (step S3502). ).
[0200]
If it is determined in step S3502 that the registered control information coincides with the control information confirmed to be possessed by the telephone 931, the internal address phone @ local. abc. co. jp and the acquired control information of the telephone 931 are passed to the internal device registration unit 620, and the internal address phone @ local. abc. co. The control information temporarily registered in the field having jp as an entry is replaced with the content described in the obtained control information. At that time, the flag indicating the temporary registration is removed. Specifically, if the control information “voice input” and “voice output” is included in the control information confirmed to have the telephone 931, the internal device database 621 temporarily stores the control information as the control information of the corresponding device. The registered control information of “voice input” and “voice output” is replaced with the data of “voice input” and “voice output” of the newly acquired control information, and the flag indicating the temporary registration is removed. Thereafter, this control information is handled as the determined control information of the telephone 931 (step S3503).
[0201]
Next, the internal device reference unit 619 outputs the internal address phone @ local. abc. co. It is determined whether any of the control information provisionally registered in the field having jp as the entry matches the control information confirmed not to have the telephone 931. The “temporarily registered control information” is as described above. In addition, "matching control information confirmed not to have" means that although "video input" was requested when requesting control information, "video input" Is not included. In this case, since “video input” is passed to the internal device reference unit 619 as control information confirmed not to be held by the telephone 931, it is checked whether any of the provisionally registered control information matches the “video input” ( Step S3504).
[0202]
If it is determined in step S3504 that any of the temporarily registered control information matches the control information confirmed to have no telephone 931, the internal address phone @ local. abc. co. jp is passed to the internal device registration unit 620, and the internal address phone @ local. abc. co. Control information that has been provisionally registered but has not been confirmed is deleted from the field having jp as an entry (step S3505).
[0203]
In step S3504, if there is no temporarily registered control information that matches the control information confirmed not to be possessed by the internal device, and if step S3505 has been passed, the processing in step S3406 in FIG. 35 is performed. Ends (step S3506).
[0204]
When the processing procedure of step S3401, step S3402, step S3403, step S3404, step S3405, step S3406, step S3501, step S3502, step S3503, step S3504, step S3506, step S3407, step S3408 has been performed, the inside of the gateway device 101 is The internal address phone @ local. On the internal network 105 of the telephone 931 in the device database 621. abc. co. In the field having jp as an entry, the control information of voice input and voice output necessary for the telephone 931 to make a voice call with the telephone 927 is updated with the contents relayed at the start of the call, and the flag indicating temporary registration is removed. (Data 3325 in FIG. 33).
[0205]
FIG. 36 is a conceptual diagram showing a voice call between telephone 927 and telephone 931 according to Embodiment 2 of the present invention. After the processing described with reference to FIGS. 29 to 35, the telephone 927 and the telephone 931 perform a voice call based on the exchanged control information.
[0206]
FIG. 37 is a conceptual diagram showing a state after communication between camera 928 and telephone 931 has been performed after FIG. 36 in the second embodiment of the present invention. Actually, as a result of exchanging the control information, the camera 928 and the telephone 931 know that the communication is impossible, and the communication is not performed.
[0207]
The difference between FIG. 37 and the processing described with reference to FIGS. 29 to 36 is that, in the case of FIG. 37, no is selected in step S3502 in the flowchart of FIG. Furthermore, since yes was selected in step S3504, step S3505 has passed. As a result, it is determined that the telephone 931 does not have the control information of the video input requested from the camera 928, and the temporary registration is indicated from the field having the internal address of the telephone 931 in the entry of the internal device database 621 of the gateway device 101. The control information of the video input with the flag set is deleted.
[0208]
Similarly, FIG. 38 is a conceptual diagram showing a state after communication between monitor 929 and telephone 931 has been performed after FIG. 37 in the second embodiment of the present invention. Actually, as a result of exchanging the control information, the monitor 929 and the telephone 931 know that the communication is impossible, and the communication is not performed. The difference between FIG. 38 and the processing described with reference to FIGS. 29 to 36 is that, in the case of FIG. 38, no is selected in step S3502 in the flowchart of FIG. This is because step S3505 has been selected because yes was selected in step S3504. As a result, it is determined that the telephone 931 does not have the control information of the video output requested from the monitor 929, and the temporary registration is indicated from the field having the internal address of the telephone 931 in the entry of the internal device database 621 of the gateway device 101 as an entry. The control information of the flagged video output is deleted
FIG. 39 is a conceptual diagram showing a case where, in Embodiment 2 of the present invention, a request for control information as a telephone is made from TV telephone 926 to telephone 931 after FIG. 38 and a response is made thereto.
[0209]
The difference between the processing in FIG. 39 and the processing described with reference to FIGS. 29 to 35 is that, in FIG. 39, “voice input” and “voice output” have already been determined as control information of the telephone 931. In the flowchart of FIG. 7, step S3209 is performed instead of step S3210 in the determination of step S3207. Thus, a request for control information from the TV phone 926 is not sent to the phone 931 on the internal network 105. Then, the determined control information is directly returned from the gateway device 101 to the TV phone 926.
[0210]
FIG. 40 is a conceptual diagram showing a voice call between the TV phone 926 and the phone 931 after FIG. 39 in the second embodiment of the present invention. However, there is no difference in processing between FIG. 40 and FIG. 36 except that the device connected to the external network is the TV phone 926.
[0211]
As described above, in the second embodiment, the following effects are exhibited, similarly to the effects of the first embodiment.
[0212]
That is, even in an internal device that does not have a control information registration method, when the external device and the internal device exchange control information with each other, the gateway device that has received the control information request from the external device queries the internal device. By directly returning the control information registered therein to the external device, the session can be quickly established. At the same time, unnecessary traffic does not occur on the internal network.
[0213]
Since the contents of the control information of the internal device managed by itself can be known in advance based on the gateway device, a new service combining a plurality of the internal devices can be provided in the gateway device. Can be generated and provided. For example, when a telephone, a monitor, and a camera are connected as the internal devices, and their control information is registered in advance, a combination of a voice input / output function of a telephone, a video input function of a monitor, and a video output function of a camera is combined. It is conceivable that a virtual TV telephone service is generated and provided in the gateway device.
The embodiments disclosed this time are to be considered in all respects as illustrative 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.
[0214]
【The invention's effect】
As described above, according to the present invention, the control information on the internal device managed by the internal device management unit corresponding to the acquired address is obtained from the address of the internal device and the control information obtained from the communication relayed by the communication control unit. Updating allows internal devices that do not have a control information registration method to register control information.
[0215]
Further, the virtual device management unit holds the correspondence between the address of the internal device in the internal network and the address in the external network acting as a proxy for the internal device, and thereby obtains the internal network of the internal device from the address obtained by the communication control unit. The control information corresponding to the internal device managed by the internal device management unit can be updated by specifying the address in, so that the control information can be registered even in the internal device having no control information registration method. become able to.
[0216]
Also, when the internal device management unit registers an internal device address and control information on the internal network by registering a new internal device using only the address without using the control information of the internal device. No control information is registered in the gateway device, and even an internal device having no control information registration method can be registered in the gateway device.
[0219]
Also, when the communication control unit receives a request for control information for the virtual device from the external device, it relays the request to the corresponding internal device, and when the communication control unit receives a response of the control information to the external device from the internal device, it relays the request to the external device. By acquiring control information at the same time as relaying to the device, registering or updating the control information of the internal device in the internal device management unit using the obtained control information, even with internal devices that do not have a control information registration method, Control information can be registered in the gateway device.
[0218]
Also, the internal device management unit responds to the control information request from the external device by using the control information of the requested internal device, if the request exists, in the internal device management unit. Even if the internal device does not have a registration method, when the external device and the internal device exchange control information with each other, the gateway device that receives the control information request from the external device registers itself without inquiring of the internal device. By returning the set control information directly to the external device, session establishment can be speeded up. At the same time, no unnecessary traffic is generated on the internal network.
[Brief description of the drawings]
FIG. 1 is a functional block diagram illustrating a configuration of a gateway device 101 according to a first embodiment of the present invention.
FIG. 2 is a first conceptual diagram illustrating processing of the gateway device 101 of the present invention according to the first embodiment of the present invention.
FIG. 3 is a second conceptual diagram showing processing of the gateway device 101 of the present invention according to the first embodiment of the present invention.
FIG. 4 is a third conceptual diagram showing processing of the gateway device 101 according to the first embodiment of the present invention.
FIG. 5 is a fourth conceptual diagram showing processing of the gateway device 101 according to the first embodiment of the present invention.
FIG. 6 is a configuration diagram of a communication control unit 109, a virtual device management unit 110, and an internal device management unit 111 of FIG.
7 is a diagram showing a configuration of data stored in a virtual device database 618 and an internal device database 621 in FIG.
FIG. 8 is an example of messages exchanged when a communication session is established using a TV phone as an example.
FIG. 9 is a diagram for explaining the configuration and operation of the gateway device 101 according to the first embodiment of the present invention.
FIG. 10 is a block diagram illustrating a hardware configuration of the gateway device 101 of FIG.
FIG. 11 is a diagram showing an initial state of the gateway device 101 according to Embodiment 1 of the present invention.
FIG. 12 is a diagram showing address registration of a TV phone 930 to the gateway device 101 according to Embodiment 1 of the present invention.
FIG. 13 is a flowchart showing a procedure for registering the address of the TV phone 930 with the gateway device 101 according to the first embodiment of the present invention.
FIG. 14 is a conceptual diagram showing a control information request from telephone 927 according to Embodiment 1 of the present invention.
FIG. 15 is a flowchart showing a processing procedure of a control information request from the telephone 927 according to the first embodiment of the present invention.
FIG. 16 is a conceptual diagram showing a control information response to the telephone 927 when the control information is not registered in the first embodiment of the present invention.
FIG. 17 is a flowchart showing a processing procedure of a control information response to the telephone 927 according to the first embodiment of the present invention.
FIG. 18 is a flowchart illustrating a processing procedure of S1706 in FIG. 17;
FIG. 19 is a conceptual diagram showing a voice call between a telephone 927 and a TV telephone 930 according to Embodiment 1 of the present invention.
20 is a conceptual diagram showing a state after communication between the camera 928 and the TV phone 930 has been performed after FIG. 19 in the first embodiment of the present invention.
FIG. 21 is a conceptual diagram showing a state after communication between the monitor 929 and the TV phone 930 has been performed after FIG. 20 in the first embodiment of the present invention.
FIG. 22 is a conceptual diagram showing a case where a request and a response for control information with the TV phone 926 are further performed after FIG. 21 in the first embodiment of the present invention.
FIG. 23 is a conceptual diagram showing a voice call between the telephone 927 and the TV telephone 930 after FIG. 22 in the first embodiment of the present invention.
FIG. 24 is a first conceptual diagram illustrating processing of the gateway device 101 of the present invention according to the second embodiment of the present invention.
FIG. 25 is a second conceptual diagram showing the processing of the gateway device 101 according to the second embodiment of the present invention.
FIG. 26 is a third conceptual diagram showing processing of the gateway device 101 according to the second embodiment of the present invention.
FIG. 27 is a fourth conceptual diagram showing the processing of the gateway device 101 according to the second embodiment of the present invention.
FIG. 28 is a conceptual diagram showing an initial state according to Embodiment 2 of the present invention.
FIG. 29 is a conceptual diagram showing address registration of a telephone 931 according to Embodiment 2 of the present invention.
FIG. 30 is a flowchart showing a procedure of address registration of telephone 931 in Embodiment 2 of the present invention.
FIG. 31 is a diagram showing a control information request from an external telephone 927 according to Embodiment 2 of the present invention.
FIG. 32 is a flowchart showing a processing procedure of a control information request from the telephone 927 according to the second embodiment of the present invention.
FIG. 33 is a conceptual diagram showing a control information response from an internal telephone 931 in response to a control information request from a telephone 927 according to Embodiment 2 of the present invention.
FIG. 34 is a flowchart showing a processing procedure of a control information response to the telephone 927 according to the second embodiment of the present invention.
FIG. 35 is a flowchart showing a processing procedure in step S3406 in FIG. 34;
FIG. 36 is a conceptual diagram showing a voice call between telephone 927 and telephone 931 according to Embodiment 2 of the present invention.
FIG. 37 is a conceptual diagram showing a state after communication between the camera 928 and the telephone 931 has been performed after FIG. 36 in the second embodiment of the present invention.
FIG. 38 is a conceptual diagram showing a state after communication between the monitor 929 and the telephone 931 has been performed after FIG. 37 in the second embodiment of the present invention.
FIG. 39 is a conceptual diagram showing a case where, after FIG. 38, a request for control information as a telephone is made from the TV telephone 926 to the telephone 931 and a response is made thereto.
40 is a conceptual diagram showing a voice call between the TV phone 926 and the phone 931 after FIG. 39 in Embodiment 2 of the present invention.
[Explanation of symbols]
101 gateway device, 102, 103 internal device, 104 external device, 105 internal network, 106 external network, 107 internal communication unit, 108 external communication unit, 109 communication control unit, 110 virtual device management unit, 111 internal device management unit, 612 Relay unit, 613 address acquisition unit, 614 control information acquisition unit, 615 virtual device realization unit, 616 virtual device reference unit, 617 virtual device registration unit, 618 virtual device, 619 internal device reference unit, 620 internal device registration unit, 621 internal Equipment database.

Claims (10)

内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継するゲートウェイ機器であって、
前記内部ネットワーク上の前記内部機器と通信する内部通信手段と、
前記外部ネットワーク上の前記外部機器と通信する外部通信手段と、
前記内部通信手段と前記外部通信手段の通信を中継し、中継した通信において外部機器と内部機器が交換する情報の中から前記内部機器のアドレスと制御情報とを取得する通信制御部と、
前記内部機器の代理として前記外部ネットワーク上の外部機器と通信する仮想機器の登録、管理を行なう仮想機器管理部と、
前記内部機器が持つ、該内部機器の機能と性能とに基づいて通信条件を規定する制御情報を内部機器のアドレスと対応付けて自機内で管理し、通信制御部が取得した制御情報で管理する制御情報を更新する内部機器管理部とを備える、ゲートウェイ機器。
A gateway device that relays communication between at least one internal device on an internal network and at least one external device on an external network,
Internal communication means for communicating with the internal device on the internal network,
External communication means for communicating with the external device on the external network,
A communication control unit that relays the communication between the internal communication unit and the external communication unit, and obtains the address and control information of the internal device from information exchanged between the external device and the internal device in the relayed communication,
A virtual device management unit that registers and manages a virtual device that communicates with an external device on the external network as a proxy for the internal device,
Control information that defines communication conditions based on the function and performance of the internal device, which is owned by the internal device, is managed in the own device in association with the address of the internal device, and managed by the control information acquired by the communication control unit. A gateway device comprising: an internal device management unit that updates control information.
前記内部機器管理部は、外部機器からの制御情報の要求に対し、要求先の内部機器の制御情報が前記内部機器管理部に存在する場合には、それを用いて応答する機能をもつことを特徴とする、請求項1に記載のゲートウェイ機器。The internal device management unit has a function of responding to a request for control information from an external device, when control information of the requested internal device exists in the internal device management unit, using the control information. The gateway device according to claim 1, characterized in that: 前記仮想機器管理部が、前記内部機器の内部ネットワークにおけるアドレスと外部ネットワークにおける前記仮想機器としてのアドレスとの対応を保持して管理する、請求項1または2のいずれかに記載のゲートウェイ機器。3. The gateway device according to claim 1, wherein the virtual device management unit holds and manages a correspondence between an address of the internal device in an internal network and an address as the virtual device in an external network. 前記内部機器管理部が、アドレスのみを用いて、新たな内部機器の登録を行なう、請求項3に記載のゲートウェイ機器。4. The gateway device according to claim 3, wherein the internal device management unit registers a new internal device using only the address. 前記通信制御部は、中継した通信から前記内部機器のアドレスと実際に前記内部機器が持つと確認できた制御情報を取得し、
前記内部機器管理部は、前記通信制御部が取得した前記内部機器のアドレスに対応する内部機器の制御情報として、前記通信制御部が取得した前記内部機器の制御情報を新規登録する、請求項4に記載のゲートウェイ機器。
The communication control unit acquires from the relayed communication the address of the internal device and control information that can be confirmed to actually have the internal device,
5. The internal device management unit newly registers the control information of the internal device acquired by the communication control unit as the control information of the internal device corresponding to the address of the internal device acquired by the communication control unit. A gateway device according to item 1.
前記通信制御部は、中継した通信から前記内部機器のアドレスと実際に前記内部機器が持つと確認できた制御情報を取得し、
前記内部機器管理部は、前記通信制御部で実際に持つと確認された制御情報は、前記通信制御部が取得した前記内部機器のアドレスに対応する内部機器の制御情報登録にない場合に登録を追加する、請求項5に記載のゲートウェイ機器。
The communication control unit acquires from the relayed communication the address of the internal device and control information that can be confirmed to actually have the internal device,
The internal device management unit, if the control information that is confirmed to have in the communication control unit is not in the control information registration of the internal device corresponding to the address of the internal device acquired by the communication control unit, registration is performed The gateway device according to claim 5, which is added.
前記通信制御部は、中継した通信から前記内部機器のアドレスと実際に前記内部機器がもたないと確認できた制御情報を取得し、
前記内部機器管理部が、前記通信制御部で実際には持たないと確認された制御情報を、前記通信制御部が取得した前記内部機器のアドレスに対応する内部機器の制御情報登録から削除する、請求項5または6のいずれかに記載のゲートウェイ機器。
The communication control unit acquires from the relayed communication the address of the internal device and control information that can be confirmed that the internal device does not actually exist,
The internal device management unit deletes, from the control information registration of the internal device corresponding to the address of the internal device obtained by the communication control unit, the control information confirmed not to actually have in the communication control unit, The gateway device according to claim 5.
内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継方法であって、
ゲートウェイ機器において、前記内部機器の代理として前記外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、
前記外部ネットワーク上の前記外部機器からの通信を受けるステップと、
前記外部機器からの通信を前記内部機器に中継するステップとを備え、
前記中継するステップは、
前記外部機器からの通信に応じて、前記内部ネットワーク上の前記内部機器と
通信するステップと、
前記内部機器からの応答に応じて、前記内部機器のアドレスと制御情報を取得するステップと、
前記取得した前記内部機器のアドレスと制御情報から、管理するアドレスに対応する前記内部機器の制御情報を更新するステップとを含む、中継方法。
A relay method for relaying communication between at least one internal device on an internal network and at least one external device on an external network,
At the gateway device, registering a virtual device for communicating with an external device on the external device network as a proxy for the internal device;
Receiving communication from the external device on the external network;
Relaying communication from the external device to the internal device,
The step of relaying comprises:
In response to communication from the external device, communicating with the internal device on the internal network,
Acquiring the address and control information of the internal device according to a response from the internal device,
Updating the control information of the internal device corresponding to the managed address from the acquired address and control information of the internal device.
内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継処理をコンピュータに実行させるための中継処理プログラムであって、
ゲートウェイ機器において、前記内部機器の代理として前記外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、
前記外部ネットワーク上の前記外部機器からの通信を受けるステップと、
前記外部機器からの通信を前記内部機器に中継するステップとを備え、
前記中継するステップは、
前記外部機器からの通信に応じて、前記内部ネットワーク上の前記内部機器と通信するステップと、
前記内部機器からの応答に応じて、前記内部機器のアドレスと制御情報を取得するステップと、
前記取得した前記内部機器のアドレスと制御情報から、管理するアドレスに対応する前記内部機器の制御情報を更新するステップとを含む中継処理を、コンピュータに実行させるための中継処理プログラム。
A relay processing program for causing a computer to execute relay processing for relaying communication between at least one internal device on an internal network and at least one external device on an external network,
At the gateway device, registering a virtual device for communicating with an external device on the external device network as a proxy for the internal device;
Receiving communication from the external device on the external network;
Relaying communication from the external device to the internal device,
The step of relaying comprises:
In response to communication from the external device, communicating with the internal device on the internal network,
Acquiring the address and control information of the internal device according to a response from the internal device,
Updating the control information of the internal device corresponding to the managed address from the acquired address of the internal device and the control information, thereby causing the computer to execute a relay process.
内部ネットワーク上の少なくとも1つの内部機器と外部ネットワーク上の少なくとも1つの外部機器との通信を中継する中継処理をコンピュータに実行させるための中継処理プログラムを記録した記録媒体であって、
ゲートウェイ機器において、前記内部機器の代理として前記外部機器ネットワーク上の外部機器と通信するための仮想機器の登録を行なうステップと、
前記外部ネットワーク上の前記外部機器からの通信を受けるステップと、
前記外部機器からの通信を前記内部機器に中継するステップとを備え、
前記中継するステップは、
前記外部機器からの通信に応じて、前記内部ネットワーク上の前記内部機器と通信するステップと、
前記内部機器からの応答に応じて、前記内部機器のアドレスと制御情報を取得するステップと、
前記取得した前記内部機器のアドレスと制御情報から、管理するアドレスに対応する前記内部機器の制御情報を更新するステップとを含む中継処理を、コンピュータに実行させるための中継処理プログラムを記録したコンピュータ読み取り可能な記録媒体。
A recording medium recording a relay processing program for causing a computer to execute a relay process of relaying communication between at least one internal device on an internal network and at least one external device on an external network,
At the gateway device, registering a virtual device for communicating with an external device on the external device network as a proxy for the internal device;
Receiving communication from the external device on the external network;
Relaying communication from the external device to the internal device,
The step of relaying comprises:
In response to communication from the external device, communicating with the internal device on the internal network,
Acquiring the address and control information of the internal device according to a response from the internal device,
A step of updating the control information of the internal device corresponding to the managed address from the acquired address of the internal device and the control information. Possible recording medium.
JP2003100666A 2003-04-03 2003-04-03 Gateway device, relay method, relay processing program, and recording medium Expired - Fee Related JP4064854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003100666A JP4064854B2 (en) 2003-04-03 2003-04-03 Gateway device, relay method, relay processing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003100666A JP4064854B2 (en) 2003-04-03 2003-04-03 Gateway device, relay method, relay processing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004310295A true JP2004310295A (en) 2004-11-04
JP4064854B2 JP4064854B2 (en) 2008-03-19

Family

ID=33464729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003100666A Expired - Fee Related JP4064854B2 (en) 2003-04-03 2003-04-03 Gateway device, relay method, relay processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4064854B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010166311A (en) * 2009-01-15 2010-07-29 Sony Corp Gateway apparatus, information communication method, information communication program, and information communication system
JP2012532357A (en) * 2009-06-30 2012-12-13 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Information processing system and method for providing remote access
WO2015008641A1 (en) * 2013-07-17 2015-01-22 三菱電機株式会社 Communication system, communication device, communication adapter, communication method, and program
WO2019092873A1 (en) * 2017-11-13 2019-05-16 ヤマハ発動機株式会社 Communication network system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010166311A (en) * 2009-01-15 2010-07-29 Sony Corp Gateway apparatus, information communication method, information communication program, and information communication system
US8442061B2 (en) 2009-01-15 2013-05-14 Sony Corporation Gateway apparatus, information communication method, information communication program, and information communication system
JP2012532357A (en) * 2009-06-30 2012-12-13 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Information processing system and method for providing remote access
WO2015008641A1 (en) * 2013-07-17 2015-01-22 三菱電機株式会社 Communication system, communication device, communication adapter, communication method, and program
US10256988B2 (en) 2013-07-17 2019-04-09 Mitsubishi Electric Corporation Communication system, communication device, communication adapter, communication method, and program
WO2019092873A1 (en) * 2017-11-13 2019-05-16 ヤマハ発動機株式会社 Communication network system
JPWO2019092873A1 (en) * 2017-11-13 2020-11-12 ヤマハ発動機株式会社 Communication network system
US11388024B2 (en) 2017-11-13 2022-07-12 Yamaha Hatsudoki Kabushiki Kaisha Communication network system

Also Published As

Publication number Publication date
JP4064854B2 (en) 2008-03-19

Similar Documents

Publication Publication Date Title
JP5101852B2 (en) Connection control system, connection control method, and data relay device
JP4746054B2 (en) Media client architecture for network communication devices
JP5718969B2 (en) System and method for providing telephone related services to multiple devices using UPnP on home network
CN110312160A (en) It is wireless to throw screen method, apparatus, Intelligent flat, terminal and system
US20070198669A1 (en) Plug-and-play device for videophony applications on packet-switched networks
JP2008527800A (en) Method for remotely controlling a media device via a communication network
CN102148775B (en) Webpage call service gateway, call service system and method
US20080123634A1 (en) Packet network telecommunication system
KR20120007433A (en) Apparatus and method for configuring video telephony between computer engineering devices
JP3795507B2 (en) Communication relay device
JP2004310295A (en) Gateway appliance, relay method, relay processing program, and recording medium
CN102594794B (en) Access method and device of media encryption conference
CN102223386A (en) Method, device and system for remotely accessing home network
JP2013510477A (en) Method, apparatus and system for media session negotiation
JP4933472B2 (en) Information providing apparatus, inter-network cooperation service providing system, and inter-network cooperation service providing method
JP4831913B2 (en) Method, gateway system and apparatus in communication network
JP2005039342A (en) Router and control method thereof
JP6515688B2 (en) Gateway device
Haber et al. Remote service usage through SIP with multimedia access as a use case
KR100750583B1 (en) Network system of supplying streaming service
Kullberg Implementing remote customer service api using webrtc and jitsi sdk
KR20120019657A (en) Communication system for offering calling name presentation service, packet switched network thereof, server thereof, terminal thereof and method thereof
WO2023016177A1 (en) Call processing method, apparatus, and system
JP5103031B2 (en) Network communication method and system
JP4257016B2 (en) Call quality assurance method in Internet telephone system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050810

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4064854

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees