JP4354294B2 - Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet - Google Patents

Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet Download PDF

Info

Publication number
JP4354294B2
JP4354294B2 JP2004049137A JP2004049137A JP4354294B2 JP 4354294 B2 JP4354294 B2 JP 4354294B2 JP 2004049137 A JP2004049137 A JP 2004049137A JP 2004049137 A JP2004049137 A JP 2004049137A JP 4354294 B2 JP4354294 B2 JP 4354294B2
Authority
JP
Japan
Prior art keywords
address
network
packet
information
resource identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004049137A
Other languages
Japanese (ja)
Other versions
JP2005244408A (en
JP2005244408A5 (en
Inventor
徹 上和田
俊浩 園田
拓也 坂本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2004049137A priority Critical patent/JP4354294B2/en
Priority to US10/862,394 priority patent/US20050185658A1/en
Publication of JP2005244408A publication Critical patent/JP2005244408A/en
Publication of JP2005244408A5 publication Critical patent/JP2005244408A5/ja
Application granted granted Critical
Publication of JP4354294B2 publication Critical patent/JP4354294B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/2849Audio/video appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、少なくとも2つのネットワークの間でメッセージを双方向に転送するゲートウェイ装置に関する。   The present invention relates to a gateway device for bidirectionally transferring a message between at least two networks.

オーディオ/ビデオ(A/V)情報等のサービスを提供できるサービス提供機器が、外部ネットワークに接続されていて、ゲートウェイ装置としても機能することがある。この場合、外部移動ネットワーク上のモバイル機器は、A/V機器のサービスを利用するには、そのサービス提供機器に直接アクセスしてそのサービスを利用する。   A service providing device that can provide services such as audio / video (A / V) information is connected to an external network and may function as a gateway device. In this case, in order to use the service of the A / V device, the mobile device on the external mobile network directly accesses the service providing device and uses the service.

また、そのようなサービス提供機器が宅内ネットワークを介して、外部ネットワークに接続された別個のゲートウェイ装置に接続されていることがある。この場合、外部移動ネットワーク上のモバイル機器は、A/V機器のサービスを利用するには、ゲートウェイ装置において、予めポート転送等の設定が行われ、モバイル機器からのアクセスをそのようなA/V機器に転送できるように予め設定しておかなければならない。   In addition, such a service providing device may be connected to a separate gateway device connected to an external network via a home network. In this case, in order for the mobile device on the external mobile network to use the service of the A / V device, setting such as port forwarding is performed in advance in the gateway device, and access from the mobile device is allowed to It must be set in advance so that it can be transferred to the device.

奥山によって2001年11月2日付けで公開された特開2001−308934号公報には、通信制御装置が記載されており、その装置におけるアドレス蓄積装置には、クライアント装置から所定の処理要求が発行される前に、サーバ装置からの指示に応答して、サーバ装置のローカルアドレスおよびこのローカルアドレス内のポート番号を、グローバルアドレスおよびこのグローバルアドレス内のポート番号に変換したものが、ローカルアドレスとこのローカルアドレス内のポート番号に対応付けて蓄積される。非公開のローカルアドレスやポート番号が設定されたサーバ装置に対しても、コネクション確立が自動的に行える。
特開2001−308934号公報
JP 2001-308934 published on November 2, 2001 by Okuyama describes a communication control device, and a predetermined processing request is issued from a client device to an address storage device in the device. In response to an instruction from the server device, the local address of the server device and the port number in the local address are converted into the global address and the port number in the global address. It is stored in association with the port number in the local address. Connections can be automatically established even for server devices to which private local addresses and port numbers are set.
JP 2001-308934 A

例えばグローバルIPアドレスとプライベートIPアドレスの相違、およびパケット・フィルタ等のゲートウェイ上のセキュリティ設定があるので、モバイル機器が宅内ネットワークへアクセスして宅内ネットワーク上にある機器のサービスを利用するには、予めアドレス変換およびポート転送等の設定を行わなければならない。しかし、そのようなサービスの利用が行われないときにもポート転送等が設定されていると、宅内ネットワークの機器を外部からの不正アクセスの危険性にさらすことになる。そのようなサービスが利用されるたびに、そのような設定を行うのは、ユーザにとって煩雑である。   For example, since there is a difference between a global IP address and a private IP address, and security settings on the gateway such as a packet filter, a mobile device accesses a home network and uses a service of the device on the home network in advance. Settings such as address translation and port forwarding must be made. However, if port forwarding or the like is set even when such a service is not used, the devices in the home network are exposed to the risk of unauthorized access from the outside. It is cumbersome for the user to make such settings each time such a service is used.

発明者たちは、外部ネットワーク上の機器からのアクセスに応答して、ゲートウェイが、安全な形態で、宅内ネットワーク上の機器の利用可能なサービスをWWWサービスとしてその機器に提供すると有利である、と認識した。   It is advantageous for the inventors to respond to an access from a device on the external network, and for the gateway to provide the device with available services of the device on the home network as a WWW service in a secure form. Recognized.

本発明の目的は、ネットワーク・セグメントが互いに異なる少なくとも2つのネットワークの間においてその一方のネットワーク上の機器によって提供されるサービスをその他方のネットワーク上の機器によって利用することを可能にするゲートウェイ装置を実現することである。   An object of the present invention is to provide a gateway device that enables a service provided by a device on one network between at least two networks having different network segments to be used by a device on the other network. Is to realize.

本発明の特徴によれば、第1と第2のネットワークを含むネットワーク・セグメントが互いに異なる複数のネットワークに接続されたその第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置は、その第1のネットワーク用の第1のドレスと、その第2のネットワーク用の第2のドレスとを有し、その第1のネットワークを介して第3のドレスの第2の装置からその第3のドレスを発信元としてそのヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、その検索要求を表す第1のIPパケットに応答して、その第2のネットワークを介してその第2のドレスを発信元としてそのヘッダ部分に含み情報資源の検索要求を表す第2のIPパケットを送信し、その第2のネットワークを介して、その第2のネットワーク上の第3の装置の利用可能な情報資源を表しその第3の装置の第4のドレスを含んだ第1の情報資源識別子をそのペイロード部分に含む第3のIPパケットを受信する検索手段と、その第3のドレス、その第4のドレスおよびその第1の情報資源識別子を互いに対応付けて格納する格納手段と、を具えている。その情報提供手段は、その格納手段からその第1の情報資源識別子を読み出し、その読み出した第1の情報資源識別子をその第1のドレスを含むその第1のネットワーク用の第2の情報資源識別子に書き換え、その際その第1の情報資源識別子中のその第4のドレスをその第1のドレスに書き換え、次いでその第2の情報資源識別子をそのペイロード部分に含みかつその第3のドレスを宛先としてそのヘッダ部分に含む第4のIPパケットをその第1のネットワークを介してその第2の装置に送信する。ゲートウェイ装置は、さらに、そのゲートウェイ装置がその第3のドレスを発信元としてそのヘッダ部分に含みその第1のドレスを宛先としてそのヘッダ部分に含む第5のIPパケットをその第1のネットワークを介してその第2の装置から受信したとき、その第5のIPパケットをその第2のドレスを発信元としてそのヘッダ部分に含みその第4のドレスを宛先としてそのヘッダ部分に含むその第2のネットワーク用の第6のIPパケットに書き換え、その際その第5のパケット中のその第3のドレスをその第2のドレスに書き換えかつその第5のパケット中のその第1のドレスをその第4のドレスに書き換え、次いでその第6のIPパケットをその第2のネットワークを介して所望の情報資源を有するその第3の装置に転送する転送手段を具える。 According to a feature of the present invention, an IP having a header portion and a payload portion via a first and second network in which network segments including the first and second networks are connected to a plurality of different networks. gateway device for transmitting and receiving packets, a first address for a first network, the second and a second address for the network, the third through the first network and information providing means for receiving the first IP packet representing the search request information resource includes a second device address in the header portion thereof a third address as a source, the first representing the search request in response to the IP packet, the representative of the search request information resource includes in its header portion the second address as a source through the second network Sends the IP packet through the second network, the first containing a fourth address of the second represents the available resources of the third device on the network that the third device search means for receiving the third IP packet including the first resource identifier to the payload portion, the third address, the fourth address and the first resource identifier in association with each other stores Storage means. The information providing means, reads the first resource identifier from the storage means, the first resource identifier thus read out second resource for a first network including the first address rewriting the identifier, whereby the fourth address in the first resource identifier rewriting its first address, then the contain and third of the payload portion thereof a second resource identifier a fourth IP packet includes in its header portion a address as a destination via the first network transmits to the second device. The gateway device further a first network a fifth IP packet includes in its header portion the first address includes the gateway device to the header portion thereof a third address as the source as a destination when receiving from the second device via its included in the header portion thereof a 5 IP packet that second address to include in the header portion as a source thereof the fourth address of the destination rewriting the sixth IP packet for the second network, where the fifth in the third packet addresses the second of the rewritten address and the fifth in the packet that the first rewritten address to the fourth address, then the first 6 IP packets to the third device having a desired information resources via the second network Comprising a transfer means for feeding.

本発明の別の特徴によれば、ネットワーク・セグメントが互いに異なる少なくとも第1と第2のネットワークに接続されたその第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置は、そのゲートウェイ装置は、その第1のネットワーク用の第1のドレスと、その第2のネットワーク用の第2のドレスとを有し、定期的にその第2のネットワークを介してその第2のドレスを発信元としてそのヘッダ部分に含み情報資源の検索要求を表すIPパケットを送信し、その第2のネットワークを介して、その第2のネットワーク上の利用可能な装置の利用可能な情報資源を表しその利用可能な装置のドレスを含んだ情報資源識別子をそのペイロード部分に含む応答IPパケットを受信する検索手段と、その利用可能な装置のそのドレスと、その情報資源識別子とを互いに対応付けて格納する格納手段と、その第1のネットワークを介して第3のドレスの第2の装置からその第3のドレスを発信元としてそのヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、を具えている。そのゲートウェイ装置がその第1のIPパケットを受信したときに、その情報提供手段は、その利用可能な装置のそのドレスおよびその情報資源識別子に対応付けてその第3のドレスをリスト形式で格納し、その第2のネットワーク上の利用可能な第3の装置の利用可能な情報資源を表しその第3の装置の第4のドレスを含んだ第1の情報資源識別子をその格納手段から読み出し、その読み出した第1の情報資源識別子をその第1のドレスを含むその第1のネットワーク用の第2の情報資源識別子に書き換え、その際その第1の情報資源識別子中のその第4のドレスをその第1のドレスに書き換え、次いでリスト形式でその第2の情報資源識別子をそのペイロード部分に含みかつその第3のドレスを宛先としてそのヘッダ部分に含む第4のIPパケットをその第1のネットワークを介してその第2の装置に送信する。 According to another feature of the invention, an IP packet having a header portion and a payload portion via at least first and second networks connected to at least first and second networks having different network segments. gateway device for transmitting and receiving, the gateway device includes a first address for a first network and a second address for that second network regularly its second network sends IP packets representing the search request information resource includes in its header portion the second address as a source via, through its second network, available on that second network response IP packetized including information resource identifier including the address of the available device represents the available resources of the device for the payload part Search means for receiving bets, and the address of its available devices, storage means for storing in association with each other and the information resource identifier, the third address through the first network first and comprising an information providing unit for receiving the first IP packet representing the two devices search request information resource includes in its header portion the third address as a source, a. When the gateway device receives the first IP packet, the information providing means in association with the address and the information resource identifier of the available devices in the third list form the address of store, the second first resource identifier including a fourth address of the information available represent resources that third device of a third device available on the network from the storage means reading, rewriting the first resource identifier thus read out to the second resource identifier for a first network including the first address, the fourth in the case the first resource identifier address rewriting to its first address, then include the second resource identifier to the payload portion in a list and the header portion that third address as a destination of A fourth IP packet including through the first network transmits to the second device.

本発明は、また、上述の情報処理装置を実現するプログラムに関する。   The present invention also relates to a program for realizing the information processing apparatus described above.

本発明は、また、上述の情報処理装置を実現する方法に関する。   The present invention also relates to a method for realizing the information processing apparatus described above.

本発明によれば、ネットワーク・セグメントが互いに異なる少なくとも2つのネットワーク間においてその一方のネットワーク上の機器によって提供されるサービスを、不正なアクセスを防止しつつその他方のネットワーク上の機器によって利用することが可能になる。   According to the present invention, a service provided by a device on one network between at least two networks having different network segments is used by a device on the other network while preventing unauthorized access. Is possible.

本発明の実施形態を、図面を参照して説明する。図面において、同様の構成要素には同じ参照番号が付されている。   Embodiments of the present invention will be described with reference to the drawings. In the drawings, similar components are given the same reference numerals.

図1は、本発明の実施形態による、例えば宅内のローカルエリア・ネットワーク(LAN)のような内部ネットワーク(内部NW)10を介して相互接続されたネットワーク・サービス提供装置としてのUPnP(Universal Plug and Play)A/Vコンテンツ・サービス用のゲートウェイ装置100およびオーディオおよび/またはビデオ(A/V)機器220、240および260と、そのゲートウェイ装置100が接続された外部ネットワーク50(外部NW)に接続されるネットワーク・サービス利用装置としての外部情報処理端末(外部端末)420および440と、を含む概略的システムを示している。内部ネットワーク10と外部ネットワーク50のネットワーク・セグメントは互いに異なる。ゲートウェイ装置100は、内部ネットワーク10および外部ネットワーク50に加えて、さらに他のネットワーク・サービス提供機器が接続された他のネットワークおよび/または他のネットワーク・サービス利用端末が接続される他のネットワークにそれぞれのネットワーク・インタフェースを介して接続されていてもよい。外部ネットワーク50は、インターネット、ISDN、公衆電話網(PSTN)および移動無線通信網を含んでいてもよい。内部ネットワーク10と外部ネットワーク50に接続される装置には、同じまたは異なるアドレス空間のIPアドレスが割り当てられる。ここでは、内部ネットワーク10と外部ネットワーク50に接続される装置には、互いに異なるアドレス空間のIPアドレスが割り当てられ、内部ネットワーク10に接続される装置にはプライベートIPアドレスが割り当てられ、外部ネットワーク50に接続される装置にはグローバルIPアドレスが割り当てられるものとする。   FIG. 1 shows a UPnP (Universal Plug and Plug) as a network service providing apparatus interconnected via an internal network (internal NW) 10 such as a local area network (LAN) in a home according to an embodiment of the present invention. Play) A / V content service gateway device 100 and audio and / or video (A / V) devices 220, 240 and 260, and the external network 50 (external NW) to which the gateway device 100 is connected. 1 shows a schematic system including external information processing terminals (external terminals) 420 and 440 as network service utilization devices. The network segments of the internal network 10 and the external network 50 are different from each other. In addition to the internal network 10 and the external network 50, the gateway device 100 is connected to another network to which another network service providing device is connected and / or another network to which another network service using terminal is connected. It may be connected via a network interface. The external network 50 may include the Internet, ISDN, public telephone network (PSTN), and mobile radio communication network. Devices connected to the internal network 10 and the external network 50 are assigned IP addresses in the same or different address space. Here, IP addresses in different address spaces are assigned to devices connected to the internal network 10 and the external network 50, and private IP addresses are assigned to devices connected to the internal network 10. Assume that a global IP address is assigned to a device to be connected.

ゲートウェイ装置100は、例えば光ファイバ、ADSL、ISDN回線または専用回線等を介して外部ネットワーク50に常時接続されている。A/V機器220、240および260は、例えば、A/V記録再生編集機能を有するパーソナル・コンピュータ(PC)、A/Vおよびテキスト・ファイル・サーバ、A/V記録再生装置、またはオーディオおよびビジュアル宅内監視システムであってもよい。A/V機器220、240および260は、オーディオ/ビデオ以外の情報サービスを提供する情報処理装置に置き換えられてもよい。外部情報処理端末420は、外部ネットワーク50を介してゲートウェイ装置100に接続することができる。外部情報処理端末440は、移動無線通信網の無線基地局(AP)52を介して外部ネットワーク50上のゲートウェイ装置100に接続することができる。外部情報処理端末420および440は、例えば、ノートブック型PC、PDA(Personal Digital Assistant)または携帯電話機のような固定またはモバイル情報処理端末であればよい。   The gateway device 100 is always connected to the external network 50 through, for example, an optical fiber, an ADSL, an ISDN line, a dedicated line, or the like. The A / V devices 220, 240, and 260 are, for example, a personal computer (PC) having an A / V recording / playback editing function, an A / V and text file server, an A / V recording / playback device, or audio and visual. It may be a home monitoring system. The A / V devices 220, 240, and 260 may be replaced with information processing devices that provide information services other than audio / video. The external information processing terminal 420 can be connected to the gateway device 100 via the external network 50. The external information processing terminal 440 can be connected to the gateway apparatus 100 on the external network 50 via the radio base station (AP) 52 of the mobile radio communication network. The external information processing terminals 420 and 440 may be fixed or mobile information processing terminals such as a notebook PC, a PDA (Personal Digital Assistant), or a mobile phone.

ゲートウェイ装置100は、内部ネットワーク10と外部ネットワーク50とを介してインターネット・プロトコル(IP)に従って外部情報処理端末420および440とA/V機器220、240および260の間の通信を中継する。ゲートウェイ装置100は、内部ネットワーク10上のA/V機器220、240および260によって提供されるサービス情報およびサービスを、外部ネットワーク50上にある外部情報処理端末420および440が利用できるようにする。 The gateway device 100 relays communication between the external information processing terminals 420 and 440 and the A / V devices 220, 240 and 260 through the internal network 10 and the external network 50 in accordance with the Internet protocol (IP). The gateway apparatus 100 makes service information and services provided by the A / V devices 220, 240, and 260 on the internal network 10 available to the external information processing terminals 420 and 440 on the external network 50.

ゲートウェイ装置100の外部ネットワーク50用のグローバルIPアドレスは、典型的には、インターネット・サービス・プロバイダ(ISP)によって動的に割り当てられるが、固定的に割り当てられてもよい。ゲートウェイ装置100は、新しいグローバルIPアドレスが割り当てられると、所定のタイミングで外部情報処理端末420および440にそのグローバルIPアドレスを通知する。外部情報処理端末420および440は、そのIPアドレス、ポート番号およびその他の情報を用いて、ゲートウェイ装置100を介してA/V機器220、240および260にアクセスする。   The global IP address for the external network 50 of the gateway device 100 is typically dynamically allocated by an Internet service provider (ISP), but may be fixedly allocated. When a new global IP address is assigned, gateway apparatus 100 notifies external information processing terminals 420 and 440 of the global IP address at a predetermined timing. The external information processing terminals 420 and 440 use the IP address, port number, and other information to access the A / V devices 220, 240, and 260 via the gateway device 100.

ゲートウェイ装置100およびA/V機器220、240および260の内部ネットワーク10用のプライベートIPアドレスは、典型的には、ゲートウェイ装置100によって動的に割り当てられるが、固定的に割り当てられてもよい。   The private IP addresses for the internal network 10 of the gateway device 100 and the A / V devices 220, 240 and 260 are typically dynamically assigned by the gateway device 100, but may be fixedly assigned.

図2は、ゲートウェイ装置100、A/V機器220および240、および外部情報処理端末420および440のより詳細な構成を示している。ゲートウェイ装置100は、1つのネットワーク・セグメントである内部ネットワーク10に対する内部ネットワーク・インタフェース(内部NW I/F)102、別のネットワーク・セグメントである外部ネットワーク50に対する外部ネットワーク・インタフェース(外部NW I/F)104、ネットワーク・サービス情報提供部120、情報検索部122、情報解析および変換部124、情報管理部126、ネットワーク・サービス転送情報の格納部128、およびネットワーク・サービス転送部130を含み、さらに場合によってはネットワーク・サービス発見情報の格納部129を含んでいてもよい。構成要素120〜128および130は、プログラムに従ってプロセッサ110上に実装(インプレメント)されても、集積回路としてハードウェアの形態で実装されてもよい。ネットワーク・インタフェース102および104には、例えば100BASE−TX規格で用いられるRJ−45のコネクタのような物理的インタフェース、およびVPN(Virtual Private Network)のようなソフトウェアとしての仮想的ネットワーク・インタフェースが含まれる。   FIG. 2 shows a more detailed configuration of the gateway device 100, the A / V devices 220 and 240, and the external information processing terminals 420 and 440. The gateway device 100 includes an internal network interface (internal NW I / F) 102 for the internal network 10 that is one network segment, and an external network interface (external NW I / F) for the external network 50 that is another network segment. ) 104, a network service information providing unit 120, an information search unit 122, an information analysis and conversion unit 124, an information management unit 126, a network service transfer information storage unit 128, and a network service transfer unit 130. Depending on the case, the network service discovery information storage unit 129 may be included. The components 120 to 128 and 130 may be implemented (implemented) on the processor 110 according to a program, or may be implemented in the form of hardware as an integrated circuit. The network interfaces 102 and 104 include a physical interface such as an RJ-45 connector used in the 100BASE-TX standard, and a virtual network interface as software such as a VPN (Virtual Private Network). .

A/V機器220および240は、ネットワーク・インタフェース(NW I/F)22および242、例えばA/Vプログラム・コンテンツの蓄積および読出し等を行うネットワーク・サービス提供部24および244をそれぞれ含んでいる。 The A / V devices 220 and 240 include network interface (NW I / F) 2 1 2 and 242, for example, network service providing units 2 1 4 and 244 that store and read A / V program content, respectively. Contains.

外部情報処理端末420および440は、ネットワーク・インタフェース(NW I/F)422および442、および例えばA/Vプログラム・コンテンツの提示等を行うネットワーク・サービス利用部424および244をそれぞれ含んでいる。構成要素224、244、424および444は、プログラムに従ってプロセッサ上に実装されても、集積回路としてハードウェアの形態で実装されてもよい。   The external information processing terminals 420 and 440 include network interface (NW I / F) 422 and 442, and network service utilization units 424 and 244, respectively, for presenting A / V program content, for example. The components 224, 244, 424 and 444 may be implemented on a processor according to a program, or may be implemented in the form of hardware as an integrated circuit.

例えばUPnP A/V規格のコンテンツ・ディレクトリ・サービスのようなUPnPサービスでは、サービス利用機器によってネットワークを介してA/V機器から取得されるUPnPサービス情報に、UPnP A/Vのコンテンツ・ディレクトリ・サービスへのアクセスの方法のような詳細なサービス情報が含まれている。コンテンツ・ディレクトリ・サービス情報には、例えばコンテンツのURLのようなコンテンツへのアクセス方法のようなコンテンツ情報が含まれている。また、コンテンツ情報には、コンテンツ・ファイル名が含まれており、1つのコンテンツ・ファイルを選択することによってそれを実際に取得することができる。UPnPサービスは、サービス利用機器とサービス提供機器の間の通信において、後続の通信手順が前の通信手順に依存するような非同期な複数の通信手順で構成されている。   For example, in a UPnP service such as the UPnP A / V standard content directory service, UPnP A / V content directory service is included in the UPnP service information acquired from the A / V device via the network by the service using device. Detailed service information such as how to access is included. The content directory service information includes content information such as a content access method such as a content URL. The content information includes a content file name, and can be actually acquired by selecting one content file. The UPnP service is composed of a plurality of asynchronous communication procedures such that the subsequent communication procedure depends on the previous communication procedure in the communication between the service using device and the service providing device.

しかし、通常、外部ネットワーク上の外部装置と内部ネットワーク上の内部装置は、それぞれのグローバルおよびプライベートIPアドレスを用いて直接通信することはできない。一般的に、内部ネットワーク上の内部装置は、ゲートウェイ装置におけるNAT(Network Address Translation)またはNAPT(Network Address Port Translation)の支援によってIPパケット・ヘッダ中のプライベートIPアドレスおよびポート番号をゲートウェイ装置のグローバルIPアドレスおよびポート番号に書き換えることによって、外部ネットワーク上の外部装置との間で通信を開始することができる。しかし、この場合でも、外部装置は、内部装置からの応答メッセージに含まれているプライベートURLを用いてそのURLに対応付けられた内部ネットワーク上の装置または資源にアクセスすることはできない。   However, normally, external devices on the external network and internal devices on the internal network cannot communicate directly using their global and private IP addresses. Generally, an internal device on an internal network uses a gateway device's NAT (Network Address Translation) or NAPT (Network Address Port Translation) support to set a private IP address and port number in an IP packet header to a global IP address of the gateway device. By rewriting the address and port number, communication with an external device on the external network can be started. However, even in this case, the external device cannot use the private URL included in the response message from the internal device to access the device or resource on the internal network associated with the URL.

本発明の実施形態によるゲートウェイ装置100は、外部情報処理端末(以下、単に外部端末ともいう)420および440とA/V機器220、240および260の間で行われる、UPnPサービスのための非同期な複数の通信手順において、各IPパケットの転送に対してパケット・ヘッダ、UDPヘッダおよびペイロードの内容を追跡し解析し変換して、有利な中継転送を実行する。   The gateway device 100 according to the embodiment of the present invention is an asynchronous device for UPnP service performed between external information processing terminals (hereinafter also simply referred to as external terminals) 420 and 440 and A / V devices 220, 240, and 260. In a plurality of communication procedures, the contents of the packet header, UDP header and payload are tracked, analyzed and converted for each IP packet transfer, and an advantageous relay transfer is executed.

図3は、外部情報処理端末420に対して、ゲートウェイ装置100を介してA/V機器220、240および260によって提供されるUPnP A/Vコンテンツ・サービスの処理手順を示している。外部端末420、ゲートウェイ装置100およびA/V機器220の間で、UPnP規格による4段階の通信手順に従って所定のメッセージを含むIPパケットが非同期的に順次やりとりされる。A/V機器220、240および260の各々には、階層化された、UPnPデバイス情報サービス部221、UPnPサービス情報サービス部222、UPnP A/Vコンテンツ情報サービス部223、およびA/Vコンテンツ・サービス部224が含まれている。   FIG. 3 shows a processing procedure of UPnP A / V content service provided to the external information processing terminal 420 by the A / V devices 220, 240 and 260 via the gateway device 100. IP packets including a predetermined message are asynchronously and sequentially exchanged between the external terminal 420, the gateway device 100, and the A / V device 220 in accordance with a four-step communication procedure according to the UPnP standard. Each of the A / V devices 220, 240, and 260 includes a hierarchical UPnP device information service unit 221, UPnP service information service unit 222, UPnP A / V content information service unit 223, and A / V content service. Part 224 is included.

図3において、第1の段階Iにおいて、ユーザのA/Vコンテンツ取得の要求に応答して、外部端末420は、A/Vコンテンツ取得の要求の開始者(イニシエータ)として、ステップ503において、外部ネットワーク50を介して探索要求を表すマルチキャストIPパケットを送信する。マルチキャストIPパケットのパケット・ヘッダは、例えば、UPnP規格に準拠して、宛先IPアドレス:ポート番号として239.255.255.250:1990を含んでいる。   In FIG. 3, in the first stage I, in response to the user's request for acquiring A / V content, the external terminal 420 acts as an initiator of the A / V content acquisition request in step 503. A multicast IP packet representing a search request is transmitted via the network 50. The packet header of the multicast IP packet includes, for example, 239.255.255.250:1990 as the destination IP address: port number in accordance with the UPnP standard.

ゲートウェイ装置100は、その探索要求を表すIPパケットを受信すると、ステップ504において、宛先IPアドレスを変更することなく、そのIPパケット・ヘッダ中の発信元のグローバルIPアドレス、例えば164.xx.xx.xxを、ゲートウェイ装置100のプライベートIPアドレス、例えば192.168.0.1に書き換えて、その書き換えられたマルチキャストIPパケットを内部ネットワーク10を介してA/V機器220、240および260に転送する。   When the gateway apparatus 100 receives the IP packet representing the search request, in step 504, the gateway apparatus 100 does not change the destination IP address, but the source global IP address in the IP packet header, for example, 164. xx. xx. xx is rewritten to the private IP address of the gateway device 100, for example, 192.168.0.1, and the rewritten multicast IP packet is transferred to the A / V devices 220, 240, and 260 via the internal network 10.

その書き換えられたマルチキャストIPパケットの受信に応答して、それに応答可能なA/V機器220、240および260の各々のUPnPデバイス情報サービス部221は、ステップ505において、ゲートウェイ装置100に、IPパケット・ヘッダ中で宛先のゲートウェイ装置100と発信元のA/V機器220、240および260およびUPnPデバイス情報サービス部221のプライベートIPアドレスおよびポート番号を用いて、A/V機器220、240および260の利用可能なUPnPデバイス情報、例えばルータ、A/Vコンテンツ・サーバ、A/V表示装置、プリンタまたはファクシミリ装置等のデバイス情報を表す1つまたは複数のプライベートURL(情報資源識別子)を含む応答メッセージをペイロード中に含むIPパケットを送信し返す。そのURLは、アクセス手段(例えば、http、ftp等)、A/V機器220、240および260のプライベートIPアドレス、および次のUPnPサービス情報サービス部222のポート番号およびURL識別等を含んでいる。   In response to the reception of the rewritten multicast IP packet, the UPnP device information service unit 221 of each of the A / V devices 220, 240, and 260 that can respond thereto receives the IP packet Use of the A / V devices 220, 240, and 260 by using the destination gateway apparatus 100, the source A / V devices 220, 240, and 260, and the private IP address and port number of the UPnP device information service unit 221 in the header Payload a response message containing one or more private URLs (information resource identifiers) representing possible UPnP device information, eg device information such as routers, A / V content servers, A / V display devices, printers or facsimile machines It sends IP packets containing the return. The URL includes access means (for example, http, ftp, etc.), private IP addresses of the A / V devices 220, 240, and 260, a port number of the next UPnP service information service unit 222, URL identification, and the like.

その応答メッセージを含むIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ506において、IPパケット・ヘッダ中の宛先のゲートウェイ装置100および発信元のUPnPデバイス情報サービス部221のプライベートIPアドレスおよびポート番号を、マルチキャストIPパケットの発信元であった宛先の外部端末420および発信元のゲートウェイ装置100のグローバルIPアドレスおよびポート番号に書き換え、さらにペイロード中のそのデバイス情報を表す複数のプライベートURLを複数のグローバルURLに書き換える。ゲートウェイ装置100は、その複数のグローバルURLをマージ(結合)することによって転送用に現在利用可能なサービスを表すその複数のグローバルURLのリストを含むメッセージを生成し、そのリストを格納部128に記録してもよい。ゲートウェイ装置100は、さらに、応答IPパケットを送信し返さなかったA/V機器(220、240および260)のUPnPデバイス情報サービス部221の識別を、現在サービスを提供していないサービス部としてリスト形式で格納部128に記録してもよい。次いで、ゲートウェイ装置100は、その書き換えられたURLをペイロード中に含むIPパケットを、外部端末420に送信し返す。ゲートウェイ装置100は、その現在利用可能なサービスを表すその複数のグローバルURLとその現在サービスを提供していないサービス部の識別とをリストの形で含むメッセージを、そのIPパケットのペイロード中に含ませてもよい。それらのグローバルURLでは、A/V機器220、240および260のプライベートIPアドレスおよびUPnPデバイス情報サービス部222のポート番号が、ゲートウェイ装置100のグローバルIPアドレスおよび未使用のポート番号に書き換えられている。例えば、プライベートURL“http://192.168.0.10:18080/UrlA”がグローバルURL“http://164.xx.xx.xx.yy:58001/UrlA”に書き換えられる。   In response to receiving the IP packet including the response message, the gateway device 100, in step 506, the private IP addresses and ports of the destination gateway device 100 and the source UPnP device information service unit 221 in the IP packet header. The number is rewritten to the global IP address and port number of the destination external terminal 420 and the source gateway apparatus 100 that were the source of the multicast IP packet, and a plurality of private URLs representing the device information in the payload are Rewrite to global URL. The gateway device 100 generates a message including a list of the plurality of global URLs representing services currently available for transfer by merging (combining) the plurality of global URLs, and records the list in the storage unit 128. May be. The gateway device 100 further lists the identification of the UPnP device information service unit 221 of the A / V devices (220, 240, and 260) that did not send back the response IP packet as a service unit that is not currently providing a service. May be recorded in the storage unit 128. Next, the gateway device 100 transmits an IP packet including the rewritten URL in the payload to the external terminal 420. The gateway apparatus 100 includes in the payload of the IP packet a message including the plurality of global URLs representing the currently available service and the identification of the service unit that is not currently providing the service in the form of a list. May be. In these global URLs, the private IP addresses of the A / V devices 220, 240, and 260 and the port number of the UPnP device information service unit 222 are rewritten to the global IP address of the gateway device 100 and an unused port number. For example, the private URL “http://192.168.0.10:18080/UrlA” is rewritten to the global URL “http: //164.xx.xx.xx.yy: 5801 / UrlA”.

送受信されたIPパケット・ヘッダに関して、ゲートウェイ装置100において、その要求の開始者である外部端末420のグローバルIPアドレスおよびポート番号、ゲートウェイ装置100のグローバル・ポート番号およびプライベート・ポート番号、およびA/V機器220、240および260のプライベートIPアドレスおよびポート番号の間の対応関係が、ネットワーク・サービス転送情報として格納部128にリスト形式で格納される。また、IPパケット・ペイロード中のURLに関して、プライベートURLとグローバルURLの間の対応関係、または、プライベートURLにおけるプライベートIPアドレスおよびポート番号と、グローバルURLにおけるグローバルIPアドレスおよびポート番号との間の対応関係も、ネットワーク・サービス転送情報の一部として格納部128にリスト形式で格納される。   Regarding the transmitted / received IP packet header, in gateway apparatus 100, the global IP address and port number of external terminal 420 that is the originator of the request, the global port number and private port number of gateway apparatus 100, and A / V The correspondence between the private IP addresses and port numbers of the devices 220, 240, and 260 is stored in the storage unit 128 in a list format as network service transfer information. Also, with respect to the URL in the IP packet payload, the correspondence between the private URL and the global URL, or the correspondence between the private IP address and port number in the private URL and the global IP address and port number in the global URL Are also stored in the storage unit 128 in a list format as part of the network service transfer information.

第2の段階IIにおいて、外部端末420は、ステップ507において、その書き換えられた複数のURLの中から所要のURLを選択して、その選択されたURL中のグローバルIPアドレスおよびポート番号をIPパケット・ヘッダ中の宛先フィールドに含み、かつUPnPサービス情報のURLの取得要求のメッセージをペイロード中に含むグローバルIPパケットをゲートウェイ装置100に送信する。即ち、その宛先はゲートウェイ装置100のグローバルIPアドレスおよびポート番号を含んでいる。また、URLの取得要求は、例えば、“GET/UrlA”または“GET/http://164.xx.xx.yy:58001/UrlA”のように記述される。   In the second stage II, in step 507, the external terminal 420 selects a required URL from the rewritten URLs, and sets the global IP address and port number in the selected URL to the IP packet. A global IP packet that is included in the destination field in the header and that includes the UPnP service information URL acquisition request message in the payload is transmitted to the gateway device 100. That is, the destination includes the global IP address and port number of the gateway device 100. The URL acquisition request is described as, for example, “GET / UrlA” or “GET / http: //164.xx.xx.yy: 58001 / UrlA”.

そのIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ508において、格納部128に格納されたプライベートURLとグローバルURLの間の対応関係に従って、IPパケット・ヘッダ中の宛先のグローバルIPアドレスおよびポート番号をプライベートIPアドレスおよびポート番号に書き換え戻す。ペイロード中のURL記述中に宛先のグローバルIPアドレスおよびポート番号が含まれているときは、ゲートウェイ装置100は、それらを同様にプライベートIPアドレスおよびポート番号に書き換える。次いで、ゲートウェイ装置100は、その書き換えられた宛先を含むプライベートIPパケットを、A/V機器220、240および260の対応するUPnPサービス情報サービス部222に転送する。   In response to the reception of the IP packet, the gateway apparatus 100 determines in step 508 the destination global IP address in the IP packet header and the destination according to the correspondence between the private URL stored in the storage unit 128 and the global URL. Rewrite the port number back to the private IP address and port number. When the destination global IP address and port number are included in the URL description in the payload, the gateway apparatus 100 similarly rewrites them with the private IP address and port number. Next, the gateway device 100 transfers the private IP packet including the rewritten destination to the corresponding UPnP service information service unit 222 of the A / V devices 220, 240 and 260.

そのUPnPサービス情報の取得要求のメッセージに応答して、UPnPサービス情報サービス部222は、ステップ509において、A/V機器220、240および260のUPnPサービス情報、例えばプログラム、ファイル、IP接続サービス、およびパスのようなアクセス方法を表す1つまたは複数のプライベートURLを含む応答メッセージをペイロード中に含むIPパケットを、IPパケット・ヘッダ中でプライベートIPアドレスおよびポート番号を用いてゲートウェイ装置100に送信し返す。そのURLは、A/V機器220、240および260のプライベートIPアドレス、および次のUPnP A/Vコンテンツ情報サービス部223のポート番号およびURL識別を含んでいる。   In response to the UPnP service information acquisition request message, the UPnP service information service unit 222 in step 509, UPnP service information of the A / V devices 220, 240, and 260, such as programs, files, IP connection services, and An IP packet including a response message including one or more private URLs representing an access method such as a path in the payload is transmitted back to the gateway apparatus 100 using the private IP address and port number in the IP packet header. . The URL includes the private IP addresses of the A / V devices 220, 240 and 260, and the port number and URL identification of the next UPnP A / V content information service unit 223.

その応答メッセージを含むIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ510において、IPパケット・ヘッダ中の宛先のゲートウェイ装置100および発信元のUPnPサービス情報サービス部222のプライベートIPアドレスおよびポート番号を、URLの取得要求を表すIPパケットの発信元であった宛先の外部端末420および発信元のゲートウェイ装置100のグローバルIPアドレスおよびポート番号に書き換え、さらに、上述のようにペイロード中のそのUPnPサービス情報を表す複数のプライベートURLを複数のグローバルURLに書き換える。次いで、ゲートウェイ装置100は、その書き換えられたURLのリストを含む応答メッセージをペイロード中に含むIPパケットを、外部端末420に送信し返す。   In response to the reception of the IP packet including the response message, gateway apparatus 100, in step 510, private IP addresses and ports of destination gateway apparatus 100 and source UPnP service information service unit 222 in the IP packet header. The number is rewritten to the global IP address and port number of the destination external terminal 420 and the source gateway apparatus 100 that were the source of the IP packet representing the URL acquisition request, and the UPnP in the payload as described above. A plurality of private URLs representing service information are rewritten to a plurality of global URLs. Next, the gateway apparatus 100 transmits an IP packet including a response message including the rewritten URL list in the payload to the external terminal 420.

第3の段階IIIにおいて、ユーザによるそのコンテンツのリストを表すグローバルURLの中の特定のURLの選択、即ち特定のUPnPサービス情報の選択に応答して、外部端末420は、ステップ511において、その選択されたURL中のグローバルIPアドレスおよびポート番号をIPパケット・ヘッダ中の宛先フィールドに含み、UPnP A/Vコンテンツ情報の取得要求のメッセージをペイロード中に含むグローバルIPパケットをゲートウェイ装置100に送信する。   In a third stage III, in response to the user's selection of a specific URL in the global URL representing the list of content, ie, selection of specific UPnP service information, the external terminal 420, in step 511, selects that URL. The global IP address and the port number in the URL are included in the destination field in the IP packet header, and the global IP packet including the UPnP A / V content information acquisition request message in the payload is transmitted to the gateway device 100.

そのIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ512において、格納部128に格納されたプライベートURLとグローバルURLの間の対応関係に従って、IPパケット・ヘッダ中の宛先のグローバルIPアドレスおよびポート番号をプライベートIPアドレスおよびポート番号に書き換える。ペイロード中のURL記述中に宛先のグローバルIPアドレスおよびポート番号が含まれているときは、ゲートウェイ装置100は、それらを同様にプライベートIPアドレスおよびポート番号を書き換える。次いで、ゲートウェイ装置100は、その書き換えられた宛先を含むプライベートIPパケットを、A/V機器220、240および260のUPnP A/Vコンテンツ情報サービス部223に転送する。   In response to the reception of the IP packet, the gateway device 100 determines in step 512 the destination global IP address in the IP packet header and the destination according to the correspondence between the private URL and the global URL stored in the storage unit 128. Rewrite the port number with the private IP address and port number. When the destination global IP address and port number are included in the URL description in the payload, the gateway device 100 rewrites the private IP address and port number in the same manner. Next, the gateway device 100 transfers the private IP packet including the rewritten destination to the UPnP A / V content information service unit 223 of the A / V devices 220, 240, and 260.

そのUPnP A/Vコンテンツ情報の取得要求に応答して、UPnP A/Vコンテンツ情報サービス部223は、ステップ513において、A/V機器220、240および260のUPnP A/Vコンテンツ情報、例えばプログラム・ファイル名を表す1つまたは複数のプライベートURLをペイロード中に含む応答メッセージを、IPパケット・ヘッダ中でプライベートIPアドレスおよびポート番号を用いてゲートウェイ装置100に送信し返す。そのURLは、A/V機器220、240および260のプライベートIPアドレス、および次のA/Vコンテンツ・サービス部224のポート番号およびURL識別を含んでいる。   In response to the UPnP A / V content information acquisition request, the UPnP A / V content information service unit 223, in step 513, determines UPnP A / V content information of the A / V devices 220, 240, and 260, for example, program A response message including one or more private URLs representing the file name in the payload is transmitted back to the gateway apparatus 100 using the private IP address and port number in the IP packet header. The URL includes the private IP addresses of the A / V devices 220, 240 and 260, and the port number and URL identification of the next A / V content service unit 224.

その応答メッセージを含むIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ514において、上述のように、IPパケット・ヘッダ中の宛先および発信元のプライベートIPアドレスおよびポート番号をグローバルIPアドレスおよびポート番号に書き換え、さらにペイロード中のそのUPnP A/Vコンテンツ情報を表す複数のプライベートURLを複数のグローバルURLに書き換える。次いで、ゲートウェイ装置100は、その書き換えられたURLのリストを含む応答メッセージをペイロード中に含むIPパケットを、外部端末420に送信し返す。   In response to receiving the IP packet including the response message, the gateway device 100 sets the destination IP address and the source private IP address and port number in the IP packet header to the global IP address and the port number in step 514 as described above. The port number is rewritten, and a plurality of private URLs representing the UPnP A / V content information in the payload are rewritten to a plurality of global URLs. Next, the gateway apparatus 100 transmits an IP packet including a response message including the rewritten URL list in the payload to the external terminal 420.

第4の段階IVにおいて、ユーザによるA/Vコンテンツ情報を表すグローバルURLの中の特定のURLの選択、即ち特定のA/Vコンテンツの選択に応答して、外部端末420は、ステップ515において、その選択されたURL中のグローバルIPアドレスおよびポート番号をIPパケット・ヘッダ中の宛先フィールド含み、UPnP A/Vコンテンツの取得要求のメッセージをペイロード中に含むグローバルIPパケットをゲートウェイ装置100に送信する。   In the fourth stage IV, in response to the user's selection of the specific URL in the global URL representing the A / V content information, that is, the selection of the specific A / V content, the external terminal 420 The global IP packet including the global IP address and port number in the selected URL is included in the destination field in the IP packet header, and the UPnP A / V content acquisition request message is included in the payload.

そのIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ516において、格納部128に格納されたプライベートURLとグローバルURLの間の対応関係に従って、IPパケット・ヘッダ中の宛先のグローバルIPアドレスおよびポート番号をプライベートIPアドレスおよびポート番号に書き換える。ペイロード中のURL記述中に宛先のグローバルIPアドレスおよびポート番号が含まれているときは、ゲートウェイ装置100は、それらを同様にプライベートIPアドレスおよびポート番号を書き換える。次いで、ゲートウェイ装置100は、その書き換えられた宛先を含むプライベートIPパケットを、A/V機器220、240および260のA/Vコンテンツ・サービス部224に転送する。   In response to the reception of the IP packet, in step 516, gateway apparatus 100 determines the global IP address of the destination in the IP packet header according to the correspondence between the private URL stored in storage unit 128 and the global URL. Rewrite the port number with the private IP address and port number. When the destination global IP address and port number are included in the URL description in the payload, the gateway device 100 rewrites the private IP address and port number in the same manner. Next, the gateway device 100 transfers the private IP packet including the rewritten destination to the A / V content service unit 224 of the A / V devices 220, 240, and 260.

その特定のA/Vコンテンツの取得要求に応答して、A/Vコンテンツ・サービス部224は、ステップ517において、A/V機器220、240および260の対応する特定のA/Vコンテンツ・ファイルをペイロード中に含むIPパケットを、IPパケット・ヘッダ中でプライベートIPアドレスおよびポート番号を用いてゲートウェイ装置100に送信し返す。   In response to the acquisition request for the specific A / V content, the A / V content service unit 224 sends the corresponding specific A / V content files of the A / V devices 220, 240 and 260 in step 517. The IP packet included in the payload is transmitted back to the gateway apparatus 100 using the private IP address and port number in the IP packet header.

そのA/Vコンテンツ・ファイルを含むIPパケットの受信に応答して、ゲートウェイ装置100は、ステップ518において、上述のように、IPパケット・ヘッダ中の宛先および発信元のプライベートIPアドレスおよびポート番号をグローバルIPアドレスおよびポート番号に書き換えて、特定のA/Vコンテンツ・ファイルをペイロード中に含むIPパケットを外部端末420に送信し返す。   In response to receiving the IP packet including the A / V content file, the gateway device 100 determines the destination and source private IP address and port number in the IP packet header in step 518 as described above. The global IP address and port number are rewritten, and an IP packet including a specific A / V content file in the payload is transmitted back to the external terminal 420.

ゲートウェイ装置100において、情報解析および変換部124は、内部ネットワーク10上のA/V機器220、240および260からの応答メッセージのペイロード中のURLに含まれているプライベートIPアドレス:ポート番号を、ゲートウェイ装置100のグローバルIPアドレス:未使用のポート番号に書き換える。その後、グローバルIPアドレスにおける同じポート番号に対して外部ネットワークからアクセスを受けたとき、情報解析および変換部124は、格納部128に格納されているその対応関係に従って、そのIPパケット・ヘッダ中の宛先のIPアドレス:ポート番号を書き換え、ペイロード中のURLを書き換える。   In the gateway apparatus 100, the information analysis and conversion unit 124 converts the private IP address: port number included in the URL in the payload of the response message from the A / V devices 220, 240, and 260 on the internal network 10 to the gateway. Global IP address of device 100: Rewrite to unused port number. Thereafter, when access is received from the external network to the same port number in the global IP address, the information analysis and conversion unit 124, according to the correspondence stored in the storage unit 128, the destination in the IP packet header IP address: Rewrite the port number and rewrite the URL in the payload.

図4Aは、格納部128に格納されているネットワーク・サービス転送情報を例示している。図4Bは、格納部128に格納されている内部ネットワーク10用のプライベートIPアドレスおよびポート番号を含むプライベートURLと、外部ネットワーク50用のグローバルIPアドレスおよびポート番号を含むグローバルURLとの間の対応関係を示している。   FIG. 4A illustrates network service transfer information stored in the storage unit 128. 4B shows the correspondence between the private URL including the private IP address and port number for the internal network 10 stored in the storage unit 128 and the global URL including the global IP address and port number for the external network 50. Is shown.

例えば、外部端末420のグローバルIPアドレスが“164.xx.xx.xx”であり、ゲートウェイ装置100のグローバルIPアドレスおよびプライベートIPアドレスがそれぞれ“164.xx.xx.yy”および“192.168.0.1”であり、内部のA/V機器220のプライベートIPアドレスが“192.168.0.10”であったとする。ゲートウェイ装置100が、外部ネットワーク50上のグローバルIPアドレス:ポート番号“164.xx.xx.xx:9999”を有する外部端末420から、宛先のマルチキャストIPアドレス“239.255.255.250:1900”を用いたデバイス探索の要求を表すIPパケットを受信したとき、情報解析および変換部124は、そのIPパケットの発信元をゲートウェイ装置100のプライベートIPアドレス“192.168.0.1”に書き換える。情報検索部122は、その書き換えられたIPパケットを内部ネットワーク10上のA/V機器220、240および260に送信する。さらに、情報管理部126は、エントリ番号“000”に、外部発信元としての外部端末420のグローバルIPアドレス“164.xx.xx.xx”、ゲートウェイ装置100の転送用のグローバル・ポート番号“1900” および宛先のプライベートIPアドレス:ポート番号として“239.255.255.250:1900”、および内部ネットワーク10へ転送した最終転送時刻“14:52:30.981”を書き込む。   For example, the global IP address of the external terminal 420 is “164.xx.xx.xx”, and the global IP address and the private IP address of the gateway device 100 are “164.xx.xx.yy” and “192.168 .. It is assumed that the private IP address of the internal A / V device 220 is “192.168.0.10”. The gateway apparatus 100 receives a destination multicast IP address “239.255.255.250:1900” from the external terminal 420 having the global IP address: port number “164.xx.xx.xx: 9999” on the external network 50. When the IP packet representing the device search request using is received, the information analysis and conversion unit 124 rewrites the source of the IP packet to the private IP address “192.168.0.1” of the gateway device 100. The information search unit 122 transmits the rewritten IP packet to the A / V devices 220, 240, and 260 on the internal network 10. Further, the information management unit 126 sets the entry number “000”, the global IP address “164.xx.xx.xx” of the external terminal 420 as the external source, and the global port number “1900” for transfer of the gateway device 100. "And the destination private IP address:" 239.255.255.250:1900 "as the port number and the last transfer time" 14: 52: 30.981 "transferred to the internal network 10 are written.

情報検索部122がA/V機器220、240および260のUPnPデバイス情報サービス部221から応答IPパケットを受信すると、情報解析および変換部124は、その応答IPパケット・ヘッダ中の発信元“192.168.0.10:1900”を“164.xx.xx.yy:1900”に書き換え、宛先“192.168.0.1:9999”を“164.xx.xx.xx:9999”に書き換える。情報管理部126は、エントリ番号“000”にUPnPデバイス情報サービス部221の状態として“稼働中”を格納部128に書き込む。情報管理部126は、エントリ番号“000”のプライベートIPアドレスを発信元の“192.168.0.10”に書き換えてもよい。一方、応答IPパケットを所定の時間に受信しなかったときは、情報管理部126は、エントリ番号“000”にUPnPデバイス情報サービス部221の状態として“停止中”を格納部128に書き込む。   When the information search unit 122 receives the response IP packet from the UPnP device information service unit 221 of the A / V devices 220, 240, and 260, the information analysis and conversion unit 124 sends the source “192. “168.0.10: 1900” is rewritten to “164.xx.xx.yy: 1900”, and the destination “192.168.0.1:9999” is rewritten to “164.xx.xx.xx: 9999”. The information management unit 126 writes “in operation” in the storage unit 128 as the state of the UPnP device information service unit 221 in the entry number “000”. The information management unit 126 may rewrite the private IP address of the entry number “000” with “192.168.0.10” of the transmission source. On the other hand, when the response IP packet is not received at a predetermined time, the information management unit 126 writes “stopped” in the storage unit 128 as the state of the UPnP device information service unit 221 in the entry number “000”.

ネットワーク・サービス転送部130が、内部ネットワーク10から受信したIPパケットのペイロード中にプライベートURLが含まれていたときは、情報解析および変換部124は、その中のプライベートIPアドレスおよびポート番号をゲートウェイ装置100のグローバルIPアドレスおよびポート番号に書き換えることによって、そのプライベートURLをグローバルURLに書き換える。情報管理部126は、図4Bに示されているように、プライベートURLとグローバルURLの間の対応関係を格納部128にネットワーク・サービス転送情報の一部として記録する。   When the network service transfer unit 130 includes a private URL in the payload of the IP packet received from the internal network 10, the information analysis and conversion unit 124 uses the private IP address and port number therein as the gateway device. By rewriting to the global IP address and port number of 100, the private URL is rewritten to the global URL. As shown in FIG. 4B, the information management unit 126 records the correspondence between the private URL and the global URL in the storage unit 128 as part of the network service transfer information.

例えば、その後、ゲートウェイ装置100が、上述の外部端末420からIPパケット・ヘッダ中に発信元グローバルIPアドレス:ポート番号“164.xx.xx.xx:9998”および宛先グローバルIPアドレス:ポート番号“164.xx.xx.yy:58001”を含むURLの取得の要求を表すIPパケットを受信したとき、情報解析および変換部124は、関連する先のエントリ番号“000”の外部発信元グローバルIPアドレスと、プライベートIPアドレスおよびポート番号とを参照し、さらにプライベートURLとグローバルURLの間の対応関係を参照して、現在の受信IPパケットと前回の送信および受信IPパケットとの間の整合性を確認し、その発信元をゲートウェイ装置100のプライベートIPアドレス:ポート番号“192.168.0.1:192.168.0.1:18000”および宛先を対応するA/V機器220のUPnPサービス情報サービス部222の“192.168.0.10:18080”に書き換える。ネットワーク・サービス転送部130は、その書き換えられたIPパケットをUPnPサービス情報サービス部222に送信する。   For example, the gateway device 100 then sends the source global IP address: port number “164.xx.xx.xx: 9998” and the destination global IP address: port number “164” in the IP packet header from the external terminal 420 described above. .Xx.xx.yy: When receiving an IP packet representing a URL acquisition request including 58001 ”, the information analysis and conversion unit 124 receives the external source global IP address of the related entry number“ 000 ”and The private IP address and the port number are referred to, and the correspondence between the private URL and the global URL is referenced to check the consistency between the current received IP packet and the previous transmitted and received IP packet. The source is the private IP address of the gateway device 100. Res: Port number “192.168.0.1: 192.168.0.1:18000” and “192.168.0.10: UPnP service information service unit 222 of A / V device 220 corresponding to the destination: Rewrite to 18080 ". The network service transfer unit 130 transmits the rewritten IP packet to the UPnP service information service unit 222.

情報管理部126は、エントリ番号“001”に、外部発信元としての外部端末420のグローバルIPアドレス“164.xx.xx.xx”、ゲートウェイ装置100の転送用のグローバル・ポート番号“58001”および宛先のプライベートIPアドレス:ポート番号“192.168.0.10:18080”、内部ネットワーク10へ転送した最終転送時刻“14:52:40.981” および関連するエントリ番号“000”を書き込む。ネットワーク・サービス転送部130がUPnPデバイス情報サービス部221から応答IPパケットを受信すると、情報解析および変換部124は、その応答IPパケット・ヘッダ中の発信元“192.168.0.10:18080”を“164.xx.xx.yy:58001”に書き換え、宛先“192.168.0.1:18000”を“164.xx.xx.xx:9998”に書き換える。情報管理部126は、UPnPデバイス情報サービス部221の状態として“稼働中”を格納部128に格納する。   The information management unit 126 includes the entry number “001”, the global IP address “164.xx.xx.xx” of the external terminal 420 as the external source, the global port number “58001” for transfer of the gateway device 100, and Destination private IP address: port number “192.168.0.10:18080”, last transfer time “14: 52: 40.981” transferred to internal network 10 and related entry number “000” are written. When the network service transfer unit 130 receives the response IP packet from the UPnP device information service unit 221, the information analysis and conversion unit 124 sends the source “192.168.0.10: 18080” in the response IP packet header. Is rewritten to “164.xx.xx.yy: 58001”, and the destination “192.168.0.1:18000” is rewritten to “164.xx.xx.xx: 9998”. The information management unit 126 stores “in operation” in the storage unit 128 as the state of the UPnP device information service unit 221.

その後、情報解析および変換部124は、最終転送時刻から所定時間が経過するまでは、このネットワーク転送情報に基づいて、関連する後続のIPパケットのIPアドレスおよびポート番号の書き換えを行う。このようにして、エントリ番号“003”〜“005”のネットワーク・サービス転送情報が記録される。   Thereafter, the information analysis and conversion unit 124 rewrites the IP address and port number of the associated subsequent IP packet based on this network transfer information until a predetermined time elapses from the final transfer time. In this way, the network service transfer information with the entry numbers “003” to “005” is recorded.

この格納されるネットワーク・サービス情報には、最終転送時刻の後、対応する転送が所定の時間以上行われなかったときに、そのエントリは無効とされ、以後の転送が禁止される。再度同じ転送を行うためには、外部端末20は、ネットワーク・サービスの探索を再度行う必要がある。この経過時間による転送の無効化によって、外部から不必要に内部ネットワーク資源へアクセスすることが防止される。 In the stored network service information, when the corresponding transfer is not performed for a predetermined time or more after the final transfer time, the entry is invalidated and subsequent transfer is prohibited. In order to perform the same transfer again, the external terminal 4 20, it is necessary to search for the network service again. By invalidating the transfer due to the elapsed time, unnecessary access to internal network resources from the outside is prevented.

図5は、外部情報処理端末420の要求に応答して、ゲートウェイ装置100によって実行されるデバイス探索のためのフローチャートを示している。   FIG. 5 shows a flowchart for device search executed by the gateway apparatus 100 in response to a request from the external information processing terminal 420.

まず、外部端末420は、ユーザの操作に従って、基地局52を介して外部ネットワーク50上でデバイスの探索の要求を表すマルチキャストIPパケットをゲートウェイ装置100に送信する。   First, the external terminal 420 transmits a multicast IP packet representing a device search request on the external network 50 to the gateway apparatus 100 via the base station 52 in accordance with a user operation.

図5のステップ602において、ゲートウェイ装置100のネットワーク・サービス情報提供部120は、外部端末420から外部ネットワーク・インタフェース104を介して、デバイスの探索の要求を表すマルチキャストIPパケットを受信する。   In step 602 of FIG. 5, the network service information providing unit 120 of the gateway apparatus 100 receives a multicast IP packet representing a device search request from the external terminal 420 via the external network interface 104.

ステップ606において、ネットワーク・サービス情報提供部120は、情報検索部122にそのIPパケットを渡して、デバイス探索を要求する。その要求に応答して、情報検索部122は、情報解析および変換部124に前述のようにIPパケット・ヘッダを書き換えさせて、内部ネットワーク・インタフェース102を介して、内部ネットワーク10上でA/V機器220、240および260にデバイスの探索の要求を表すマルチキャストIPパケットを転送する。その要求に応答して、A/V機器220、240および260のUPnPデバイス情報サービス部221の各々は、対応するUPnPデバイス情報としてUPnPサービス情報の取得のためのURLをペイロード中に含む応答IPパケットをゲートウェイ装置100に送信し返す。そのURLは、プライベートIPアドレス、ポート番号および情報資源識別子を含み、例えば、“http://192.168.0.10:18080/UrlA”および“http://192.168.0.12:8080/UrlD”と記述される。   In step 606, the network service information providing unit 120 passes the IP packet to the information search unit 122 and requests device search. In response to the request, the information search unit 122 causes the information analysis and conversion unit 124 to rewrite the IP packet header as described above, and the A / V on the internal network 10 via the internal network interface 102. A multicast IP packet representing a device search request is forwarded to the devices 220, 240 and 260. In response to the request, each of the UPnP device information service units 221 of the A / V devices 220, 240, and 260 responds with a response IP packet including a URL for acquiring UPnP service information as corresponding UPnP device information in the payload. Is sent back to the gateway device 100. The URL includes a private IP address, a port number, and an information resource identifier, such as “http://192.168.0.10:18080/UrlA” and “http://192.168.0.12: 8080 / UrlD ".

ステップ608において、情報検索部122は、応答IPパケットを受信したかどうかを判定する。応答IPパケットを受信していないときは、手順はステップ630に進む。応答IPパケットを受信したとき、ステップ618において、情報検索部122は、その応答IPパケットを情報解析および変換部124に渡す。情報解析および変換部124は、その応答IPパケットのヘッダおよびペイロードを構文解析(パース)してプライベートIPアドレスおよびポート番号、およびURLを取り出して、それを情報管理部126に渡す。情報管理部126は、そのURLと一致する項目を求めて格納部128のネットワーク・サービス転送情報を検索する。   In step 608, the information search unit 122 determines whether a response IP packet has been received. If no response IP packet has been received, the procedure proceeds to step 630. When the response IP packet is received, in step 618, the information search unit 122 passes the response IP packet to the information analysis and conversion unit 124. The information analysis and conversion unit 124 parses (parses) the header and payload of the response IP packet, extracts the private IP address, port number, and URL, and passes them to the information management unit 126. The information management unit 126 searches the network service transfer information in the storage unit 128 for an item that matches the URL.

ステップ622において、情報管理部126は、ネットワーク・サービス転送情報中にそのURLと一致する項目があるかどうかを判定する。一致する項目がないと判定された場合は、ステップ624において、情報管理部126は、格納部128のネットワーク・サービス転送情報に、そのURLおよびそれに関連する項目を追加する。一致する項目があると判定された場合は、ステップ626において、情報管理部126は、そのURLに関連する項目を取り出して情報解析および変換部124に渡す。情報検索部122は、さらに情報管理部126を介して格納部128に格納されている現在サービスを提供していない他のサービス部(221〜224)のURLを取り出してペイロードに加えてもよい。   In step 622, the information management unit 126 determines whether or not there is an item that matches the URL in the network service transfer information. If it is determined that there is no matching item, in step 624, the information management unit 126 adds the URL and related items to the network service transfer information in the storage unit 128. If it is determined that there is a matching item, in step 626, the information management unit 126 takes out an item related to the URL and passes it to the information analysis and conversion unit 124. The information search unit 122 may further extract URLs of other service units (221 to 224) that are not currently provided and stored in the storage unit 128 via the information management unit 126 and add them to the payload.

ステップ62において、情報解析および変換部124は、前述のようにIPパケット・ヘッダを書き換え、ペイロード中のプライベートURLをグローバルURLに書き換えて、そのように書き換えられたIPパケットをサービス情報検索部122を介してネットワーク・サービス情報提供部120に渡す。ステップ628において、ネットワーク・サービス情報提供部120は、その書き換えられたURLをペイロード中に含むIPパケットを、外部ネットワーク・インタフェース104を介して外部ネットワーク50上の発信元の外部端末420に送信する。この場合、ネットワーク・サービス情報提供部120は、複数の応答IPパケット中の1つまたは複数のIPパケット中の複数のURLを統合して、統合された複数のURLのリストをペイロード中に含む1つのIPパケットを外部端末420に送信してもよい。 In step 62 6, the information analysis and the conversion unit 124 rewrites the IP packet header, as described above, by rewriting the private URL in the payload to the global URL, so the rewritten IP packet service information retrieval unit 122 To the network service information providing unit 120. In step 628, the network service information providing unit 120 transmits the IP packet including the rewritten URL in the payload to the external terminal 420 that is the source on the external network 50 via the external network interface 104. In this case, the network service information providing unit 120 integrates a plurality of URLs in one or a plurality of IP packets in a plurality of response IP packets, and includes a list of the plurality of integrated URLs in the payload 1 One IP packet may be transmitted to the external terminal 420.

ステップ630において、情報管理部126は、格納部128のネットワーク・サービス転送情報を参照して、発信元の外部端末420からの前回IPパケットを内部ネットワーク10に転送した最後の転送時刻から所定時間が経過したかどうかを判定する。所定時間が経過したと判定された場合は、手順は図のルーチンを出る。所定時間が経過していないと判定された場合は、手順はステップ608に戻る。 In step 630, the information management unit 126 refers to the network service transfer information in the storage unit 128, and determines a predetermined time from the last transfer time when the previous IP packet from the source external terminal 420 was transferred to the internal network 10. Determine if it has passed. If the predetermined time is determined to have elapsed, the procedure exits the routine of FIG. If it is determined that the predetermined time has not elapsed, the procedure returns to step 608.

図6は、外部情報処理端末420からのURLの取得要求を表すIPパケットの受信に応答して、ゲートウェイ装置100によって実行されるそのIPパケットの転送のためのフローチャートを示している。   FIG. 6 shows a flowchart for transferring the IP packet executed by the gateway apparatus 100 in response to the reception of the IP packet representing the URL acquisition request from the external information processing terminal 420.

外部端末420は、ゲートウェイ装置100から受信したIPパケットのペイロード中の1つ以上のURLを含む情報を構文解析し、ユーザの要求に対応するその1つ以上のURLの中の特定の1つのURLを選択する。外部端末420は、IPパケット・ヘッダ中にその選択されたURLのIPアドレスおよびポート番号を含み、ペイロード中にそのURLの取得を要求するメッセージを含むIPパケットをゲートウェイ装置100に送信する。   The external terminal 420 parses information including one or more URLs in the payload of the IP packet received from the gateway device 100, and a specific one URL in the one or more URLs corresponding to the user request. Select. The external terminal 420 transmits to the gateway apparatus 100 an IP packet that includes the IP address and port number of the selected URL in the IP packet header and includes a message requesting acquisition of the URL in the payload.

図6のステップ704において、ネットワーク・サービス転送部130は、外部ネットワーク50から外部ネットワーク・インタフェース104を介してそのURLの取得の要求を表すIPパケットを受信する。   In step 704 of FIG. 6, the network service transfer unit 130 receives an IP packet representing a request for acquiring the URL from the external network 50 via the external network interface 104.

ステップ706において、ネットワーク・サービス転送部130は、その受信したIPパケットを情報解析および変換部124に渡す。情報解析および変換部124はその受信IPパケットを構文解析してそのパケット・ヘッダ中の発信元のグローバルIPアドレスと宛先のグローバルURLを取り出して情報管理部126に渡す。情報管理部126は、格納部128のネットワーク情報サービス転送情報を参照して、その発信元および宛先が記録済みかどうかを調べる。ステップ706において、情報管理部126は、その発信元および宛先が記録済みかどうかを判定する。その発信元および宛先のいずれかが記録済みでないと判定された場合には、ステップ710において、ネットワーク・サービス転送部130は、その受信IPパケットを破棄する。その後、手順は図6のルーチンを出る。   In step 706, the network service transfer unit 130 passes the received IP packet to the information analysis and conversion unit 124. The information analysis and conversion unit 124 parses the received IP packet, extracts the source global IP address and the destination global URL in the packet header, and passes them to the information management unit 126. The information management unit 126 refers to the network information service transfer information in the storage unit 128 to check whether the transmission source and destination are recorded. In step 706, the information management unit 126 determines whether or not the source and destination have been recorded. If it is determined that either the source or destination has not been recorded, in step 710, the network service transfer unit 130 discards the received IP packet. Thereafter, the procedure exits the routine of FIG.

それらが記録済みであると判定された場合には、ステップ712において、情報管理部126は、格納部12の記録済みのネットワーク・サービス情報を参照して最終(前回の)転送時刻から現在までの経過時間を求める。ステップ714において、情報管理部126は、所定時間が経過しているかどうかを判定する。所定時間が経過していると判定された場合は、ステップ716において、情報管理部126はネットワーク情報サービス転送情報の格納部128中の対応する転送情報を削除する。その後、手順は図6のルーチンを出る。所定時間が経過していないと判定された場合は、ステップ718において、情報管理部126は格納部128中の最終転送時刻等の対応する転送情報を追加しまたは更新する。 In the case where they are determined to be recorded, in step 712, the information management unit 126, referring to the recorded network service information storage section 12 8 from the last (previous) transfer time to the current Find the elapsed time. In step 714, the information management unit 126 determines whether a predetermined time has elapsed. If it is determined that the predetermined time has elapsed, in step 716, the information management unit 126 deletes the corresponding transfer information in the storage unit 128 of the network information service transfer information. Thereafter, the procedure exits the routine of FIG. If it is determined that the predetermined time has not elapsed, the information management unit 126 adds or updates the corresponding transfer information such as the last transfer time in the storage unit 128 in step 718.

ステップ720において、情報解析および変換部124は、前述のようにIPパケットのヘッダを書き換え、ペイロード中にURLが含まれているときはそのURLも書き換える。ネットワーク・サービス転送部130は、内部ネットワーク50上のA/V機器220、240および260の対応するサービス部にその書き換えられたIPパケットを転送する。その後、手順は図6のルーチンを出る。   In step 720, the information analysis and conversion unit 124 rewrites the header of the IP packet as described above, and rewrites the URL when the URL is included in the payload. The network service transfer unit 130 transfers the rewritten IP packet to the corresponding service units of the A / V devices 220, 240 and 260 on the internal network 50. Thereafter, the procedure exits the routine of FIG.

図7は、外部端末420および440からの要求に対するA/V機器220、240および260からの応答IPパケットを受信したときに、ゲートウェイ装置100によって実行される応答IPパケットの転送のためのフローチャートを示している。   FIG. 7 is a flowchart for transfer of response IP packets executed by the gateway device 100 when receiving response IP packets from the A / V devices 220, 240 and 260 in response to requests from the external terminals 420 and 440. Show.

外部端末420および440からの要求に応答して、A/V機器220、240および260における受信した宛先URLによって識別されるUPnPサービス情報サービス部222、UPnP A/Vコンテンツ情報サービス部223またはA/Vコンテンツ・サービス部224は、UPnPサービス情報、UPnP A/Vコンテンツ情報またはコンテンツを表す複数のURLまたはコンテンツ・ファイルをペイロードに含む応答IPパケットをゲートウェイ装置100に送信し返す。   In response to requests from external terminals 420 and 440, UPnP service information service unit 222, UPnP A / V content information service unit 223 or A / V identified by the destination URL received by A / V devices 220, 240 and 260 The V content service unit 224 transmits a response IP packet including a plurality of URLs or content files representing UPnP service information, UPnP A / V content information, or content in the payload to the gateway apparatus 100 and returns it.

ステップ804において、ネットワーク・サービス転送部130は、内部ネットワーク10から内部ネットワーク・インタフェース102を介して、ペイロード中に次のURLまたはコンテンツ・ファイルを含む応答IPパケットを受信する。   In step 804, the network service transfer unit 130 receives a response IP packet including the next URL or content file in the payload from the internal network 10 via the internal network interface 102.

ステップ806において、ネットワーク・サービス転送部130は、その応答IPパケットの所要部分を情報解析および変換部124に渡す。情報解析および変換部124は、そのIPパケットを構文解析して、そのパケット・ヘッダ中の発信元および宛先のプライベートIPアドレスおよびポート番号を取り出して情報管理部126に渡す。情報管理部126は、格納部128のネットワーク情報サービス転送情報を参照して、対応する外部端末の要求を表すIPパケットの発信元および宛先のグローバルIPアドレスおよびポート番号が記録済みかどうかを調べる。ステップ80において、情報管理部126は、その発信元および/または宛先が記録済みかどうかを判定する。それが記録済みでないと判定された場合には、手順は図7のルーチンを出る。それが既に記録済みであると判定された場合には、手順はステップ618に進む。ステップ618〜628は、図4のものと同じなので、再び説明することはしない。ステップ628の後、手順は図7のルーチンを出る。 In step 806, the network service transfer unit 130 passes the required part of the response IP packet to the information analysis and conversion unit 124. The information analysis and conversion unit 124 parses the IP packet, extracts the source and destination private IP addresses and port numbers in the packet header, and passes them to the information management unit 126. The information management unit 126 refers to the network information service transfer information in the storage unit 128 to check whether the source and destination global IP addresses and port numbers of IP packets representing requests of the corresponding external terminal have been recorded. In step 80 8, the information management unit 126 determines whether the source and / or destination or recorded. If it is determined that it has not been recorded, the procedure exits the routine of FIG. If it is determined that it has already been recorded, the procedure proceeds to step 618. Steps 618-628 are the same as in FIG. 4 and will not be described again. After step 628, the procedure exits the routine of FIG.

図8Aおよび8Bは、図5の変形であり、外部情報処理端末420の要求に応答して、ゲートウェイ装置100によって実行されるデバイス探索のための別のフローチャートを示している。このデバイス探索によって、サービス提供装置の稼動状態をサービス利用装置に提供することができる。図8Aおよび8Bにおいてステップ602、606〜608および618〜630は、図5のものと同様であり、再び説明することはしない。   8A and 8B are different from FIG. 5 and show another flowchart for device search executed by the gateway apparatus 100 in response to a request from the external information processing terminal 420. By this device search, the operating state of the service providing apparatus can be provided to the service using apparatus. 8A and 8B, steps 602, 606-608 and 618-630 are similar to those of FIG. 5 and will not be described again.

ステップ602の後のステップ604において、ネットワーク・サービス情報提供部120は、情報検索部122を介して情報管理部126に、格納部129のネットワーク・サービス発見情報を初期化させる。ステップ608の後のステップ612において、情報管理部126は、情報解析および変換部124と協働して、A/V機器220、240および260のUPnPデバイス情報サービス部221から受信した応答IPパケット中のUPnPデバイス情報サービス部221に関連する情報を参照して、UPnPデバイス情報サービス部221の稼動状態に関する項目、例えばプライベートIPアドレスおよびポート番号および稼動状態“稼働中”を格納部129のネットワーク・サービス発見情報に追加する。   In step 604 after step 602, the network service information providing unit 120 causes the information management unit 126 to initialize the network service discovery information in the storage unit 129 via the information search unit 122. In step 612 after step 608, the information management unit 126 cooperates with the information analysis and conversion unit 124 in the response IP packet received from the UPnP device information service unit 221 of the A / V devices 220, 240, and 260. Referring to the information related to the UPnP device information service unit 221, the network service of the storage unit 129 stores items relating to the operating state of the UPnP device information service unit 221, such as the private IP address and port number, and the operating state “operating” Add to discovery information.

図10は、格納部129に格納されたネットワーク・サービス発見情報のリストを示している。そのネットワーク・サービス発見情報は、内部ネットワーク10に接続されているネットワーク・サービス用のA/V機器220等のプライベートIPアドレス、ポート番号および現在の稼動状態を含んでいる。   FIG. 10 shows a list of network service discovery information stored in the storage unit 129. The network service discovery information includes the private IP address, port number, and current operating state of the network service A / V device 220 connected to the internal network 10.

ステップ632において、情報管理部126は、格納部128中のネットワーク・サービス転送情報の中から未検査の項目を取得する。ステップ634において、情報管理部126は、格納部129中のネットワーク・サービス発見情報の中からその取得した項目と一致する項目を検索する。   In step 632, the information management unit 126 acquires an uninspected item from the network service transfer information in the storage unit 128. In step 634, the information management unit 126 searches the network / service discovery information in the storage unit 129 for an item that matches the acquired item.

ステップ636において、情報検索部122は、取得した項目と一致する応答があるかどうかを判定する。取得した項目と一致する応答があると判定された場合は、手順はステップ642に進む。取得した項目と一致する応答がないと判定された場合は、ステップ638において、情報管理部126は、転送情報中の該当する項目を「停止状態」に設定する。ステップ642において、情報検索部122は、全ての項目について検査したかどうか判定する。全ての項目について検査していないと判定された場合は、手順はステップ632に戻る。   In step 636, the information search unit 122 determines whether there is a response that matches the acquired item. If it is determined that there is a response that matches the acquired item, the procedure proceeds to step 642. If it is determined that there is no response that matches the acquired item, in step 638, the information management unit 126 sets the corresponding item in the transfer information to “stop state”. In step 642, the information search unit 122 determines whether all items have been inspected. If it is determined that all items have not been inspected, the procedure returns to step 632.

全ての項目について検査したと判定された場合は、ステップ644において、ネットワーク・サービス情報提供部120は、格納部129に格納されているネットワーク・サービス発見情報から現在利用できるおよび利用できないネットワーク・サービスのリストを作成して、そのリストをペイロードに含むIPパケットを外部端末220に送信する。その後、手順は図8Aおよび8Bのルーチンを出る。   If it is determined that all items have been inspected, in step 644, the network service information providing unit 120 uses the network service discovery information stored in the storage unit 129 to identify network services that are currently available and unavailable. A list is created, and an IP packet including the list in the payload is transmitted to the external terminal 220. Thereafter, the procedure exits the routine of FIGS. 8A and 8B.

図9Aおよび9Bは、図8Aおよび8Bの変形であり、ゲートウェイ装置100によって実行されるデバイス探索のためのさらに別のフローチャートを示している。   FIGS. 9A and 9B are a modification of FIGS. 8A and 8B, and show yet another flowchart for device search performed by the gateway apparatus 100.

図9Aおよび9Bのフローチャートには、図8Aのステップ602、626、628が含まれていない。図9Aおよび9Bのフローチャートはステップ604で開始する。図5のフローチャートは図9Aおよび9Bと並行して独立に実行される。ステップ604〜624および630〜642は、図8Aおよび8Bのものと同様であり、再び説明することはしない。   The flowcharts of FIGS. 9A and 9B do not include steps 602, 626, and 628 of FIG. 8A. The flowchart of FIGS. 9A and 9B begins at step 604. The flowchart of FIG. 5 is executed independently in parallel with FIGS. 9A and 9B. Steps 604-624 and 630-642 are similar to those of FIGS. 8A and 8B and will not be described again.

ステップ642の後、ステップ644において、手順は所定時間休止し、その後ステップ632に戻る。このようにして、情報検索部122は、定期的にまたは周期的にまたは所定の時間間隔で、A/V機器220〜240の稼動状態、即ち稼働中か停止中かを検出して、格納部129に蓄積する。ネットワーク・サービス情報提供部120は、図5のステップ602において外部端末20および40からデバイスの探索の要求を表すマルチキャストIPパケットを受信したとき、図5のステップ628において、その蓄積されたA/V機器220〜240のネットワーク・サービスの稼動状態、即ちそのサービスが利用可能かどうかを表す情報と、さらに前述の統合された複数のURLとを含んだリストをペイロードに含む応答IPパケットを、外部端末20および40に送信する。 After step 642, in step 644, the procedure pauses for a predetermined time and then returns to step 632. In this way, the information search unit 122 detects the operating state of the A / V devices 220 to 240, that is, whether the A / V device 220 to 240 is operating or stopped periodically, periodically, or at a predetermined time interval. 129. A network service information providing unit 120, when receiving the multicast IP packets from the external terminal 4 20 and 4 40 representative of a request of searching a device at step 602 of FIG. 5, in step 628 of FIG. 5, which is the accumulated A response IP packet including, in the payload, a list including the operation status of the network service of the / V devices 220 to 240, that is, whether or not the service is usable, and a list including the plurality of integrated URLs. Transmit to external terminals 4 20 and 4 40.

代替構成として、ネットワーク・サービス情報提供部120は、外部端末20および40からデバイスの探索の要求を表すマルチキャストIPパケットを受信したとき、その蓄積されたA/V機器220〜240のネットワーク・サービス(URL)の稼動状態、即ちそのサービスが利用可能かどうかを表すリストをペイロードに含む応答IPパケットを、外部端末20および40に送信してもよい。換言すれば、図5において、ステップ602の後、ステップ606〜626および630が実行されることなくステップ628において、上述のリストをペイロードに含む応答IPパケットが外部端末220および240に送信されるようにしてもよい。 Alternatively configuration, network service information providing unit 120, when receiving the multicast IP packets from the external terminal 4 20 and 4 40 representative of a request of search for the device, the network of A / V devices 220-240 that is the accumulated operating status of the service (URL), i.e., a response IP packet including the payload list that the service indicating whether available may be transmitted to the external terminal 4 20 and 4 40. In other words, in FIG. 5, after step 602, steps 606 to 626 and 630 are not executed, and in step 628, the response IP packet including the above list in the payload is transmitted to the external terminals 220 and 240. It may be.

図3を再び参照すると、ネットワーク・サービス転送部130は、内部ネットワーク10上のA/V機器220〜260のサービス部221〜224のいずれかへのアクセスの要求を表すIPパケット(図3のステップ507、511、515)を外部ネットワーク50を介して外部端末420から受信したときに、そのサービス部が格納部128に格納されているネットワーク・サービス稼動情報における現在停止中のサービス部(221〜224)に対応しかつそのサービスを提供していたA/V機器が現在停止中である場合には、そのサービスを提供するA/V機器が現在停止中であることを表すメッセージを含むIPパケットを、外部ネットワーク50を介して外部端末420に送信してもよい。   Referring to FIG. 3 again, the network service transfer unit 130 sends an IP packet representing a request for access to any of the service units 221 to 224 of the A / V devices 220 to 260 on the internal network 10 (step of FIG. 3). 507, 511, and 515) from the external terminal 420 via the external network 50, the service units (221 to 224) that are currently stopped in the network service operation information stored in the storage unit 128. ) And the A / V device providing the service is currently stopped, an IP packet including a message indicating that the A / V device providing the service is currently stopped. Alternatively, it may be transmitted to the external terminal 420 via the external network 50.

ネットワーク・サービス転送部130は、内部ネットワーク10上のA/V機器220〜260のサービス部221〜224のいずれかへのアクセスの要求を表すIPパケット(図3のステップ507、511、515)を外部ネットワーク50を介して外部端末420から受信したときに、そのサービスを提供していたA/V機器が格納部128に格納されているネットワーク・サービス稼動情報における現在稼働中のA/V機器に対応しかつそのサービス部が現在停止中である場合には、そのサービスが現在停止中であることを表すメッセージを含むIPパケットを外部ネットワーク50を介して外部端末420に送信してもよい。   The network service transfer unit 130 transmits an IP packet (steps 507, 511, and 515 in FIG. 3) indicating a request for access to any of the service units 221 to 224 of the A / V devices 220 to 260 on the internal network 10. When receiving from the external terminal 420 via the external network 50, the A / V device that provided the service is the currently operating A / V device in the network service operation information stored in the storage unit 128. If the corresponding service unit is currently stopped, an IP packet including a message indicating that the service is currently stopped may be transmitted to the external terminal 420 via the external network 50.

ネットワーク・サービス転送部130は、内部ネットワーク10上のA/V機器220〜260のサービス部221〜224のいずれかへのアクセスの要求を表すIPパケット(図3のステップ507、511、515)を外部ネットワーク50を介して外部端末420から受信したときに、そのサービスを提供するA/V機器が格納部128に格納されているネットワーク・サービス稼動情報における停止中のA/V機器に対応しかつそのサービスを提供するA/V機器が現在停止中である場合には、その現在停止中のA/V機器を起動してそのサービス部を利用可能にするよう要求するメッセージを含みそのサービス部へのアクセスの要求を表すメッセージを含むIPパケットを、その現在停止中のA/V機器に送信してもよい。   The network service transfer unit 130 transmits an IP packet (steps 507, 511, and 515 in FIG. 3) indicating a request for access to any of the service units 221 to 224 of the A / V devices 220 to 260 on the internal network 10. When received from the external terminal 420 via the external network 50, the A / V device providing the service corresponds to the stopped A / V device in the network service operation information stored in the storage unit 128, and If the A / V device providing the service is currently stopped, the service unit includes a message requesting that the currently stopped A / V device be activated to use the service unit. An IP packet including a message indicating a request for access to the A / V device may be transmitted to the currently stopped A / V device.

以上説明した実施形態は典型例として挙げたに過ぎず、その各実施形態の構成要素を組み合わせること、その変形およびバリエーションは当業者にとって明らかであり、当業者であれば本発明の原理および請求の範囲に記載した発明の範囲を逸脱することなく上述の実施形態の種々の変形を行えることは明らかである。   The embodiments described above are merely given as typical examples, and it is obvious to those skilled in the art to combine the components of each embodiment, and variations and variations thereof will be apparent to those skilled in the art. Obviously, various modifications may be made to the above-described embodiments without departing from the scope of the invention as set forth in the scope.

以上の実施例を含む実施形態に関して、さらに以下の付記を開示する。
(付記1) 第1と第2のネットワークを含むネットワーク・セグメントが互いに異なる複数のネットワークに接続された第1の装置としてのゲートウェイ装置であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のIPアドレスと、前記第2のネットワーク用の第2のIPアドレスとを有し、
前記第1のネットワークを介して第3のIPアドレスの第2の装置から前記第3のIPアドレスを発信元として含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のIPアドレスを含んだ第1の情報資源識別子を含む第3のIPパケットを受信する検索手段と、
前記第3のIPアドレス、前記第4のIPアドレスおよび前記第1の情報資源識別子を互いに対応付けて格納する格納手段と、
を具え、
前記情報提供手段は、前記格納手段から前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のIPアドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のIPアドレスを前記第1のIPアドレスに書き換え、次いで前記第2の情報資源識別子を含みかつ前記第3のIPアドレスを宛先として含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信し、
さらに、前記ゲートウェイ装置が前記第3のIPアドレスを発信元として含み前記第1のIPアドレスを宛先として含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスを宛先として含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のIPアドレスを前記第2のIPアドレスに書き換えかつ前記第5のパケット中の前記第1のIPアドレスを前記第4のIPアドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する転送手段を具えることを特徴とする、ゲートウェイ装置。
(付記2) 前記転送手段は、その後、前記第4のIPアドレスを発信元として含み前記第2のIPアドレスを宛先として含み前記第3の装置の利用可能な情報資源を表し前記第4のIPアドレスを含んだ第3の情報資源識別子を含む第7のIPパケットを前記第2のネットワークを介して前記第3の装置から受信したとき、前記第7のIPパケットを、前記第1のIPアドレスを発信元として含み前記第3のIPアドレスを宛先として含み第4の情報資源識別子を含む第8のIPパケットに書き換え、その際前記第7のIPパケット中の前記第4のIPアドレスを前記第1のIPアドレスに書き換えかつ前記第7のIPパケット中の前記第2のIPアドレスを前記第3のIPアドレスに書き換え、次いで前記第8のIPパケットを前記第1のネットワークを介して前記第2の装置に転送するものである、付記1に記載のゲートウェイ装置。
(付記3) 前記第1の情報資源識別子はさらに前記第2のネットワーク用の前記第3の装置の第1のポート番号を含み、前記第2の情報資源識別子はさらに前記ゲートウェイ装置における前記第1のネットワーク用の未使用の第2のポート番号を含み、
前記ゲートウェイ装置が前記第3のIPアドレスを発信元として含み前記第1のIPアドレスおよび前記第2のポート番号を宛先として含む前記第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記転送手段は、前記第5のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスおよび前記第1のポート番号を宛先として含む前記第2のネットワーク用の前記第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のIPアドレスを前記第2のIPアドレスに書き換えかつ前記第5のパケット中の前記第1のIPアドレスおよび前記第2のポート番号を前記第4のIPアドレスおよび前記第1のポート番号にそれぞれ書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して前記利用可能な情報資源を有する前記第3の装置に転送する転送手段と、
を具えることを特徴とする、付記1に記載のゲートウェイ装置。
(付記4) 前記第6のIPパケットを前記第2のネットワークを介して前記第3の装置に最後に転送した後、所定の時間が経過するまでは、前記第3のIPアドレスを発信元として含み前記第1のIPアドレスを宛先として含む第7のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスを宛先として含む前記第2のネットワーク用の第8のIPパケットに書き換えて前記第8のIPパケットを前記第2のネットワークを介して転送することができるが、前記所定時間の経過後は前記転送を禁止することができるものである、付記1に記載のゲートウェイ装置。
(付記5) 前記転送手段は、前記格納手段に格納されているIPアドレス以外のIPアドレスを発信元および/または宛先として含むIPパケットを前記第1のネットワークを介して受信したとき、このIPパケットを前記第2のネットワークを介して転送しないものである、付記1に記載のゲートウェイ装置。
(付記6) 前記検索手段は、さらに定期的に前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表すIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の利用可能な装置の利用可能な情報資源を表し前記利用可能な装置のIPアドレスを含んだ或る情報資源識別子を含む応答IPパケットを受信し、
前記格納手段は、さらに、前記利用可能な装置の前記IPアドレスと、前記或る情報資源識別子を互いに対応付けて格納するものである、付記1に記載のゲートウェイ装置。
(付記7) 前記検索手段は、さらに定期的に前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表すIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の利用可能な装置の利用可能な情報資源を表し前記利用可能な装置のIPアドレスを含んだ或る情報資源識別子を含む応答IPパケットを受信し、
前記格納手段は、さらに、前記利用可能な装置の前記IPアドレスと、前記或る情報資源識別子を互いに対応付けてリスト形式で格納し、
前記情報提供手段は、さらに前記格納手段から前記或る情報資源識別子を読み出し、この読み出した或る情報資源識別子を前記第1のIPアドレスを含む前記第1のネットワーク用の別の情報資源識別子に書き換え、その際前記或る情報資源識別子中の前記IPアドレスを前記第1のIPアドレスに書き換え、前記第2の情報資源識別子を前記別の情報資源識別子と統合して統合された情報を生成し、リスト形式の前記統合された情報を含む前記第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信するものである、付記1に記載のゲートウェイ装置。
(付記8) 前記検索手段は、前記第2のネットワーク上の利用可能な情報資源の稼動状態を表す情報を前記格納手段に格納し、過去において利用可能であった情報資源が現在利用可能でない場合は前記過去において利用可能であった情報資源の稼動状態が現在利用不可能であること表す情報を格納するものである、付記1に記載のゲートウェイ装置。
(付記9) 前記転送手段は、前記第2のネットワーク上の所望の情報資源へのアクセスの要求を表すIPパケットを第1のネットワークを介して前記第2の装置から受信したときに、前記所望の情報資源が前記格納手段に格納されている稼動情報における現在停止中の情報資源に対応しかつ前記所望の情報資源を提供していた別の装置が現在停止中である場合には、前記所望の情報資源を提供していた前記別の装置が現在停止中であることを表すメッセージを含むIPパケットを前記第1のネットワークを介して前記第2の装置に送信するものである、付記1に記載のゲートウェイ装置。
(付記10) 前記転送手段は、前記第2のネットワーク上の所望の情報資源へのアクセスの要求を表すIPパケットを第1のネットワークを介して前記第2の装置から受信したときに、前記所望の情報資源を提供していた別の装置が前記格納手段に格納されている稼動情報における現在稼働中の装置に対応しかつ前記所望の情報資源が現在停止中である場合には、前記所望の情報資源が現在停止中であることを表すメッセージを含むIPパケットを前記第1のネットワークを介して前記第2の装置に送信するものである、付記1に記載のゲートウェイ装置。
(付記11) 前記転送手段は、前記第2のネットワーク上の所望の情報資源へのアクセスの要求を表すIPパケットを前記第1のネットワークを介して前記第2の装置から受信したときに、前記所望の情報資源を提供する装置が前記格納手段に格納されている稼動情報における停止中の装置に対応しかつ前記所望の情報資源を提供する前記装置が現在停止中である場合には、前記現在停止中の装置を起動して前記所望の情報資源を利用可能にするよう要求するメッセージを含むIPパケットを前記第2のネットワークを介して前記現在停止中の前記装置に送信するものである、付記1に記載のゲートウェイ装置。
(付記12) 前記第1のネットワークから前記第2のネットワークへのIPパケットの転送と、前記第2のネットワークから前記第1のネットワーへのIPパケットの転送とは、互いに非同期に行われるものである、付記1に記載のゲートウェイ装置。
(付記13) 前記第1および第2のネットワークとの間の通信がUPnP規格に従うものである、付記1に記載のゲートウェイ装置。
(付記14) ネットワーク・セグメントが互いに異なる少なくとも第1と第2のネットワークに接続された第1の装置としてのゲートウェイ装置であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のIPアドレスと、前記第2のネットワーク用の第2のIPアドレスとを有し、
定期的に前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表すIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の利用可能な装置の利用可能な情報資源を表し前記利用可能な装置のIPアドレスを含んだ情報資源識別子を含む応答IPパケットを受信する検索手段と、
前記利用可能な装置の前記IPアドレスと、前記情報資源識別子とを互いに対応付けて格納する格納手段と、
前記第1のネットワークを介して第3のIPアドレスの第2の装置から前記第3のIPアドレスを発信元として含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、
を具え、
前記ゲートウェイ装置が前記第1のIPパケットを受信したときに、前記情報提供手段は、前記利用可能な装置の前記IPアドレスおよび前記情報資源識別子に対応付けて前記第3のIPアドレスをリスト形式で格納し、前記第2のネットワーク上の利用可能な第3の装置の利用可能な情報資源を表し前記第3の装置の第4のIPアドレスを含んだ第1の情報資源識別子を前記格納手段から読み出し、前記読み出した第1の情報資源識別子を前記第1のIPアドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のIPアドレスを前記第1のIPアドレスに書き換え、次いでリスト形式で前記第2の情報資源識別子を含みかつ前記第3のIPアドレスを宛先として含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信し、
さらに、前記ゲートウェイ装置が前記第3のIPアドレスを発信元として含み前記第1のIPアドレスを宛先として含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスを宛先として含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のIPアドレスを前記第2のIPアドレスに書き換えかつ前記第5のパケット中の前記第1のIPアドレスを前記第4のIPアドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する転送手段を具えることを特徴とする、ゲートウェイ装置。
(付記15) ネットワーク・セグメントが互いに異なる第1と第2のネットワークを含む複数のネットワークに接続された第1の装置としてのゲートウェイ装置用の、IPパケットを転送するためのプログラムであって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のIPアドレスと、前記第2のネットワーク用の第2のIPアドレスとを有し、
前記第1のネットワークを介して第3のIPアドレスの第2の装置から前記第3のIPアドレスを発信元として含み情報資源の検索要求を表す第1のIPパケットを受信するステップと、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のIPアドレスを含んだ第1の情報資源識別子を含む第3のIPパケットを受信するステップと、
前記第3のIPアドレス、前記第4のIPアドレスおよび前記第1の情報資源識別子を互いに対応付けてメモリに格納するステップと、
前記メモリから前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のIPアドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のIPアドレスを前記第1のIPアドレスに書き換え、次いで前記第2の情報資源識別子を含みかつ前記第3のIPアドレスを宛先として含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信するステップと、
前記第3のIPアドレスを発信元として含み前記第1のIPアドレスを宛先として含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスを宛先として含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のIPアドレスを前記第2のIPアドレスに書き換えかつ前記第5のパケット中の前記第1のIPアドレスを前記第4のIPアドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送するステップと、
を実行させるよう動作可能なプログラム。
(付記16) 第1と第2のネットワークを含むネットワーク・セグメントが互いに異なる複数のネットワークに接続された第1の装置としてのゲートウェイ装置においてIPパケットを転送する方法であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のIPアドレスと、前記第2のネットワーク用の第2のIPアドレスとを有し、
前記第1のネットワークを介して第3のIPアドレスの第2の装置から前記第3のIPアドレスを発信元として含み情報資源の検索要求を表す第1のIPパケットを受信する工程と、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のIPアドレスを発信元として含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のIPアドレスを含んだ第1の情報資源識別子を含む第3のIPパケットを受信する工程と、
前記第3のIPアドレス、前記第4のIPアドレスおよび前記第1の情報資源識別子を互いに対応付けてメモリに格納する工程と、
前記メモリから前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のIPアドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のIPアドレスを前記第1のIPアドレスに書き換え、次いで前記第2の情報資源識別子を含みかつ前記第3のIPアドレスを宛先として含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信する工程と、
前記第3のIPアドレスを発信元として含み前記第1のIPアドレスを宛先として含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のIPアドレスを発信元として含み前記第4のIPアドレスを宛先として含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のIPアドレスを前記第2のIPアドレスに書き換えかつ前記第5のパケット中の前記第1のIPアドレスを前記第4のIPアドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する工程と、
を含むことを特徴とする方法。
Regarding the embodiment including the above examples, the following additional notes are further disclosed.
(Supplementary note 1) A gateway device as a first device connected to a plurality of networks having different network segments including the first and second networks,
The gateway device has a first IP address for the first network and a second IP address for the second network;
Information providing means for receiving, via the first network, a first IP packet representing a search request for information resources including the third IP address as a source from a second device having a third IP address;
In response to the first IP packet representing the search request, the second IP packet representing the information resource search request including the second IP address as a source is transmitted via the second network; A first information resource identifier representing a usable information resource of a third device on the second network via the second network and including a fourth IP address of the third device; Search means for receiving a third IP packet;
Storage means for storing the third IP address, the fourth IP address, and the first information resource identifier in association with each other;
With
The information providing means reads the first information resource identifier from the storage means, and the read first information resource identifier includes the first IP address as the second information resource for the first network. Rewriting to an identifier, rewriting the fourth IP address in the first information resource identifier to the first IP address, then including the second information resource identifier and addressing the third IP address A fourth IP packet including as to the second device via the first network,
Further, when the gateway device receives a fifth IP packet including the third IP address as a source and including the first IP address as a destination from the second device via the first network. , Rewriting the fifth IP packet with a sixth IP packet for the second network including the second IP address as a source and the fourth IP address as a destination. Rewriting the third IP address in the packet to the second IP address and rewriting the first IP address in the fifth packet to the fourth IP address, and then changing the sixth IP packet to A gateway comprising transfer means for transferring to the third device having a desired information resource via the second network. Apparatus.
(Supplementary Note 2) The transfer means then represents the information resource available to the third device including the fourth IP address as a source and the second IP address as a destination. When a seventh IP packet including a third information resource identifier including an address is received from the third device via the second network, the seventh IP packet is transmitted to the first IP address. To the eighth IP packet including the third IP address as the destination and the fourth information resource identifier, and changing the fourth IP address in the seventh IP packet to the second IP packet. And rewriting the second IP address in the seventh IP packet to the third IP address, and then changing the eighth IP packet to the first IP address. The gateway device according to appendix 1, wherein the gateway device transfers data to the second device via a network.
(Supplementary Note 3) The first information resource identifier further includes a first port number of the third device for the second network, and the second information resource identifier further includes the first information in the gateway device. Contains an unused second port number for the network of
The gateway device transmits the fifth IP packet including the third IP address as a source and the first IP address and the second port number as a destination via the first network. When the second IP packet is received from the second device, the transfer means includes the second IP address as the source and the fourth IP address and the first port number as the destination. Rewriting to the sixth IP packet for the network, rewriting the third IP address in the fifth packet to the second IP address and the first IP in the fifth packet The address and the second port number are rewritten to the fourth IP address and the first port number, respectively, and then the sixth IP Transfer means for transferring Tsu bets to the third device having the available resources via said second network,
The gateway device according to claim 1, further comprising:
(Supplementary Note 4) The third IP address is used as a source until a predetermined time elapses after the sixth IP packet is last transferred to the third device via the second network. An eighth IP packet for the second network including the seventh IP packet including the first IP address as a destination and the second IP address as a source and including the fourth IP address as a destination The gateway according to appendix 1, wherein the eighth IP packet can be transferred to the second network through rewriting to the second network, but the transfer can be prohibited after the predetermined time has elapsed. apparatus.
(Supplementary Note 5) When the transfer unit receives an IP packet including an IP address other than the IP address stored in the storage unit as a source and / or destination via the first network, the IP packet The gateway device according to appendix 1, wherein the gateway device is not transferred via the second network.
(Additional remark 6) The said search means further transmits the IP packet which represents the search request | requirement of information resources including the said 2nd IP address as a transmission origin via the said 2nd network regularly, and the said 2nd network A response IP packet including an information resource identifier representing an available information resource of an available device on the second network and including an IP address of the available device via
The gateway device according to appendix 1, wherein the storage means further stores the IP address of the available device and the certain information resource identifier in association with each other.
(Additional remark 7) The said search means transmits the IP packet which contains the said 2nd IP address as a transmission origin further via the said 2nd network, and represents the search request | requirement of information resources, The said 2nd network A response IP packet including an information resource identifier representing an available information resource of an available device on the second network and including an IP address of the available device via
The storage means further stores the IP address of the available device and the certain information resource identifier in association with each other in a list format,
The information providing means further reads the certain information resource identifier from the storage means, and uses the read certain information resource identifier as another information resource identifier for the first network including the first IP address. Rewriting, rewriting the IP address in the certain information resource identifier to the first IP address, and integrating the second information resource identifier with the other information resource identifier to generate integrated information The gateway device according to appendix 1, wherein the fourth IP packet including the integrated information in a list format is transmitted to the second device via the first network.
(Additional remark 8) When the said search means stores the information showing the operating state of the information resource which can be utilized on the said 2nd network in the said storage means, and the information resource which was available in the past is not now available The gateway device according to appendix 1, wherein the gateway device stores information indicating that an operating state of an information resource that has been available in the past is currently unavailable.
(Supplementary Note 9) When the transfer unit receives an IP packet representing a request for access to a desired information resource on the second network from the second device via the first network, the transfer unit The information resource corresponds to the information resource currently stopped in the operation information stored in the storage means, and another device that provided the desired information resource is currently stopped. To the second device via the first network, an IP packet including a message indicating that the other device that provided the information resource is currently stopped The gateway device described.
(Supplementary Note 10) When the transfer means receives an IP packet representing a request for access to a desired information resource on the second network from the second device via the first network, the transfer means If another device that provided the information resource corresponds to the currently operating device in the operation information stored in the storage means, and the desired information resource is currently stopped, The gateway apparatus according to appendix 1, wherein an IP packet including a message indicating that the information resource is currently stopped is transmitted to the second apparatus via the first network.
(Supplementary Note 11) When the transfer means receives an IP packet representing a request for access to a desired information resource on the second network from the second device via the first network, If the device that provides the desired information resource corresponds to the stopped device in the operation information stored in the storage means, and the device that provides the desired information resource is currently stopped, Note that an IP packet including a message requesting to start a stopped device and make the desired information resource available is transmitted to the currently stopped device via the second network. The gateway device according to 1.
(Supplementary Note 12) The transfer of IP packets from the first network to the second network and the transfer of IP packets from the second network to the first network are performed asynchronously with each other. The gateway device according to attachment 1, wherein
(Supplementary note 13) The gateway device according to supplementary note 1, wherein communication between the first and second networks conforms to a UPnP standard.
(Supplementary note 14) A gateway device as a first device connected to at least first and second networks having different network segments,
The gateway device has a first IP address for the first network and a second IP address for the second network;
Periodically, an IP packet that represents the information resource search request including the second IP address as a source is transmitted via the second network, and is transmitted on the second network via the second network. Search means for receiving a response IP packet that includes an information resource identifier that represents an available information resource of the available device and includes an IP address of the available device;
Storage means for storing the IP address of the available device and the information resource identifier in association with each other;
Information providing means for receiving, via the first network, a first IP packet representing a search request for information resources including the third IP address as a source from a second device having a third IP address;
With
When the gateway device receives the first IP packet, the information providing means displays the third IP address in a list format in association with the IP address and the information resource identifier of the available device. Storing, from the storage means, a first information resource identifier representing an available information resource of a third device available on the second network and including a fourth IP address of the third device; Read, rewrite the read first information resource identifier to the second information resource identifier for the first network including the first IP address, and then the fourth information in the first information resource identifier Rewrites the first IP address to the first IP address, and then includes the second information resource identifier in a list format and the third IP address as the destination. The IP packets transmitted to the second device via the first network,
Further, when the gateway device receives a fifth IP packet including the third IP address as a source and including the first IP address as a destination from the second device via the first network. , Rewriting the fifth IP packet with a sixth IP packet for the second network including the second IP address as a source and the fourth IP address as a destination. Rewriting the third IP address in the packet to the second IP address and rewriting the first IP address in the fifth packet to the fourth IP address, and then changing the sixth IP packet to A gateway comprising transfer means for transferring to the third device having a desired information resource via the second network. Apparatus.
(Supplementary note 15) A program for transferring an IP packet for a gateway device as a first device connected to a plurality of networks including first and second networks having different network segments,
The gateway device has a first IP address for the first network and a second IP address for the second network;
Receiving a first IP packet representing a search request for an information resource including the third IP address as a source from a second device having a third IP address via the first network;
In response to the first IP packet representing the search request, the second IP packet representing the information resource search request including the second IP address as a source is transmitted via the second network; A first information resource identifier representing a usable information resource of a third device on the second network via the second network and including a fourth IP address of the third device; Receiving a third IP packet;
Storing the third IP address, the fourth IP address, and the first information resource identifier in a memory in association with each other;
Reading the first information resource identifier from the memory, rewriting the read first information resource identifier with a second information resource identifier for the first network including the first IP address, Rewriting the fourth IP address in the first information resource identifier to the first IP address, and then the fourth IP packet including the second information resource identifier and including the third IP address as a destination Transmitting to the second device via the first network;
When the fifth IP packet including the third IP address as a source and the first IP address as a destination is received from the second device via the first network, the fifth IP Rewriting the packet to a sixth IP packet for the second network that includes the second IP address as a source and the fourth IP address as a destination, wherein the third IP in the fifth packet The IP address of the second packet is rewritten to the second IP address, the first IP address in the fifth packet is rewritten to the fourth IP address, and then the sixth IP packet is transferred to the second network. Transferring to the third device having the desired information resource via
A program that can run to run.
(Supplementary Note 16) A method of transferring an IP packet in a gateway device as a first device connected to a plurality of networks having different network segments including a first and a second network,
The gateway device has a first IP address for the first network and a second IP address for the second network;
Receiving a first IP packet representing a search request for an information resource including the third IP address as a source from a second device having a third IP address via the first network;
In response to the first IP packet representing the search request, the second IP packet representing the information resource search request including the second IP address as a source is transmitted via the second network; A first information resource identifier representing a usable information resource of a third device on the second network via the second network and including a fourth IP address of the third device; Receiving a third IP packet;
Storing the third IP address, the fourth IP address, and the first information resource identifier in a memory in association with each other;
Reading the first information resource identifier from the memory, rewriting the read first information resource identifier with a second information resource identifier for the first network including the first IP address, Rewriting the fourth IP address in the first information resource identifier to the first IP address, and then the fourth IP packet including the second information resource identifier and including the third IP address as a destination Transmitting to the second device via the first network;
When the fifth IP packet including the third IP address as a source and the first IP address as a destination is received from the second device via the first network, the fifth IP Rewriting the packet to a sixth IP packet for the second network that includes the second IP address as a source and the fourth IP address as a destination, wherein the third IP in the fifth packet The IP address of the second packet is rewritten to the second IP address, the first IP address in the fifth packet is rewritten to the fourth IP address, and then the sixth IP packet is transferred to the second network. Transferring to the third device having the desired information resource via
A method comprising the steps of:

図1は、本発明の実施形態による、内部ネットワークを介して相互接続されたネットワーク・サービス提供装置としてのUPnP A/Vコンテンツ・サービス用のゲートウェイ装置およびオーディオ/ビデオ(A/V)機器と、そのゲートウェイ装置が接続された外部ネットワークに接続されるネットワーク・サービス利用装置としての外部情報処理端末と、を含む概略的システムを示している。FIG. 1 illustrates a gateway device and an audio / video (A / V) device for UPnP A / V content service as a network service providing device interconnected via an internal network according to an embodiment of the present invention; 1 shows a schematic system including an external information processing terminal as a network service utilization device connected to an external network to which the gateway device is connected. 図2は、ゲートウェイ装置、A/V機器および外部情報処理端末のより詳細な構成を示している。FIG. 2 shows a more detailed configuration of the gateway device, A / V device, and external information processing terminal. 図3は、外部情報処理端末に対してゲートウェイ装置を介してA/V機器によって提供されるUPnP A/Vコンテンツ・サービスの処理手順を示している。FIG. 3 shows the processing procedure of the UPnP A / V content service provided to the external information processing terminal by the A / V device via the gateway device. 図4は、格納部に格納されているネットワーク・サービス転送情報を例示している。FIG. 4 illustrates network service transfer information stored in the storage unit. 図4Bは、格納部に格納されている、内部ネットワーク用のプライベートIPアドレスおよびポート番号を含むプライベートURLと、外部ネットワーク用のグローバルIPアドレスおよびポート番号を含むグローバルURLとの間の対応関係を示している。FIG. 4B shows the correspondence between the private URL stored in the storage unit including the private IP address and port number for the internal network and the global URL including the global IP address and port number for the external network. ing. 図5は、外部情報処理端末の要求に応答して、ゲートウェイ装置によって実行されるデバイス探索のためのフローチャートを示している。FIG. 5 shows a flowchart for device search executed by the gateway apparatus in response to a request from the external information processing terminal. 図6は、外部情報処理端末からのURLの取得要求を表すIPパケットの受信に応答して、ゲートウェイ装置によって実行されるそのIPパケットの転送のためのフローチャートを示している。FIG. 6 shows a flowchart for forwarding the IP packet executed by the gateway device in response to the reception of the IP packet representing the URL acquisition request from the external information processing terminal. 図7は、外部情報処理端末からの要求に対するA/V機器からの応答IPパケットを受信したときに、ゲートウェイ装置によって実行される応答IPパケットの転送のためのフローチャートを示している。FIG. 7 shows a flowchart for transfer of a response IP packet executed by the gateway device when a response IP packet from an A / V device in response to a request from an external information processing terminal is received. 図8Aおよび8Bは、図5の変形であり、外部情報処理端末の要求に応答して、ゲートウェイ装置によって実行されるデバイス探索のための別のフローチャートを示している。8A and 8B are modifications of FIG. 5 and show another flowchart for device search executed by the gateway apparatus in response to a request from the external information processing terminal. 図9Aおよび9Bは、図8Aおよび8Bの変形であり、ゲートウェイ装置によって実行されるデバイス探索のためのさらに別のフローチャートを示している。FIGS. 9A and 9B are a variation of FIGS. 8A and 8B and show yet another flowchart for device discovery performed by the gateway device. 図10は、格納部に格納されたネットワーク・サービス発見情報のリストを示している。FIG. 10 shows a list of network service discovery information stored in the storage unit.

符号の説明Explanation of symbols

10 内部ネットワーク
50 外部ネットワーク
100 ゲートウェイ装置
120 ネットワーク情報提供装置
122 情報検索部
124 情報解析および変換部
126 情報管理部
128 ネットワーク・サービス転送情報の格納部
129 ネットワーク・サービス発見情報の格納部
130 ネットワーク・サービス転送部
220、240、260 オーディオ・ビデオ機器
420、440 外部情報処理装置
DESCRIPTION OF SYMBOLS 10 Internal network 50 External network 100 Gateway apparatus 120 Network information provision apparatus 122 Information search part 124 Information analysis and conversion part 126 Information management part 128 Network service transfer information storage part 129 Network service discovery information storage part 130 Network service Transfer unit 220, 240, 260 Audio / video equipment 420, 440 External information processing apparatus

Claims (4)

第1と第2のネットワークを含むネットワーク・セグメントが互いに異なる複数のネットワークに接続された第1の装置として、前記第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のドレスと、前記第2のネットワーク用の第2のドレスとを有し、
前記第1のネットワークを介して第3のドレスの第2の装置から前記第3のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のドレスを含んだ第1の情報資源識別子を前記ペイロード部分に含む第3のIPパケットを受信する検索手段と、
前記第3のドレス、前記第4のドレスおよび前記第1の情報資源識別子を互いに対応付けて格納する格納手段と、
を具え、
前記情報提供手段は、前記格納手段から前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のドレスを前記第1のドレスに書き換え、次いで前記第2の情報資源識別子を前記ペイロード部分に含みかつ前記第3のドレスを宛先として前記ヘッダ部分に含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信し、
さらに、前記ゲートウェイ装置が前記第3のドレスを発信元として前記ヘッダ部分に含み前記第1のドレスを宛先として前記ヘッダ部分に含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のドレスを発信元として前記ヘッダ部分に含み前記第4のドレスを宛先として前記ヘッダ部分に含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のドレスを前記第2のドレスに書き換えかつ前記第5のパケット中の前記第1のドレスを前記第4のドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する転送手段を具えることを特徴とする、ゲートウェイ装置。
An IP packet having a header portion and a payload portion via the first and second networks as a first device connected to a plurality of networks having different network segments including the first and second networks A gateway device for transmitting and receiving ,
The gateway apparatus includes a first address for the first network and a second address for the second network,
Information for receiving a first IP packet representing the third search request information resource includes the header portion as the source from the second device address of the third address through the first network Providing means;
In response to the first IP packet representing the search request, the second second IP packet through the network representing a search request for information resources including the header portion of the second address as a source sends, the second through the network, the second the fourth of the first information including the address of the third device represents the available resources of the third device on the network Search means for receiving a third IP packet including a resource identifier in the payload portion ;
Storage means for storing the third address, the fourth address and the first resource identifier associated with each other,
With
Wherein the information providing means reads said first resource identifier from the storage unit, the second resource for the first network a first resource identifier read the including the first address rewriting the identifier, where the first information rewriting the fourth address in the resource identifier to the first address, then the second resource identifier the payload portion includes and the third a fourth IP packet including the header portion of the address as a destination via the first network transmits to the second device,
Furthermore, the said gateway device via said third fifth first network an IP packet including the header portion of the first address as the destination includes the header portion as the source of the address of the when receiving from the second device, the second network including the header portion of the fifth and the fourth address comprising the header portion of the IP packet as the source of the second address as the destination sixth rewritten IP packet, where the said fifth said third of said first address rewrite the address in the second address and the first 5 packets in a packet of use rewriting the fourth address, then immediately transferring means for transferring the IP packet of the sixth to the third device having a desired information resources via said second network Characterized Rukoto, gateway device.
ネットワーク・セグメントが互いに異なる少なくとも第1と第2のネットワークに接続された第1の装置として、前記第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のドレスと、前記第2のネットワーク用の第2のドレスとを有し、
定期的に前記第2のネットワークを介して前記第2のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表すIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の利用可能な装置の利用可能な情報資源を表し前記利用可能な装置のドレスを含んだ情報資源識別子を前記ペイロード部分に含む応答IPパケットを受信する検索手段と、
前記利用可能な装置の前記ドレスと、前記情報資源識別子とを互いに対応付けて格納する格納手段と、
前記第1のネットワークを介して第3のドレスの第2の装置から前記第3のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信する情報提供手段と、
を具え、
前記ゲートウェイ装置が前記第1のIPパケットを受信したときに、前記情報提供手段は、前記利用可能な装置の前記ドレスおよび前記情報資源識別子に対応付けて前記第3のドレスをリスト形式で格納し、前記第2のネットワーク上の利用可能な第3の装置の利用可能な情報資源を表し前記第3の装置の第4のドレスを含んだ第1の情報資源識別子を前記格納手段から読み出し、前記読み出した第1の情報資源識別子を前記第1のドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のドレスを前記第1のドレスに書き換え、次いでリスト形式で前記第2の情報資源識別子を前記ペイロード部分に含みかつ前記第3のドレスを宛先として前記ヘッダ部分に含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信し、
さらに、前記ゲートウェイ装置が前記第3のドレスを発信元として前記ヘッダ部分に含み前記第1のドレスを宛先として前記ヘッダ部分に含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のドレスを発信元として前記ヘッダ部分に含み前記第4のドレスを宛先として前記ヘッダ部分に含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のドレスを前記第2のドレスに書き換えかつ前記第5のパケット中の前記第1のドレスを前記第4のドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する転送手段を具えることを特徴とする、ゲートウェイ装置。
A gateway device that transmits and receives IP packets having a header portion and a payload portion via the first and second networks as a first device connected to at least first and second networks having different network segments. Because
The gateway apparatus includes a first address for the first network and a second address for the second network,
Sends IP packets representing the search request information resource includes the header portion as the source of the second address via regular the second network, via the second network, the first search means 2 of the containing addresses of available devices information resource identifier represents the available resources of the available devices in the network receives a response IP packet including the payload portion,
Said address of said available devices, storage means for storing in association with each other and the information resource identifier,
Information for receiving a first IP packet representing the third search request information resource includes the header portion as the source from the second device address of the third address through the first network Providing means;
With
When the gateway device receives the first IP packet, the information providing unit, in the address and said in association with the resource identifier third list form the address of the equipment available store, the second first resource identifier including a fourth address of the available on the network 3 and the third represents the available resources of the device of the apparatus from the storage means reading, rewriting the first resource identifier read the the second resource identifier for the first network including the first address, the fourth of the time in the first resource identifier It said header portion a rewritten addresses to the first address, then contain and the third address of the second information resource identifier in a list format in the payload portion as a destination of the A fourth IP packet including via the first network transmits to the second device,
Furthermore, the said gateway device via said third fifth first network an IP packet including the header portion of the first address as the destination includes the header portion as the source of the address of the when receiving from the second device, the second network including the header portion of the fifth and the fourth address comprising the header portion of the IP packet as the source of the second address as the destination sixth rewritten IP packet, where the said fifth said third of said first address rewrite the address in the second address and the first 5 packets in a packet of use rewriting the fourth address, then immediately transferring means for transferring the IP packet of the sixth to the third device having a desired information resources via said second network Characterized Rukoto, gateway device.
ネットワーク・セグメントが互いに異なる第1と第2のネットワークを含む複数のネットワークに接続された第1の装置として、前記第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置用の、IPパケットを転送するためのプログラムであって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のドレスと、前記第2のネットワーク用の第2のドレスとを有し、
前記第1のネットワークを介して第3のドレスの第2の装置から前記第3のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信するステップと、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のドレスを含んだ第1の情報資源識別子を前記ペイロード部分に含む第3のIPパケットを受信するステップと、
前記第3のドレス、前記第4のドレスおよび前記第1の情報資源識別子を互いに対応付けてメモリに格納するステップと、
前記メモリから前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のドレスを前記第1のドレスに書き換え、次いで前記第2の情報資源識別子を前記ペイロード部分に含みかつ前記第3のドレスを宛先として前記ヘッダ部分に含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信するステップと、
前記第3のドレスを発信元として前記ヘッダ部分に含み前記第1のドレスを宛先として前記ヘッダ部分に含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のドレスを発信元として前記ヘッダ部分に含み前記第4のドレスを宛先として前記ヘッダ部分に含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のドレスを前記第2のドレスに書き換えかつ前記第5のパケット中の前記第1のドレスを前記第4のドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送するステップと、
を実行させるよう動作可能なプログラム。
An IP packet having a header portion and a payload portion via the first and second networks as a first device connected to a plurality of networks including first and second networks having different network segments. A program for transferring IP packets for a gateway device for transmitting and receiving ,
The gateway apparatus includes a first address for the first network and a second address for the second network,
Receiving a first IP packet representing the third search request information resource includes the header portion as the source from the second device address of the third address through the first network When,
In response to the first IP packet representing the search request, the second second IP packet through the network representing a search request for information resources including the header portion of the second address as a source sends, the second through the network, the second the fourth of the first information including the address of the third device represents the available resources of the third device on the network Receiving a third IP packet including a resource identifier in the payload portion ;
And storing in the memory in association the third address, the fourth address and the first resource identifier to each other,
Reading said first resource identifier from the memory, rewrites the first resource identifier read the the second resource identifier for the first network including the first address, where the rewriting the fourth address in the first resource identifier to the first address, then the header contain and the third address of the second resource identifier to the payload portion as a destination Transmitting a fourth IP packet included in the portion to the second device via the first network;
Receiving from the second apparatus through the third fifth first network an IP packet including the header portion of the first address as the destination includes the header portion as the source of the address of the when, first 6 IP of for the second network including the header portion of the fifth and the fourth address comprising the header portion of the IP packet as the source of the second address as the destination rewriting the packet, the third rewrite of address to the second address and said in the fifth packets first a the dress fourth address of that time in the fifth packet Rewriting and then transferring the sixth IP packet to the third device having the desired information resource via the second network;
A program that can run to run.
第1と第2のネットワークを含むネットワーク・セグメントが互いに異なる複数のネットワークに接続された第1の装置として、前記第1と第2のネットワークを介してヘッダ部分とペイロード部分とを有するIPパケットを送受信するゲートウェイ装置においてIPパケットを転送する方法であって、
前記ゲートウェイ装置は、前記第1のネットワーク用の第1のドレスと、前記第2のネットワーク用の第2のドレスとを有し、
前記第1のネットワークを介して第3のドレスの第2の装置から前記第3のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第1のIPパケットを受信する工程と、
前記検索要求を表す第1のIPパケットに応答して、前記第2のネットワークを介して前記第2のドレスを発信元として前記ヘッダ部分に含み情報資源の検索要求を表す第2のIPパケットを送信し、前記第2のネットワークを介して、前記第2のネットワーク上の第3の装置の利用可能な情報資源を表し前記第3の装置の第4のドレスを含んだ第1の情報資源識別子を前記ペイロード部分に含む第3のIPパケットを受信する工程と、
前記第3のドレス、前記第4のドレスおよび前記第1の情報資源識別子を互いに対応付けてメモリに格納する工程と、
前記メモリから前記第1の情報資源識別子を読み出し、前記読み出した第1の情報資源識別子を前記第1のドレスを含む前記第1のネットワーク用の第2の情報資源識別子に書き換え、その際前記第1の情報資源識別子中の前記第4のドレスを前記第1のドレスに書き換え、次いで前記第2の情報資源識別子を前記ペイロード部分に含みかつ前記第3のドレスを宛先として前記ヘッダ部分に含む第4のIPパケットを前記第1のネットワークを介して前記第2の装置に送信する工程と、
前記第3のドレスを発信元として前記ヘッダ部分に含み前記第1のドレスを宛先として前記ヘッダ部分に含む第5のIPパケットを前記第1のネットワークを介して前記第2の装置から受信したとき、前記第5のIPパケットを前記第2のドレスを発信元として前記ヘッダ部分に含み前記第4のドレスを宛先として前記ヘッダ部分に含む前記第2のネットワーク用の第6のIPパケットに書き換え、その際前記第5のパケット中の前記第3のドレスを前記第2のドレスに書き換えかつ前記第5のパケット中の前記第1のドレスを前記第4のドレスに書き換え、次いで前記第6のIPパケットを前記第2のネットワークを介して所望の情報資源を有する前記第3の装置に転送する工程と、
を含むことを特徴とする方法。
An IP packet having a header portion and a payload portion via the first and second networks as a first device connected to a plurality of networks having different network segments including the first and second networks A method of transferring an IP packet in a gateway device for transmitting and receiving ,
The gateway apparatus includes a first address for the first network and a second address for the second network,
Receiving a first IP packet representing the third search request information resource includes the header portion as the source from the second device address of the third address through the first network When,
In response to the first IP packet representing the search request, the second second IP packet through the network representing a search request for information resources including the header portion of the second address as a source sends, the second through the network, the second the fourth of the first information including the address of the third device represents the available resources of the third device on the network Receiving a third IP packet including a resource identifier in the payload portion ;
And storing in the memory in association the third address, the fourth address and the first resource identifier to each other,
Reading said first resource identifier from the memory, rewrites the first resource identifier read the the second resource identifier for the first network including the first address, where the rewriting the fourth address in the first resource identifier to the first address, then the header contain and the third address of the second resource identifier to the payload portion as a destination Transmitting a fourth IP packet included in the portion to the second device via the first network;
Receiving from the second apparatus through the third fifth first network an IP packet including the header portion of the first address as the destination includes the header portion as the source of the address of the when, first 6 IP of for the second network including the header portion of the fifth and the fourth address comprising the header portion of the IP packet as the source of the second address as the destination rewriting the packet, the third rewrite of address to the second address and said in the fifth packets first a the dress fourth address of that time in the fifth packet Rewriting, and then transferring the sixth IP packet to the third device having the desired information resource via the second network;
A method comprising the steps of:
JP2004049137A 2004-02-25 2004-02-25 Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet Expired - Fee Related JP4354294B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004049137A JP4354294B2 (en) 2004-02-25 2004-02-25 Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet
US10/862,394 US20050185658A1 (en) 2004-02-25 2004-06-08 Gateway apparatus connected to a plurality of networks forming respective different network segments, and program and method for transferring IP packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004049137A JP4354294B2 (en) 2004-02-25 2004-02-25 Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet

Publications (3)

Publication Number Publication Date
JP2005244408A JP2005244408A (en) 2005-09-08
JP2005244408A5 JP2005244408A5 (en) 2008-06-19
JP4354294B2 true JP4354294B2 (en) 2009-10-28

Family

ID=34858234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004049137A Expired - Fee Related JP4354294B2 (en) 2004-02-25 2004-02-25 Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet

Country Status (2)

Country Link
US (1) US20050185658A1 (en)
JP (1) JP4354294B2 (en)

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050240758A1 (en) * 2004-03-31 2005-10-27 Lord Christopher J Controlling devices on an internal network from an external network
JP4377786B2 (en) * 2004-09-22 2009-12-02 パナソニック株式会社 ELECTRIC DEVICE, SERVER DEVICE, PORTABLE TERMINAL, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
US8261341B2 (en) * 2005-01-27 2012-09-04 Nokia Corporation UPnP VPN gateway configuration service
US8107822B2 (en) * 2005-05-20 2012-01-31 Finisar Corporation Protocols for out-of-band communication
US20080075103A1 (en) * 2005-05-20 2008-03-27 Finisar Corporation Diagnostic device
US20070260728A1 (en) * 2006-05-08 2007-11-08 Finisar Corporation Systems and methods for generating network diagnostic statistics
US7899057B2 (en) 2006-04-28 2011-03-01 Jds Uniphase Corporation Systems for ordering network packets
EP1802038B1 (en) * 2005-12-23 2009-01-07 Sony Deutschland GmbH System and method for improving service and device discovery in a UPnP-based wireless communication network
JP2007208693A (en) * 2006-02-02 2007-08-16 Toshiba Corp Communication device, communication system, communication method, and communication program
US7894842B2 (en) 2006-02-07 2011-02-22 3Jam, Inc. Methods and devices for including a plurality of users in a conversation over a communication network
JP4683223B2 (en) 2006-03-03 2011-05-18 日本電気株式会社 Advertising / search agent
US7725566B2 (en) * 2006-03-27 2010-05-25 Nokia Corporation Framework for enabling service tuning for UPNP remote access
US8213333B2 (en) * 2006-07-12 2012-07-03 Chip Greel Identifying and resolving problems in wireless device configurations
JP2008097297A (en) * 2006-10-11 2008-04-24 Nippon Telegr & Teleph Corp <Ntt> Communication apparatus, communication method and communication program
TW200822633A (en) * 2006-11-03 2008-05-16 Hon Hai Prec Ind Co Ltd Network device and packet forwarding method thereof
US8621092B2 (en) * 2006-12-19 2013-12-31 International Business Machines Corporation Remote portlet consumer with enhanced resource URL processing
US8526821B2 (en) * 2006-12-29 2013-09-03 Finisar Corporation Transceivers for testing networks and adapting to device changes
JP2008252574A (en) * 2007-03-30 2008-10-16 Kddi Corp Communication control system, personal digital assistant, communication controller, communication control method, and computer program
US8005000B1 (en) * 2007-04-06 2011-08-23 Cisco Technology, Inc. Effective measurement/notification of SLA in a service oriented networked environment
KR101113237B1 (en) * 2007-05-30 2012-02-20 삼성전자주식회사 Method and apparatus for providing remote device with service of Universal Plug and Play network
JP4900169B2 (en) * 2007-09-28 2012-03-21 オンキヨー株式会社 Network system, relay device, and relay program
KR101466573B1 (en) * 2008-01-22 2014-12-10 삼성전자주식회사 Communication terminal apparatus and Method for communication using a plurality of network interfaces installed on the communication terminal apparatus
US8117325B1 (en) * 2008-04-29 2012-02-14 Juniper Networks, Inc. Policy-based cross-domain access control for SSL VPN
JP2009277111A (en) * 2008-05-16 2009-11-26 Funai Electric Co Ltd Information processing device
JP4889688B2 (en) * 2008-06-24 2012-03-07 三菱電機株式会社 Network system
US7948887B2 (en) 2008-06-24 2011-05-24 Microsoft Corporation Network bandwidth measurement
US8307093B2 (en) * 2008-06-25 2012-11-06 Microsoft Corporation Remote access between UPnP devices
JP5077965B2 (en) * 2009-08-24 2012-11-21 株式会社コナミデジタルエンタテインメント Computer program for network system and server device thereof
US9258271B1 (en) 2011-01-13 2016-02-09 Google Inc. Network address translation for virtual machines
JP5645685B2 (en) * 2011-01-28 2014-12-24 株式会社日立国際電気 Network system, network device, and network information setting method
CN102413176B (en) * 2011-11-11 2014-01-01 华为技术有限公司 Connection transfer method and equipment
EP2919528B1 (en) * 2012-11-28 2018-01-10 Huawei Technologies Co., Ltd. Mobile network communication method, communication device and communication system
KR102000184B1 (en) * 2012-12-28 2019-07-16 (주)휴맥스 Method and apparatus for providing cloud service, and system having the same
JP2015032915A (en) * 2013-07-31 2015-02-16 株式会社リコー Communication relay device and communication relay method
JP6615045B2 (en) * 2016-05-10 2019-12-04 アルパイン株式会社 COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
JP6953878B2 (en) * 2017-08-08 2021-10-27 コニカミノルタ株式会社 Communication control system, image processing unit, router, communication relay device and program
CN109561321B (en) * 2018-12-10 2021-08-03 深圳Tcl数字技术有限公司 Program searching method and device, television terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7301952B2 (en) * 2000-04-06 2007-11-27 The Distribution Systems Research Institute Terminal-to-terminal communication connection control method using IP transfer network
US6618757B1 (en) * 2000-05-17 2003-09-09 Nortel Networks Limited System and method for dynamic IP address management
KR100729758B1 (en) * 2000-10-02 2007-06-20 삼성전자주식회사 Method for providing service in IP based network system
US7181010B2 (en) * 2002-05-24 2007-02-20 Scientific-Atlanta, Inc. Apparatus for entitling remote client devices
FR2848051B1 (en) * 2002-12-03 2005-02-25 Canon Res Ct France Sa GATEWAY AND METHOD FOR INTERCONNECTING TWO NETWORKS, IN PARTICULAR A HAVI NETWORK AND UPNP NETWORK

Also Published As

Publication number Publication date
JP2005244408A (en) 2005-09-08
US20050185658A1 (en) 2005-08-25

Similar Documents

Publication Publication Date Title
JP4354294B2 (en) Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet
US7840699B2 (en) Name resolution server and packet transfer device
JP4352748B2 (en) Relay device
US7779158B2 (en) Network device
JP4909277B2 (en) Network communication device, network communication method, address management device
WO2005083959A1 (en) Network access router, network access method, program, and recording medium
KR100429902B1 (en) Apparatus and method for controlling devices in private network from public network
US7440466B2 (en) Method, apparatus and system for accessing multiple nodes on a private network
US8943123B2 (en) Server apparatus, network access method, and computer program
JP2008148243A (en) Communication apparatus, communication system, communication method and communication program
JP2003249943A (en) Remote control system, processing side distributed control system thereof and remote control method
JP4013967B2 (en) Name resolution server and packet transfer device
JP2001237879A (en) Terminal, repeater, communication method and recoding medium with recorded communication program
CN102724233A (en) Method for realizing communication with IPv6 process by IPv4 protocol stack in information appliance system
JP5438230B2 (en) Internet connection system
JP4352645B2 (en) Terminal device, relay device, communication method, and recording medium recording the communication program
JP4269343B2 (en) Name resolution server and packet transfer device
JP2015201758A (en) Repeater, communication system, information processing method, and program
JP5110538B2 (en) Network system, network device, network method and program
KR100891713B1 (en) Gateway, method and computer program recording medium for making ip address transparent
JP2006295513A (en) Method for automatically accessing web server-mounting equipment
US20020019861A1 (en) Method of communication used IP address by means of to fix a directory of IP address, even if IP address is not fixed in the network
JP2001230806A (en) Address converter
KR20020034280A (en) A NAT Table Structure for effective searching and management of NAT Table in PC
CN118018513A (en) Multi-service channel DNS query method and device based on port binding

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080428

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090209

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090729

R150 Certificate of patent or registration of utility model

Ref document number: 4354294

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130807

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees