JP2012124758A - Relay device, communication system, communication information transfer method, and communication information transfer program - Google Patents
Relay device, communication system, communication information transfer method, and communication information transfer program Download PDFInfo
- Publication number
- JP2012124758A JP2012124758A JP2010274656A JP2010274656A JP2012124758A JP 2012124758 A JP2012124758 A JP 2012124758A JP 2010274656 A JP2010274656 A JP 2010274656A JP 2010274656 A JP2010274656 A JP 2010274656A JP 2012124758 A JP2012124758 A JP 2012124758A
- Authority
- JP
- Japan
- Prior art keywords
- information
- transfer
- relay
- communication
- external server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、ローカルネットワークによって接続されるセンサデバイスやアクチュエータデバイスなどのデバイス(ローカル・デバイス)と、外部のサーバとの通信を実現させるための中継装置、通信システム、通信情報転送方法および通信情報転送プログラムに関する。 The present invention relates to a relay apparatus, a communication system, a communication information transfer method, and a communication information transfer for realizing communication between a device (local device) such as a sensor device or an actuator device connected by a local network and an external server. Regarding the program.
近年、スマートグリッドやホームネットワークなどの分野において、センサデバイスやアクチュエータデバイスなどの活躍の注目が集まっている。スマートグリッドやホームネットワークにおいては、各ローカルエリア(例えば、オフィス、工場、家庭、自動車など)において刻々と変化する多量の情報(例えば、電力情報、温度情報、振動情報、音情報などの環境情報)を取得するために、センサデバイスや特定の環境情報測定機器を用いる。 In recent years, sensor devices and actuator devices have attracted attention in fields such as smart grids and home networks. In smart grids and home networks, a large amount of information (eg, environmental information such as power information, temperature information, vibration information, and sound information) that changes every moment in each local area (eg, office, factory, home, car, etc.) In order to obtain the information, a sensor device or a specific environmental information measuring device is used.
これら通信機能を備えたセンサデバイスなどから得られた情報は、該デバイスの接続先であるローカルエリアに接続しているサーバなどの情報処理装置において扱われるほか、インターネット網や3G網(または将来的には4G網)などを介して接続される外部のサーバにおいて処理することが想定されている。例えば、各家庭において得られた消費電力情報は、各家庭が備える情報処理装置によって保存や処理されるほか、電力供給を行う会社(発電会社、送電会社、配電会社)などに配備されているサーバに送信され、サーバ内のアプリケーションによって処理されることが考えられている。 Information obtained from such sensor devices having a communication function is handled by an information processing apparatus such as a server connected to a local area to which the device is connected, as well as an Internet network or a 3G network (or a future network). It is assumed that processing is performed in an external server connected via a 4G network. For example, the power consumption information obtained in each home is stored and processed by an information processing device provided in each home, and is a server deployed in a company (power generation company, power transmission company, power distribution company) that supplies power And is processed by an application in the server.
また、各ローカルエリアに設置されたアクチュエータ(環境を変化させる動作を行う機器)も同様に、各ローカルエリアに接続されたサーバにおいて動作制御されるほか、インターネット網などを介して接続される外部のサーバーから制御されることもありうる。 Similarly, the actuators installed in each local area (devices that change the environment) are also controlled in the servers connected to each local area, as well as externally connected via the Internet network. It can also be controlled from the server.
ローカルエリア内のセンサデバイスなどが取得する情報をインターネット網などを介して外部のサーバが入手したり、ローカルエリア内のアクチュエータをインターネット網越しのサーバから制御するにあたり、そのセンサデバイスやアクチュエータデバイスと外部のサーバ間の通信が問題となる。センサデバイスやアクチュエータデバイスには様々な形態が存在するが、これらのデバイスの配置において、通信配線が不必要となる利点上、無線通信モジュールを利用する形態が多く存在する。 When an external server obtains information acquired by a sensor device in the local area via the Internet network or controls an actuator in the local area from a server over the Internet network, the sensor device or actuator device and the external device Communication between servers is a problem. There are various forms of sensor devices and actuator devices. However, in the arrangement of these devices, there are many forms using wireless communication modules because of the advantage that communication wiring is unnecessary.
例えば、これらのデバイスの無線通信には、ZigbeeやZ−waveなどの通信プロトコルが用いられてきた。ZigbeeまたはZ−waveは、センサデバイスやアクチュエータデバイスをターゲットにして規格されたプロトコルである。また、プロトコルスタックの簡易性や消費電力の省エネ化などの観点より、現状、インターネットを実現するプロトコルとして公知のTCP/IPのスタックを採用せず、独自のプロトコルスタックを用いている。このため、ZigbeeやZ−wave通信プロトコルを実装したデバイスは、TCP/IPのスタックを採用する多くのサーバと直接に通信することができない。また、インターネット網もTCP/IPによって構築されているため、ZigbeeやZ−waveを実装したデバイスの通信をサポートすることができない。したがって、センサデバイスやアクチュエータデバイスとインターネット網越しの外部サーバとは直接通信を行うことができない。 For example, communication protocols such as Zigbee and Z-wave have been used for wireless communication of these devices. Zigbee or Z-wave is a standardized protocol targeting sensor devices and actuator devices. Also, from the viewpoint of simplicity of the protocol stack and energy saving of the power consumption, a unique protocol stack is used instead of adopting a publicly known TCP / IP stack as a protocol for realizing the Internet. For this reason, a device equipped with Zigbee or Z-wave communication protocol cannot directly communicate with many servers adopting a TCP / IP stack. Further, since the Internet network is also constructed by TCP / IP, it is not possible to support communication of a device equipped with Zigbee or Z-wave. Accordingly, the sensor device or actuator device cannot communicate directly with the external server over the Internet network.
センサデバイスやアクチュエータデバイスといったTCP/IP以外の通信プロトコルを実装した通信デバイスと、インターネット網等を介した外部サーバとの通信を実現する方法として、xGWといった中継装置を間に設けて、これにより通信を中継処理する方法がある。ローカルエリアに設置されるxGWは、ZigbeeやZ−waveなど通信デバイスが実装している通信プロトコルをサポートするとともに、TCP/IPスタックを実装した装置である。また、xGWの実施形態としては、ルータ(特にBBR:Broad Band Router )や、サーバ装置などがある。xGWは、センサデバイスからの情報を入手し、入手した情報をTCP/IPの通信方法によって外部のサーバに送信する。また、外部サーバからのアクチュエータ制御通信を受けると、そのアクチュエータデバイスが実装しているプロトコル(ZigbeeやZ−waveなど)を使って制御先であるアクチュエータに制御情報を送信する。 As a method of realizing communication between a communication device such as a sensor device or an actuator device that implements a communication protocol other than TCP / IP and an external server via the Internet network or the like, a relay device such as xGW is provided between them to communicate There is a method of relaying. The xGW installed in the local area is a device that supports a communication protocol implemented by a communication device such as Zigbee or Z-wave and that is equipped with a TCP / IP stack. In addition, as an embodiment of xGW, there are a router (particularly BBR: Broad Band Router), a server device, and the like. The xGW obtains information from the sensor device and transmits the obtained information to an external server by a TCP / IP communication method. When receiving an actuator control communication from an external server, the control information is transmitted to the control target actuator using a protocol (Zigbee, Z-wave, etc.) implemented by the actuator device.
xGWでは、デバイスからの通信情報(センサ情報などに加え、デバイスのMACアドレスや固有の識別コードなどが含まれる)を入手すると、通信情報のヘッダ解析、ペイロード解析などの中継処理を行う。そして、中継処理した通信情報(パケットヘッダ、ペイロードなどの情報)を外部サーバが処理できるメッセージフォーマットに変換した上で、外部サーバに向けてそのメッセージを外部ネットワーク上に送信する。なお、外部サーバからデバイスへの通信は、上述と逆の順序で中継処理が行われ、デイバスが処理できるメッセージフォーマットに変換された上で、そのデバイスに向けてローカルネットワーク上に送信されることによって行われる。 When xGW obtains communication information from a device (including sensor information and the like, the MAC address of the device and a unique identification code), relay processing such as header analysis and payload analysis of the communication information is performed. Then, the communication information (packet header, payload information, etc.) subjected to the relay processing is converted into a message format that can be processed by the external server, and then the message is transmitted to the external server on the external network. The communication from the external server to the device is performed in the reverse order as described above, converted to a message format that can be processed by the device, and then sent to the device on the local network. Done.
このように、xGWがローカルネットワークによって接続されるデバイス(以下、ローカル・デバイスという。)と、インターネット網等の外部ネットワーク越しの外部サーバとの通信を中継処理することで、ローカル・デバイスと外部サーバとの通信が実現される。 As described above, the local device and the external server are relayed by relaying communication between the device connected to the xGW by the local network (hereinafter referred to as a local device) and the external server over the external network such as the Internet network. Communication with is realized.
ローカル・デバイスと外部サーバとの通信を実現させるxGWでは、ローカル・デバイスとの間でアプリケーション通信をサポートする必要があるとともに、外部サーバとの間でアプリケーション通信をサポートする必要がある。すなわち、xGWは、ZigbeeやZ−waveなどの通信プロトコルにおけるアプリケーション処理を行うことでセンサデバイスからの情報、またはアクチュエータデバイスへの情報を扱うことができる。一方、外部サーバとは、外部サーバが扱うTCP/IP上のアプリケーション通信において、センサやアクチュエータに関する情報をやり取りしなければならない。 In the xGW that realizes communication between a local device and an external server, it is necessary to support application communication with the local device and support application communication with the external server. That is, xGW can handle information from a sensor device or information to an actuator device by performing application processing in a communication protocol such as Zigbee or Z-wave. On the other hand, information regarding sensors and actuators must be exchanged with an external server in application communication on TCP / IP handled by the external server.
外部サーバはそれぞれ独自のアプリケーション通信を扱うことが考えられる。このため、多くの外部サーバとローカル・デバイスとの通信をサポートするには、xGWは、特に、外部サーバとの間のアプリケーション通信の多様性をサポートする必要性がある。 Each external server can handle its own application communication. Thus, in order to support communication between many external servers and local devices, the xGW particularly needs to support a variety of application communications with external servers.
ところで、xGWによって実現されるローカル・デバイスと外部サーバとの通信において、ローカル・デバイスが他のローカルネットワークに移動すると、xGWの中継処理が正常に動作しない問題が生じる可能性がある。 By the way, in communication between a local device realized by xGW and an external server, if the local device moves to another local network, there may be a problem that xGW relay processing does not operate normally.
上述したように、ローカル・デバイスは、外部サーバと通信を行うためには、xGWなどの中継装置を必要とする。このようなローカル・デバイスがネットワークを移動する場合、移動先のローカルエリアに設置されているxGWによる中継処理が動作することによってはじめて外部サーバとの通信が実現される。しかし、移動先のローカルエリアに設置されているxGWは、移動してきたこれらのデバイスと外部サーバとの通信の中継処理を行わない、または行えない可能性がある。 As described above, the local device requires a relay device such as xGW in order to communicate with the external server. When such a local device moves on a network, communication with an external server is realized only when relay processing by the xGW installed in the destination local area operates. However, the xGW installed in the destination local area may or may not perform relay processing for communication between these devices that have moved and the external server.
xGWが中継処理を行わない理由として、以下のようなxGWの運用ポリシーが考えられる。
・すべての移動デバイスと外部サーバとの通信を中継しない。
・特定の移動デバイスと外部サーバとの通信を中継しない。
・特定の外部サーバの通信アプリケーションを必要とする移動デバイスと外部サーバとの通信を中継しない。
The following xGW operation policy can be considered as the reason why the xGW does not perform relay processing.
-Do not relay communication between all mobile devices and external servers.
-Do not relay communication between specific mobile devices and external servers.
-Do not relay communication between a mobile device that requires a specific external server communication application and the external server.
また、xGWが中継処理を行えない理由としては、xGWの仕様(以下、スペックという。)の問題に加え、同様に以下のようなxGWの運用ポリシーが考えられる。
・運用上サポートしていない外部サーバの通信アプリケーションを必要とする移動デバイスであるため、外部サーバとの通信を中継できない。
・スペック上サポートできない外部サーバの通信アプリケーションを必要とする移動デバイスであるため、外部サーバとの通信を中継できない。
In addition to the problem of the xGW specification (hereinafter referred to as the “spec”), the reason why the xGW cannot perform the relay processing is considered to be the following xGW operation policy.
-Since it is a mobile device that requires a communication application of an external server that is not supported in operation, communication with the external server cannot be relayed.
-Since it is a mobile device that requires a communication application of an external server that cannot be supported due to specifications, communication with the external server cannot be relayed.
また、xGWから外部サーバまでの通信経路に通信障害が生じた場合にもxGWは中継処理を行えない。 In addition, even when a communication failure occurs in the communication path from the xGW to the external server, the xGW cannot perform the relay process.
このように、通常の中継処理を行うxGWでは、移動してきたローカル・デバイスと外部サーバとの通信の中継処理を行わない、あるいは行えない可能性があるため、ローカル・デバイスは、自身が動作するエリアを移動した際に、外部サーバとの通信が行えない可能性がある。 As described above, in the xGW that performs normal relay processing, the local device does not operate or may not perform relay processing for communication between the local device that has moved and the external server. When moving an area, there is a possibility that communication with an external server cannot be performed.
通信端末の移動に関する技術としては、例えば、非特許文献1や非特許文献2に示すMIP(Mobile IP )が広く知られている。しかし、MIPは、IPデバイスの移動サポートを対象としており、センサデバイスやアクチュエータデバイスなど非IPデバイスの移動サポートまでは考慮されていない。特に、上記のようなxGWによりアプリケーションレベルでの通信の中継処理を必要とするネットワーク通信上におけるデバイスの移動サポートはできない。
For example, MIP (Mobile IP) shown in Non-Patent
特許文献1には、Zigbeeネットワークのようなパーソナル・エリア・ネットワーク(PAN)と、インターネット・プロトコル(IP)・ネットワークとの間の通信を可能にするためのメッセージ送信方法が記載されている。特許文献1に記載されているメッセージ送信方法では、PAN内のPANクライアントに対して、IPインタフェース上のポートを割り当てるとともに、ポートと関係付けるためのルーティングテーブルをメモリに格納し、そのルーティングテーブルに基づいてPANクライアントとIPネットワークとの間でメッセージを運ぶ。例えば、IPネットワークにおいて発せられたメッセージを、どのポートでメッセージが受け取られたかに基づいて、PAN内の対応するクライアントに運ぶ。
また、特許文献1に記載されているメッセージ送信方法では、IPスタック上にZigbeeスタックを実装して、IPネットワーク上でZigbeeメッセージをカプセル化して送信することによって、IPネットワーク上でZigbeeプロトコルによるZigbeeクライアントへの通信を可能にしている。
Also, in the message transmission method described in
しかし、特許文献1に記載されている方法は、予め自身が管理しているPAN内のローカル・デバイスと外部サーバとの間の通信を行うことは可能であっても、ローカル・デバイスが移動した際に、移動先のネットワークにおいても引き続き外部サーバとの間の通信を行うことについては何ら考慮されていない。例えば、どのような中継装置にカプセル化したパケットを転送するかについては、何ら開示されていない。
However, although the method described in
上述したように、xGWなどの中継装置が通信の中継処理、特にアプリケーションレベルでの中継処理を行うことによってローカル・デバイスとインターネット網越しの外部サーバとの通信を実現するネットワークにおいて、ローカル・デバイスが別のローカルネットワークに移動した際に、移動先のローカルネットワークでの中継処理を行うxGWが、そのxGWの運用ポリシー上の問題やスペック上の問題などにより、移動してきたデバイスと外部サーバとの通信の中継処理を行えないまたは行わない場合は、移動したローカル・デバイスと外部サーバとの通信が不可能になる。 As described above, in a network that realizes communication between a local device and an external server over the Internet network by a relay device such as xGW performing communication relay processing, particularly application level relay processing, When moving to another local network, the xGW that performs relay processing in the destination local network communicates with the device that has moved to the external server due to problems with the operation policy or specifications of the xGW. If the relay process cannot be performed or is not performed, communication between the moved local device and the external server becomes impossible.
そこで、本発明は、中継装置によってローカル・デバイスとインターネット等の外部ネットワーク上の外部サーバとの通信を実現するネットワークにおいて、ローカル・デバイスが別のローカルネットワークに移動した場合にも、移動先のローカルネットワークにおいて外部サーバとの通信を行うことを可能にする中継装置、通信システム、通信情報転送方法および通信情報転送プログラムを提供することを目的とする。 Therefore, the present invention provides a network that realizes communication between a local device and an external server on an external network such as the Internet by a relay device, and even when the local device moves to another local network, the destination local It is an object to provide a relay device, a communication system, a communication information transfer method, and a communication information transfer program that enable communication with an external server in a network.
本発明による中継装置は、ローカルネットワーク上のデバイスであるローカル・デバイスと、外部ネットワーク上のサーバである外部サーバとの通信を実現させるための中継装置であって、ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する転送判断手段と、転送判断手段により他の中継装置に転送する旨が決定されると、受信した情報に対して転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、他の中継装置に転送する通信情報転送手段とを備えたことを特徴とする。 A relay device according to the present invention is a relay device for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network, and communicates with the device on the local network. Received when a device connection interface that is a communication interface for communication, an external connection interface that is a communication interface for communication with a device on an external network, and information destined for an external server from a local device under its control Transfer determination means for determining whether or not to transfer the information to another relay apparatus on an external network capable of relaying the information, and the transfer determination means determines to transfer to the other relay apparatus The received information is being converted into a form that can be processed by another forwarding device at the transfer destination. In terms of processing conducted, characterized in that a communication information transfer means for transferring to another relay device.
また、本発明による通信システムは、ローカルネットワーク上のデバイスであるローカル・デバイスと、外部ネットワーク上のサーバである外部サーバとの通信を実現させるための通信システムであって、第1の中継装置と、第2の中継装置とを備え、第1の中継装置は、ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する転送判断手段と、少なくとも転送判断手段により他の中継装置に転送する旨が決定されると、受信した情報に対して、転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、他の中継装置に転送する上り通信情報転送手段と、他の中継装置より転送された情報を受信する転送情報受信手段と、転送情報受信手段によって他の中継装置より転送された外部サーバから当該中継装置の配下のローカル・デバイス宛ての情報を受信した場合に、受信した情報に対して最終宛先であるローカル・デバイスに対応した所定の中継処理を行った上で、ローカル・デバイスに送信するデバイス側中継処理手段とを含み、第2の中継装置は、外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、他の中継装置より転送された情報を受信する転送情報受信手段と、転送情報受信手段によって他の中継装置の配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報に対して最終宛先である外部サーバに対応した所定の中継処理を行った上で、該外部サーバに送信する外部サーバ側中継処理手段と、少なくとも外部サーバから配下のローカル・デバイス宛て以外の情報を受信した場合に、最終宛先のローカル・デバイスが接続している他の中継装置を転送先にして、受信した情報に対して送信元である外部サーバに対応した所定の中継処理であって転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、他の中継装置に転送する下り通信情報転送手段とを含むことを特徴とする。 A communication system according to the present invention is a communication system for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network, the first relay device and And a second relay device, wherein the first relay device is a device connection interface that is a communication interface for communicating with a device on the local network, and a communication interface for communicating with a device on the external network. Whether to forward the received information to another relay device on the external network that can relay the information when receiving the information addressed to the external server from the external connection interface and the local device under control Transfer determination means for determining the transfer, and at least the transfer determination means for transfer to another relay device Is determined, the received information is subjected to relay processing for conversion into a form that can be processed by the other relay device of the transfer destination, and then forward communication information transfer means for transferring to the other relay device; When the transfer information receiving means for receiving information transferred from another relay apparatus and the information addressed to the local device under the relay apparatus are received from the external server transferred from the other relay apparatus by the transfer information receiving means. And a device-side relay processing means for transmitting the received information to the local device after performing a predetermined relay processing corresponding to the local device that is the final destination. An external connection interface that is a communication interface for communicating with a device on an external network, transfer information receiving means for receiving information transferred from another relay device, and transfer When information destined for an external server is received from a local device under the control of another relay device by the information receiving means, a predetermined relay process corresponding to the external server that is the final destination is performed on the received information. The external server side relay processing means for transmitting to the external server, and at least another relay device to which the local device of the final destination is connected when receiving information other than that addressed to the subordinate local device from the external server. After performing a predetermined relay process corresponding to the external server that is the transmission source for the received information as the transfer destination and converting the received information into a form that can be processed by another relay apparatus of the transfer destination, And downlink communication information transfer means for transferring to another relay device.
また、本発明による通信情報転送方法は、ローカルネットワーク上のデバイスであるローカル・デバイスと、外部ネットワーク上のサーバである外部サーバとの通信を実現させるための通信情報転送方法であって、ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースとを備えた中継装置が、配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断し、他の中継装置に転送する旨が決定されると、受信した情報に対して、転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、他の中継装置に転送することを特徴とする。 A communication information transfer method according to the present invention is a communication information transfer method for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network, A relay device having a device connection interface that is a communication interface for communicating with an upper device and an external connection interface that is a communication interface for communicating with a device on an external network is transmitted from a subordinate local device. When information addressed to an external server is received, it is determined whether or not the received information is to be transferred to another relay device on an external network capable of relaying the information, and transferred to the other relay device. Once determined, the received information is converted into a form that can be processed by another forwarding device at the transfer destination. After performing relay processing for, characterized by transferring to another relay device.
また、本発明による通信情報転送プログラムは、ローカルネットワーク上のデバイスであるローカル・デバイスと、外部ネットワーク上のサーバである外部サーバとの通信を実現させるための通信情報転送プログラムであって、ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースとを備えた中継装置のコンピュータに、配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する処理、および他の中継装置に転送する旨が決定されると、受信した情報に対して転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、他の中継装置に転送する処理を実行させることを特徴とする。 A communication information transfer program according to the present invention is a communication information transfer program for realizing communication between a local device which is a device on a local network and an external server which is a server on an external network. A relay device computer having a device connection interface that is a communication interface for communicating with an upper device and an external connection interface that is a communication interface for communicating with a device on an external network is connected to a subordinate local computer. When receiving information destined for an external server from the device, a process for determining whether to forward the received information to another relay device on the external network capable of relaying the information, and to another relay device When it is decided to transfer, the received information is transferred. On to which the other relay device has performed the relay process of converting a processable form, characterized in that to execute the process of transferring to another relay device.
本発明によれば、中継装置によってローカル・デバイスとインターネット等の外部ネットワーク上の外部サーバとの通信を実現するネットワークにおいて、ローカル・デバイスが別のローカルネットワークに移動した場合にも、移動先のローカルネットワークにおいて外部サーバとの通信を行うことができる。 According to the present invention, even when a local device moves to another local network in a network that realizes communication between the local device and an external server on an external network such as the Internet by a relay device, the destination local Communication with an external server can be performed in the network.
以下、本発明の実施形態を図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施形態1.
図1は、本発明の第1の実施形態におけるネットワークの概観を示す説明図である。図1では、本実施形態におけるネットワーク構成として、センサデバイスやアクチュエータデバイスなどのローカル・デバイス52(以下、単にデバイス52という。)の移動元のネットワークであるローカルネットワーク41と、移動先のネットワークであるローカルネットワーク42と、外部のネットワークであるインターネット1とが示されている。
FIG. 1 is an explanatory diagram showing an overview of a network in the first embodiment of the present invention. In FIG. 1, as a network configuration in the present embodiment, a
ここで、デバイス52がネットワークを移動する前は、ローカルネットワーク41に接続されていたとする。すなわち、デバイス52とデバイス移動サポート受入装置3とはそれぞれローカルネットワーク41を介して通信可能に接続されていたとする。なお、図1では、デバイス移動サポート受入装置3は、ローカルネットワーク41内に配備されたローカル・デバイスと外部のサーバとの間の通信を中継するための中継装置として示しているが、デバイス移動サポート受入装置3は、デバイス52と外部サーバ51の通信の中継処理を行うことができる装置であれば、このような条件に限定されない。例えば、公共施設にある公のxGWといった中継装置であってもよい。
Here, it is assumed that the
また、インターネット1には、外部サーバ51と、デバイス移動サポート受入装置3と、デバイス移動サポート転送装置2と、アドレス管理サーバ53とがそれぞれ接続されている。なお、デバイス移動サポート転送装置2は、ローカル・デバイスと外部のサーバとの間の通信を中継するための中継装置である。なお、ローカルネットワーク41、42は、有線であっても無線であってもよい。また、外部ネットワークもインターネット1に限られず、有線であっても無線であってもよい。
In addition, an
本実施形態では、移動先のローカルネットワーク42における中継装置である移動サポート転送装置2が、移動してきたデバイス52と外部サーバ51との通信の中継処理を行えないまたは行わないと判断した場合に、該デバイス52と外部サーバ51の通信の中継処理を行うことができるデバイス移動サポート受入装置3に対して通信を転送し、デバイス移動サポート受入装置3が、そのようなデバイス移動サポート転送装置2からの通信の転送を受けて、移動していったデバイス52と外部サーバ51との通信の中継処理(特に、外部サーバ側の中継処理)を代わりに行うことによって、移動先のローカルネットワークにおいてもローカル・デバイスと外部のサーバとの通信を可能にする。
In the present embodiment, when it is determined that the mobile
より簡単には、本実施形態は、デバイス移動サポート転送装置2が、移動デバイス52と外部サーバ51の通信の中継処理を行わないまたは行えないと判断した場合に、移動デバイス52と外部サーバ51の通信の中継処理を行うことができるデバイス移動サポート受入装置3に対して、通信を転送することを特徴とするものである。
More simply, in this embodiment, when the device movement
デバイス移動サポート転送装置2は、移動してきたデバイス52からの情報を入手した際、デバイス移動サポート受入装置3に通信を転送するか否かを判断し、転送するとした場合に転送処理を行う。
When the device movement
図2は、デバイス移動サポート転送装置2の構成例を示すブロック図である。なお、図2において矢印線の方向は、本発明における特徴を説明するための各構成要素間の詳細な制御や参照、情報の流れを示している。図2に示すように、本実施形態のデバイス移動サポート転送装置2は、外部サーバアプリ処理部21と、デバイスアプリ処理部22と、外部接続インターフェース23と、デバイス接続インターフェース24と、通信転送判断部25と、転送先アドレス解決部26と、通信転送処理部27とを備えている。
FIG. 2 is a block diagram illustrating a configuration example of the device movement
外部接続インターフェース23は、当該デバイス移動サポート転送装置2と外部ネットワーク1上の他の装置(本例では、デバイス移動サポート受入装置3、外部サーバ51、アドレス管理サーバ53など)との通信インタフェースを提供する。
The
デバイス接続インターフェース24は、当該デバイス移動サポート転送装置2が外部ネットワークとの中継処理を行う対象であるローカルネットワーク42上のローカル・デバイス(本例では、デバイス52)との通信インタフェースを提供する。
The
外部サーバアプリ処理部21は、基本的には、外部サーバ51からデバイス52への通信情報およびデバイス52から外部サーバ51への通信情報に対して接続先の外部サーバに対応したアプリケーションレベルでの中継処理を行う。本実施形態では、外部サーバアプリ処理部21は、外部接続インターフェース23を介して外部サーバ51からデバイス52への通信情報を受信した場合には、受信した通信情報を次の処理機能であるデバイスアプリ処理部22が扱える(処理可能な)形式に変換して、デバイスアプリ処理部22に渡す。また、外部サーバアプリ処理部21は、通信転送判断部25が受け取った外部サーバ51への通信情報について当該デバイス移動サポート転送装置2が直接外部サーバ51に送信すると判断した場合には、該通信情報に対してパケットヘッダフォーマットやペイロードフォーマットの変換などの中継処理を行って当該通信情報を最終宛先である外部サーバ51が処理可能かつ該外部サーバ51に転送可能な形式に変換し、外部接続インターフェース23を介して外部サーバ51に送信する。
The external server
なお、本実施形態では、通信を実現するにあたり必要とするあらゆる情報を総称して「通信情報」という表現を用いている。通信情報には、実際にアプリケーションが必要とするデータ(例えば、センサデバイスからのセンサ情報やアクチュエータデバイスへの制御情報)だけでなく、それらデータを通信するためのパケットのヘッダ情報(MACアドレス、ネットワークアドレス、固有の識別コード、その他様々な制御情報)や、データ通信を確立するまでに必要とする制御メッセージなどに含まれる情報や、初期化時に取得されるような情報を含んでいてもよい。 In this embodiment, the expression “communication information” is used generically for all pieces of information necessary for realizing communication. The communication information includes not only data actually required by the application (for example, sensor information from the sensor device and control information to the actuator device), but also packet header information (MAC address, network) for communicating those data. Address, unique identification code, and other various control information), information included in a control message necessary for establishing data communication, and information that can be acquired at the time of initialization may be included.
デバイスアプリ処理部22は、基本的には、デバイス52から外部サーバ51への通信情報および外部サーバ51からデバイス52への通信情報に対して接続先のローカル・デバイスに対応したアプリケーションレベルでの中継処理を行う。本実施形態では、デバイスアプリ処理部22は、デバイス接続インターフェース24を介してデバイス52から外部サーバ51への通信情報を受信した場合には、受信した通信情報を一旦通信転送判断部25に渡す。なお、その後通信転送判断部25により当該デバイス移動サポート転送装置2が直接外部サーバ51に送信すると決定された場合には、受信した通信情報を次の処理機能である外部サーバアプリ処理部21が扱える形式に変換して外部サーバアプリ処理部21に渡す。また、デバイスアプリ処理部22は、外部サーバアプリ処理部21または情報転送処理部27からデバイス52への通信情報を受け取ると、受け取った通信情報に対して、パケットヘッダフォーマット、ペイロードフォーマットの変換などの中継処理を行って当該通信情報を最終宛先であるデバイス52が処理可能かつ該デバイス52に転送可能な形式に変換して、デバイス接続インターフェース24を介してデバイス52に送信する。
The device
通信転送判断部25は、デバイスアプリ処理部22から外部サーバ51への通信情報を受け取ると、該通信情報について、デバイス移動サポート受入装置3に転送することで外部サーバ51に中継してもらうか、または当該デバイス移動サポート転送装置2から直接に外部サーバ51に送信するかを判断する。なお、デバイス移動サポート受入装置3に転送する場合には、外部サーバ51に対応した中継処理はデバイス移動サポート受入装置3が行う。
When the communication
通信転送判断部25は、当該デバイス移動サポート転送装置2のスペックや運用ポリシーに基づいて、受信した外部サーバ51への通信情報を、デバイス移動サポート受入装置3によって転送するか直接送信するかを決定する。なお、スペックは、例えば、CPU処理能力、メモリ容量、その他デバイス移動サポート転送装置2を構成するチップセットの能力、ローカル・デバイスと外部サーバとの通信処理に関するソフトウェア機能の能力(ソフトウェア名、バージョン)などである。以下に、判断基準の一例を示す。なお、下記の判断基準は、全てを備えてもよいし、一部だけを備えてもよい。また、判断基準は容易に拡張可能である。
The communication
・(判断基準1−1)すべての移動デバイスと外部サーバとの通信をデバイス移動サポート受入装置3に転送する。
・(判断基準1−2)特定の移動デバイスと外部サーバとの通信をデバイス移動サポート受入装置3に転送する。
・(判断基準1−3)特定の外部サーバの通信アプリケーションを必要とする移動デバイスと外部サーバとの通信をデバイス移動サポート受入装置3に転送する。
・(判断基準1−4)運用上サポートしていない外部サーバの通信アプリケーションを必要とする移動デバイスであるため、それらの移動デバイスと外部サーバとの通信をデバイス移動サポート受入装置3に転送する。
・(判断基準1−5)スペック上サポートできない外部サーバの通信アプリケーションを必要とする移動デバイスであるため、それらの移動デバイスと外部サーバとの通信をデバイス移動サポート受入装置3に転送する。
・(判断基準1−6)なんらかの障害により外部サーバと通信ができないため、その外部サーバと移動デバイスとの通信をデバイス移動サポート受入装置3に転送する。
(Criteria 1-1) Transfer communication between all mobile devices and the external server to the device movement
(Criteria 1-2) Transfer the communication between the specific mobile device and the external server to the device movement
(Judgment Criteria 1-3) Transfer the communication between a mobile device that requires a communication application of a specific external server and the external server to the device movement
(Judgment criteria 1-4) Since the mobile device requires a communication application of an external server that is not supported in operation, the communication between the mobile device and the external server is transferred to the device movement
(Judgment Criteria 1-5) Since the mobile device requires a communication application of an external server that cannot be supported due to specifications, the communication between the mobile device and the external server is transferred to the device movement
(Criteria 1-6) Since communication with the external server cannot be performed due to some failure, the communication between the external server and the mobile device is transferred to the device movement
通信転送判断部25は、受信した外部サーバ51への通信情報をデバイス移動サポート受入装置3に転送すると決定した場合、転送先であるデバイス移動サポート受入装置3のネットワークアドレスを解決するために、受け取った通信情報を転送先アドレス解決部26に渡し、その後解決されたネットワークアドレスとともに通信転送処理部27に渡す。一方、当該デバイス移動サポート転送装置2から直接に外部サーバ51に送信すると決定した場合、受け取った通信情報を外部サーバアプリ処理部21に渡す。
If the communication
転送先アドレス解決部26は、通信転送判断部25よりデバイス移動サポート受入装置3のネットワークアドレス解決を依頼された場合に、受け取った通信情報に含まれているローカル・デバイス(送信元)のMACアドレスやデバイス特有の識別コード(アドレス)などに基づいて、転送先であるデバイス移動サポート受入装置3のネットワークアドレスを解決する。具体的には、外部接続インターフェース23を介して、デバイス移動サポート受入装置3のネットワークアドレスをアドレス管理サーバ53に問い合わせる。その結果、アドレス管理サーバ53からの応答を外部接続インターフェース23を介して受け取り、受け取った応答により解決した転送先デバイス移動サポート受入装置3のネットワークアドレスを通信転送判断部25に渡す。
The transfer destination
通信転送処理部27は、通信転送判断部25より受け取った外部サーバ51への通信情報をデバイス移動サポート受入装置3に転送可能にするための中継処理(パケットヘッダフォーマット、ペイロードフォーマットの変換など)を行う。そして、通信転送処理部27は、変換した通信情報を、外部接続インターフェース23を介してデバイス移動サポート受入装置3に転送する。また、通信転送処理部27は、外部接続インターフェース23を介してデバイス移動サポート受入装置3から転送されてきた通信情報(外部サーバ51から送信され、デバイス移動サポート受入装置3が転送したデバイス52への通信情報)を外部サーバアプリ処理部21に代わって受信し、受信した通信情報を次の処理機能であるデバイスアプリ処理部22に渡す。このとき、通信転送処理部27は、転送元であるデバイス移動サポート受入装置3に対応したアプリケーションレベルでの中継処理を行ってもよい。
The communication
また、デバイス移動サポート受入装置3は、デバイス移動サポート転送装置2から通信情報を受信した際、受け入れ可能か否かを判断し受け入れると判断した場合に、外部サーバへの通信情報の中継処理を行う。
Further, when receiving the communication information from the device movement
図3は、デバイス移動サポート受入装置3の構成例を示すブロック図である。なお、図3において矢印線の方向は、本発明における特徴を説明するための各構成要素間の詳細な制御や参照、情報の流れを示している。図3に示すように、本実施形態のデバイス移動サポート受入装置3は、外部サーバアプリ処理部31と、通信転送処理部32と、転送受入判断部33と、外部接続インターフェース34とを備えている。
FIG. 3 is a block diagram illustrating a configuration example of the device movement
外部接続インターフェース34は、当該デバイス移動サポート受入装置3と外部ネットワーク1上の他の装置(本例では、デバイス移動サポート転送装置2、外部サーバ51、アドレス管理サーバ53など)との通信インタフェースを提供する。
The
外部サーバアプリ処理部31は、基本的には、外部サーバ51からデバイス52への通信情報およびデバイス52から外部サーバ51への通信情報に対して接続先の外部サーバに対応したアプリケーションレベルでの中継処理を行う。本実施形態では、外部サーバアプリ処理部31は、通信転送処理部32から通信情報の外部サーバ51への送信を指示された場合に、その通信情報(デバイス移動サポート転送装置2によって転送されたローカルネットワーク42配下のデバイス52から外部サーバ51への通信情報)を最終宛先である外部サーバ51が処理可能かつ該外部サーバ51に転送可能な形式に変換する中継処理を行い、外部接続インターフェース23を介して外部サーバ51に送信する。
The external server
また、外部サーバアプリ処理部31は、外部接続インターフェース23を介して外部サーバ51からデバイス52への通信情報を受信した場合には、受信した通信情報に対して次の処理機能(ここでは、転送先であるデバイス移動サポート転送装置2の通信転送処理部27やデバイスアプリ処理部22)が扱える形式に変換する中継処理を行い、中継処理後の通信情報を該デバイス移動サポート転送装置2に転送するために通信転送処理部32に渡す。
When the external server
通信転送処理部32は、外部接続インターフェース34を介してデバイス移動サポート転送装置2によって転送された通信情報(配下のローカル・ネットワークから移動していったローカル・デバイスより送信され、デバイス移動サポート転送装置2によって転送された外部サーバ51への通信情報)を受信した場合、受信した通信情報を転送受入判断部33に渡して、転送受け入れ可能か否かを転送受入判断部33に問い合わせる。また、通信転送処理部32は、転送受入判断部33より受け入れ許可の旨の応答を受け取った場合、受信した通信情報を外部サーバアプリ処理部31に渡す。その際、その通信情報の外部サーバへの送信を指示する。
The communication
転送受入判断部33は、通信転送処理部32から受け取った通信情報を元に、転送されてきた通信情報を受け入れるか否かを判断する。判断基準としては、本デバイス移動サポート受入装置3のスペックや運用ポリシーに従い、例えば下記のようなものが考えられる。下記の判断基準は、全てを備えてもよいし、一部だけを備えてもよい。また、判断基準は容易に拡張可能である。
The transfer acceptance determination unit 33 determines whether to accept the transferred communication information based on the communication information received from the communication
・(判断基準2−1)すべての転送されてきた通信情報を受け入れるまたは拒否する。
・(判断基準2−2)任意に指定した特定の移動デバイスからの通信情報であれば受け入れるまたは拒否する。
・(判断基準2−3)任意に指定した特定の外部サーバの通信アプリケーション向けの通信情報であれば受け入れるまたは拒否する。
・(判断基準2−4)スペック上サポートできない外部サーバの通信アプリケーション向けの通信情報であれば拒否する。
・(判断基準2−5)障害の理由により転送されてきた通信情報を受け入れる。
(Criteria 2-1) Accept or reject all forwarded communication information.
(Judgment Criteria 2-2) Accept or reject communication information from an arbitrarily designated specific mobile device.
(Criteria 2-3) Accept or reject communication information for a communication application of a specific external server that is arbitrarily specified.
(Judgment Criteria 2-4) Reject communication information for communication applications of external servers that cannot be supported due to specifications.
(Judgment Criteria 2-5) Accept communication information transferred for the reason of failure.
これらの判断基準において、特定デバイスの任意の指定方法は、アドレス単位やデバイス固有の識別コード単位の指定、サブネット単位の指定、本デバイス移動サポート受入装置3が本来サポートする移動デバイス単位の指定、協力関係にあるデバイス移動サポート転送装置2が本来サポートする移動デバイス単位の指定などがあり、柔軟に拡張できる。
In these determination criteria, an arbitrary designation method of a specific device includes designation of an address unit or device-specific identification code unit, designation of a subnet unit, designation of a mobile device unit originally supported by the device movement
次に、本実施形態の動作について説明する。まず、デバイス移動サポート転送装置2の動作について説明する。図4は、デバイス移動サポート転送装置2の動作の一例を示すフローチャートである。図4に示す例では、デバイス移動サポート転送装置2は、デバイス52から通信情報を受信した場合、送信元であるデバイス52に対応したアプリケーション処理を行うためにステップS101に進む(ステップS100のYes)。また、受信していない場合、外部サーバからの受信を判断するためにステップS107に進む(ステップS100のNo)。
Next, the operation of this embodiment will be described. First, the operation of the device movement
ステップS101では、デバイスアプリ処理部22が、受信した通信情報に対して、送信元であるデバイス52に対応したアプリケーション処理(中継処理)を行う。デバイスアプリ処理部22は、ここでの中継処理として、例えば、デバイス52より受信したバイナリデータ(バイナリ、テキストいずれもありうる)を次の処理機能となる外部サーバアプリ処理部(ここでは、当該装置の外部サーバアプリ処理部21または転送先のデバイス移動サポート受入装置3の外部サーバアプリ処理部31)が理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、デバイス52より受信したデバイス固有のデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、次の処理機能が理解可能なデータフォーマットに変換する処理を行うことも考えられる。
In step S101, the device
デバイス52に対応したアプリケーション処理が完了した通信情報を受け取った通信転送判断部25は、受け取った通信情報をデバイス移動サポート受入装置3に転送するか、または直接外部サーバ51に送信するかを判断する(ステップS102)。
The communication
デバイス移動サポート受入装置3に転送する場合には(ステップS102のYes)、デバイス移動サポート受入装置3への転送処理を行うためにステップS103に進む。一方、本デバイス移動サポート転送装置2から直接外部サーバに通信情報を送信する場合には(ステップS102のNo)、本装置における外部サーバアプリ処理部21による、送信先である外部サーバに対応した中継処理を行うためにステップS105に進む。
When transferring to the device movement support receiving apparatus 3 (Yes in step S102), the process proceeds to step S103 in order to perform a transfer process to the device movement
ステップS103では、転送先アドレス解決部26が、転送する通信情報を元に、転送先装置であるデバイス移動サポート受入装置3のネットワークアドレスをアドレス管理サーバへ問い合わせ、転送先装置のアドレス解決を行う。
In step S103, based on the communication information to be transferred, the transfer destination
なお、転送先となるデバイス移動サポート受入装置3の情報は、例えば、移動してきた移動デバイスより転送先のデバイス移動サポート受入装置3の宛先アドレス(IPアドレス等)を入手してもよい。他の例としては、デバイス移動サポート転送装置2、デバイス移動サポート受入装置3らのIPアドレス情報を管理するアドレス管理サーバを設置し、移動デバイスの固有識別情報(例えば、MACアドレス)と移動デバイスの必要とする転送処理機能を備えたデバイス移動サポート受入装置3のIPアドレスを紐付けたデータベースの管理をし、デバイス移動サポート転送装置2が、移動してきた移動デバイスの固有識別情報を用いてアドレス管理サーバへ問い合わせをすることでデバイス移動サポート受入装置3の宛先アドレスを入手してもよい。なお、IPアドレスの管理と、移動デバイスと転送先装置の情報との紐付けとを、別々のデータベースで行うことも可能である。また、移動デバイスと転送先装置の情報とを紐付ける代わりに、送信先である外部サーバまたはそのアプリケーションと転送先装置の情報とを紐付けて管理しておいてもよい。
Note that the information of the device movement
デバイス移動サポート受入装置3のアドレスが解決すると、通信転送処理部27は、転送用に中継処理された通信情報を外部接続インタフェース23を介してデバイス移動サポート受入装置3に転送する(ステップS104)。
When the address of the device movement
一方、ステップS105では、デバイスアプリ処理部22によるアプリケーション処理が完了した通信情報を受け取った外部サーバアプリ処理部21が、送信先である外部サーバ51に対応したアプリケーション処理(中継処理)を行う。外部サーバアプリ処理部21は、ここでの中継処理として、例えば、デバイスアプリ処理部22により中継処理されたバイナリデータ(バイナリ、テキストいずれもありうる)を次の処理機能となる外部サーバ51のアプリケーションが理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、デバイスアプリ処理部22により中継処理されたデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、外部の特有のアプリケーション機能が理解可能なデータフォーマットに変換する処理を行うことも考えられる。ここでは、外部サーバが扱うアプリケーションプロトコルや通信プロトコル(独自なもの、標準化されたものいずれもありうる)に従ったデータフォーマットへのデータ変換を含む。そして、中継処理した通信情報を外部サーバ51に外部接続インタフェース23を介して送信する(ステップS106)。
On the other hand, in step S105, the external server
また、デバイス移動サポート転送装置2では、外部サーバ51から通信情報を受信した場合(ステップS107のYes)、送信元である外部サーバ51に対応したアプリケーション処理を行うためにステップS108に進む。また、受信していない場合(ステップS107のNo)、デバイス移動サポート受入装置3からの受信を判断するためにステップS111に進む。
If the device movement
ステップS108では、外部サーバアプリ処理部21が、外部サーバ51より受信した通信情報に対して、送信元である外部サーバ51に対応したアプリケーション処理(中継処理)を行う。外部サーバアプリ処理部21は、ここでの中継処理として、例えば、外部サーバ51より受信したバイナリデータ(バイナリ、テキストいずれもありうる)を次の処理機能となるデバイスアプリ処理部22が理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、外部サーバ51より受信した外部サーバのデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、デバイス移動サポート転送装置2内の他の処理機能(デバイスアプリ処理部22など)が理解可能なデータフォーマットに変換する処理を行ってもよい。
In step S <b> 108, the external server
外部サーバアプリ処理部21によるアプリケーション処理が完了した通信情報を受け取ったデバイスアプリ処理部22は、送信先であるデバイス52に対応したアプリケーション処理(中継処理)を行う(ステップS109)。デバイスアプリ処理部22は、ここでの中継処理として、例えば、外部サーバアプリ処理部21により中継処理されたバイナリデータ(バイナリ、テキストいずれもありうる)を、次の処理機能となるデバイス52のアプリケーションが理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、外部サーバアプリ処理部21により中継処理されたデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、デバイス特有のアプリケーション機能が理解可能なデータフォーマットに変換する処理を行うことも考えられる。ここでは、デバイス52が扱うアプリケーションプロトコルや通信プロトコル(独自なもの、標準化されたものいずれもありうる)に従ったデータフォーマットへのデータ変換を含む。そして、中継処理した通信情報をデバイス接続インタフェース24を介してデバイス52に送信する(ステップS110)。
The device
また、デバイス移動サポート転送装置2では、デバイス移動サポート受入装置3から通信情報を受信した場合(ステップS111のYes)、送信先であるデバイス52に対応したアプリケーション処理を行うためにステップS112に進む。なお、本実施形態では、デバイス移動サポート受入装置3から転送されてきた通信情報には、既にデバイス移動サポート受入装置3において送信元である外部サーバ51に対応したアプリケーション処理(転送処理)が行われていることを前提としている。
If the device movement
ステップS112では、デバイスアプリ処理部22が、送信先であるデバイス52に対応したアプリケーション処理(中継処理)を行う。ここでの中継処理は、基本的には、ステップS109で行う中継処理と同様である。すなわち、デバイスアプリ処理部22は、ここでの中継処理として、例えば、デバイス移動サポート受入装置3の外部サーバアプリ処理部31により中継処理されたバイナリデータ(バイナリ、テキストいずれもありうる)を、次の処理機能となるデバイス52のアプリケーションが理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、外部サーバアプリ処理部21により中継処理されたデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、デバイス特有のアプリケーション機能が理解可能なデータフォーマットに変換する処理を行うことも考えられる。ここでは、デバイス52が扱うアプリケーションプロトコルや通信プロトコル(独自なもの、標準化されたものいずれもありうる)に従ったデータフォーマットへのデータ変換を含む。そして、中継処理した通信情報をデバイス接続インタフェース24を介してデバイス52に送信する(ステップS113)。
In step S112, the device
なお、装置内で完結する外部サーバアプリ処理部21からデバイスアプリ処理部22への中継処理と、装置をまたぐデバイス移動サポート受入装置3の外部サーバアプリ処理部31からデバイスアプリ処理部22への中継処理とでは、必要とするデータが異なることも考えられる。このような場合には、このような場合には、経路別に異なるデータフォーマットを規定してそれに応じた変換処理を行わせてもよい。なお、異なるデータフォーマットを規定した上でこの差を通信転送処理部32と通信転送処理部27とによって吸収させることも可能である。
Relay processing from the external server
最後に、配下のデバイス52、外部サーバ51およびデバイス移動サポート受入装置3のいずれからも通信情報を受信していない場合には、次の受信待ちを行うために処理を終了する(ステップS111のNo)。このように、デバイス移動サポート転送装置2では、デバイス移動サポート転送装置2では、前の処理機能である各送信元/転送元と次の処理機能である各送信先/転送先に応じた中継処理を行うことによって必要な情報を最終宛先である外部サーバ51およびデバイス52に届ける。
Finally, if communication information has not been received from any of the
次に、デバイス移動サポート受入装置3の動作について説明する。図5は、デバイス移動サポート受入装置3の動作の一例を示すフローチャートである。図5に示す例では、デバイス移動サポート受入装置3は、デバイス移動サポート転送装置から通信情報を受信した場合(ステップS200のYes)、転送されてきた通信情報を受け入れるか否かを判断するためにステップS201に進む。また、受信していない場合には(ステップS200のNo)、外部サーバからの受信を判断するためにステップS204に進む。
Next, the operation of the device movement
ステップS201では、転送受入判断部33が、転送されてきた通信情報を受け入れるか否かを判断する。受け入れると判断した場合には(ステップS201のYes)、外部サーバ51に対応したアプリケーション処理を行うためにステップS202に進む。なお、本実施形態では、デバイス移動サポート転送装置2から転送されてきた通信情報には、既にデバイス移動サポート転送装置2において送信元であるデバイス52に対応したアプリケーション処理が行われていることを前提としている。一方、拒否すると判断した場合には(ステップS201のNo)、そのまま処理を終了する。
In step S201, the transfer acceptance determination unit 33 determines whether to accept the transferred communication information. If it is determined to be accepted (Yes in step S201), the process proceeds to step S202 to perform application processing corresponding to the
ステップS202では、外部サーバアプリ処理部31が、送信先である外部サーバ51に対応したアプリケーション処理(中継処理)を行う。ここでの中継処理は、基本的には、図5のステップS105で行う中継処理と同様である。すなわち、外部サーバアプリ処理部31は、ここでの中継処理として、例えば、デバイス移動サポート転送装置2のデバイスアプリ処理部22により中継処理されたバイナリデータ(バイナリ、テキストいずれもありうる)を次の処理機能となる外部サーバ51のアプリケーションが理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、デバイスアプリ処理部22により中継処理されたデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、外部の特有のアプリケーション機能が理解可能なデータフォーマットに変換する処理を行うことも考えられる。ここでは、外部サーバが扱うアプリケーションプロトコルや通信プロトコル(独自なもの、標準化されたものいずれもありうる)に従ったデータフォーマットへのデータ変換を含む。そして、中継処理した通信情報を外部接続インタフェース33を介して外部サーバ51に送信する(ステップS203)。
In step S202, the external server
なお、装置内で完結するデバイスアプリ処理部22から外部サーバアプリ処理部21への中継処理と、装置をまたぐデバイス移動サポート転送装置2のデバイスアプリ処理部22からデバイス移動サポート受入装置3の外部サーバアプリ処理部31への中継処理とでは、必要とするデータが異なることも考えられる。このような場合には、経路別に異なるデータフォーマットを規定してそれに応じた変換処理を行わせてもよい。なお、異なるデータフォーマットを規定した上でこの差を通信転送処理部32と通信転送処理部27とによって吸収させることも可能である。
In addition, the relay processing from the device
また、デバイス移動サポート受入装置3は、外部サーバ51から通信情報を受信した場合(ステップS204のYes)、送信元である外部サーバ51に対応したアプリケーション処理を行うためにステップS205に進む。なお、デバイス移動サポート転送装置2および外部サーバ51のいずれからも通信情報を受信していない場合には、次の受信待ちを行うために処理を終了する(ステップS204のNo)。
If the device movement
ステップS205では、外部サーバアプリ処理部31が、外部サーバ51から受信した通信情報に対して、送信元である外部サーバ51に対応したアプリケーション処理(中継処理)を行う。ここでの中継処理は、基本的には、ステップS108で行う中継処理と同様である。すなわち、外部サーバアプリ処理部31は、ここでの中継処理として、例えば、外部サーバ51より受信したバイナリデータ(バイナリ、テキストいずれもありうる)を次の処理機能となるデバイス移動サポート転送装置2のデバイスアプリ処理部22が理解可能なテキストデータ(バイナリ、テキストいずれもありうる)に変換する処理を行う。また、例えば、外部サーバ51より受信した外部サーバのデータに含まれるアドレス情報、各種制御情報、データ情報などを、情報の配列を整理しなおしたり、付加情報を加えることによって、デバイス移動サポート転送装置2内の処理機能(通信転送処理部27およびデバイスアプリ処理部22など)が理解可能なデータフォーマットに変換する処理を行ってもよい。そして、中継処理した通信情報を外部接続インタフェース34を介してデバイス移動サポート転送装置2に転送する(ステップS206)。
In step S <b> 205, the external server
なお、装置内で完結する外部サーバアプリ処理部21からデバイスアプリ処理部22への中継処理と、装置をまたぐデバイス移動サポート受入装置3の外部サーバアプリ処理部31からデバイス移動サポート転送装置2のデバイスアプリ処理部22への中継処理とでは、必要とするデータが異なることも考えられる。このような場合には、経路別に異なるデータフォーマットを規定してそれに応じた変換処理を行わせてもよい。なお、異なるデータフォーマットを規定した上でこの差を通信転送処理部32と通信転送処理部27とによって吸収させることも可能である。
It should be noted that the relay processing from the external server
なお、本実施形態では、通信情報を受け取った処理機能が次の処理機能が扱える形に通信情報を変換する処理の総称を「中継処理」と呼んでいる。例えば、外部サーバアプリ処理部21におけるアプリケーション処理や、デバイスアプリ処理部12におけるパケット変換処理は、具体的な処理内容は異なるが、いずれも次の処理機能が扱える形に変換する処理であるため、いずれも中継処理となる。なお、次の処理機能は、物理的に他の装置であってもかまわない。例えば、デバイス移動サポート転送装置2またはデバイス移動サポート4における処理を行えた後、次の処理をデバイス移動サポート受入装置3またはデバイス移動サポート4に任せるといったことが可能である。
In the present embodiment, a generic term for processing for converting communication information so that the processing function that receives the communication information can handle the next processing function is called “relay processing”. For example, the application processing in the external server
次に、図6を用いて本実施形態における装置間の通信の流れを説明する。図6は、本実施形態のネットワークの概観と通信の流れを示す説明図である。図6では、図1に示した場合と同様、デバイス52が、本来自身のサポートを行ってくれるデバイス移動サポート受入装置3(例えば、HGWのようなもの)が管理するローカルエリアから、デバイス移動サポート転送装置2が管理するローカルエリアへ移動した場合を示している。符合61〜68までの矢印線は、通信情報の流れおよびアドレス情報の問い合わせと応答を示している。図6に示す一連の通信情報の送受信においては、デバイス移動サポート転送装置2とデバイス移動サポート受入装置3とが通信情報の中継処理を行っている。
Next, the flow of communication between apparatuses in this embodiment will be described with reference to FIG. FIG. 6 is an explanatory diagram showing an overview of the network and the flow of communication according to the present embodiment. In FIG. 6, as in the case shown in FIG. 1, the
すなわち、ローカル・ネットワーク42に移動したデバイス52が、外部サーバ51に届けたい通信情報を、現在の接続先であるデバイス移動サポート転送装置2に送信すると(ステップS61)、デバイス移動サポート転送装置2では、受け取った通信情報を直接外部サーバ51に送信するか、デバイス移動サポート受入装置3を介して転送するかを判断する。本例では、上記で示した判断基準1−1〜1−6のような判断基準に従って、デバイス移動サポート受入装置3に転送することを決定したとする。
That is, when the
すると、デバイス移動サポート転送装置2は、アドレス管理サーバ53にデバイス移動サポート受入装置3のネットワークアドレスの問い合わせを行い(ステップS62)、アドレス管理サーバ53からの応答を受け取ると(ステップS63)、送信元であるデバイス52に対応したアプリケーション処理を行った上で、デバイス移動サポート受入装置3にその通信情報を転送する(ステップS64)。その際、デバイス移動サポート転送装置2は、受信した通信情報に対して、送信元であるデバイス52に対応したアプリケーション処理を行った上で、転送先であるデバイス移動サポート受入装置3に送信する。
Then, the device movement
デバイス移動サポート転送装置2から通信情報を受信したデバイス移動サポート受入装置3では、受信した通信情報の転送受け入れを行うか否かを判断し、転送受け入れを行う場合には、通信情報を外部サーバ51に送信する(ステップS65)。その際、デバイス移動サポート受入装置3は、受信した通信情報に対して、送信先である外部サーバ51に対応したアプリケーション処理を行い、外部サーバ51への中継処理を完了させた上で、デバイス移動サポート受入装置3に転送する。
The device movement
外部サーバ51は、受け取った通信情報を処理する。その際、必要に応じてデバイス52(同じローカルエリア内の他のローカル・デバイスを含む。)への制御情報などを含む通信情報を、デバイス移動サポート受入装置3に送信する(ステップS66)。
The
外部サーバ51から通信情報を受け取ったデバイス移動サポート受入装置3は、送信先であるデバイス52の情報からデバイス移動をサポートしているローカル・デバイス宛ての通信情報であることを認識し、そのローカル・デバイスが接続しているローカル・ネットワークの現在の接続先であるデバイス移動サポート転送装置2に転送する(ステップS67)。その際、デバイス移動サポート受入装置3は、受信した通信情報に対して、送信元である外部サーバ51に対応したアプリケーション処理を行った上で、転送先であるデバイス移動サポート転送装置2に送信する。
The device movement
デバイス移動サポート受入装置3から通信情報を受信したデバイス移動サポート転送装置2では、受信した通信情報を、配下のデバイス52に送信する(ステップS68)。その際、デバイス移動サポート転送装置2は、受信した通信情報に対して、送信先であるデバイス52に対応したアプリケーション処理を行い、デバイス52への中継処理を完了させた上で、デバイス52に送信する。
The device movement
以上のように、デバイス移動サポート転送装置2が、配下のローカル・デバイスであるデバイス52からの通信情報をデバイス移動サポート受入装置3に転送し、デバイス移動サポート受入装置3が外部サーバ51に送信することで、例え移動先のローカルネットワークでの中継処理を行うデバイス移動サポート転送装置2が運用ポリシー上の問題やスペック上の問題などにより移動してきたデバイス52と外部サーバ51との通信の中継処理を行えないまたは行わない場合であっても、当該デバイス52からの通信情報を、デバイス移動サポート転送装置2、デバイス移動サポート受入装置3内で適切に中継処理し、最終宛先である外部サーバ51に送信することができる。
As described above, the device movement
特に、移動したローカル・デバイスが必要とする外部サーバの扱うアプリケーション通信をサポートする装置を通信の中継処理先とすることができるので、ローカル・デバイスが移動した場合にも、これらローカル・デバイスと外部サーバとの通信が可能となる。 In particular, since a device that supports application communication handled by an external server required by the moved local device can be used as a communication relay processing destination, even when the local device moves, Communication with the server becomes possible.
また、デバイス移動サポート受入装置3が、外部サーバからの通信情報をデバイス移動サポート転送装置2に転送し、デバイス移動サポート転送装置2が配下のローカル・デバイスであるデバイス52に送信することで、同様に、当該外部サーバ51からの通信情報を、デバイス移動サポート受入装置3、デバイス移動サポート転送装置2内で適切に中継処理して、最終宛先であるデバイス52に送信することができる。すなわち、ローカル・デバイスが移動した際にも、移動先の中継装置(本例では、デバイス移動サポート転送装置2)が、そのローカルデバイスから外部サーバ宛ての通信情報を、当該通信情報を転送可能な他の中継装置(本例では、デバイス移動サポート受入装置3)に転送することで、移動したローカル・デバイスと外部サーバとの通信ができなくなる問題を解決することが可能となる。
Further, the device movement
実施形態2.
次に、本発明の第2の実施形態について説明する。第1の実施形態では、デバイス移動サポート転送装置2とデバイス移動サポート受入装置3とをその機能により異なる構成の装置として示したが、デバイス移動サポート転送装置2とデバイス移動サポート受入装置3とは、その両方の機能を備える中継装置(以下、デバイス移動サポート装置という。)に置き換わっても同様の動作が可能となる。
Next, a second embodiment of the present invention will be described. In the first embodiment, the device movement
図7は、本実施形態のデバイス移動サポート装置の構成例を示すブロック図である。図7に示すデバイス移動サポート装置4は、外部サーバアプリ処理部41と、デバイスアプリ処理部42と、外部接続インタフェース43と、デバイス接続インタフェース44と、通信転送判断部45と、転送先アドレス解決部46と、通信転送処理部47と、転送受入判断部48とを備える。
FIG. 7 is a block diagram illustrating a configuration example of the device movement support apparatus according to the present embodiment. 7 includes an external server
デバイス移動サポート装置4の一実装例は、xGWである。よって、ローカル・デバイスが移動した際にも、移動先のデバイス移動サポート装置4であるxGWが、通信情報を転送可能な他のxGW(例えば、移動元のデバイス移動サポート装置4)へローカル・デバイスからの通信情報を転送することで、移動したローカル・デバイスと外部サーバとの通信ができなくなる問題を解決することが可能となる。 One implementation example of the device movement support apparatus 4 is xGW. Therefore, even when the local device moves, the xGW that is the device movement support apparatus 4 that is the movement destination moves the local device to another xGW that can transfer the communication information (for example, the device movement support apparatus 4 that is the movement source). By transferring the communication information from the network, it becomes possible to solve the problem that communication between the moved local device and the external server becomes impossible.
デバイス移動サポート装置4は、デバイス移動サポート転送装置2およびデバイス移動サポート受入装置3のいずれの動作も行う。すなわち、デバイス移動サポート装置4を複数備えることで、デバイス移動サポート装置4は、お互いに移動デバイスの通信情報の転送も受け入れも行うことができる。
The device movement support apparatus 4 performs any operation of the device movement
外部サーバアプリ処理部41は、デバイス移動サポート転送装置2の外部サーバアプリ処理部21の機能と、デバイス移動サポート受入装置3の外部サーバアプリ処理部31の機能とを合わせた形をとる。すなわち、外部サーバアプリ処理部41は、外部接続インターフェース43を介して外部サーバ51からデバイス52への通信情報を受信した場合には、受信した通信情報を次の処理機能であるデバイスアプリ処理部42が扱える(処理可能な)形式に変換して、デバイスアプリ処理部42に渡す。また、外部サーバアプリ処理部41は、通信転送判断部45が受け取ったデバイス52から外部サーバ51への通信情報について当該デバイス移動サポート装置4が直接外部サーバ51に送信すると判断した場合には、該通信情報に対してパケットヘッダフォーマットやペイロードフォーマットの変換などの中継処理を行って当該通信情報を最終宛先である外部サーバ51が処理可能かつ該外部サーバ51に転送可能な形式に変換し、外部接続インターフェース43を介して外部サーバ51に送信する。
The external server
また、外部サーバアプリ処理部41は、通信転送処理部42から他のデバイス移動サポート装置4より転送されてきた通信情報の外部サーバ51への送信を指示された場合に、その通信情報を最終宛先である外部サーバ51が処理可能かつ該外部サーバ51に転送可能な形式に変換する中継処理を行い、外部接続インターフェース43を介して外部サーバ51に送信する。また、外部サーバアプリ処理部41は、外部接続インターフェース43を介して外部サーバ51から他のバイス移動サポート装置4配下のデバイス52への通信情報を受信した場合には、受信した通信情報に対して次の処理機能(すなわち、転送先である他のデバイス移動サポート装置4の通信転送処理部47やデバイスアプリ処理部42)が扱える形式に変換する中継処理を行い、中継処理後の通信情報を該デバイス移動サポート装置4に転送するために本装置の通信転送処理部42に渡す。
Also, when the external server
デバイスアプリ処理部42は、デバイス移動サポート転送装置2のデバイスアプリ処理部22と同様である。すなわち、デバイス接続インターフェース44を介してデバイス52から外部サーバ51への通信情報を受信した場合には、受信した通信情報を一旦通信転送判断部45に渡す。なお、その後通信転送判断部45により当該デバイス移動サポート装置4が直接外部サーバ51に送信すると決定された場合には、受信した通信情報を次の処理機能である当該装置の外部サーバアプリ処理部41が扱える形式に変換して該外部サーバアプリ処理部41に渡す。また、デバイスアプリ処理部42は、外部サーバアプリ処理部41または情報転送処理部47からデバイス52への通信情報を受け取ると、受け取った通信情報に対して、パケットヘッダフォーマット、ペイロードフォーマットの変換などの中継処理を行って当該通信情報を最終宛先であるデバイス52が処理可能かつ該デバイス52に転送可能な形式に変換して、デバイス接続インターフェース44を介してデバイス52に送信する。
The device
外部接続インターフェース43は、デバイス移動サポート転送装置2の外部接続インターフェース23の機能と、デバイス移動サポート受入装置3の外部接続インターフェース34の機能とを合わせた形をとる。すなわち、外部接続インターフェース43は、当該デバイス移動サポート装置4と外部ネットワーク上の他の装置(本例では、他のデバイス移動サポート装置4、外部サーバ51、アドレス管理サーバ53など)との通信インタフェースを提供する。
The
デバイス接続インターフェース44は、デバイス移動サポート転送装置2のデバイス接続インターフェース24と同様である。すなわち、当該デバイス移動サポート装置4が外部ネットワークとの中継処理を行う対象であるローカルネットワーク上のローカル・デバイス(本例では、デバイス52)との通信インタフェースを提供する。
The
通信転送判断部45は、デバイス移動サポート転送装置2の通信転送判断部25と同様である。すなわち、デバイスアプリ処理部42から外部サーバ51への通信情報を受け取ると、該通信情報について、他のデバイス移動サポート装置4に転送することで外部サーバ51に中継してもらうか、または当該デバイス移動サポート装置4から直接に外部サーバ51に送信するかを判断する。
The communication
転送先アドレス解決部46は、デバイス移動サポート転送装置2の転送先アドレス解決部26と同様である。すなわち、通信転送判断部45より転送先となる他のデバイス移動サポート装置4のネットワークアドレス解決を依頼された場合に、受け取った通信情報に含まれているローカル・デバイス(送信元)のMACアドレスやデバイス特有の識別コード(アドレス)などに基づいて、転送装置のネットワークアドレスを解決する。
The transfer destination
通信転送処理部47は、デバイス移動サポート転送装置2の通信転送処理部27の機能と、デバイス移動サポート受入装置3の通信転送処理部32の機能を合わせた形をとる。すなわち、通信転送判断部45より受け取った外部サーバ51への通信情報を転送先である他のデバイス移動サポート装置4に転送可能にするための中継処理(パケットヘッダフォーマット、ペイロードフォーマットの変換など)を行う。そして、外部接続インターフェース43を介して転送先である他のデバイス移動サポート装置4に転送する。また、通信転送処理部47は、外部接続インターフェース43を介して他のデバイス移動サポート装置4から転送されてきた通信情報(外部サーバ51から送信され、他のデバイス移動サポート装置4によって転送されたデバイス52への通信情報)を外部サーバアプリ処理部41に代わって受信し、受信した通信情報を次の処理機能であるデバイスアプリ処理部42に渡す。このとき、通信転送処理部47は、受信した通信情報をデバイスアプリ処理部42が処理できる形に変換する等のアプリケーションレベルでの中継処理を行ってもよい。
The communication
また、通信転送処理部47は、外部接続インターフェース44を介して他のデバイス移動サポート装置4により転送された通信情報(他のデバイス移動サポート装置4配下のローカル・ネットワークから外部サーバ51への通信情報)を受信した場合には、受信した通信情報を一旦転送受入判断部48に渡して、転送受け入れ可能か否かを転送受入判断部48に問い合わせる。また、通信転送処理部47は、転送受入判断部48より受け入れ許可の旨の応答を受け取った場合、受信した通信情報を外部サーバアプリ処理部41に渡す。その際、その通信情報の外部サーバへの送信を指示する。このとき、通信転送処理部47は、受信した通信情報を外部サーバアプリ処理部41が処理できる形に変換する等のアプリケーションレベルでの中継処理を行ってもよい。
Further, the communication
転送受入判断部48は、デバイス移動サポート受入装置3の転送受入判断部33と同様である。すなわち、通信転送処理部47から受け取った通信情報を元に、本デバイス移動サポート受入装置3のスペックや運用ポリシーに従い、転送されてきた通信情報を受け入れるか否かを判断する。
The transfer
なお、本実施形態の動作は、第1の実施形態のデバイス移動サポート転送装置2と、デバイス移動サポート受入装置3とを、それぞれ第1のデバイス移動サポート装置4と、第2のデバイス移動サポート受入装置4とに置き換えたものと同様である。
The operation of the present embodiment is the same as the device movement
また、上記各実施形態では、転送制御を行う対象を移動デバイスとする場合の例を説明したが、転送制御を行う対象は、移動デバイスに限らない。例えば、中継装置が稼働し始めた当初よりローカル・ネットワーク配下にいたデバイスであっても、当該中継装置が対応していない外部サーバを送信先としたり、配下のデバイスのバージョンが上がったことにより送信元のデバイスが当該中継装置が対応していないソフトウェアによって駆動するデバイスとなった場合などには、そのようなデバイスと外部サーバとの通信を転送制御の対象にすることも可能である。 In each of the above-described embodiments, an example in which a target for performing transfer control is a mobile device has been described, but a target for performing transfer control is not limited to a mobile device. For example, even if a device has been under the local network from the beginning when the relay device started to operate, an external server that does not support the relay device is used as the destination, or the version of the subordinate device is upgraded. When the original device becomes a device driven by software not supported by the relay device, communication between such a device and an external server can be subject to transfer control.
次に、本発明の概要について説明する。図8は、本発明の概要を示すブロック図である。図8に示す中継装置100は、ローカルネットワーク上のデバイスであるローカル・デバイス200と、外部ネットワーク上のサーバである外部サーバ300との通信を実現させるための中継装置であって、デバイス接続インタフェース101と、外部接続インタフェースと102と、転送判断手段103と、通信情報転送手段104とを備えている。
Next, the outline of the present invention will be described. FIG. 8 is a block diagram showing an outline of the present invention. A
デバイス接続インタフェース101(例えば、デバイス接続インタフェース24、44)は、ローカルネットワーク上の装置(例えば、ローカル・デバイス200)と通信を行うための通信インタフェースである。 The device connection interface 101 (for example, the device connection interfaces 24 and 44) is a communication interface for communicating with an apparatus (for example, the local device 200) on the local network.
外部接続インタフェース102(例えば、外部接続インタフェース23、34、43)は、外部ネットワーク上の装置(例えば、外部サーバ200、他の中継装置400)と通信を行うための通信インタフェースである。
The external connection interface 102 (for example, the external connection interfaces 23, 34, and 43) is a communication interface for performing communication with devices (for example, the
転送判断手段103(例えば、通信転送判断部25、45)は、配下のローカル・デバイス(例えば、ローカル・デバイス200)から外部サーバ(例えば、外部サーバ300)宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する。
The transfer determination unit 103 (for example, the communication
通信情報転送手段104(例えば、通信転送処理部27、32、47)は、転送判断手段103により他の中継装置に転送する旨が決定されると、受信した情報に対して転送先の他の中継装置(例えば、中継装置400)が処理可能な形に変換する中継処理を行った上で、該他の中継装置に転送する。
The communication information transfer unit 104 (for example, the communication
転送判断手段104は、例えば、当該中継装置100の仕様または運用ポリシーに基づいて当該中継装置において受信した情報の中継処理が可能か否かを判断することによって、他の中継装置に転送するか否かを判断してもよい。
For example, the
また、通信情報転送手段104は、例えば、外部サーバから配下のローカル・デバイス宛て以外の情報を受信した場合に、最終宛先のローカル・デバイスが接続している他の中継装置を転送先にして、受信した情報に対して送信元である外部サーバに対応した所定の中継処理であって転送先の他の中継装置が処理可能な形に変換する中継処理を行った上で、該他の中継装置に転送してもよい。
The communication
また、図示省略しているが、中継装置100は、外部ネットワーク上のアドレスを管理する所定のアドレス管理サーバに、転送先とされた他の装置の外部ネットワーク上のアドレスの問い合わせを行って、転送時の宛先アドレスを解決するアドレス解決手段を備えていてもよい。
Although not shown, the
また、中継装置100は、他の中継装置より転送された情報を受信する転送情報受信手段を備えていてもよい。そのような場合には、さらに転送情報受信手段によって他の中継装置の配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報に対して最終宛先である外部サーバに対応した所定の中継処理を行った上で、該外部サーバに送信する外部サーバ側中継処理手段を備えていてもよい。
Further, the
また、転送情報受信手段が受信した情報を受け入れるか否かを、当該中継装置の仕様または運用ポリシーに基づいて判断する転送受入判断手段を備えていてもよい。 In addition, a transfer acceptance determining unit may be provided that determines whether to accept the information received by the transfer information receiving unit based on the specification or the operation policy of the relay device.
また、転送情報受信手段によって他の中継装置より転送された外部サーバから当該中継装置の配下のローカル・デバイス宛ての情報を受信した場合に、受信した情報に対して最終宛先であるローカル・デバイスに対応した所定の中継処理を行った上で、該ローカル・デバイスに送信するデバイス側中継処理手段とを備えていてもよい。 In addition, when the information addressed to the local device under the relay device is received from the external server transferred from another relay device by the transfer information receiving means, the received information is sent to the local device that is the final destination. Device-side relay processing means for transmitting to the local device after performing corresponding predetermined relay processing may be provided.
本発明は、センサデバイスやアクチュエータデバイスなどのローカル・デバイスと、該ローカル・デバイスの情報を扱うサーバとの通信を実現するための用途に好適に適用可能である。 The present invention can be suitably applied to an application for realizing communication between a local device such as a sensor device or an actuator device and a server that handles information of the local device.
1 インターネット(外部ネットワーク)
2 デバイス移動サポート転送装置
3 デバイス移動サポート受入装置
4 デバイス移動サポート装置
51 外部サーバ
52 ローカル・デバイス
53 アドレス管理サーバ
21、31、41 外部サーバアプリ処理部
22、42 デバイスアプリ処理部
23、34、43 外部接続インタフェース
24、44 デバイス接続インタフェース
25、45 通信転送判断部
26、46 転送先アドレス解決部
27、32、47 通信転送処理部
33、48 転送受入判断部
100 中継装置
101 デバイス接続インタフェース
102 外部接続インタフェース
103 転送判断手段
104 通信情報転送手段
200 ローカル・デバイス
300 外部サーバ
400 他の中継装置
1 Internet (external network)
2 Device movement
Claims (10)
前記ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、
前記外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、
配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する転送判断手段と、
前記転送判断手段により他の中継装置に転送する旨が決定されると、受信した情報に対して転送先の前記他の中継装置が処理可能な形に変換する中継処理を行った上で、前記他の中継装置に転送する通信情報転送手段とを備えた
ことを特徴とする中継装置。 A relay device for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network,
A device connection interface which is a communication interface for communicating with a device on the local network;
An external connection interface that is a communication interface for communicating with devices on the external network;
A transfer determination means for determining whether or not to transfer the received information to another relay device on an external network capable of relaying the information when the information addressed to the external server is received from a subordinate local device; ,
When it is determined by the transfer determination means to transfer to another relay device, the received information is subjected to a relay process for converting the received information into a form that can be processed by the other relay device of the transfer destination. A relay apparatus comprising: communication information transfer means for transferring to another relay apparatus.
請求項1に記載の中継装置。 The transfer determination means determines whether to transfer to another relay device by determining whether the relay processing of the information received by the relay device is possible based on the specification or operation policy of the relay device. The relay device according to claim 1.
請求項1または請求項2に記載の中継装置。 An address resolution unit is provided that inquires a predetermined address management server that manages an address on the external network about an address on the external network of another device that is a transfer destination, and resolves the destination address at the time of transfer. The relay device according to claim 1 or 2.
請求項1から請求項3のうちのいずれか1項に記載の中継装置。 The communication information transfer means, when receiving information other than addressed to the subordinate local device from the external server, sets the other relay device connected to the final destination local device as the transfer destination, A predetermined relay process corresponding to the external server that is the transmission source, which is converted into a form that can be processed by the other relay apparatus that is the transfer destination, and then transferred to the other relay apparatus. The relay device according to any one of claims 1 to 3.
前記転送情報受信手段によって他の中継装置の配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報に対して最終宛先である外部サーバに対応した所定の中継処理を行った上で、該外部サーバに送信する外部サーバ側中継処理手段とを備えた
請求項1から請求項4のうちのいずれか1項に記載の中継装置。 Transfer information receiving means for receiving information transferred from another relay device;
When the information sent to the external server is received from the local device under the control of another relay device by the transfer information receiving means, a predetermined relay process corresponding to the external server that is the final destination is performed on the received information The relay apparatus according to any one of claims 1 to 4, further comprising: an external server side relay processing unit that transmits the external server to the external server.
請求項5に記載の中継装置。 The relay apparatus according to claim 5, further comprising: a transfer acceptance determination unit that determines whether to accept the information received by the transfer information reception unit based on a specification or an operation policy of the relay apparatus.
前記転送情報受信手段によって他の中継装置より転送された外部サーバから当該中継装置の配下のローカル・デバイス宛ての情報を受信した場合に、受信した情報に対して最終宛先であるローカル・デバイスに対応した所定の中継処理を行った上で、前記ローカル・デバイスに送信するデバイス側中継処理手段とを備えた
請求項1から請求項6のうちのいずれか1項に記載の中継装置。 Transfer information receiving means for receiving information transferred from another relay device;
Corresponding to the local device that is the final destination for the received information when receiving information addressed to the local device under the relay device from an external server transferred from another relay device by the transfer information receiving means The relay apparatus according to any one of claims 1 to 6, further comprising device-side relay processing means that performs the predetermined relay processing and transmits the local device to the local device.
第1の中継装置と、第2の中継装置とを備え、
前記第1の中継装置は、
前記ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、
前記外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、
配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する転送判断手段と、
少なくとも前記転送判断手段により他の中継装置に転送する旨が決定されると、受信した情報に対して、転送先の前記他の中継装置が処理可能な形に変換する中継処理を行った上で、前記他の中継装置に転送する上り通信情報転送手段と、
他の中継装置より転送された情報を受信する転送情報受信手段と、
前記転送情報受信手段によって他の中継装置より転送された外部サーバから当該中継装置の配下のローカル・デバイス宛ての情報を受信した場合に、受信した情報に対して最終宛先であるローカル・デバイスに対応した所定の中継処理を行った上で、前記ローカル・デバイスに送信するデバイス側中継処理手段とを含み、
前記第2の中継装置は、
前記外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースと、
他の中継装置より転送された情報を受信する転送情報受信手段と、
前記転送情報受信手段によって他の中継装置の配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報に対して最終宛先である外部サーバに対応した所定の中継処理を行った上で、該外部サーバに送信する外部サーバ側中継処理手段と、
少なくとも外部サーバから配下のローカル・デバイス宛て以外の情報を受信した場合に、最終宛先のローカル・デバイスが接続している他の中継装置を転送先にして、受信した情報に対して送信元である外部サーバに対応した所定の中継処理であって転送先の前記他の中継装置が処理可能な形に変換する中継処理を行った上で、前記他の中継装置に転送する下り通信情報転送手段とを含む
ことを特徴とする通信システム。 A communication system for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network,
A first relay device and a second relay device;
The first relay device is
A device connection interface which is a communication interface for communicating with a device on the local network;
An external connection interface that is a communication interface for communicating with devices on the external network;
A transfer determination means for determining whether or not to transfer the received information to another relay device on an external network capable of relaying the information when the information addressed to the external server is received from a subordinate local device; ,
When it is determined that at least the transfer determination means transfers to another relay device, the received information is subjected to a relay process that converts the received information into a form that can be processed by the other relay device of the transfer destination. Upstream communication information transfer means for transferring to the other relay device;
Transfer information receiving means for receiving information transferred from another relay device;
Corresponding to the local device that is the final destination for the received information when receiving information addressed to the local device under the relay device from an external server transferred from another relay device by the transfer information receiving means Device-side relay processing means for transmitting to the local device after performing the predetermined relay processing,
The second relay device is
An external connection interface that is a communication interface for communicating with devices on the external network;
Transfer information receiving means for receiving information transferred from another relay device;
When the information to the external server is received from the local device under the control of another relay device by the transfer information receiving means, the predetermined relay processing corresponding to the external server that is the final destination is performed on the received information On the above, the external server side relay processing means for transmitting to the external server,
If at least information other than that addressed to the subordinate local device is received from an external server, the forwarding destination is the other relay device connected to the local device of the final destination, and it is the source for the received information Downlink communication information transfer means for performing a predetermined relay process corresponding to an external server and performing a relay process for converting the transfer destination into a form that can be processed by the other relay apparatus, and then transferring to the other relay apparatus The communication system characterized by including.
前記ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、前記外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースとを備えた中継装置が、配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断し、
他の中継装置に転送する旨が決定されると、受信した情報に対して、転送先の前記他の中継装置が処理可能な形に変換する中継処理を行った上で、前記他の中継装置に転送する
ことを特徴とする通信情報転送方法。 A communication information transfer method for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network,
A relay device having a device connection interface that is a communication interface for communicating with a device on the local network and an external connection interface that is a communication interface for communicating with a device on the external network When receiving information addressed to the external server from the local device, determine whether to forward the received information to another relay device on the external network capable of relaying the information,
When it is determined to transfer to another relay device, the received information is subjected to relay processing that converts the received information into a form that can be processed by the other relay device of the transfer destination, and then the other relay device A communication information transfer method characterized in that the communication information is transferred to.
前記ローカルネットワーク上の装置と通信を行うための通信インタフェースであるデバイス接続インタフェースと、前記外部ネットワーク上の装置と通信を行うための通信インタフェースである外部接続インタフェースとを備えた中継装置のコンピュータに、
配下のローカル・デバイスから外部サーバ宛ての情報を受信した場合に、受信した情報を当該情報の中継処理が可能な外部ネットワーク上の他の中継装置に転送するか否かを判断する処理、および
他の中継装置に転送する旨が決定されると、受信した情報に対して転送先の前記他の中継装置が処理可能な形に変換する中継処理を行った上で、前記他の中継装置に転送する処理
を実行させるための通信情報転送プログラム。 A communication information transfer program for realizing communication between a local device that is a device on a local network and an external server that is a server on an external network,
A computer of a relay device comprising a device connection interface that is a communication interface for communicating with a device on the local network, and an external connection interface that is a communication interface for communicating with a device on the external network.
When receiving information addressed to an external server from a local device under its control, a process for determining whether to forward the received information to another relay device on an external network capable of relaying the information, and others When it is determined to transfer to the other relay device, the received information is transferred to the other relay device after performing a relay process for converting the received information into a form that can be processed by the other relay device of the transfer destination. Communication information transfer program to execute the processing to be performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010274656A JP5678630B2 (en) | 2010-12-09 | 2010-12-09 | Relay device, communication system, communication information transfer method, and communication information transfer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010274656A JP5678630B2 (en) | 2010-12-09 | 2010-12-09 | Relay device, communication system, communication information transfer method, and communication information transfer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012124758A true JP2012124758A (en) | 2012-06-28 |
JP5678630B2 JP5678630B2 (en) | 2015-03-04 |
Family
ID=46505741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010274656A Expired - Fee Related JP5678630B2 (en) | 2010-12-09 | 2010-12-09 | Relay device, communication system, communication information transfer method, and communication information transfer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5678630B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6202507B1 (en) * | 2016-07-27 | 2017-09-27 | 株式会社Pfu | Information management system, information providing method, and program |
US10694004B2 (en) | 2017-09-13 | 2020-06-23 | Canon Kabushiki Kaisha | Communication apparatus, control method and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007312056A (en) * | 2006-05-18 | 2007-11-29 | Oki Electric Ind Co Ltd | Radio communication system, network repeater, and communication method |
WO2008102755A1 (en) * | 2007-02-19 | 2008-08-28 | Nec Corporation | Automatic setting system and method in wireless sensor network, and gateway apparatus of wireless sensor network |
-
2010
- 2010-12-09 JP JP2010274656A patent/JP5678630B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007312056A (en) * | 2006-05-18 | 2007-11-29 | Oki Electric Ind Co Ltd | Radio communication system, network repeater, and communication method |
WO2008102755A1 (en) * | 2007-02-19 | 2008-08-28 | Nec Corporation | Automatic setting system and method in wireless sensor network, and gateway apparatus of wireless sensor network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6202507B1 (en) * | 2016-07-27 | 2017-09-27 | 株式会社Pfu | Information management system, information providing method, and program |
JP2018018241A (en) * | 2016-07-27 | 2018-02-01 | 株式会社Pfu | Information management system, information providing method, and program |
US10728309B2 (en) | 2016-07-27 | 2020-07-28 | Pfu Limited | Information management system and information providing method |
US10694004B2 (en) | 2017-09-13 | 2020-06-23 | Canon Kabushiki Kaisha | Communication apparatus, control method and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP5678630B2 (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6785376B2 (en) | IoT device connectivity, discovery, networking | |
US8233424B2 (en) | Wireless communication system, connection device, relay device and registering method | |
EP3005659B1 (en) | Load balancing in the internet of things | |
EP2064834B1 (en) | Zigbee/ip gateway | |
JP4450712B2 (en) | Network system and gateway | |
CN108781178B (en) | Network system, control device, method for constructing virtual network function, and program | |
WO2014037054A1 (en) | Method and system for communication between machine to machine (m2m) service provider networks | |
CN108702322B (en) | Network system, terminal, sensor data collection method, and program | |
CN105706424B (en) | Via third party's network connecting radio electricity base station | |
CN111092854B (en) | Method for transmitting packets transmitted from a source device to a destination device | |
US20160262190A1 (en) | Establishing network connectivity for transmitting network traffic to or from machine devices | |
JP2004208101A (en) | Gateway and communication method therefor | |
CN108702323B (en) | Network system, control device, virtual network construction method, and computer-readable storage medium | |
RU2764541C1 (en) | Network of industrial wireless devices with low power consumption | |
WO2005094019A1 (en) | Transparent link layer mesh router | |
JP5678630B2 (en) | Relay device, communication system, communication information transfer method, and communication information transfer program | |
WO2016009505A1 (en) | Communication method and communication system | |
CN107925630B (en) | Communication policy control in machine-to-machine communication system | |
JP3589089B2 (en) | Communication protocol proxy processing method, communication protocol proxy processing device, and communication protocol proxy processing service device | |
Igarashi et al. | Proposed node and network models for an m2m internet | |
GB2579571A (en) | Device bootstrapping | |
Qiu et al. | Gateway architecture for zigbee sensor network for remote control over IP network | |
JP6424740B2 (en) | Packet relay device and packet relay method | |
CN107005473B (en) | Communication path switching apparatus, method of controlling communication path switching apparatus | |
WO2017061401A1 (en) | Communication system, relaying apparatus, control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131108 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140416 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140513 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140702 |
|
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: 20141209 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141222 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5678630 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |