[go: up one dir, main page]

JP2009118173A - Gateway device, network system, communication method and program - Google Patents

Gateway device, network system, communication method and program Download PDF

Info

Publication number
JP2009118173A
JP2009118173A JP2007288880A JP2007288880A JP2009118173A JP 2009118173 A JP2009118173 A JP 2009118173A JP 2007288880 A JP2007288880 A JP 2007288880A JP 2007288880 A JP2007288880 A JP 2007288880A JP 2009118173 A JP2009118173 A JP 2009118173A
Authority
JP
Japan
Prior art keywords
gateway device
network
information
data
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007288880A
Other languages
Japanese (ja)
Inventor
Hirotaka Moribe
博貴 森部
Shigeki Taira
重喜 平
Nobuaki Obinata
宣昭 小日向
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007288880A priority Critical patent/JP2009118173A/en
Publication of JP2009118173A publication Critical patent/JP2009118173A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To transfer data transmitted from an information appliance communicable only in a closed network also to other closed networks. <P>SOLUTION: A gateway device performs encapsulation to local data, by which communication to an open network becomes possible, receives encapsulated data transmitted from a first other gateway device connected to the open network, releases encapsulation of the encapsulated data to extract the local data, transmits the local data extracted from the encapsulated data into a closed network in which a proxy device itself exists, stores transfer destination information which is the information specifying a second other gateway device connected to the open network, and transmits the encapsulated data received from the first other gateway device to the second other gateway device specified by the transfer destination information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ゲートウェイ装置、ネットワークシステム、通信方法およびプログラムに関する。   The present invention relates to a gateway device, a network system, a communication method, and a program.

写真、音声、映像を含む多様なデジタルデータを、ネットワークに接続された複数の機器間で共有することが行われている。例えば、特許文献1には、いわゆるファイル共有P2P(Peer to Peer)アプリケーションにより、動画のファイルをP2Pシステム内のある機器からダウンロードし、そのファイルを読み出す仕組みが開示されている。また、他のネットワークとの接続を前提としないネットワーク(閉じたネットワークあるいはプライベートネットワークなどと呼ばれる。例えば、通信範囲を同一家庭内に限定したホームネットワークなどがその一例である。)内におけるコンテンツ共用を目的とした標準規格としてDLNA(Digital Living Network Alliance:登録商標)ガイドライン(非特許文献1参照)がある。ホームネットワーク内のDLNAガイドラインに準拠した機器間では、例えば、ストリーミングによるコンテンツ再生などを行うことができる。
特開2007−87185号公報 Digital Living Network Alliance Home Networked Device Interoperability Guidelines Version:1.0、[online]、2004年6月、Digital Network Alliance、インターネット<URL:http://www.dlna.prg>
Various digital data including photographs, sounds, and videos are shared among a plurality of devices connected to a network. For example, Patent Document 1 discloses a mechanism for downloading a moving image file from a device in a P2P system and reading the file by a so-called file sharing P2P (Peer to Peer) application. In addition, content sharing in a network that is not premised on connection with another network (referred to as a closed network or a private network, for example, a home network in which the communication range is limited to the same home is an example). As an intended standard, there is a DLNA (Digital Living Network Alliance: registered trademark) guideline (see Non-Patent Document 1). For example, content reproduction by streaming can be performed between devices compliant with the DLNA guidelines in the home network.
JP 2007-87185 A Digital Living Network Alliance Home Networked Device Interoperability Guidelines Version: 1.0, [online], June 2004, Digital Network Alliance, Internet <URL: http: //www.dlna.prg>

コンテンツを保持する複数の機器が同一のホームネットワークに接続する場合には、各機器がDLNAガイドラインに準拠することでコンテンツを共用することができる。しかしながら、あるホームネットワークに接続するDNLAガイドライン準拠機器と、そのホームネットワークとは異なるホームネットワークに接続するDLNAガイドライン準拠機器との間ではコンテンツを共用することができない。   When a plurality of devices holding content are connected to the same home network, the devices can share the content by complying with the DLNA guidelines. However, content cannot be shared between a DNLA guideline compliant device connected to a home network and a DLNA guideline compliant device connected to a home network different from the home network.

一方、各DLNAガイドライン準拠機器がP2Pアプリケーションを実装していれば、異なるホームネットワーク間でもコンテンツを共有することができる。しかしながら、そのためには、DLNAガイドライン準拠機器のすべてにP2Pアプリケーションを実装する必要がある。   On the other hand, if each DLNA guideline compliant device implements a P2P application, content can be shared between different home networks. However, in order to do so, it is necessary to mount a P2P application on all of the DLNA guideline compliant devices.

本発明は、このような背景を鑑みてなされたものであり、閉じたネットワーク内でのみ通信可能な情報家電から送出されるデータを、他の閉じたネットワークにも転送することができるようにすることを目的とする。   The present invention has been made in view of such a background, and makes it possible to transfer data transmitted from an information home appliance that can communicate only within a closed network to another closed network. For the purpose.

上記課題を解決するための本発明の主たる発明は、開いたネットワークと通信可能であり、閉じたネットワークに存在する情報家電と情報の送受信が可能であるゲートウェイ装置であって、前記閉じたネットワーク内で通信可能であるとともに、前記開いたネットワークへの通信が不可能であるデータであるローカルデータに、前記開いたネットワークへの通信が可能となるカプセル化を行うカプセル化処理部と、前記開いたネットワークに接続されている第1の他のゲートウェイ装置から送信される前記カプセル化されたデータを受信するリモート受信部と、前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出するカプセル化解除処理部と、前記カプセル化されたデータから抽出した前記ローカルデータを、前記プロキシ装置自身が存在する前記閉じたネットワーク内へ送信するローカル通信部と、前記開いたネットワークに接続されている第2の他のゲートウェイ装置を特定する情報である転送先情報を記憶する転送先情報記憶部と、前記転送先情報により特定される前記第2の他のゲートウェイ装置に、前記第1の他のゲートウェイ装置から受信した前記カプセル化されたデータを送信する転送処理部と、を有することとする。   A main invention of the present invention for solving the above-mentioned problems is a gateway device capable of communicating with an open network and capable of transmitting / receiving information to / from an information home appliance existing in the closed network. And an encapsulation processing unit that performs encapsulation that enables communication to the open network into local data that is data that can be communicated with the open network and that cannot be communicated to the open network. A remote receiver for receiving the encapsulated data transmitted from the first other gateway device connected to the network; and decapsulating the encapsulated data to extract the local data A decapsulation processing unit and the local data extracted from the encapsulated data; Transfer destination information storing transfer destination information that is information specifying the local communication unit that transmits to the closed network where the proxy device itself exists and the second other gateway device connected to the opened network A storage unit; and a transfer processing unit that transmits the encapsulated data received from the first other gateway device to the second other gateway device specified by the transfer destination information. And

本発明によれば、閉じたネットワーク内でのみ通信可能な情報家電から送出されるデータを、他の閉じたネットワークにも転送することができる。   ADVANTAGE OF THE INVENTION According to this invention, the data sent from the information household appliance which can communicate only in the closed network can be transferred also to another closed network.

以下、本発明の一実施形態であるネットワークシステム1について説明する。   Hereinafter, a network system 1 according to an embodiment of the present invention will be described.

(システム構成)
図1は、本実施形態に係るネットワークシステム1の構成例を示す図である。
本実施形態のネットワークシステム1におけるネットワーク構成には、複数のホームネットワーク2が含まれている。
(System configuration)
FIG. 1 is a diagram illustrating a configuration example of a network system 1 according to the present embodiment.
The network configuration in the network system 1 of the present embodiment includes a plurality of home networks 2.

ホームネットワーク2は、閉じたネットワークである。閉じたネットワークとは、論理的(または物理的)に外部のネットワークと直接接続されておらず、外部のネットワークとの間において直接の通信を行うことのできないネットワークのことであり、プライベートネットワークとも呼ばれる。閉じたネットワークは、例えば、各機器にTCP/IPに規定されるプライベートアドレスを割り当てることにより実現される。本実施形態のネットワークシステム1では、後述するように、ゲートウェイ装置5がデータを変換することにより、閉じたネットワークであるホームネットワーク2間での通信を可能としている。   The home network 2 is a closed network. A closed network is a network that is not logically (or physically) directly connected to an external network and cannot directly communicate with the external network, and is also called a private network. . A closed network is realized by, for example, assigning a private address defined in TCP / IP to each device. In the network system 1 of this embodiment, as will be described later, the gateway device 5 converts data to enable communication between the home networks 2 that are closed networks.

ホームネットワーク2は、ホームルータ4、ゲートウェイ装置5、およびDLNAガイドラインに準拠した2台の情報家電(以下、DLNA準拠機器6という。)から構成される。これらはそれぞれLAN(Local Area Network)3に接続しており、相互に通信が可能である。   The home network 2 includes a home router 4, a gateway device 5, and two information home appliances (hereinafter referred to as DLNA-compliant devices 6) compliant with DLNA guidelines. Each of these is connected to a LAN (Local Area Network) 3 and can communicate with each other.

ホームルータ4は、NAT(Network Address Translator)などのアドレス変換機能を具備し、特定のポート番号に対してデータを受信した場合、ゲートウェイ装置5に転送するように設定されているルータである。   The home router 4 has an address translation function such as NAT (Network Address Translator), and is configured to transfer data to a gateway device 5 when data is received for a specific port number.

ゲートウェイ装置5は、ホームルータ4を介してインターネット(開いたネットワークの一例である。開いたネットワークとは、物理的にも論理的にも外部のネットワークに接続され、外部のネットワークとの間において直接の通信を行うことのできるネットワークのことである。)に接続され、他のホームネットワーク2のゲートウェイ装置(他のゲートウェイ装置)5と相互に通信可能である。ゲートウェイ装置5は、例えば、通信機能を有するテレビやハードディスクレコーダ、パーソナルコンピュータ、映像・音楽などを再生可能なモバイルプレイヤや携帯電話などの可搬性のある携帯端末である。また、ゲートウェイ装置5には、DLNAガイドラインに準拠したソフトウェアが実装されていても良い。   The gateway device 5 is an example of the Internet (an open network via the home router 4. The open network is physically and logically connected to an external network and directly connected to the external network. And can communicate with a gateway device (other gateway device) 5 of another home network 2. The gateway device 5 is, for example, a portable terminal such as a television having a communication function, a hard disk recorder, a personal computer, a mobile player capable of reproducing video / music, or a mobile phone. In addition, the gateway device 5 may be implemented with software compliant with the DLNA guidelines.

DLNA準拠機器6は、DLNAプロトコルによる通信を行うことが可能である。DLNA準拠機器6は、例えば通信機能を有するハードディスクレコーダやテレビ、プリンタ、デジタルカメラ、デジタルビデオレコーダ、映像・音楽などを再生可能なモバイルプレイヤや携帯電話などの可搬性のある携帯端末、パーソナルコンピュータなどである。   The DLNA-compliant device 6 can perform communication using the DLNA protocol. The DLNA-compliant device 6 is, for example, a hard disk recorder having a communication function, a television, a printer, a digital camera, a digital video recorder, a portable player such as a mobile player or a mobile phone capable of reproducing video / music, a personal computer, etc. It is.

LAN3は、例えば、イーサネット(登録商標)、電灯線、無線、赤外線などの通信回路を用いて構築される。   The LAN 3 is constructed using, for example, a communication circuit such as Ethernet (registered trademark), a power line, wireless, or infrared.

なお、以下の説明において、ホームネットワーク2内でのみ通信可能であり、インターネットでは通信できないデータのことをローカルデータという。本実施形態では、ローカルデータとは、DLNAに規定されるデータ形式の各種メッセージである。これに対して、インターネット上で通信可能なデータのことをリモートデータという。本実施形態では、リモートデータは、ローカルデータにヘッダを付加することにより生成される。   In the following description, data that can be communicated only in the home network 2 and cannot be communicated on the Internet is referred to as local data. In the present embodiment, the local data is various messages in a data format defined by DLNA. On the other hand, data that can be communicated on the Internet is called remote data. In this embodiment, remote data is generated by adding a header to local data.

図2は、本実施形態に係るゲートウェイ装置のハードウェアの構成例を示す図である。
ゲートウェイ装置5は、ゲートウェイ装置全体の制御をつかさどるCPU20と、データやプログラムを記憶するRAM(Random Access Memory)21およびROM(Read Only Memory)22と、LAN3に対してデータを送受信するネットワークインタフェース23と、接続されるモニタ26に情報を表示するための制御を行う表示制御部24とデータを記録、削除可能なハードディスク25とを有してなる。ゲートウェイ装置5の形態によっては、表示制御部24やハードディスク25を省略することもできる。また、ハードディスク25は別の外部記憶装置であっても良い。
FIG. 2 is a diagram illustrating a hardware configuration example of the gateway device according to the present embodiment.
The gateway device 5 includes a CPU 20 that controls the entire gateway device, a RAM (Random Access Memory) 21 and a ROM (Read Only Memory) 22 that store data and programs, and a network interface 23 that transmits and receives data to and from the LAN 3. The display control unit 24 performs control for displaying information on the connected monitor 26, and the hard disk 25 can record and delete data. Depending on the form of the gateway device 5, the display control unit 24 and the hard disk 25 can be omitted. The hard disk 25 may be another external storage device.

図3は、本実施形態に係るゲートウェイ装置5の機能ブロックを示す図である。
ゲートウェイ装置5は、通信部300と、転送リスト部301と、カプセル化処理部302と、LAN内プロトコルプロキシ部303と、カプセル化解除処理部304と、TTL管理部305と、グループID管理部306と、ローカル転送判定部307とを備える。
FIG. 3 is a diagram illustrating functional blocks of the gateway device 5 according to the present embodiment.
The gateway device 5 includes a communication unit 300, a transfer list unit 301, an encapsulation processing unit 302, a LAN protocol proxy unit 303, a decapsulation processing unit 304, a TTL management unit 305, and a group ID management unit 306. And a local transfer determination unit 307.

通信部300は、LAN3に対するデータの送受信を行い、ホームネットワーク2内のLAN3に接続された各機器との通信を行う。また、通信部300は、ホームルータ4を介してインターネット上の他のホームネットワーク2との通信を行う。   The communication unit 300 transmits / receives data to / from the LAN 3 and communicates with each device connected to the LAN 3 in the home network 2. The communication unit 300 communicates with another home network 2 on the Internet via the home router 4.

転送リスト部301は、他のゲートウェイ装置5と通信を行うための、該他のゲートウェイ5が所属するホームネットワーク2のホームルータ4の位置識別子情報(本実施形態では、IPアドレスおよびポート番号とする。)を記憶する。転送リスト部301が記憶する位置識別子情報を宛先としてパケットを送信すると、そのホームルータ4が属するホームネットワーク2の他のゲートウェイ装置5にパケットが転送される。なお、本実施形態では、転送リスト部301には、位置識別子情報を1つ記憶するものとするが、ネットワークシステム1の構成により、複数の位置識別子情報を記憶するようにしてもよい。   The transfer list unit 301 communicates with the other gateway device 5, and the location identifier information of the home router 4 of the home network 2 to which the other gateway 5 belongs (in this embodiment, the IP address and the port number). .) Is memorized. When a packet is transmitted with the location identifier information stored in the transfer list unit 301 as a destination, the packet is transferred to another gateway device 5 of the home network 2 to which the home router 4 belongs. In the present embodiment, the transfer list unit 301 stores one piece of location identifier information, but a plurality of pieces of location identifier information may be stored depending on the configuration of the network system 1.

カプセル化処理部302は、与えられたデータに対して、ゲートウェイ装置5間の通信において定められたプロトコルに用いられる一定の形式に変換するための処理(以下、カプセル化という。)を行う。具体的には、カプセル化処理部302は、与えられたデータに対して、リクエストかレスポンスかを判断するための情報(以下、種別情報という。)を含むヘッダを生成して付加する。また、カプセル化処理部302は、種別情報がリクエストの場合には、ゲートウェイ装置5における転送回数制限(TTL:Time To Live)値、ゲートウェイ装置5が所属するグループを示すグループID、送信元であるゲートウェイ装置5と通信を行うためのホームルータ4の位置識別子情報もヘッダに加える。また、カプセル化処理部302は、後述のTTL管理部305を参照し、TTL値が0であった場合は、与えられたデータを破棄する。   The encapsulation processing unit 302 performs processing (hereinafter referred to as encapsulation) for converting the given data into a certain format used for a protocol defined in communication between the gateway devices 5. Specifically, the encapsulation processing unit 302 generates and adds a header including information (hereinafter referred to as type information) for determining whether the request is a request or a response to the given data. In addition, when the type information is a request, the encapsulation processing unit 302 is a transfer number limit (TTL: Time To Live) value in the gateway device 5, a group ID indicating a group to which the gateway device 5 belongs, and a transmission source. The location identifier information of the home router 4 for communicating with the gateway device 5 is also added to the header. Also, the encapsulation processing unit 302 refers to a TTL management unit 305 described later, and discards the given data when the TTL value is 0.

カプセル化解除処理部304は、他のホームネットワーク2に含まれる他のゲートウェイ装置5からリモートデータを受信した場合に、リモートデータをヘッダとトレーラに分解することにより、カプセル化の解除を行う。   When receiving the remote data from another gateway device 5 included in another home network 2, the decapsulation processing unit 304 decapsulates the remote data by decomposing the remote data into a header and a trailer.

LAN内プロトコルプロキシ部303は、カプセル化解除処理部304が解除したリモートデータのトレーラをローカルデータとして、DLNAプロトコルに従いLAN3に送出する。   The intra-LAN protocol proxy unit 303 sends the remote data trailer released by the decapsulation processing unit 304 as local data to the LAN 3 according to the DLNA protocol.

TTL管理部305は、カプセル化解除部304が取り出したヘッダに含まれているTTL値から1を減じた値を保持する。また、TTL管理部305は、TTL値の初期値も保持する。TTL管理部305が保持するTTL値およびその初期値は、カプセル化処理部302から参照される。   The TTL management unit 305 holds a value obtained by subtracting 1 from the TTL value included in the header extracted by the decapsulation unit 304. The TTL management unit 305 also holds an initial value of the TTL value. The TTL value held by the TTL management unit 305 and its initial value are referenced from the encapsulation processing unit 302.

グループID管理部306は、ゲートウェイ装置5が所属するグループの識別情報(以下、グループIDという。)を保持する。ゲートウェイ装置5が所属するグループIDは設定されていなくても構わず、また複数設定されていても構わない。グループIDは、カプセル化処理部302や後述のローカル転送判定部307から参照される。   The group ID management unit 306 holds identification information (hereinafter referred to as a group ID) of a group to which the gateway device 5 belongs. The group ID to which the gateway device 5 belongs may not be set, and a plurality of group IDs may be set. The group ID is referred to by the encapsulation processing unit 302 and the local transfer determination unit 307 described later.

ローカル転送判定部307は、カプセル化解除処理部304が取り出したヘッダに含まれているグループIDと、グループID管理部306が管理するグループIDとを比較し、一致しているか否かにより、リモートデータをホームネットワーク2内に転送するかどうかを決定する。   The local transfer determination unit 307 compares the group ID included in the header extracted by the decapsulation processing unit 304 with the group ID managed by the group ID management unit 306, and determines whether or not the remote transfer determination unit 307 Decide whether to transfer data into the home network 2.

なお、上記各機能部300〜307は、ハードディスク25や、ROM22に格納されているプログラムが、RAM21に展開され、CPU20によって実行されることにより、具現化する。   Each of the functional units 300 to 307 is realized by a program stored in the hard disk 25 or the ROM 22 being expanded in the RAM 21 and executed by the CPU 20.

(システム処理)
次に、本実施形態に係る通信について詳細に説明する。なお、これ以降の処理において、ゲートウェイ装置5と、DLNA準拠機器6との間の通信は、LAN3を介した通信であるものとし、各ゲートウェイ装置5間の通信は、ホームルータ4およびインターネットを介した通信であるものとする。
(System processing)
Next, communication according to the present embodiment will be described in detail. In the subsequent processing, communication between the gateway device 5 and the DLNA-compliant device 6 is communication via the LAN 3, and communication between the gateway devices 5 is via the home router 4 and the Internet. Communication.

また、本実施形態では、説明を簡単にするためにゲートウェイ装置5a、ゲートウェイ装置5c、ゲートウェイ装置5d、ゲートウェイ装置5gとの間の通信を例として説明を行うものとするが、これらの機器間に限らないことは当然である。   In the present embodiment, for the sake of simplicity of explanation, communication between the gateway device 5a, the gateway device 5c, the gateway device 5d, and the gateway device 5g will be described as an example. Of course, it is not limited.

図4は、本実施形態のネットワークシステム1において行われる通信の流れの一例を示すシーケンス図である。図4では、ホームルータ4についての記載は省略している。   FIG. 4 is a sequence diagram illustrating an example of a flow of communication performed in the network system 1 of the present embodiment. In FIG. 4, the description about the home router 4 is omitted.

また、図4の例では、ゲートウェイ装置5a、5cおよび5gが同一のグループに所属し、ゲートウェイ装置5dは、異なるグループに所属しているものとする。一例として、ゲートウェイ装置5a、5cおよび5gが備えるグループID管理部306には、「87234」が記憶されており、ゲートウェイ装置5dのグループID管理部306には、「87235」が記憶されているものとする。   In the example of FIG. 4, it is assumed that the gateway devices 5a, 5c, and 5g belong to the same group, and the gateway device 5d belongs to a different group. As an example, “87234” is stored in the group ID management unit 306 included in the gateway devices 5a, 5c, and 5g, and “87235” is stored in the group ID management unit 306 of the gateway device 5d. And

まず、ホームネットワーク2a内のDLNA準拠機器6aが、LAN3aに対して機器探索メッセージ(SSDP M-SEARCH;以下、ローカルリクエストという。)をローカルマルチキャスト送信する。ホームネットワーク2a内のゲートウェイ装置5aは、ローカルリクエストを受信し、受信したローカルリクエストをカプセル化して他のホームネットワーク2に転送する、ローカルリクエスト処理を行う(S1:図5を参照して後記する。)。   First, the DLNA-compliant device 6a in the home network 2a performs local multicast transmission of a device search message (SSDP M-SEARCH; hereinafter referred to as a local request) to the LAN 3a. The gateway device 5a in the home network 2a receives the local request, performs local request processing in which the received local request is encapsulated and transferred to another home network 2 (S1: described later with reference to FIG. 5). ).

ゲートウェイ装置5aは、ローカルリクエストがカプセル化されたリモートデータを、インターネットを介して、ゲートウェイ装置5cに送信する。具体的には、ゲートウェイ装置5aは、転送リスト部301に記憶されている位置識別子情報を宛先としてリモートデータを送出することにより、ホームネットワーク2cのホームルータ4cにリモートデータを送信し、リモートデータを受信したホームルータ4cが、ホームネットワーク2cに属するゲートウェイ装置5cに受信したリモートデータを転送することにより、リモートデータが他のゲートウェイ装置5cに送信される。   The gateway device 5a transmits the remote data in which the local request is encapsulated to the gateway device 5c via the Internet. Specifically, the gateway device 5a transmits remote data to the home router 4c of the home network 2c by sending remote data with the location identifier information stored in the transfer list unit 301 as a destination, and transmits the remote data. The received home router 4c transfers the received remote data to the gateway device 5c belonging to the home network 2c, whereby the remote data is transmitted to the other gateway device 5c.

リモートデータを受信したゲートウェイ装置5cは、リモートリクエスト処理を行う(S2:図7を参照して後記する。)。ステップS2において、ゲートウェイ装置5cは、受信したリモートデータのカプセル化を解除してローカルリクエストを抽出し、ホームネットワーク2c内のLAN3cに接続している適切なDLNA準拠機器6に対して、抽出したローカルリクエストを送信する。また、ゲートウェイ装置5cは、該ローカルリクエストをカプセル化して、インターネットを介してゲートウェイ装置5dに送信する。   The gateway device 5c that has received the remote data performs remote request processing (S2: described later with reference to FIG. 7). In step S2, the gateway device 5c decapsulates the received remote data, extracts a local request, and extracts the extracted local data from the appropriate DLNA-compliant device 6 connected to the LAN 3c in the home network 2c. Send a request. The gateway device 5c encapsulates the local request and transmits it to the gateway device 5d via the Internet.

また、ゲートウェイ装置5cは、ステップS2においてホームネットワーク2cのLAN3cに接続しているDLNA準拠機器6に対して送信したローカルリクエストに対するレスポンスを受信した場合、ローカルレスポンス処理を行う(S3:図8を参照して後記する。)。ステップS3において、ゲートウェイ装置5cは、ホームネットワーク2c内のLAN3cに接続しているDLNA機器6cから受信したローカルレスポンスをカプセル化したリモートデータを生成し、生成したリモートデータをゲートウェイ装置5aに送信する。   When the gateway device 5c receives a response to the local request transmitted to the DLNA-compliant device 6 connected to the LAN 3c of the home network 2c in step S2, the gateway device 5c performs local response processing (S3: see FIG. 8). And will be described later.) In step S3, the gateway device 5c generates remote data that encapsulates the local response received from the DLNA device 6c connected to the LAN 3c in the home network 2c, and transmits the generated remote data to the gateway device 5a.

ゲートウェイ装置5dは、ゲートウェイ装置5cから送信される、ステップS2において生成されたリモートデータを受信し、リモートリクエスト処理を行う(S2)。ステップS2において、ゲートウェイ装置5dは、受信したリモートデータのカプセル化を解除するが、ヘッダに含まれるグループIDが、グループID管理部306に記憶されているグループIDと異なるために、ホームネットワーク2d内のLAN3dに対してローカルデータを送信せず、該ローカルリクエストを再びカプセル化し、インターネットを介してゲートウェイ装置5gに送信する。   The gateway device 5d receives the remote data generated in step S2 transmitted from the gateway device 5c, and performs remote request processing (S2). In step S2, the gateway device 5d decapsulates the received remote data. However, since the group ID included in the header is different from the group ID stored in the group ID management unit 306, the gateway device 5d Instead of transmitting local data to the LAN 3d, the local request is encapsulated again and transmitted to the gateway device 5g via the Internet.

ゲートウェイ装置5gは、リモートデータを受信すると、リモートリクエスト処理を行う(S2)。ステップS2において、ゲートウェイ装置5gは、受信したカプセル化されたローカルリクエストのカプセル化を解除して、トレーラを抽出し、抽出したトレーラをローカルリクエストとして、ホームネットワーク2g内のLAN3gに接続している適切なDLNA準拠機器6に対して送信する。   When the gateway device 5g receives remote data, the gateway device 5g performs remote request processing (S2). In step S2, the gateway device 5g decapsulates the received encapsulated local request, extracts a trailer, and connects the extracted trailer as a local request to the LAN 3g in the home network 2g. To a DLNA-compliant device 6.

また、ゲートウェイ装置5gは、ステップS2において送信したローカルリクエストに対して、DLNA準拠機器6からレスポンスを受信した場合、ローカルレスポンス処理を行う(S3)。ステップS3において、ゲートウェイ装置5gは、ホームネットワーク2g内のLAN3gに接続しているDLNA機器6から受信したレスポンスをカプセル化したリモートデータを生成し、生成したリモートデータをゲートウェイ装置5aに送信する。   When the gateway device 5g receives a response from the DLNA-compliant device 6 in response to the local request transmitted in step S2, the gateway device 5g performs local response processing (S3). In step S3, the gateway device 5g generates remote data encapsulating the response received from the DLNA device 6 connected to the LAN 3g in the home network 2g, and transmits the generated remote data to the gateway device 5a.

ゲートウェイ装置5aは、ステップS3においてゲートウェイ装置5cとゲートウェイ装置5gから送信される、レスポンスをカプセル化したリモートデータを受信すると、リモートレスポンス処理を行う(S4:図9を参照して後記する。)。ステップS4において、ゲートウェイ装置5は、ホームネットワーク2a内のLAN3aに接続しているDLNA準拠機器6aに対して、受信したリモートデータのカプセル化を解除して、トレーラを抽出し、抽出したトレーラをローカルデータとして、LAN3aに送信する。   When the gateway device 5a receives remote data encapsulating the response transmitted from the gateway device 5c and the gateway device 5g in step S3, the gateway device 5a performs remote response processing (S4: described later with reference to FIG. 9). In step S4, the gateway device 5 releases the received remote data from the DLNA-compliant device 6a connected to the LAN 3a in the home network 2a, extracts the trailer, and extracts the extracted trailer locally. Data is transmitted to the LAN 3a.

また、ゲートウェイ装置5aは、レスポンスがカプセル化されたリモートデータを受信することにより、通信対象となるホームネットワーク2(ホームネットワーク2cとホームネットワーク5g)内のゲートウェイ装置5(ゲートウェイ装置5cとゲートウェイ装置5g)と通信するためのホームルータ4(ホームルータ4cとホームルータ4g)の位置識別子情報を取得し、これ以降の通信では、直接通信対象となるホームネットワーク2内のゲートウェイ装置5との間で、DLNA準拠機器6からのリクエストやレスポンスをカプセル化したリモートデータを直接送受信することができる。   Further, the gateway device 5a receives the remote data in which the response is encapsulated, whereby the gateway device 5 (gateway device 5c and gateway device 5g) in the home network 2 (home network 2c and home network 5g) to be communicated. ) To acquire the location identifier information of the home router 4 (home router 4c and home router 4g) for communication with the gateway device 5 in the home network 2 to be directly communicated, Remote data encapsulating requests and responses from the DLNA-compliant device 6 can be directly transmitted and received.

以上の通信処理により、最終的には、ホームネットワーク2a内のDLNA準拠機器6aは、ネットワークシステム1の全体の中から、所望のコンテンツを取得することができる。   Through the above communication processing, finally, the DLNA-compliant device 6a in the home network 2a can acquire desired content from the entire network system 1.

以下、図4のステップS1〜ステップS4について詳細に説明する。なお、ここでは主にゲートウェイ装置5aとゲートウェイ装置5c間の通信に係る処理について説明するが、実行する処理の内容は、他のゲートウェイ装置5も同様である。   Hereinafter, step S1 to step S4 in FIG. 4 will be described in detail. In addition, although the process which concerns mainly on communication between the gateway apparatus 5a and the gateway apparatus 5c is demonstrated here, the content of the process to perform is the same also with the other gateway apparatuses 5.

(ローカルリクエスト処理:S1)
図5は、図4のステップS1におけるローカルリクエスト処理の流れを示すフロー図である。
ゲートウェイ装置5aのLAN内プロトコルプロキシ部303は、DLNA準拠機器6aの送信したローカルデータを、該ゲートウェイ装置5aの通信部300を介して受信する(S101)。
(Local request processing: S1)
FIG. 5 is a flowchart showing the flow of local request processing in step S1 of FIG.
The intra-LAN protocol proxy unit 303 of the gateway device 5a receives the local data transmitted from the DLNA-compliant device 6a via the communication unit 300 of the gateway device 5a (S101).

カプセル化処理部302は、LAN内プロトコルプロキシ部303が受信したローカルデータに対し、リクエストであることを示す種別情報と、TTL管理部305で管理されているTTL値の初期値と、グループID管理部306で管理されているグループIDとを含むヘッダを追加したリモートデータを生成することによりカプセル化を行う(S102)。   The encapsulation processing unit 302 is a type information indicating that the local data received by the intra-LAN protocol proxy unit 303 is a request, an initial value of a TTL value managed by the TTL management unit 305, and a group ID management. Encapsulation is performed by generating remote data to which a header including the group ID managed by the unit 306 is added (S102).

図6は、ステップS102において、カプセル化処理部302が生成するリモートデータの構成例を示す図である。図6に示すように、ローカルリクエストがカプセル化されたリモートデータは、ヘッダ1001およびトレーラ1002から構成されており、ヘッダ1001には、リクエストであることを示す種類情報と、グループID、TTL値が含まれている。トレーラ1002は、DLNA準拠機器6aから送信されたローカルリクエストである。   FIG. 6 is a diagram illustrating a configuration example of remote data generated by the encapsulation processing unit 302 in step S102. As shown in FIG. 6, remote data in which a local request is encapsulated includes a header 1001 and a trailer 1002. The header 1001 includes type information indicating a request, a group ID, and a TTL value. include. The trailer 1002 is a local request transmitted from the DLNA-compliant device 6a.

通信部300は、転送リスト部301から、ホームネットワーク2cのゲートウェイ装置5cと通信を行うためのホームルータ4cの位置識別子情報を取得し、カプセル化処理部302が生成したリモートデータを、位置識別子情報を宛先としてインターネットに送出することにより、ゲートウェイ装置5cにリモートデータを送信する(S103)。   The communication unit 300 acquires the location identifier information of the home router 4c for communicating with the gateway device 5c of the home network 2c from the transfer list unit 301, and uses the remote data generated by the encapsulation processing unit 302 as the location identifier information. Is sent to the Internet as a destination to transmit remote data to the gateway device 5c (S103).

(リモートリクエスト処理:S2)
図7は、図4のステップS2におけるリモートリクエスト処理の流れを示すフロー図である。
ホームネットワーク2c内のゲートウェイ装置5cのカプセル化解除処理部304は、ゲートウェイ装置5aが送信したカプセル化されたリモートデータを、該ゲートウェイ装置5cの通信部300を介して受信し、受信したリモートデータを解析して、リモートデータからヘッダとトレーラとを抽出するカプセル化解除処理を行う(S201)。
(Remote request processing: S2)
FIG. 7 is a flowchart showing the flow of remote request processing in step S2 of FIG.
The decapsulation processing unit 304 of the gateway device 5c in the home network 2c receives the encapsulated remote data transmitted by the gateway device 5a via the communication unit 300 of the gateway device 5c, and receives the received remote data. The decapsulation processing is performed to analyze and extract the header and trailer from the remote data (S201).

ローカル転送判定部307は、グループID管理部306で管理されているグループIDと、カプセル化解除処理部304が抽出したヘッダに含まれるグループIDと比較する(S202)。グループIDが一致した場合には、ステップS203へ、一致しない場合にはステップS204へ遷移する。   The local transfer determination unit 307 compares the group ID managed by the group ID management unit 306 with the group ID included in the header extracted by the decapsulation processing unit 304 (S202). If the group IDs match, the process proceeds to step S203. If the group IDs do not match, the process proceeds to step S204.

グループID管理部306のグループIDと、ヘッダのグループIDとが一致した場合には、ゲートウェイ5cのLAN内プロトコルプロキシ部303は、カプセル化解除処理部304が抽出したトレーラを、ホームネットワーク2cのLAN3c内のDLNA準拠機器6に送信するために適切に書き換えてローカルデータを生成する(プロキシ処理)。LAN内プロトコルプロキシ部303は、書き換えたローカルデータをLAN3cに対して通信部300を介して送信する(S203)。なお、本実施形態では、通信部300は、所定のマルチキャストアドレスに対してローカルデータを送信する、マルチキャスト送信によりローカルデータをLAN3cに送信するものとする。   When the group ID of the group ID management unit 306 matches the group ID of the header, the protocol proxy unit 303 in the gateway 5c uses the trailer extracted by the decapsulation processing unit 304 as the LAN 3c of the home network 2c. The local data is generated by appropriately rewriting it for transmission to the DLNA-compliant device 6 (proxy processing). The intra-LAN protocol proxy unit 303 transmits the rewritten local data to the LAN 3c via the communication unit 300 (S203). In the present embodiment, the communication unit 300 transmits local data to a predetermined multicast address, and transmits local data to the LAN 3c by multicast transmission.

ゲートウェイ装置5cのTTL管理部305は、カプセル化解除処理部304が抽出したヘッダに含まれているTTL値から1を減じてTTL値を算出し、カプセル化処理部302に渡す(S204)。   The TTL management unit 305 of the gateway device 5c calculates a TTL value by subtracting 1 from the TTL value included in the header extracted by the decapsulation processing unit 304, and passes it to the encapsulation processing unit 302 (S204).

ゲートウェイ装置5cのカプセル化処理部302は、TTL管理部305から渡されたTTL値を取得し、TTL値が0であるか1以上であるかを判定する(S205)。カプセル化処理部302は、TTL値が0の場合、保持しているデータを破棄して処理を終了する。またカプセル化処理部302は、TTL値が1以上の場合はステップS206に処理を遷移させる。   The encapsulation processing unit 302 of the gateway device 5c acquires the TTL value passed from the TTL management unit 305, and determines whether the TTL value is 0 or 1 (S205). When the TTL value is 0, the encapsulation processing unit 302 discards the stored data and ends the process. In addition, when the TTL value is 1 or more, the encapsulation processing unit 302 shifts the process to step S206.

ゲートウェイ装置5cのカプセル化処理部302は、カプセル化解除処理部304が抽出したヘッダに含まれるグループIDと、TTL管理部305から渡されたTTL値と、リモートデータの送信元であるホームネットワーク2a内のゲートウェイ装置5aと通信するためのホームルータ4aの位置識別子情報とを含むヘッダを、カプセル化解除処理部304が抽出したトレーラに加えてリモートデータを生成することにより、カプセル化を行う(S206)。   The encapsulation processing unit 302 of the gateway device 5c includes the group ID included in the header extracted by the decapsulation processing unit 304, the TTL value passed from the TTL management unit 305, and the home network 2a that is the remote data transmission source. The header including the location identifier information of the home router 4a for communicating with the gateway device 5a is added to the trailer extracted by the decapsulation processing unit 304 to generate remote data, thereby performing encapsulation (S206). ).

ゲートウェイ装置5cの通信部300は、転送リスト部301が管理している、ホームネットワーク2dのゲートウェイ装置5dと通信を行うためのホームルータ4dの位置識別子情報を取得し、カプセル化処理部302が生成したリモートデータを、取得した位置識別子情報を宛先として送信する(S207)。   The communication unit 300 of the gateway device 5c acquires the location identifier information of the home router 4d managed by the transfer list unit 301 for communicating with the gateway device 5d of the home network 2d, and is generated by the encapsulation processing unit 302 The obtained remote data is transmitted with the acquired position identifier information as the destination (S207).

(ローカルレスポンス処理:S3)
図8は、図4のステップS3におけるローカルレスポンス処理の流れを示すフロー図である。図8のローカルレスポンス処理は、ホームネットワーク2cのゲートウェイ装置5cが図7のステップS203において、ローカルデータをホームネットワーク2cのLAN3cに送信した場合に、ホームネットワーク2c内のDLNA準拠機器6cが、上記ローカルデータへのレスポンスとしてDLNAガイドラインが定める所定のメッセージ(以下、ローカルレスポンスという。)を該ゲートウェイ装置5cに送信した場合に実行される。
(Local response processing: S3)
FIG. 8 is a flowchart showing the flow of local response processing in step S3 of FIG. In the local response process of FIG. 8, when the gateway device 5c of the home network 2c transmits local data to the LAN 3c of the home network 2c in step S203 of FIG. 7, the DLNA-compliant device 6c in the home network 2c This is executed when a predetermined message (hereinafter referred to as a local response) defined by the DLNA guidelines is transmitted to the gateway device 5c as a response to data.

ゲートウェイ装置5cのLAN内プロトコルプロキシ部303は、DLNA準拠機器6cが送信したローカルレスポンスを、通信部300を介して受信する(S301)。   The intra-LAN protocol proxy unit 303 of the gateway device 5c receives the local response transmitted by the DLNA-compliant device 6c via the communication unit 300 (S301).

ゲートウェイ装置5cのカプセル化処理部302は、ローカルレスポンスに、レスポンスであることを示す種類情報を含むヘッダを付加したリモートデータを生成して、カプセル化を行う(S302)。   The encapsulation processing unit 302 of the gateway device 5c generates remote data by adding a header including type information indicating that it is a response to the local response, and performs encapsulation (S302).

ゲートウェイ装置5cの通信部300は、図7のステップS201においてカプセル化解除処理部304が受信したリモートデータのヘッダに、送信元であるホームネットワーク2a内のゲートウェイ装置5aと通信するためのホームルータ4aの位置識別子情報が含まれている場合には、該位置識別子情報を宛先とし、該位置識別子情報が含まれていない場合には、ステップS201において受信されたリモートデータの送信元を示す位置識別子情報を宛先として、上記ステップS302においてカプセル化処理部302が生成したリモートデータを送信する(S303)。   The communication unit 300 of the gateway device 5c uses the home router 4a for communicating with the gateway device 5a in the home network 2a that is the transmission source in the header of the remote data received by the decapsulation processing unit 304 in step S201 in FIG. If the location identifier information is included, the location identifier information is the destination, and if the location identifier information is not included, the location identifier information indicating the source of the remote data received in step S201 Is transmitted to the remote data generated by the encapsulation processing unit 302 in step S302 (S303).

(リモートレスポンス処理:S4)
図9は、図4のステップS4におけるリモートレスポンス処理の流れを示すフロー図である。図9のリモートレスポンス処理は、上記図8のステップS303においてホームネットワーク2cのゲートウェイ装置5cが送信したリモートデータを、ホームネットワーク2aのゲートウェイ装置5aが受信した場合に実行される。
(Remote response processing: S4)
FIG. 9 is a flowchart showing the flow of the remote response process in step S4 of FIG. 9 is executed when the gateway device 5a of the home network 2a receives the remote data transmitted by the gateway device 5c of the home network 2c in step S303 of FIG.

ホームネットワーク2aのゲートウェイ装置5aのカプセル化解除処理部304は、ホームネットワーク2cのゲートウェイ装置5cから送信されるリモートデータを、通信部300を介して受信し、受信したリモートデータからヘッダとトレーラとを抽出するカプセル化解除処理を行う(S401)。   The decapsulation processing unit 304 of the gateway device 5a of the home network 2a receives remote data transmitted from the gateway device 5c of the home network 2c via the communication unit 300, and extracts a header and a trailer from the received remote data. The decapsulation process to extract is performed (S401).

該ゲートウェイ装置5aのLAN内プロトコルプロキシ部303は、カプセル化解除処理部304が抽出したトレーラを、ホームネットワーク2aのLAN3a内のDLNA準拠機器6aに送信するために適切に書き換え(プロキシ処理)、該ゲートウェイ装置5aが接続されているLAN3aに対して通信部300を介して送信する(S402)。   The in-LAN protocol proxy unit 303 of the gateway device 5a appropriately rewrites the trailer extracted by the decapsulation processing unit 304 to transmit to the DLNA-compliant device 6a in the LAN 3a of the home network 2a (proxy processing). The data is transmitted to the LAN 3a to which the gateway device 5a is connected via the communication unit 300 (S402).

なお、以上のS1からS4までの処理により、ホームネットワーク2aに接続されているゲートウェイ装置5aと、通信対象となる他のホームネットワーク2c内のゲートウェイ装置5c間で直接通信するための、該他のホームネットワーク2c内のホームルータ4cの位置識別子情報を知ることができるので、これ以降の通信は、ゲートウェイ装置5aおよびゲートウェイ装置5cの間で直接行うようにすることができる。   The other processes for directly communicating between the gateway device 5a connected to the home network 2a and the gateway device 5c in the other home network 2c to be communicated by the above processing from S1 to S4. Since the location identifier information of the home router 4c in the home network 2c can be known, the subsequent communication can be performed directly between the gateway device 5a and the gateway device 5c.

以上により、ホームネットワーク2a内のDLNA準拠機器6と、未知の他のホームネットワーク2内のDLNA準拠機器6との間で、DLNAプロトコルに従った通信を行い、コンテンツを共有することができる。   As described above, communication according to the DLNA protocol can be performed and content can be shared between the DLNA-compliant device 6 in the home network 2a and the DLNA-compliant device 6 in another unknown home network 2.

本実施形態のネットワークシステム1によれば、ゲートウェイ装置5が、ホームネットワーク2においてDLNAプロトコルに従ってDLNA準拠機器6が送出したローカルデータをカプセル化してリモートデータを生成し、そのリモートデータを、インターネットを介して他のホームネットワーク2のゲートウェイ装置5に送信し、他のホームネットワーク2において、ゲートウェイ装置5が、受信したリモートデータからローカルデータを抽出して他のホームネットワーク2内に送信することができる。したがって、ホームネットワーク2などの閉じたネットワーク内で利用されている、開いたネットワークとの通信が不可能なプロトコルにしたがって通信を行う情報家電から送出されたローカルデータを、他の閉じたネットワークに転送することができる。よって、異なる閉じたネットワークに属する情報家電間でのコンテンツの共有が可能となる。   According to the network system 1 of the present embodiment, the gateway device 5 encapsulates the local data transmitted by the DLNA-compliant device 6 in the home network 2 according to the DLNA protocol to generate remote data, and the remote data is transmitted via the Internet. Can be transmitted to the gateway device 5 of the other home network 2, and in the other home network 2, the gateway device 5 can extract the local data from the received remote data and transmit it to the other home network 2. Therefore, local data sent from an information appliance that communicates in accordance with a protocol that is used in a closed network such as the home network 2 and cannot communicate with the open network is transferred to another closed network. can do. Therefore, it becomes possible to share content between information appliances belonging to different closed networks.

また、本実施形態のネットワークシステム1では、ゲートウェイ装置5は、第1のゲートウェイ装置5から受信したリモートデータからローカルデータを抽出してホームネットワーク2に送信するとともに、そのリモートデータを第2のゲートウェイ装置5に転送することができる。したがって、多くの閉じたネットワークであるホームネットワーク2間でコンテンツを共有することができる。   In the network system 1 of the present embodiment, the gateway device 5 extracts local data from the remote data received from the first gateway device 5 and transmits it to the home network 2, and transmits the remote data to the second gateway. It can be transferred to the device 5. Therefore, content can be shared between the home networks 2 which are many closed networks.

よって、例えば、3世代の家庭(例えば、親の家庭、子の家庭、孫の家庭)の各家庭にホームネットワーク2が構築されていた場合、孫がデジタルカメラで撮影した写真データを、孫の家庭のホームネットワーク2に設置されているゲートウェイ装置5が、子の家庭のホームネットワーク2に設置されているゲートウェイ装置5に転送することで、子の家庭のホームネットワーク2に設置されているテレビやパソコン、プリンタなどが、孫のデジタルカメラから送出される写真データを受信して出力することが可能となるとともに、子の家庭のゲートウェイ装置5が、孫の家庭のゲートウェイ装置5から受信したリモートデータを、親の家庭のゲートウェイ装置5にも転送し、親の家庭のホームネットワーク2においても、テレビやパソコン、プリンタなどから、孫のデジタルカメラから送出される写真データを受信して出力することができるようになる。つまり、複数の家庭間で、コンテンツの共有を行うことが可能となる。   Therefore, for example, when the home network 2 is constructed in each of the three generation homes (for example, a parent home, a child home, and a grandson home), the photo data taken by the grandchild with the digital camera The gateway device 5 installed in the home network 2 of the home transfers to the gateway device 5 installed in the home network 2 of the child home, so that the television set installed in the home network 2 of the child home A personal computer, a printer, etc. can receive and output photo data sent from the grandchild's digital camera, and the remote data received by the child's home gateway apparatus 5 from the grandchild's home gateway apparatus 5 Is also transferred to the gateway device 5 of the parent home, and the TV and personal computer are also used in the home network 2 of the parent home. From a printer, it is possible to receive and output picture data sent from the grandchildren of the digital camera. That is, it becomes possible to share content among a plurality of homes.

また、例えば、複数の本発明のゲートウェイ装置5によりP2Pシステムを構成した場合には、ホームネットワーク2内のDLNA準拠機器6は、P2Pアプリケーションを実装することなく、該P2Pシステムに参加することができる。一般にP2Pシステムでは、P2Pアプリケーションを実装している各装置が最小構成単位となるが、本実施形態のネットワークシステム1によれば、ホームネットワーク2をP2Pシステムの最小構成単位として扱うことができる。   For example, when a P2P system is configured by a plurality of gateway devices 5 of the present invention, the DLNA-compliant device 6 in the home network 2 can participate in the P2P system without implementing a P2P application. . In general, in a P2P system, each device on which a P2P application is mounted is a minimum configuration unit. However, according to the network system 1 of the present embodiment, the home network 2 can be handled as the minimum configuration unit of the P2P system.

また、本実施形態のネットワークシステム1では、ゲートウェイ装置5は、リモートデータを転送する際に、TTL値を1減じて転送し、TTL値が0になるとリモートデータを破棄するようにしているので、リモートデータが永久に転送され続けることもなく、ネットワークの負荷を抑制することができる。   Further, in the network system 1 of the present embodiment, when transferring the remote data, the gateway device 5 decreases the TTL value by 1 and transfers the remote data when the TTL value becomes 0. The remote data is not transferred forever, and the network load can be suppressed.

また、本実施形態のネットワークシステム1では、グループIDを設定することにより、ゲートウェイ装置5は、不要なデータをフィルタすることができる。したがって、ホームネットワーク2のトラフィックを不要に増加させないようにすることができる。   In the network system 1 of the present embodiment, the gateway device 5 can filter unnecessary data by setting the group ID. Therefore, the traffic of the home network 2 can be prevented from being increased unnecessarily.

なお、本実施形態のネットワークシステム1では、ホームネットワーク2内において、閉じたネットワーク内だけで通信が可能なプロトコルの一例として、DLNAガイドラインに定められる各種プロトコル(以下、まとめてDLNAプロトコルという。)に従った通信が行われるものとしたが、これに限らず、例えば、Bonjour(Randezvousとも呼ばれる。)などの、閉じたネットワーク用のプロトコルを採用してもよい。   Note that in the network system 1 of the present embodiment, various protocols defined in the DLNA guidelines (hereinafter collectively referred to as DLNA protocols) are examples of protocols that can be communicated in the home network 2 only in a closed network. However, the present invention is not limited to this, and a closed network protocol such as Bonjour (also called Randezvous) may be employed.

また、本実施形態では、説明を簡略化するため、ネットワークシステム1を、10個のホームネットワーク2から構成するようにしたが、これに限らず、10個より多い数のホームネットワーク2により構成してもよいし、または10未満のホームネットワーク2から構成してもよいことは当然である。   In the present embodiment, the network system 1 is composed of ten home networks 2 for the sake of simplicity of explanation, but the present invention is not limited to this, and the network system 1 is composed of more than ten home networks 2. Of course, it may be configured from less than 10 home networks 2.

また、ホームネットワーク2には、それぞれ2台のDLNA準拠機器6が接続される構成にしたが、これに限らず、1台のみが接続されるようにしてもよいし、3台以上の多数が接続されるようにしてもよい。   Further, the home network 2 is configured such that two DLNA-compliant devices 6 are connected to each other. However, the present invention is not limited to this, and only one device may be connected. You may make it connect.

また、本実施形態では、位置識別子情報は、IPアドレスおよびポート番号であるものとしたが、これに限らず、他のゲートウェイ装置5と通信を行うために必要な情報であればよい。例えば、ゲートウェイ装置5にグローバルアドレスが割り当てられている場合などには、位置識別子情報は、ゲートウェイ装置5のIPアドレスとすることもできる。   In the present embodiment, the location identifier information is an IP address and a port number. However, the location identifier information is not limited to this and may be information necessary for communication with another gateway device 5. For example, when a global address is assigned to the gateway device 5, the location identifier information can be the IP address of the gateway device 5.

また、グループID管理部306は、ゲートウェイ装置5が所属するグループのグループIDを記憶するようにしたが、これに代えて、またはこれに加えて、該ゲートウェイ装置5の識別情報を記憶するようにしてもよい。   Further, the group ID management unit 306 stores the group ID of the group to which the gateway device 5 belongs, but instead of or in addition to this, the identification information of the gateway device 5 is stored. May be.

以上、本実施形態について説明したが、上記実施形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物も含まれる。   Although the present embodiment has been described above, the above embodiment is intended to facilitate understanding of the present invention and is not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes equivalents thereof.

本実施形態に係るネットワークシステム1の構成例を示す図である。It is a figure which shows the structural example of the network system 1 which concerns on this embodiment. 本実施形態に係るゲートウェイ装置5のハードウェアの構成例を示す図である。It is a figure which shows the structural example of the hardware of the gateway apparatus 5 which concerns on this embodiment. 本実施形態に係るゲートウェイ装置5の機能ブロック図である。It is a functional block diagram of the gateway apparatus 5 which concerns on this embodiment. 本実施形態のネットワークシステム1における通信の一例を示すシーケンス図である。It is a sequence diagram which shows an example of communication in the network system 1 of this embodiment. 図4のステップS1におけるローカルリクエスト処理の流れを示すフロー図である。It is a flowchart which shows the flow of the local request process in step S1 of FIG. リモートデータの具体例を示す図である。It is a figure which shows the specific example of remote data. 図4のステップS2におけるリモートリクエスト処理の流れを示すフロー図である。It is a flowchart which shows the flow of the remote request process in step S2 of FIG. 図4のステップS3におけるローカルレスポンス処理の流れを示すフロー図である。It is a flowchart which shows the flow of the local response process in step S3 of FIG. 図4のステップS4におけるリモートレスポンス処理の流れを示すフロー図である。It is a flowchart which shows the flow of the remote response process in step S4 of FIG.

符号の説明Explanation of symbols

1 ネットワークシステム
2 ホームネットワーク
3 LAN
4 ホームルータ
5 ゲートウェイ装置
6 DLNA準拠機器
20 CPU
21 RAM
22 ROM
23 ネットワークインタフェース
24 表示制御部
25 ハードディスク
26 モニタ
300 通信部
301 転送リスト部
302 カプセル化処理部
303 LAN内プロトコルプロキシ部
304 カプセル化解除処理部
305 TTL管理部
306 グループID管理部
307 ローカル転送判定部
1 Network system 2 Home network 3 LAN
4 Home router 5 Gateway device 6 DLNA compliant device 20 CPU
21 RAM
22 ROM
23 Network Interface 24 Display Control Unit 25 Hard Disk 26 Monitor 300 Communication Unit 301 Transfer List Unit 302 Encapsulation Processing Unit 303 Intra-LAN Protocol Proxy Unit 304 Decapsulation Processing Unit 305 TTL Management Unit 306 Group ID Management Unit 307 Local Transfer Determination Unit

Claims (10)

開いたネットワークと通信可能であり、閉じたネットワークに存在する情報家電と情報の送受信が可能であるゲートウェイ装置であって、
前記閉じたネットワーク内で通信可能であるとともに、前記開いたネットワークへの通信が不可能であるデータであるローカルデータに、前記開いたネットワークへの通信が可能となるカプセル化を行うカプセル化処理部と、
前記開いたネットワークに接続されている第1の他のゲートウェイ装置から送信される前記カプセル化されたデータを受信するリモート受信部と、
前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出するカプセル化解除処理部と、
前記カプセル化されたデータから抽出した前記ローカルデータを、前記プロキシ装置自身が存在する前記閉じたネットワーク内へ送信するローカル通信部と、
前記開いたネットワークに接続されている第2の他のゲートウェイ装置を特定する情報である転送先情報を記憶する転送先情報記憶部と、
前記転送先情報により特定される前記第2の他のゲートウェイ装置に、前記第1の他のゲートウェイ装置から受信した前記カプセル化されたデータを送信する転送処理部と、
を有することを特徴とするゲートウェイ装置。
A gateway device capable of communicating with an open network and capable of transmitting / receiving information to / from an information appliance in a closed network,
An encapsulation processing unit that performs encapsulation that enables communication to the open network to local data that is data that can be communicated in the closed network and cannot be communicated to the open network. When,
A remote receiving unit for receiving the encapsulated data transmitted from a first other gateway device connected to the open network;
A decapsulation processing unit for decapsulating the encapsulated data and extracting the local data;
A local communication unit that transmits the local data extracted from the encapsulated data into the closed network in which the proxy device itself exists;
A transfer destination information storage unit for storing transfer destination information that is information for specifying the second other gateway device connected to the open network;
A transfer processing unit that transmits the encapsulated data received from the first other gateway device to the second other gateway device specified by the transfer destination information;
A gateway device comprising:
請求項1に記載のゲートウェイ装置であって、
前記開いたネットワークを介して受信した前記カプセル化されたデータに含まれている、前記プロキシ装置自身が存在する前記閉じたネットワーク内では無効な位置識別子を、当該閉じたネットワーク内において有効な位置識別子へ変換する位置識別子変換処理部を有すること
を特徴とするゲートウェイ装置。
The gateway device according to claim 1,
A location identifier that is invalid in the closed network in which the proxy device itself exists and that is included in the encapsulated data received via the open network is a valid location identifier in the closed network. A gateway device comprising a position identifier conversion processing unit for converting to
請求項2に記載のゲートウェイ装置であって、
前記ローカルデータは、階層構造をなすデータ群の中の1つであり、前記ローカルデータより上位の前記ローカルデータを処理するための処理を、前記変換された位置識別子に対応させて、動的に生成する処理部生成部を有すること
を特徴とするゲートウェイ装置。
The gateway device according to claim 2,
The local data is one of a data group having a hierarchical structure, and a process for processing the local data higher than the local data is dynamically performed in association with the converted position identifier. A gateway device comprising a processing unit generating unit for generating.
請求項2に記載のゲートウェイ装置であって、
前記無効な位置識別子とは、前記ゲートウェイ装置自身が存在している前記閉じたネットワークとは異なる前記閉じたネットワークに存在する前記情報家電の位置識別子であり、
前記有効な位置識別子とは、前記ゲートウェイ装置自身の位置識別子であること
を特徴とするゲートウェイ装置。
The gateway device according to claim 2,
The invalid location identifier is a location identifier of the information appliance that exists in the closed network different from the closed network where the gateway device itself exists,
The gateway device, wherein the valid location identifier is a location identifier of the gateway device itself.
請求項1に記載のゲートウェイ装置であって、
前記カプセル化とは、送信先である前記ゲートウェイ装置自身が存在する前記閉じたネットワークとは異なる前記閉じたネットワークに存在する前記情報家電の位置識別子と、送信元である前記ゲートウェイ装置自身が存在する前記閉じたネットワーク内の前記情報家電の位置識別子とをヘッダとして、前記ローカルデータに付加することであること
を特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The encapsulation includes a location identifier of the information home appliance that exists in the closed network that is different from the closed network in which the gateway device itself that is the transmission destination and the gateway device that is the transmission source exists. A gateway device characterized in that a location identifier of the information home appliance in the closed network is added to the local data as a header.
請求項1に記載のゲートウェイ装置であって、
前記カプセル化されたデータには転送回数の上限値が付帯され、
前記転送処理部は、前記第1の他のゲートウェイ装置から受信した前記カプセル化されたデータに付帯されている前記上限値が所定値を超えている場合にのみ、前記カプセル化されたデータを、前記上限値から所定値を減算した値を付帯させて前記第2の他のゲートウェイ装置に送信すること、
を特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The encapsulated data is accompanied by an upper limit on the number of transfers,
The transfer processing unit, when the upper limit value attached to the encapsulated data received from the first other gateway device exceeds a predetermined value, the encapsulated data, Appending a value obtained by subtracting a predetermined value from the upper limit value and transmitting it to the second other gateway device;
The gateway apparatus characterized by this.
請求項1に記載のゲートウェイ装置であって、
前記ゲートウェイ装置が所属するグループを示す情報であるグループ情報を記憶するグループ情報記憶部を有し、
前記カプセル化されたデータには、宛先となる前記グループを示す前記グループ情報が付帯され、
前記ローカル通信部は、前記カプセル化されたデータに付帯されている前記グループ情報が、前記グループ情報記憶部に記憶されている前記グループ情報に一致する場合にのみ、前記ローカルデータを前記閉じたネットワーク内へ送信すること、
を特徴とするゲートウェイ装置。
The gateway device according to claim 1,
A group information storage unit that stores group information that is information indicating a group to which the gateway device belongs;
The encapsulated data is accompanied by the group information indicating the group as a destination,
The local communication unit is configured to connect the local data to the closed network only when the group information attached to the encapsulated data matches the group information stored in the group information storage unit. Sending in,
The gateway apparatus characterized by this.
第1の情報家電にアクセス可能な第1のゲートウェイ装置を有している閉じたネットワークである第1のネットワークと、
前記第1の情報家電とは通信不可能な第2の情報家電にアクセス可能な第2のゲートウェイ装置を有している閉じたネットワークである第2のネットワークと、
前記第1および第2の情報家電とは通信不可能な第3の情報家電にアクセス可能な第3のゲートウェイ装置を有している閉じたネットワークである第3のネットワークとを含んで構成されるネットワークシステムであって、
前記第1乃至第3のゲートウェイ装置は、開いたネットワークを介して互いに通信可能に接続され、
前記第1のゲートウェイ装置は、
前記第1の情報家電から送信された、前記閉じたネットワーク内で通信可能であるとともに、前記開いたネットワークへの通信が不可能であるデータであるローカルデータに、前記開いたネットワークへの通信が可能となるカプセル化を行うカプセル化処理部と、
前記第2のゲートウェイ装置を特定する情報である転送先情報を記憶する転送先情報記憶部と、
前記転送先情報により特定される前記第2のゲートウェイ装置に、前記開いたネットワークを介して前記カプセル化されたデータを送信するリモート送信部と、
を備え、
前記第2のゲートウェイ装置は、
前記第1のゲートウェイ装置から送信される前記カプセル化されたデータを受信するリモート受信部と、
前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出するカプセル化解除処理部と、
前記第2の情報家電へ前記ローカルデータを送信するローカル通信部と、
前記第3のゲートウェイ装置を特定する前記転送先情報を記憶する転送先情報記憶部と、
前記転送先情報により特定される前記第3のゲートウェイ装置に、前記開いたネットワークを介して前記カプセル化されたデータを送信するリモート送信部と、
を備え、
前記第3のゲートウェイ装置は、
前記第2のゲートウェイ装置から送信される前記カプセル化されたデータを受信するリモート受信部と、
前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出するカプセル化解除処理部と、
前記第3の情報家電へ前記ローカルデータを送信するローカル通信部と、
を備えることを特徴とするネットワークシステム。
A first network that is a closed network having a first gateway device accessible to a first information appliance;
A second network that is a closed network having a second gateway device that can access a second information home appliance that cannot communicate with the first information home appliance;
And a third network that is a closed network having a third gateway device that can access a third information home appliance that cannot communicate with the first and second information home appliances. A network system,
The first to third gateway devices are communicably connected to each other via an open network,
The first gateway device is:
Communication to the open network is transmitted to the local data that is transmitted from the first information home appliance and is communicable within the closed network and is impossible to communicate with the open network. An encapsulation processing unit for performing encapsulation, and
A transfer destination information storage unit for storing transfer destination information which is information for specifying the second gateway device;
A remote transmission unit for transmitting the encapsulated data to the second gateway device specified by the transfer destination information via the open network;
With
The second gateway device is
A remote receiver for receiving the encapsulated data transmitted from the first gateway device;
A decapsulation processing unit for decapsulating the encapsulated data and extracting the local data;
A local communication unit for transmitting the local data to the second information home appliance;
A transfer destination information storage unit for storing the transfer destination information for specifying the third gateway device;
A remote transmission unit for transmitting the encapsulated data to the third gateway device specified by the transfer destination information via the open network;
With
The third gateway device is
A remote receiver for receiving the encapsulated data transmitted from the second gateway device;
A decapsulation processing unit for decapsulating the encapsulated data and extracting the local data;
A local communication unit for transmitting the local data to the third information home appliance;
A network system comprising:
開いたネットワークと通信可能であり、閉じたネットワークに存在する情報家電と情報の送受信が可能であるゲートウェイ装置が、
前記閉じたネットワーク内で通信可能であるとともに、前記開いたネットワークへの通信が不可能であるデータであるローカルデータに、前記開いたネットワークへの通信が可能となるカプセル化を行い、
前記開いたネットワークに接続されている第1の他のゲートウェイ装置から送信される前記カプセル化されたデータを受信し、
前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出し、
前記カプセル化されたデータから抽出した前記ローカルデータを、前記プロキシ装置自身が存在する前記閉じたネットワーク内へ送信し、
前記開いたネットワークに接続されている第2の他のゲートウェイ装置を特定する情報である転送先情報を記憶し、
前記転送先情報により特定される前記第2の他のゲートウェイ装置に、前記第1の他のゲートウェイ装置から受信した前記カプセル化されたデータを送信すること、
を特徴とする通信方法。
A gateway device that can communicate with an open network and can send / receive information to / from an information appliance in the closed network.
Encapsulation that enables communication to the open network is performed on local data that is data that can be communicated in the closed network and communication to the open network is impossible.
Receiving the encapsulated data transmitted from a first other gateway device connected to the open network;
Unencapsulate the encapsulated data and extract the local data;
Sending the local data extracted from the encapsulated data into the closed network where the proxy device itself resides;
Storing transfer destination information which is information for specifying the second other gateway device connected to the open network;
Transmitting the encapsulated data received from the first other gateway device to the second other gateway device specified by the transfer destination information;
A communication method characterized by the above.
開いたネットワークと通信可能であり、閉じたネットワークに存在する情報家電と情報の送受信が可能であるゲートウェイ装置に、
前記閉じたネットワーク内で通信可能であるとともに、前記開いたネットワークへの通信が不可能であるデータであるローカルデータに、前記開いたネットワークへの通信が可能となるカプセル化を行うステップと、
前記開いたネットワークに接続されている第1の他のゲートウェイ装置から送信される前記カプセル化されたデータを受信するステップと、
前記カプセル化されたデータのカプセル化を解除して前記ローカルデータを抽出するステップと、
前記カプセル化されたデータから抽出した前記ローカルデータを、前記プロキシ装置自身が存在する前記閉じたネットワーク内へ送信するステップと、
前記開いたネットワークに接続されている第2の他のゲートウェイ装置を特定する情報である転送先情報を記憶するステップと、
前記転送先情報により特定される前記第2の他のゲートウェイ装置に、前記第1の他のゲートウェイ装置から受信した前記カプセル化されたデータを送信するステップと、
を実行させるためのプログラム。
To a gateway device that can communicate with an open network and can send and receive information to and from information appliances in the closed network.
Encapsulating local data that is communicable within the closed network and that is incapable of communication with the open network, to enable communication with the open network; and
Receiving the encapsulated data transmitted from a first other gateway device connected to the open network;
Unencapsulating the encapsulated data and extracting the local data;
Transmitting the local data extracted from the encapsulated data into the closed network where the proxy device itself exists;
Storing transfer destination information which is information for specifying a second other gateway device connected to the open network;
Transmitting the encapsulated data received from the first other gateway device to the second other gateway device specified by the transfer destination information;
A program for running
JP2007288880A 2007-11-06 2007-11-06 Gateway device, network system, communication method and program Pending JP2009118173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007288880A JP2009118173A (en) 2007-11-06 2007-11-06 Gateway device, network system, communication method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007288880A JP2009118173A (en) 2007-11-06 2007-11-06 Gateway device, network system, communication method and program

Publications (1)

Publication Number Publication Date
JP2009118173A true JP2009118173A (en) 2009-05-28

Family

ID=40784805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007288880A Pending JP2009118173A (en) 2007-11-06 2007-11-06 Gateway device, network system, communication method and program

Country Status (1)

Country Link
JP (1) JP2009118173A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195936A (en) * 2011-03-09 2012-10-11 General Electric Co <Ge> System, method, and apparatus for reducing network congestion in smart utility meter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195936A (en) * 2011-03-09 2012-10-11 General Electric Co <Ge> System, method, and apparatus for reducing network congestion in smart utility meter

Similar Documents

Publication Publication Date Title
US20080235358A1 (en) Proxy Device, Network System, and Communication Method
US9106490B2 (en) Method, apparatus and system for sharing multimedia content within a peer-to-peer network
ES2537559T3 (en) Bridge connection between local ad-hoc networks and networks of peer entities, based on the Internet
JP4785968B2 (en) Method and system for remotely accessing a general purpose plug and play device
CN105409183B (en) Systems and devices for implementing any web-enabled client or server in HTML5 applications
US8050282B2 (en) Universal plug and play device and method of resolving network address conflict by considering remote access
CN101971573B (en) Remote access method in network including network address translation device
JP2005505196A (en) Method of using multicast discovery protocol for tunneling unicast messages to combine UPnP networks
JP2014507867A (en) Proxy device behavior in command and control networks
KR20070117505A (en) Method and system for remotely accessing devices on a network
US9660873B2 (en) Method and apparatus for providing remote access service
US20110320572A1 (en) Media Transfer to a Renderer in a Local Network from a Server in a Second Local Network
GB2445791A (en) Interconnection of Universal Plug and Play Networks using eXtensible Messaging and Presence Protocol Streams
WO2012103721A1 (en) Method and device for terminal to visit digital household devices
JP6511624B2 (en) Multimedia sharing method, registration method, server and proxy server
US9531561B2 (en) Apparatus and method for extending network area
CN102647483A (en) Method for obtaining network address translation (NAT) types, peer-to-peer (P2P) endpoint entity and NAT entity
JP2010004344A (en) Method, device, system, and program for conducting remote accessing
JP2009230256A (en) Communication controller, communication control method and communication control program
Belimpasakis et al. Remote access to universal plug and play (UPnP) devices utilizing the Atom publishing protocol
JP5142216B2 (en) Content transmission method and system for transmitting content from terminal in home network to wide area network
US20110265129A1 (en) Method and apparatus for transmitting ethernet data through audio/video interface
JP2005269348A (en) Communication system, and gateway unit
JP2009118173A (en) Gateway device, network system, communication method and program
KR100677212B1 (en) Device Discovery System and Method in Remote Network