JP2019140632A - Relay device, relay method, data structure, gateway device, and relay system - Google Patents

Relay device, relay method, data structure, gateway device, and relay system Download PDF

Info

Publication number
JP2019140632A
JP2019140632A JP2018024744A JP2018024744A JP2019140632A JP 2019140632 A JP2019140632 A JP 2019140632A JP 2018024744 A JP2018024744 A JP 2018024744A JP 2018024744 A JP2018024744 A JP 2018024744A JP 2019140632 A JP2019140632 A JP 2019140632A
Authority
JP
Japan
Prior art keywords
identifier
gateway
resource
resource identifier
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018024744A
Other languages
Japanese (ja)
Inventor
佐野 健
Takeshi Sano
健 佐野
松倉 隆一
Ryuichi Matsukura
隆一 松倉
茂紀 福田
Shigenori Fukuda
茂紀 福田
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 JP2018024744A priority Critical patent/JP2019140632A/en
Priority to US16/241,750 priority patent/US10904037B2/en
Publication of JP2019140632A publication Critical patent/JP2019140632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

To provide a relay device, a relay method, a data structure, a gateway device, and a relay system that can reduce the security risk in relay processing.SOLUTION: A relay device includes: an acquisition unit for acquiring from a gateway device a resource identifier indicating a location in a second network of the network resource provided from the device in a first network to the server in the second network via the gateway device; an identifier processing unit for associating a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier; a detection unit for detecting the resource identifier corresponding to the gateway identifier specified in the request based on the correspondence relation between the gateway identifier and the resource identifier, in response to a network resource request to the device from the server; and a relay unit for relaying the request to the device via the gateway device by the resource identifier detected by the detection unit.SELECTED DRAWING: Figure 4

Description

本件は、中継装置、中継方法、データ構造、ゲートウェイ装置、及び中継システムに関する。   This case relates to a relay device, a relay method, a data structure, a gateway device, and a relay system.

IoT(Internet Of Things)技術によると、例えば工場の生産効率及び製品の品質向上やエネルギ利用効率の向上を目的として、インターネット上のサーバが、センサなどの各種のデバイスから特定の情報を収集してサービスを提供することができる。この種のデバイスは、例えばBLE(Bluetooth Low Energy(登録商標))やLAN(Local Area Network)などの多様な通信方法により様々な通信プロトコルに従って通信する。   According to IoT (Internet Of Things) technology, for example, for the purpose of improving factory production efficiency, product quality, and energy use efficiency, servers on the Internet collect specific information from various devices such as sensors. Service can be provided. This type of device communicates according to various communication protocols by various communication methods such as BLE (Bluetooth Low Energy (registered trademark)) and LAN (Local Area Network).

例えば各種のデバイスをHTTP(Hyper Text Transfer Protocol)やJSON(Javascript(登録商標) Object Notation)などのWeb技術により統一されたインターフェースにより制御できれば、デバイスの利用が容易となる。サーバからWebのインターフェースによりデバイスにアクセスするには、例えばデバイスのURL(Uniform Resource Locator)などのデバイス定義情報が用いられる。   For example, if various devices can be controlled by an interface unified by a web technology such as HTTP (Hyper Text Transfer Protocol) or JSON (Javascript (registered trademark) Object Notation), the device can be used easily. In order to access a device from a server through a Web interface, for example, device definition information such as a device URL (Uniform Resource Locator) is used.

しかし、デバイス定義情報のURLを用いてもデバイスにアクセスできないことがある。サーバは、デバイスが接続されたネットワークとは異なるネットワーク(例えばインターネット)に接続されている場合、例えばNAT(Network Address Translation)を超えて通信することができないため、URLにより直接的にデバイスにアクセスすることができない。   However, the device may not be accessible even if the URL of the device definition information is used. When the server is connected to a network different from the network to which the device is connected (for example, the Internet), the server cannot communicate beyond, for example, NAT (Network Address Translation), and thus directly accesses the device by the URL. I can't.

これに対し、例えば特許文献1には、NATを超えた通信を行うため、ゲートウェイ装置間の仲介サーバが、各ゲートウェイ装置の配下のデバイスのローカルアドレスに対応するポート番号とゲートウェイ装置のグローバルアドレスを対応付ける点が記載されている。   On the other hand, for example, in Patent Document 1, in order to perform communication beyond NAT, the intermediary server between gateway devices sets the port number corresponding to the local address of the device under each gateway device and the global address of the gateway device. The points to be associated are described.

特開2008−17122号公報JP 2008-17122 A

しかし、特許文献1の技術によると、外部のネットワークからゲートウェイ装置の配下のデバイスにアクセスする場合、ゲートウェイ装置のグローバルアドレスを外部のネットワークに事前に通知する必要がある。このため、例えばグローバルアドレスが悪意のあるユーザに漏洩し、ゲートウェイ装置を介してデバイスが攻撃を受けるおそれがある。   However, according to the technique of Patent Document 1, when accessing a device under the gateway apparatus from an external network, it is necessary to notify the external address of the global address of the gateway apparatus in advance. For this reason, for example, a global address may be leaked to a malicious user, and the device may be attacked via the gateway device.

そこで本件は、中継処理のセキュリティリスクを低減することができる中継装置、中継方法、データ構造、ゲートウェイ装置、及び中継システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a relay device, a relay method, a data structure, a gateway device, and a relay system that can reduce the security risk of relay processing.

1つの態様では、中継装置は、第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得する取得部と、前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付ける識別子処理部と、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出する検出部と、前記検出部が検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する中継部とを有する。   In one aspect, the relay apparatus provides a resource identifier indicating a position in the second network of a network resource provided from a device in the first network to a server in the second network via the gateway apparatus. Receiving the network resource request for the device from the server, an identifier processing unit for associating the gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier, A detection unit that detects the resource identifier corresponding to the gateway identifier specified by the gateway identifier from a correspondence relationship between the gateway identifier and the resource identifier; and the request by the resource identifier detected by the detection unit, and the gateway device And a relay unit that relays the through the device.

1つの態様では、中継方法は、第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得し、前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付け、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出し、検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する方法である。   In one aspect, the relay method includes, from the gateway device, a resource identifier indicating a location in the second network of a network resource provided from a device in the first network to a server in the second network via the gateway device. The gateway identifier corresponding to the address of the gateway device included in the resource identifier is acquired and associated with the resource identifier, the network resource request for the device is received from the server, and the gateway identifier specified in the request The resource identifier corresponding to is detected from the correspondence between the gateway identifier and the resource identifier, and the request is relayed to the device via the gateway device by the detected resource identifier.

1つの態様では、データ構造は、第1ネットワーク内のデバイスと通信するゲートウェイ装置から、前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置に登録されるデータのデータ構造であって、前記デバイスを識別するデバイス識別子と、前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子とを含み、前記中継装置が、前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子及び前記デバイス識別子に対応付け、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受けたとき、前記要求に指定された前記ゲートウェイ識別子及び前記デバイス識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子、前記リソース識別子、及び前記デバイス識別子の対応関係から検出し、検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する、処理に用いられるものである。   In one aspect, the data structure is registered from a gateway device communicating with a device in the first network to a relay device that relays communication between the server in the second network and the device via the gateway device. A data structure of data, comprising: a device identifier that identifies the device; and a resource identifier that indicates a location in the second network of network resources provided from the device to the server via the gateway device; When the relay device associates a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier and the device identifier, and receives a request for the network resource for the device from the server, Before specified in the request The resource identifier corresponding to the gateway identifier and the device identifier is detected from the correspondence relationship of the gateway identifier, the resource identifier, and the device identifier, and the request is sent to the device via the gateway device by the detected resource identifier. To be used for processing.

1つの態様では、ゲートウェイ装置は、第1ネットワーク内のデバイスから自装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する取得部と、前記デバイス識別子を前記第1リソース識別子に対応付ける識別子処理部と、前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部と、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を前記第2リソース識別子に基づいて受信し、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する検出部と、前記検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する中継部とを有する。   In one aspect, the gateway device includes a first resource identifier indicating a location in the first network of a network resource provided from a device in the first network to a server in the second network via the device, An acquisition unit for acquiring a device identifier for identifying a device from the device, an identifier processing unit for associating the device identifier with the first resource identifier, and the first resource identifier in the second network of the network resource. A generation unit that generates a second resource identifier indicating the location of the network, and receives a request for the network resource for the device from the server based on the second resource identifier, and corresponds to the device identifier specified in the request The first resource identifier is the device identification It has a detection unit for detecting the correspondence between the first resource identifier, and a relay unit that the detector relays the request by the first resource identifier is detected in the device.

1つの態様では、中継システムは、第1ネットワーク内のデバイスと通信するゲートウェイ装置と、前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、前記ゲートウェイ装置は、前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する第1取得部と、前記デバイス識別子を前記第1リソース識別子に対応付ける第1識別子処理部と、前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部とを有し、前記中継装置は、前記第2リソース識別子を前記ゲートウェイ装置から取得する第2取得部と、前記第2リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記第2リソース識別子に対応付ける第2識別子処理部と、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、前記要求に指定された前記ゲートウェイ識別子に対応する前記第2リソース識別子を、前記ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出する第1検出部と、前記第1検出部が検出した前記第2リソース識別子により前記要求を前記ゲートウェイ装置に中継する第1中継部とを有し、前記ゲートウェイ装置は、さらに、前記中継装置から前記要求を受け、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する第2検出部と、前記第2検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する第2中継部とを有する。   In one aspect, the relay system includes a gateway device that communicates with a device in a first network, and a relay device that relays communication between a server in the second network and the device via the gateway device, The gateway device includes: a first resource identifier indicating a position in the first network of a network resource provided from the device to the server via the gateway device; and a device identifier for identifying the device. A first resource acquisition unit, a first identifier processing unit that associates the device identifier with the first resource identifier, and a second resource that indicates a position of the network resource in the second network from the first resource identifier. A generation unit that generates an identifier, and the relay device A second acquisition unit that acquires a second resource identifier from the gateway device; a second identifier processing unit that associates a gateway identifier corresponding to the address of the gateway device included in the second resource identifier with the second resource identifier; Receiving a request for the network resource for the device from the server, and detecting the second resource identifier corresponding to the gateway identifier specified in the request from a correspondence relationship between the gateway identifier and the second resource identifier. And a first relay unit that relays the request to the gateway device using the second resource identifier detected by the first detection unit, wherein the gateway device further receives the request from the relay device. Corresponding to the device identifier specified in the request A second detection unit for detecting the first resource identifier from a correspondence relationship between the device identifier and the first resource identifier, and relaying the request to the device by the first resource identifier detected by the second detection unit. And a second relay unit.

1つの態様では、中継システムは、第1ネットワーク内のデバイスと通信する第1ゲートウェイ装置と、前記第1ゲートウェイ装置と通信する第2ゲートウェイ装置と、前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、前記第1ゲートウェイ装置は、前記デバイスから前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得し、前記デバイス識別子を前記第1リソース識別子に対応付け、前記デバイス識別子及び前記第1リソース識別子から、前記第1ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成し、前記第2ゲートウェイ装置は、前記第2リソース識別子を前記第1ゲートウェイ装置から取得し、前記第2リソース識別子に含まれる前記第1ゲートウェイ装置のアドレスに応じた第1ゲートウェイ識別子を前記第2リソース識別子に対応付け、前記第1ゲートウェイ識別子及び前記第2リソース識別子から、前記第2ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第3リソース識別子を生成し、前記中継装置は、前記第3リソース識別子を前記第2ゲートウェイ装置から取得し、前記第3リソース識別子に含まれる前記第1ゲートウェイ識別子及び前記第2ゲートウェイ装置のアドレスの組み合わせに応じた第2ゲートウェイ識別子を前記第3リソース識別子に対応付け、前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、前記要求に指定された前記第2ゲートウェイ識別子に対応する前記第3リソース識別子を、前記第2ゲートウェイ識別子と前記第3リソース識別子の対応関係から検出し、検出した前記第3リソース識別子により前記要求を前記第2ゲートウェイ装置に中継し、前記第2ゲートウェイ装置は、前記中継装置から前記要求を受け、前記要求に指定された前記第3リソース識別子内の前記第1ゲートウェイ識別子に対応する前記第2リソース識別子を、前記第1ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出し、検出した前記第2リソース識別子により前記要求を前記第1ゲートウェイ装置に中継し、前記第1ゲートウェイ装置は、前記第2ゲートウェイ装置から前記要求を受け、前記要求に指定された前記第2リソース識別子内の前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出し、検出した前記第1リソース識別子により前記要求を前記デバイスに中継する。   In one aspect, the relay system includes a first gateway device that communicates with a device in a first network, a second gateway device that communicates with the first gateway device, and the first gateway device and the second gateway device. A relay device that relays communication between the server in the second network and the device, and the first gateway device is provided from the device to the server via the first gateway device and the second gateway device. A first resource identifier indicating a position of the network resource to be performed in the first network and a device identifier for identifying the device are acquired from the device, the device identifier is associated with the first resource identifier, From the device identifier and the first resource identifier, the first game Generating a second resource identifier indicating a position of the network resource in the second network with respect to the way device, wherein the second gateway device acquires the second resource identifier from the first gateway device, and The first gateway identifier corresponding to the address of the first gateway device included in the two resource identifiers is associated with the second resource identifier, and the second gateway device is defined based on the first gateway identifier and the second resource identifier. Generating a third resource identifier indicating the position of the network resource in the second network, and the relay device acquires the third resource identifier from the second gateway device and is included in the third resource identifier The first gateway identifier and the second gate A second gateway identifier corresponding to a combination of addresses of the gateway device is associated with the third resource identifier, the network resource request for the device is received from the server, and the second gateway identifier specified in the request is received The third resource identifier corresponding to the second gateway identifier is detected from the correspondence relationship between the second gateway identifier and the third resource identifier, and the request is relayed to the second gateway device by the detected third resource identifier, The two-gateway device receives the request from the relay device, and sets the second resource identifier corresponding to the first gateway identifier in the third resource identifier specified in the request to the first gateway identifier and the first gateway identifier. The second resource detected from the correspondence relationship of the two resource identifiers The request is relayed to the first gateway device by a service identifier, and the first gateway device receives the request from the second gateway device and sets the device identifier in the second resource identifier specified in the request. The corresponding first resource identifier is detected from the correspondence between the device identifier and the first resource identifier, and the request is relayed to the device by the detected first resource identifier.

1つの側面として、中継処理のセキュリティリスクを低減することができる。   As one aspect, the security risk of relay processing can be reduced.

中継システムの一例を示す構成図である。It is a block diagram which shows an example of a relay system. 中継サーバの一例を示す構成図である。It is a block diagram which shows an example of a relay server. ゲートウェイ装置の一例を示す構成図である。It is a block diagram which shows an example of a gateway apparatus. IoTデバイス、ゲートウェイ装置、中継サーバ、及びIoTサーバの通信の一例を示すシーケンス図である。It is a sequence diagram which shows an example of communication of an IoT device, a gateway apparatus, a relay server, and an IoT server. IoTデバイスから送信されるデバイス定義情報のメッセージの一例を示す図である。It is a figure which shows an example of the message of the device definition information transmitted from an IoT device. ゲートウェイ装置のURL変換テーブルの一例を示す図である。It is a figure which shows an example of the URL conversion table of a gateway apparatus. ゲートウェイ装置のデバイス定義情報データベースに登録されるデバイス定義情報の一例を示す図である。It is a figure which shows an example of the device definition information registered into the device definition information database of a gateway apparatus. ゲートウェイ装置から送信されるデバイス定義情報のメッセージの一例を示す図である。It is a figure which shows an example of the message of the device definition information transmitted from a gateway apparatus. 中継サーバのURL変換テーブル及びGWIDデータベースの一例を示す図である。It is a figure which shows an example of the URL conversion table and GWID database of a relay server. 中継サーバのデバイス定義情報データベースに登録されるデバイス定義情報の一例を示す図である。It is a figure which shows an example of the device definition information registered into the device definition information database of a relay server. IoTサーバから送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from an IoT server. 中継サーバから送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from a relay server. ゲートウェイ装置から送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from a gateway apparatus. 応答メッセージの一例を示す図である。It is a figure which shows an example of a response message. IoTデバイスから送信されるデバイス定義情報のメッセージの他の例を示す図である。It is a figure which shows the other example of the message of the device definition information transmitted from an IoT device. ゲートウェイ装置のURL変換テーブルの他の例を示す図である。It is a figure which shows the other example of the URL conversion table of a gateway apparatus. ゲートウェイ装置のデバイス定義情報データベースに登録されるデバイス定義情報の他の例を示す図である。It is a figure which shows the other example of the device definition information registered into the device definition information database of a gateway apparatus. ゲートウェイ装置から送信されるデバイス定義情報のメッセージの他の例を示す図である。It is a figure which shows the other example of the message of the device definition information transmitted from a gateway apparatus. 中継サーバのURL変換テーブル及びGWIDデータベースの他の例を示す図である。It is a figure which shows the other example of the URL conversion table and GWID database of a relay server. 中継サーバのデバイス定義情報データベースに登録されるデバイス定義情報の他の例を示す図である。It is a figure which shows the other example of the device definition information registered into the device definition information database of a relay server. IoTサーバから送信されるデバイス制御メッセージの他の例を示す図である。It is a figure which shows the other example of the device control message transmitted from an IoT server. 中継サーバから送信されるデバイス制御メッセージの他の例を示す図である。It is a figure which shows the other example of the device control message transmitted from a relay server. ゲートウェイ装置から送信されるデバイス制御メッセージの他の例を示す図である。It is a figure which shows the other example of the device control message transmitted from a gateway apparatus. ゲートウェイ装置及び中継サーバにおけるIoTデバイスのデバイス定義情報の登録処理の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the registration process of the device definition information of the IoT device in a gateway apparatus and a relay server. ゲートウェイ装置のデバイス定義情報データベースに登録されるデバイス定義情報の一例を示す図である。It is a figure which shows an example of the device definition information registered into the device definition information database of a gateway apparatus. ゲートウェイ装置から送信されるデバイス定義情報のメッセージの一例を示す図である。It is a figure which shows an example of the message of the device definition information transmitted from a gateway apparatus. ゲートウェイ装置のURL変換テーブルの一例を示す図である。It is a figure which shows an example of the URL conversion table of a gateway apparatus. ゲートウェイ装置のデバイス定義情報データベースに登録されるデバイス定義情報の一例を示す図である。It is a figure which shows an example of the device definition information registered into the device definition information database of a gateway apparatus. ゲートウェイ装置から送信されるデバイス定義情報のメッセージの一例を示す図である。It is a figure which shows an example of the message of the device definition information transmitted from a gateway apparatus. 中継サーバのURL変換テーブルの一例を示す図である。It is a figure which shows an example of the URL conversion table of a relay server. 中継サーバのデバイス定義情報データベースに登録されるデバイス定義情報の一例を示す図である。It is a figure which shows an example of the device definition information registered into the device definition information database of a relay server. IoTサーバからIoTデバイスに対するネットワークリソースの要求処理及び取得処理の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the request | requirement process and acquisition process of the network resource with respect to an IoT device from an IoT server. IoTサーバから送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from an IoT server. 中継サーバから送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from a relay server. ゲートウェイ装置から送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from a gateway apparatus. ゲートウェイ装置から送信されるデバイス制御メッセージの一例を示す図である。It is a figure which shows an example of the device control message transmitted from a gateway apparatus.

図1は、中継システムの一例を示す構成図である。中継システムは、インターネット内のIoTサーバ4と各LAN内のIoTデバイス3の間の通信を中継する。中継システムには、インターネット内の中継サーバ1及び複数のゲートウェイ装置(GW)2,2a,2bが含まれる。なお、LANは第1ネットワークの一例であり、インターネットは第2ネットワークの一例である。   FIG. 1 is a configuration diagram illustrating an example of a relay system. The relay system relays communication between the IoT server 4 in the Internet and the IoT device 3 in each LAN. The relay system includes a relay server 1 in the Internet and a plurality of gateway devices (GW) 2, 2a, 2b. The LAN is an example of a first network, and the Internet is an example of a second network.

IoTデバイス3は、デバイスの一例であり、ゲートウェイ装置2,2a,2bと通信する。IoTデバイス3は、例えば温度センサであり、IoTデバイス3からゲートウェイ装置2,2a,2b及び中継サーバ1を介してIoTサーバ4に温度の測定データが提供される。IoTサーバ4は、IoTデバイス3から提供された温度の測定データを利用して所定のサービスを提供する。なお、温度の測定データはネットワークリソースの一例である。IoTデバイス3から提供されるネットワークリソースとしては、温度の測定データに限らず、例えば湿度や風速などの測定データなども挙げられる。   The IoT device 3 is an example of a device and communicates with the gateway devices 2, 2a, and 2b. The IoT device 3 is, for example, a temperature sensor, and temperature measurement data is provided from the IoT device 3 to the IoT server 4 via the gateway devices 2, 2 a, 2 b and the relay server 1. The IoT server 4 provides a predetermined service using the temperature measurement data provided from the IoT device 3. The temperature measurement data is an example of a network resource. The network resource provided from the IoT device 3 is not limited to temperature measurement data, and includes, for example, measurement data such as humidity and wind speed.

IoTサーバ4は、サーバの一例であり、WebのインターフェースによりIoTデバイス3にアクセスする。このため、各IoTデバイス3からデバイス定義情報30が提供される。デバイス定義情報30には、点線枠で示されるように、例えば、IoTデバイス3を識別するデバイスID「device1」、ネットワークリソースの属性を示す属性ID「temperature」、及びネットワークリソースのURL「http://192.168.1.10/Things/Property/temp」が含まれる。なお、デバイスID、属性ID、及びURLは、それぞれ、デバイス識別子、属性識別子、及びリソース識別子の一例である。   The IoT server 4 is an example of a server, and accesses the IoT device 3 through a Web interface. Therefore, device definition information 30 is provided from each IoT device 3. The device definition information 30 includes, for example, a device ID “device1” that identifies the IoT device 3, an attribute ID “temperature” that indicates an attribute of the network resource, and a URL “http: / /192.168.1.10/Things/Property/temp ”is included. The device ID, the attribute ID, and the URL are examples of a device identifier, an attribute identifier, and a resource identifier, respectively.

しかし、IoTサーバ4は、ローカルネットワークであるLANとは異なるインターネットに接続されている。IoTサーバ4は、例えばNATを超えて通信することができないため、デバイス定義情報30のURLにより直接的にIoTデバイス3にアクセスすることができない。   However, the IoT server 4 is connected to the Internet different from the LAN that is a local network. Since the IoT server 4 cannot communicate beyond NAT, for example, the IoT server 4 cannot directly access the IoT device 3 using the URL of the device definition information 30.

そこで、IoTサーバ4とゲートウェイ装置2,2a,2bの間には、ゲートウェイ装置2,2a,2bを介してIoTサーバ4とIoTデバイス3の間の通信を中継する中継サーバ1が設けられている。中継サーバ1は、事前にデバイス定義情報からURL変換テーブルを生成し、URL変換テーブルによりURLを変換する機能を備える。また、各ゲートウェイ装置2,2a,2bも、デバイス定義情報に基づいてURLを変換する機能を備える。   Therefore, a relay server 1 that relays communication between the IoT server 4 and the IoT device 3 via the gateway devices 2, 2a, 2b is provided between the IoT server 4 and the gateway devices 2, 2a, 2b. . The relay server 1 has a function of generating a URL conversion table from device definition information in advance and converting the URL by the URL conversion table. Each gateway device 2, 2a, 2b also has a function of converting a URL based on the device definition information.

中継サーバ1は、中継装置の一例であり、IoTサーバ4から、ゲートウェイ装置2,2a,2bを識別するゲートウェイ識別子(GWID)を含むURLによりIoTデバイス3への要求を受け、GWIDに基づきURLを変換する。このため、中継サーバ1は、IoTサーバ4にゲートウェイ装置2,2a,2bのグローバルアドレスを通知する必要がないので、中継処理のセキュリティリスクを低減することができる。   The relay server 1 is an example of a relay device. The relay server 1 receives a request from the IoT server 4 to the IoT device 3 with a URL including a gateway identifier (GWID) for identifying the gateway devices 2, 2a, and 2b, and sets the URL based on the GWID. Convert. For this reason, since the relay server 1 does not need to notify the IoT server 4 of the global addresses of the gateway devices 2, 2 a, 2 b, it is possible to reduce the security risk of relay processing.

IoTサーバ4は、例えば経路Raのように、中継サーバ1及びゲートウェイ装置2を介してIoTデバイス3にアクセスする場合と、経路Rbのように、中継サーバ1及び2段のゲートウェイ装置2a,2bを介してIoTデバイス3にアクセスする場合がある。ゲートウェイ装置2aは第1ゲートウェイ装置の一例であり、ゲートウェイ装置2bの下位側に接続される。ゲートウェイ装置2bは第2ゲートウェイ装置の一例である。   For example, the IoT server 4 accesses the IoT device 3 via the relay server 1 and the gateway apparatus 2 as in the path Ra, and the relay server 1 and the two-stage gateway apparatuses 2a and 2b as in the path Rb. In some cases, the IoT device 3 is accessed via the IoT device 3. The gateway device 2a is an example of a first gateway device, and is connected to the lower side of the gateway device 2b. The gateway device 2b is an example of a second gateway device.

図2は、中継サーバ1の一例を示す構成図である。中継サーバ1は、CPU(Central Processing Unit)10、ROM(Read Only Memory)11、RAM(Random Access Memory)12、HDD(Hard Disk Drive)13、複数の通信ポート14、入力装置15、及び出力装置16を有する。CPU10は、互いに信号の入出力ができるように、ROM11、RAM12、HDD13、複数の通信ポート14、入力装置15、及び出力装置16と、バス19を介して接続されている。   FIG. 2 is a configuration diagram illustrating an example of the relay server 1. The relay server 1 includes a CPU (Central Processing Unit) 10, a ROM (Read Only Memory) 11, a RAM (Random Access Memory) 12, an HDD (Hard Disk Drive) 13, a plurality of communication ports 14, an input device 15, and an output device. 16 The CPU 10 is connected to a ROM 11, a RAM 12, an HDD 13, a plurality of communication ports 14, an input device 15, and an output device 16 via a bus 19 so that signals can be input and output with each other.

ROM11は、CPU10を駆動するプログラムが格納されている。RAM12は、CPU10のワーキングメモリとして機能する。複数の通信ポート14は、例えば無線LANカードやNIC(Network Interface Card)であり、IoTサーバ4やゲートウェイ装置2,2bとの間でそれぞれパケットを送受信する。なお、パケットとしては、IP(Internet Protocol)パケットが挙げられるが、これに限定されない。   The ROM 11 stores a program for driving the CPU 10. The RAM 12 functions as a working memory for the CPU 10. The plurality of communication ports 14 are, for example, wireless LAN cards or NICs (Network Interface Cards), and transmit / receive packets to / from the IoT server 4 and the gateway devices 2 and 2b, respectively. The packet includes an IP (Internet Protocol) packet, but is not limited thereto.

入力装置15は、中継サーバ1に情報を入力する装置である。入力装置15としては、例えばキーボード、マウス、及びタッチパネルなどが挙げられる。入力装置15は、入力された情報を、バス19を介しCPU10に出力する。   The input device 15 is a device that inputs information to the relay server 1. Examples of the input device 15 include a keyboard, a mouse, and a touch panel. The input device 15 outputs the input information to the CPU 10 via the bus 19.

出力装置16は、中継サーバ1の情報を出力する装置である。出力装置16としては、例えばディスプレイなどが挙げられる。出力装置16は、CPU10からバス19を介して情報を取得して出力する。   The output device 16 is a device that outputs information of the relay server 1. Examples of the output device 16 include a display. The output device 16 acquires and outputs information from the CPU 10 via the bus 19.

また、HDD13には、URL変換テーブル130、デバイス定義情報データベース(DB)131、及びGWIDデータベース(GWID−DB)132が格納されている。URL変換テーブル130は、GWIDとURLの対応関係を示すテーブルの一例であり、URLの変換に用いられる。   The HDD 13 stores a URL conversion table 130, a device definition information database (DB) 131, and a GWID database (GWID-DB) 132. The URL conversion table 130 is an example of a table indicating the correspondence between GWIDs and URLs, and is used for URL conversion.

デバイス定義情報DB131には、IoTデバイス3のデバイス定義情報が登録される。GWID−DB132には、GWID、デバイスID、及び属性IDとゲートウェイ装置2,2aのURLの対応関係が登録される。なお、URL変換テーブル130、デバイス定義情報DB131、及びGWID−DB132は、HDD13に限定されず、中継サーバ1の内部または外部の他の記憶装置(メモリなど)に格納されてもよい。   In the device definition information DB 131, device definition information of the IoT device 3 is registered. In the GWID-DB 132, a correspondence relationship between the GWID, the device ID, and the attribute ID and the URL of the gateway device 2 or 2a is registered. The URL conversion table 130, the device definition information DB 131, and the GWID-DB 132 are not limited to the HDD 13, and may be stored in another storage device (memory or the like) inside or outside the relay server 1.

CPU10は、ROM11からプログラムを読み込むと、機能として、動作制御部100、デバイス定義情報取得部101、URL登録部102、デバイス登録部103、URL変換部104、及び中継処理部105が形成される。なお、動作制御部100、デバイス定義情報取得部101、URL登録部102、デバイス登録部103、URL変換部104、及び中継処理部105は、ソフトウェアの機能ではなく、例えばFPGA(Field Programmable Gate Array)などのハードウェアから構成される回路であってもよい。   When the CPU 10 reads the program from the ROM 11, the operation control unit 100, device definition information acquisition unit 101, URL registration unit 102, device registration unit 103, URL conversion unit 104, and relay processing unit 105 are formed as functions. The operation control unit 100, the device definition information acquisition unit 101, the URL registration unit 102, the device registration unit 103, the URL conversion unit 104, and the relay processing unit 105 are not software functions, for example, an FPGA (Field Programmable Gate Array). It may be a circuit composed of hardware such as.

動作制御部100は中継サーバ1の全体の動作を制御する。動作制御部100は、中継処理の開始前、デバイス定義情報取得部101に動作を指示する。   The operation control unit 100 controls the overall operation of the relay server 1. The operation control unit 100 instructs the device definition information acquisition unit 101 to perform an operation before starting relay processing.

デバイス定義情報取得部101は、第2取得部の一例であり、ゲートウェイ装置2,2bから通信ポート14を介しIoTデバイス3のデバイス定義情報を取得する。デバイス定義情報には、第2リソース識別子または第3リソース識別子の一例であるURL、デバイスID、及び属性IDが含まれる。URLは、IoTデバイス3のネットワークリソースのインターネット内の位置を示し、URLにはゲートウェイ装置2,2bのグローバルアドレスが含まれる。デバイス定義情報はデバイス定義情報取得部101からURL登録部102に出力される。   The device definition information acquisition unit 101 is an example of a second acquisition unit, and acquires device definition information of the IoT device 3 from the gateway devices 2 and 2b via the communication port 14. The device definition information includes a URL, a device ID, and an attribute ID, which are examples of the second resource identifier or the third resource identifier. The URL indicates the position of the network resource of the IoT device 3 in the Internet, and the URL includes the global addresses of the gateway devices 2 and 2b. The device definition information is output from the device definition information acquisition unit 101 to the URL registration unit 102.

URL登録部102は、第2識別子処理部の一例であり、URLに含まれるゲートウェイ装置2,2bのアドレスに応じたGWID、デバイスID、及び属性IDをURLに対応付ける。より具体的には、URL登録部102は、デバイス定義情報に基づき、GWID、デバイスID、及び属性IDとURLの対応関係をURL変換テーブル130に登録する。   The URL registration unit 102 is an example of a second identifier processing unit, and associates the GWID, device ID, and attribute ID corresponding to the addresses of the gateway devices 2 and 2b included in the URL with the URL. More specifically, the URL registration unit 102 registers the correspondence between the GWID, the device ID, and the attribute ID and the URL in the URL conversion table 130 based on the device definition information.

このとき、URL登録部102は、URLに含まれるゲートウェイ装置2,2bのグローバルアドレスに応じたGWIDをGWID−DB132から検索する。なお、URL登録部102は、グローバルアドレスに応じたGWIDがGWID−DB132に未登録である場合、新たなGWIDをグローバルアドレスに割り当てる。なお、グローバルアドレスはアドレスの一例である。デバイス定義情報はURL登録部102からデバイス登録部103に出力される。   At this time, the URL registration unit 102 searches the GWID-DB 132 for a GWID corresponding to the global address of the gateway device 2 or 2b included in the URL. If the GWID corresponding to the global address is not registered in the GWID-DB 132, the URL registration unit 102 assigns a new GWID to the global address. The global address is an example of an address. The device definition information is output from the URL registration unit 102 to the device registration unit 103.

デバイス登録部103は、デバイス定義情報のURLから、中継サーバ1を基準としてネットワークリソースのインターネット内の位置を示すURLを生成する。このURLには、GWID、デバイスID、及び属性IDが含まれる。デバイス登録部103は、新たに生成したURLによりデバイス定義情報を更新してデバイス定義情報DB131に登録する。動作制御部100は、デバイス定義情報DB131内のデバイス定義情報をIoTサーバ4に通知する。   The device registration unit 103 generates, from the URL of the device definition information, a URL indicating the location of the network resource in the Internet with reference to the relay server 1. This URL includes a GWID, a device ID, and an attribute ID. The device registration unit 103 updates the device definition information with the newly generated URL and registers it in the device definition information DB 131. The operation control unit 100 notifies the IoT server 4 of the device definition information in the device definition information DB 131.

また、動作制御部100は、IoTサーバ4からIoTデバイス3へのネットワークリソースの要求を、通信ポート14を介して受ける。ネットワークリソースは、例えばHTTPリクエストとして構成されたデバイス制御メッセージ(MSG)により要求される。動作制御部100は、デバイス制御MSGをURL変換部104に出力する。   Further, the operation control unit 100 receives a network resource request from the IoT server 4 to the IoT device 3 via the communication port 14. The network resource is requested by, for example, a device control message (MSG) configured as an HTTP request. The operation control unit 100 outputs the device control MSG to the URL conversion unit 104.

URL変換部104は、デバイス制御MSGを受け、デバイス制御MSGに含まれるURLをURL変換テーブル130に基づいて変換する。デバイス制御MSGに含まれるURLには、事前に通知したデバイス定義情報に従ってGWID、デバイスID、及び属性IDが指定されている。   The URL conversion unit 104 receives the device control MSG and converts the URL included in the device control MSG based on the URL conversion table 130. In the URL included in the device control MSG, the GWID, the device ID, and the attribute ID are designated according to the device definition information notified in advance.

URL変換部104は、第1検出部の一例であり、デバイス制御MSGに指定されたGWID、デバイスID、及び属性IDに対応するURLを、GWID、デバイスID、及び属性IDとURLの対応関係から検出する。より具体的には、URL変換部104は、GWID、デバイスID、及び属性IDに対応するURLをURL変換テーブル130から検出する。このため、URL変換部104は、URL変換テーブル130から迅速にURLを検索することができる。検索されたURLとデバイス制御MSGは、URL変換部104から中継処理部105に出力される。   The URL conversion unit 104 is an example of a first detection unit, and the URL corresponding to the GWID, device ID, and attribute ID specified in the device control MSG is determined based on the correspondence between the GWID, the device ID, and the attribute ID and the URL. To detect. More specifically, the URL conversion unit 104 detects a URL corresponding to the GWID, device ID, and attribute ID from the URL conversion table 130. For this reason, the URL conversion unit 104 can quickly retrieve a URL from the URL conversion table 130. The searched URL and device control MSG are output from the URL conversion unit 104 to the relay processing unit 105.

中継処理部105は、第1中継部の一例であり、URL変換部104が検出したURLによりデバイス制御MSGをゲートウェイ装置2,2a,2bを介しIoTデバイス3に中継する。より具体的には、中継処理部105は、IoTサーバ4から受信したデバイス制御MSGのURLを、URL変換テーブル130から検索されたURLに置き換えて、置き換え後のデバイス制御MSGを通信ポート14からゲートウェイ装置2,2aに送信する。   The relay processing unit 105 is an example of a first relay unit, and relays the device control MSG to the IoT device 3 via the gateway devices 2, 2 a, and 2 b based on the URL detected by the URL conversion unit 104. More specifically, the relay processing unit 105 replaces the URL of the device control MSG received from the IoT server 4 with the URL retrieved from the URL conversion table 130, and transmits the replaced device control MSG from the communication port 14 to the gateway. Transmit to devices 2 and 2a.

図3は、ゲートウェイ装置2,2a,2bの一例を示す構成図である。ゲートウェイ装置2,2a,2bは、CPU20、ROM21、RAM22、HDD23、複数の通信ポート24、入力装置25、及び出力装置26を有する。CPU20は、互いに信号の入出力ができるように、ROM21、RAM22、HDD23、複数の通信ポート24、入力装置25、及び出力装置26と、バス29を介して接続されている。   FIG. 3 is a configuration diagram illustrating an example of the gateway devices 2, 2a, and 2b. The gateway devices 2, 2 a and 2 b include a CPU 20, a ROM 21, a RAM 22, an HDD 23, a plurality of communication ports 24, an input device 25, and an output device 26. The CPU 20 is connected to a ROM 21, a RAM 22, an HDD 23, a plurality of communication ports 24, an input device 25, and an output device 26 via a bus 29 so that signals can be input and output.

ROM21は、CPU20を駆動するプログラムが格納されている。RAM22は、CPU20のワーキングメモリとして機能する。複数の通信ポート24は、例えば無線LANカードやNICであり、中継サーバ1や、IoTデバイス3または下位のゲートウェイ装置2aとの間でそれぞれパケットを送受信する。   The ROM 21 stores a program for driving the CPU 20. The RAM 22 functions as a working memory for the CPU 20. The plurality of communication ports 24 are, for example, wireless LAN cards or NICs, and transmit / receive packets to / from the relay server 1, the IoT device 3, or the lower gateway apparatus 2a.

入力装置25は、ゲートウェイ装置2,2a,2bに情報を入力する装置である。入力装置25としては、例えばキーボード、マウス、及びタッチパネルなどが挙げられる。入力装置25は、入力された情報を、バス29を介しCPU20に出力する。   The input device 25 is a device that inputs information to the gateway devices 2, 2a, 2b. Examples of the input device 25 include a keyboard, a mouse, and a touch panel. The input device 25 outputs the input information to the CPU 20 via the bus 29.

出力装置26は、ゲートウェイ装置2,2a,2bの情報を出力する装置である。出力装置26としては、例えばディスプレイなどが挙げられる。出力装置26は、CPU20からバス29を介して情報を取得して出力する。   The output device 26 is a device that outputs information of the gateway devices 2, 2a, 2b. An example of the output device 26 is a display. The output device 26 acquires information from the CPU 20 via the bus 29 and outputs the information.

また、HDD23には、URL変換テーブル230及びデバイス定義情報データベース(DB)231が格納されている。URL変換テーブル230は、URLの変換に用いられる。デバイス定義情報DB231には、IoTデバイス3のデバイス定義情報が登録される。なお、URL変換テーブル230及びデバイス定義情報DB231は、HDD23に限定されず、ゲートウェイ装置2,2a,2bの内部または外部の他の記憶装置(メモリなど)に格納されてもよい。   The HDD 23 also stores a URL conversion table 230 and a device definition information database (DB) 231. The URL conversion table 230 is used for URL conversion. Device definition information of the IoT device 3 is registered in the device definition information DB 231. The URL conversion table 230 and the device definition information DB 231 are not limited to the HDD 23, and may be stored in another storage device (memory or the like) inside or outside the gateway device 2, 2a, 2b.

CPU20は、ROM21からプログラムを読み込むと、機能として、動作制御部200、デバイス定義情報取得部201、URL登録部202、デバイス登録部203、URL変換部204、及び中継処理部205が形成される。なお、動作制御部200、デバイス定義情報取得部201、URL登録部202、デバイス登録部203、URL変換部204、及び中継処理部205は、ソフトウェアの機能ではなく、例えばFPGAなどのハードウェアから構成される回路であってもよい。   When the CPU 20 reads the program from the ROM 21, the operation control unit 200, device definition information acquisition unit 201, URL registration unit 202, device registration unit 203, URL conversion unit 204, and relay processing unit 205 are formed as functions. The operation control unit 200, the device definition information acquisition unit 201, the URL registration unit 202, the device registration unit 203, the URL conversion unit 204, and the relay processing unit 205 are configured by hardware such as an FPGA, for example, instead of a software function. It may be a circuit.

動作制御部200はゲートウェイ装置2,2a,2bの全体の動作を制御する。動作制御部200は、中継処理の開始前、デバイス定義情報取得部201に動作を指示する。   The operation control unit 200 controls the overall operation of the gateway devices 2, 2a, 2b. The operation control unit 200 instructs the device definition information acquisition unit 201 to perform an operation before starting relay processing.

ゲートウェイ装置2,2aにおいて、デバイス定義情報取得部201は、第1取得部の一例であり、IoTデバイス3から通信ポート14を介しIoTデバイス3のデバイス定義情報を取得する。デバイス定義情報には、第1リソース識別子の一例であるURL、デバイスID、及び属性IDが含まれる。URLは、IoTデバイス3のネットワークリソースのLAN内の位置を示し、URLにはIoTデバイス3のLAN内のローカルアドレスが含まれる。   In the gateway devices 2 and 2a, the device definition information acquisition unit 201 is an example of a first acquisition unit, and acquires device definition information of the IoT device 3 from the IoT device 3 via the communication port 14. The device definition information includes a URL that is an example of a first resource identifier, a device ID, and an attribute ID. The URL indicates the position of the network resource of the IoT device 3 in the LAN, and the URL includes a local address in the LAN of the IoT device 3.

また、ゲートウェイ装置2bにおいて、デバイス定義情報取得部201は、ゲートウェイ装置2aから通信ポート14を介しIoTデバイス3のデバイス定義情報を取得する。デバイス定義情報には、第2リソース識別子の一例であるURL、デバイスID、及び属性IDが含まれる。URLは、ゲートウェイ装置2aを基準として、IoTデバイス3のネットワークリソースのインターネット内の位置を示し、URLにはゲートウェイ装置2aのグローバルアドレスが含まれる。デバイス定義情報はデバイス定義情報取得部201からURL登録部202に出力される。   In the gateway device 2b, the device definition information acquisition unit 201 acquires device definition information of the IoT device 3 from the gateway device 2a via the communication port 14. The device definition information includes a URL, a device ID, and an attribute ID that are examples of the second resource identifier. The URL indicates the location of the network resource of the IoT device 3 in the Internet with reference to the gateway device 2a, and the URL includes the global address of the gateway device 2a. The device definition information is output from the device definition information acquisition unit 201 to the URL registration unit 202.

ゲートウェイ装置2,2aにおいて、URL登録部202は、第1識別子処理部の一例であり、デバイスID及び属性IDをURLに対応付ける。より具体的には、URL登録部202は、デバイス定義情報に基づき、デバイスID及び属性IDとURLの対応関係をURL変換テーブル230に登録する。   In the gateway devices 2 and 2a, the URL registration unit 202 is an example of a first identifier processing unit, and associates a device ID and an attribute ID with a URL. More specifically, the URL registration unit 202 registers the correspondence relationship between the device ID and attribute ID and the URL in the URL conversion table 230 based on the device definition information.

ゲートウェイ装置2bにおいて、URL登録部202は、デバイスID、属性ID、及びGWIDをURLに対応付ける。より具体的には、URL登録部202は、デバイス定義情報に基づき、デバイスID、属性ID、及びGWIDとURLの対応関係をURL変換テーブル230に登録する。ここで、GWIDは、例えばゲートウェイ装置2aから取得されたデバイス定義情報に指定されている。デバイス定義情報はURL登録部202からデバイス登録部203に出力される。   In the gateway device 2b, the URL registration unit 202 associates the device ID, the attribute ID, and the GWID with the URL. More specifically, the URL registration unit 202 registers the device ID, the attribute ID, and the correspondence between the GWID and the URL in the URL conversion table 230 based on the device definition information. Here, the GWID is specified in, for example, device definition information acquired from the gateway device 2a. The device definition information is output from the URL registration unit 202 to the device registration unit 203.

デバイス登録部203は、デバイス定義情報のURLから、ゲートウェイ装置2,2a,2bを基準としてネットワークリソースのインターネット内の位置を示すURLを生成する。このURLには、ゲートウェイ装置2,2aのアドレス、デバイスID、及び属性IDが含まれる。デバイス登録部203は、新たに生成したURLによりデバイス定義情報を更新してデバイス定義情報DB231に登録する。   The device registration unit 203 generates a URL indicating the position of the network resource in the Internet from the URL of the device definition information with reference to the gateway devices 2, 2 a and 2 b. This URL includes the addresses of the gateway devices 2 and 2a, the device ID, and the attribute ID. The device registration unit 203 updates the device definition information with the newly generated URL and registers it in the device definition information DB 231.

動作制御部200は、デバイス定義情報DB231内のデバイス定義情報をIoTサーバ4またはゲートウェイ装置2bに通知する。このとき、動作制御部200は、URL内のアドレスをグローバルアドレスに変換して通知する。動作制御部200は、生成部の一例であり、デバイス定義情報取得部201が取得したデバイス定義情報のURLから、ゲートウェイ装置2,2a,2bを基準としてネットワークリソースのインターネット内の位置を示すURLを生成する。   The operation control unit 200 notifies the device definition information in the device definition information DB 231 to the IoT server 4 or the gateway device 2b. At this time, the operation control unit 200 converts the address in the URL into a global address and notifies it. The operation control unit 200 is an example of a generation unit. From the URL of the device definition information acquired by the device definition information acquisition unit 201, the operation control unit 200 uses a URL indicating the location of the network resource in the Internet with reference to the gateway devices 2, 2a, and 2b. Generate.

また、動作制御部200は、IoTサーバ4からIoTデバイス3へのネットワークリソースの要求を、通信ポート24を介して受ける。ネットワークリソースは、例えばHTTPリクエストとして構成されたデバイス制御メッセージ(MSG)により要求される。動作制御部200は、デバイス制御MSGをURL変換部204に出力する。   Further, the operation control unit 200 receives a network resource request from the IoT server 4 to the IoT device 3 via the communication port 24. The network resource is requested by, for example, a device control message (MSG) configured as an HTTP request. The operation control unit 200 outputs the device control MSG to the URL conversion unit 204.

URL変換部204は、デバイス制御MSGを受け、デバイス制御MSGに含まれるURLをURL変換テーブル230に基づいて変換する。URL変換部204は、デバイス制御MSG内のURLからデバイスID及び属性IDを抽出し、デバイスID及び属性IDに対応するURLを、デバイスID及び属性IDとURLの対応関係から検出する。   The URL conversion unit 204 receives the device control MSG and converts the URL included in the device control MSG based on the URL conversion table 230. The URL conversion unit 204 extracts the device ID and attribute ID from the URL in the device control MSG, and detects the URL corresponding to the device ID and attribute ID from the correspondence relationship between the device ID and attribute ID and the URL.

より具体的には、URL変換部204は、デバイスID及び属性IDに対応するURLをURL変換テーブル230から検出する。このため、URL変換部204は、URL変換テーブル230から迅速にURLを検索することができる。なお、ゲートウェイ装置2,2aにおいて、URL変換部204は第2検出部の一例である。検索されたURLとデバイス制御MSGは、URL変換部204から中継処理部205に出力される。   More specifically, the URL conversion unit 204 detects a URL corresponding to the device ID and attribute ID from the URL conversion table 230. For this reason, the URL conversion unit 204 can quickly retrieve a URL from the URL conversion table 230. In the gateway devices 2 and 2a, the URL conversion unit 204 is an example of a second detection unit. The searched URL and device control MSG are output from the URL conversion unit 204 to the relay processing unit 205.

中継処理部205は、URL変換部204が検出したURLによりデバイス制御MSGをゲートウェイ装置2aまたはIoTデバイス3に中継する。より具体的には、中継処理部205は、デバイス制御MSGのURLを、URL変換テーブル230から検索されたURLに置き換えて、置き換え後のデバイス制御MSGを通信ポート14からIoTデバイス3またはゲートウェイ装置2aに送信する。なお、ゲートウェイ装置2,2aにおいて、中継処理部205は第2中継部の一例である。   The relay processing unit 205 relays the device control MSG to the gateway device 2a or the IoT device 3 based on the URL detected by the URL conversion unit 204. More specifically, the relay processing unit 205 replaces the URL of the device control MSG with the URL searched from the URL conversion table 230, and replaces the replaced device control MSG from the communication port 14 with the IoT device 3 or the gateway device 2a. Send to. In the gateway devices 2 and 2a, the relay processing unit 205 is an example of a second relay unit.

次に、図1に示された経路Raに沿ったアクセスの例を挙げて中継システムの動作を述べる。   Next, the operation of the relay system will be described by giving an example of access along the route Ra shown in FIG.

図4は、IoTデバイス3、ゲートウェイ装置2、中継サーバ1、及びIoTサーバ4の通信の一例を示すシーケンス図である。まず、ゲートウェイ装置2及び中継サーバ1は、IoTデバイス3のデバイス定義情報の登録シーケンスSQ1を実行する。以下に、図5〜図10を適宜に参照しながら登録シーケンスSQ1を説明する。   FIG. 4 is a sequence diagram illustrating an example of communication between the IoT device 3, the gateway device 2, the relay server 1, and the IoT server 4. First, the gateway device 2 and the relay server 1 execute a device definition information registration sequence SQ1 of the IoT device 3. The registration sequence SQ1 will be described below with reference to FIGS.

IoTデバイス3は、デバイス定義情報を含むメッセージS1をゲートウェイ装置2に送信する。このとき、IoTデバイス3は、図1に示されたデバイス定義情報30に基づいてメッセージS1を生成し送信する。   The IoT device 3 transmits a message S1 including device definition information to the gateway device 2. At this time, the IoT device 3 generates and transmits a message S1 based on the device definition information 30 shown in FIG.

図5は、IoTデバイス3から送信されるデバイス定義情報のメッセージS1の一例を示す図である。メッセージS1には、リクエスト行RQ、メッセージヘッダHD、及びメッセージボディBDが含まれている。   FIG. 5 is a diagram illustrating an example of the device definition information message S1 transmitted from the IoT device 3. The message S1 includes a request line RQ, a message header HD, and a message body BD.

リクエスト行RQには、宛先となるゲートウェイ装置2のアドレスやプロトコルの情報などが含まれている。また、メッセージヘッダHDには、使用言語、コネクション、及びホストなどに関する情報が含まれている。また、メッセージボディBDには、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://192.168.1.10/Things/Property/temp」を含むデバイス定義情報が含まれている。   The request line RQ includes the address and protocol information of the gateway device 2 that is the destination. Further, the message header HD includes information on the language used, the connection, the host, and the like. The message body BD includes device definition information including a device ID “device1”, an attribute ID “temperature”, and a URL “http://192.168.1.10/Things/Property/temp” as indicated by a dotted frame. It is included.

ゲートウェイ装置2において、デバイス定義情報取得部201は、メッセージS1内のデバイス定義情報をIoTデバイス3から取得する。URL登録部202は、デバイス定義情報のデバイスID「device1」及び属性ID「temperature」を、URL「http://192.168.1.10/Things/Property/temp」に対応付け、その対応関係をURL変換テーブル230に登録する(符号S2)。   In the gateway device 2, the device definition information acquisition unit 201 acquires device definition information in the message S 1 from the IoT device 3. The URL registration unit 202 associates the device ID “device1” and the attribute ID “temperature” of the device definition information with the URL “http://192.168.1.10/Things/Property/temp”, and associates the correspondence with the URL conversion table. 230 (reference S2).

図6は、ゲートウェイ装置2のURL変換テーブル230の一例を示す図である。URL変換テーブル230には、デバイス定義情報のデバイスID「device1」、属性ID「temperature」、及びURL「http://192.168.1.10/Things/Property/temp」が互いに対応付けられて登録されている。   FIG. 6 is a diagram illustrating an example of the URL conversion table 230 of the gateway device 2. In the URL conversion table 230, the device ID “device1”, the attribute ID “temperature”, and the URL “http://192.168.1.10/Things/Property/temp” of the device definition information are registered in association with each other. .

次に、ゲートウェイ装置2のデバイス登録部203は、デバイス定義情報をデバイス定義情報DB231に登録する(符号S3)。   Next, the device registration unit 203 of the gateway apparatus 2 registers the device definition information in the device definition information DB 231 (reference S3).

図7は、ゲートウェイ装置2のデバイス定義情報DB231に登録されるデバイス定義情報の一例を示す図である。デバイス定義情報DB231には、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw1.exp.com/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw1.exp.com」は、ゲートウェイ装置2のLAN内のローカルアドレスである。   FIG. 7 is a diagram illustrating an example of device definition information registered in the device definition information DB 231 of the gateway device 2. The device definition information DB 231 includes a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw1.exp.com/Things/device1/Property/temperature” as indicated by a dotted frame. Contains device definition information. Here, “gw1.exp.com” included in the URL is a local address in the LAN of the gateway device 2.

このように、デバイス登録部203は、IoTデバイス3から取得したURLのアドレス部分を、IoTデバイス3のローカルアドレス「192.168.1.10」からゲートウェイ装置2のローカルアドレス「gw1.exp.com」に置き換えて登録する。   Thus, the device registration unit 203 replaces the address part of the URL acquired from the IoT device 3 with the local address “gw1.exp.com” of the gateway device 2 from the local address “192.168.1.10” of the IoT device 3. sign up.

次に、ゲートウェイ装置2の動作制御部200は、デバイス定義情報を含むメッセージS4を中継サーバ1に送信する。   Next, the operation control unit 200 of the gateway device 2 transmits a message S4 including device definition information to the relay server 1.

図8は、ゲートウェイ装置2から送信されるデバイス定義情報のメッセージS4の一例を示す図である。メッセージS4には、リクエスト行RQ、メッセージヘッダHD、及びメッセージボディBDが含まれている。   FIG. 8 is a diagram illustrating an example of the device definition information message S4 transmitted from the gateway apparatus 2. The message S4 includes a request line RQ, a message header HD, and a message body BD.

メッセージボディBDには、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw1.exp.global.com/Things/device1/ Property/ temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw1.exp.global.com」は、ゲートウェイ装置2のインターネット内のグローバルアドレスである。   In the message body BD, as shown by the dotted frame, the device ID “device1”, the attribute ID “temperature”, and the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” Contains device definition information. Here, “gw1.exp.global.com” included in the URL is a global address in the Internet of the gateway device 2.

動作制御部200は、メッセージS4において、登録したURLのアドレス部分を、インターネット内の中継サーバ1からアクセスできるようにローカルアドレス「gw1.exp.com」からグローバルアドレス「gw1.exp.global.com」に置き換える。このように、動作制御部200は、IoTデバイス3から取得したURLから、ネットワークリソースのインターネット内の位置を示すURLを生成する。   In the message S4, the operation control unit 200 makes the registered URL address part accessible from the relay server 1 in the Internet from the local address “gw1.exp.com” to the global address “gw1.exp.global.com”. Replace with As described above, the operation control unit 200 generates a URL indicating the position of the network resource in the Internet from the URL acquired from the IoT device 3.

中継サーバ1において、デバイス定義情報取得部101は、メッセージS4内のデバイス定義情報をゲートウェイ装置2から取得する。URL登録部102は、デバイス定義情報のURL「http://gw1.exp.global.com/Things/device1/Property/ temperature」からゲートウェイ装置2のグローバルアドレス「gw1.exp.global.com」(以下、「GWアドレス」と表記)を抽出する。   In the relay server 1, the device definition information acquisition unit 101 acquires the device definition information in the message S4 from the gateway device 2. The URL registration unit 102 uses the device definition information URL “http://gw1.exp.global.com/Things/device1/Property/temperature” to obtain the global address “gw1.exp.global.com” (hereinafter, “gateway device 2”). , “GW address”).

URL登録部102は、GWアドレス「gw1.exp.global.com」に応じたGWIDをGWID−DB132から検索する。URL登録部102は、GWID、デバイスID、及び属性IDをURLに対応付け、その対応関係をURL変換テーブル130に登録する(符号S5)。   The URL registration unit 102 searches the GWID-DB 132 for a GWID corresponding to the GW address “gw1.exp.global.com”. The URL registration unit 102 associates the GWID, device ID, and attribute ID with the URL, and registers the correspondence in the URL conversion table 130 (reference S5).

図9は、中継サーバ1のURL変換テーブル130及びGWID−DB132の一例を示す図である。GWID−DB132には、GWID及びGWアドレスが互いに対応付けられて登録されている。   FIG. 9 is a diagram illustrating an example of the URL conversion table 130 and the GWID-DB 132 of the relay server 1. In the GWID-DB 132, the GWID and the GW address are registered in association with each other.

URL登録部102は、URLから抽出したGWアドレス「gw1.exp.global.com」をキーとしてGWID−DB132を検索し、GWID「gw1」を得る。なお、URL登録部102は、GWアドレス「gw1.exp.global.com」に該当するGWIDがGWID−DB132に存在しない場合、新たにGWID「gw1」をGWID−DB132に追加してもよい。   The URL registration unit 102 searches the GWID-DB 132 using the GW address “gw1.exp.global.com” extracted from the URL as a key, and obtains the GWID “gw1”. Note that the URL registration unit 102 may add a new GWID “gw1” to the GWID-DB 132 when the GWID corresponding to the GW address “gw1.exp.global.com” does not exist in the GWID-DB 132.

また、URL登録部102は、GWID「gw1」、デバイスID「device1」、及び属性ID「temperature」とURL「http://gw1.exp.global.com/Things/ device1/Property/ temperature」を互いに対応付けてURL変換テーブル130に登録する。このため、中継サーバ1は、ゲートウェイ装置2のURLをGWIDにより管理することができる。   Further, the URL registration unit 102 sets the GWID “gw1”, the device ID “device1”, the attribute ID “temperature”, and the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” to each other. The URL is registered in association with the URL conversion table 130. For this reason, the relay server 1 can manage the URL of the gateway device 2 using the GWID.

次に、デバイス登録部103は、デバイス定義情報をデバイス定義情報DB131に登録する(符号S6)。デバイス登録部103は、IoTサーバ4からアクセスできるように、中継サーバ1のインターネット内のアドレスとGWIDを用いてURLを書き換える。   Next, the device registration unit 103 registers device definition information in the device definition information DB 131 (reference S6). The device registration unit 103 rewrites the URL by using the Internet address of the relay server 1 and the GWID so that the device can be accessed from the IoT server 4.

図10は、中継サーバ1のデバイス定義情報DB131に登録されるデバイス定義情報の一例を示す図である。デバイス定義情報DB131には、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://center.com/ gw1/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「center.com」は、中継サーバ1のインターネット内のアドレスである。また、「gw1」は、GWID−DB132内のGWアドレスに応じたGWIDである。   FIG. 10 is a diagram illustrating an example of device definition information registered in the device definition information DB 131 of the relay server 1. The device definition information DB 131 includes a device ID “device1”, an attribute ID “temperature”, and a URL “http://center.com/gw1/Things/device1/Property/temperature” as indicated by a dotted frame. Contains device definition information. Here, “center.com” included in the URL is the Internet address of the relay server 1. “Gw1” is a GWID corresponding to the GW address in the GWID-DB 132.

このように、デバイス登録部103は、ゲートウェイ装置2から取得したURLのアドレス部分を、GWアドレス「gw1.exp.global.com」から中継サーバ1のアドレス「center.com」及びGWID「gw1」に置き換えて登録する。このため、デバイス登録部103は、中継サーバ1を基準としてGWIDを用いたパスによりネットワークリソースのURLを規定することができる。このようにして、登録シーケンスSQ1は実行される。   Thus, the device registration unit 103 changes the address portion of the URL acquired from the gateway device 2 from the GW address “gw1.exp.global.com” to the address “center.com” and the GWID “gw1” of the relay server 1. Replace and register. For this reason, the device registration unit 103 can define the URL of the network resource by a path using the GWID with the relay server 1 as a reference. In this way, the registration sequence SQ1 is executed.

次に、IoTサーバ4からIoTデバイス3に対するネットワークリソース(温度の測定データ)の要求及び取得を行う制御シーケンスSQ2が実行される。以下に、図11〜図14を適宜に参照しながら制御シーケンスSQ2を説明する。   Next, a control sequence SQ2 for requesting and acquiring network resources (temperature measurement data) from the IoT server 4 to the IoT device 3 is executed. The control sequence SQ2 will be described below with reference to FIGS. 11 to 14 as appropriate.

IoTサーバ4は、ネットワークリソースの要求に先立ち、中継サーバ1に対しIoTデバイス3のデバイス定義情報を要求するメッセージS7を送信する。中継サーバ1において、動作制御部100は、メッセージS7に応じて、デバイス定義情報を含むメッセージS8をIoTサーバ4に送信する。なお、メッセージS8内のデバイス定義情報は、図10に示される通りである。   Prior to requesting network resources, the IoT server 4 transmits a message S7 requesting device definition information of the IoT device 3 to the relay server 1. In the relay server 1, the operation control unit 100 transmits a message S8 including device definition information to the IoT server 4 in response to the message S7. The device definition information in the message S8 is as shown in FIG.

次に、IoTサーバ4は、中継サーバ1から受信したメッセージS8内のデバイス定義情報に基づいてデバイス制御MSG(S9)を中継サーバ1に送信する。   Next, the IoT server 4 transmits a device control MSG (S9) to the relay server 1 based on the device definition information in the message S8 received from the relay server 1.

図11は、IoTサーバ4から送信されるデバイス制御MSG(S9)の一例を示す図である。デバイス制御MSG(S9)には、点線枠で示されるように、図10に示されたURLと同じURL「http://center.com/gw1/Things/device1/Property/temperature」が含まれている。   FIG. 11 is a diagram illustrating an example of a device control MSG (S9) transmitted from the IoT server 4. The device control MSG (S9) includes the same URL “http://center.com/gw1/Things/device1/Property/temperature” as the URL shown in FIG. 10, as indicated by the dotted frame. Yes.

中継サーバ1は、デバイス制御MSG(S9)のURLをURL変換テーブル130により変換する(符号S10)。URL変換部104は、デバイス制御MSG(S9)を受けると、デバイス制御MSG(S9)に指定されたGWID、デバイスID、及び属性IDを取得する。より具体的には、URL変換部104は、デバイス制御MSG(S9)のURL「http://center.com/gw1/Things/device1/Property/temperature」からGWID「gw1」、デバイスID「device1」、及び属性ID「temperature」を取得する。   The relay server 1 converts the URL of the device control MSG (S9) using the URL conversion table 130 (reference S10). Upon receiving the device control MSG (S9), the URL conversion unit 104 acquires the GWID, device ID, and attribute ID specified in the device control MSG (S9). More specifically, the URL conversion unit 104 performs GWID “gw1” and device ID “device1” from the URL “http://center.com/gw1/Things/device1/Property/temperature” of the device control MSG (S9). And the attribute ID “temperature” are acquired.

URL変換部104は、GWID「gw1」、デバイスID「device1」、及び属性ID「temperature」に対応するURL「http://gw1.exp.global.com/Things/device1/ Property/temperature」をURL変換テーブル130から検索する。これにより、URL変換部104は、デバイス制御MSG(S9)のURLを変換する。次に、中継処理部105は、デバイス制御MSG(S9)のURLを変換後のURLに置き換えて新たなデバイス制御MSG(S11)を生成しゲートウェイ装置2に送信する。   The URL conversion unit 104 changes the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” corresponding to the GWID “gw1”, the device ID “device1”, and the attribute ID “temperature” to the URL Search from the conversion table 130. Thereby, the URL converter 104 converts the URL of the device control MSG (S9). Next, the relay processing unit 105 replaces the URL of the device control MSG (S9) with the converted URL, generates a new device control MSG (S11), and transmits it to the gateway device 2.

図12は、中継サーバ1から送信されるデバイス制御MSG(S11)の一例を示す図である。デバイス制御MSG(S11)には、変換後のURL「http://gw1.exp.global.com/Things/device1/Property/temperature」が指定されている。   FIG. 12 is a diagram illustrating an example of the device control MSG (S11) transmitted from the relay server 1. In the device control MSG (S11), the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” after conversion is designated.

ゲートウェイ装置2は、デバイス制御MSG(S11)のURLをURL変換テーブル230により変換する(符号S12)。URL変換部204は、デバイス制御MSG(S11)を受けると、デバイス制御MSG(S11)に指定されたデバイスID及び属性IDを取得する。より具体的には、URL変換部204は、デバイス制御MSG(S11)のURL「http://gw1.exp.global.com/Things/device1/Property/temperature」からデバイスID「device1」及び属性ID「temperature」を取得する。   The gateway device 2 converts the URL of the device control MSG (S11) by the URL conversion table 230 (reference S12). Upon receiving the device control MSG (S11), the URL conversion unit 204 acquires the device ID and attribute ID specified in the device control MSG (S11). More specifically, the URL conversion unit 204 determines the device ID “device1” and the attribute ID from the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” of the device control MSG (S11). Get “temperature”.

URL変換部204は、デバイスID「device1」及び属性ID「temperature」に対応するURL「http://192.168.1.10/Things/device1/Property/temp」をURL変換テーブル230から検索する。これにより、URL変換部204は、デバイス制御MSG(S11)のURLを変換する。次に、中継処理部205は、デバイス制御MSG(S11)のURLを変換後のURLに置き換えて新たなデバイス制御MSG(S13)を生成しIoTデバイス3に送信する。   The URL conversion unit 204 searches the URL conversion table 230 for the URL “http://192.168.1.10/Things/device1/Property/temp” corresponding to the device ID “device1” and the attribute ID “temperature”. Thereby, the URL conversion unit 204 converts the URL of the device control MSG (S11). Next, the relay processing unit 205 replaces the URL of the device control MSG (S11) with the converted URL, generates a new device control MSG (S13), and transmits it to the IoT device 3.

図13は、ゲートウェイ装置2から送信されるデバイス制御MSG(S13)の一例を示す図である。デバイス制御MSG(S13)には、変換後のURL「http://192.168.1.10/Things/Property/temp」が指定されている。   FIG. 13 is a diagram illustrating an example of a device control MSG (S13) transmitted from the gateway apparatus 2. In the device control MSG (S13), the URL “http://192.168.1.10/Things/Property/temp” after conversion is designated.

IoTデバイス3は、デバイス制御MSG(S13)を受信すると、温度を測定する(符号S14)。IoTデバイス3は、温度の測定データを含む応答メッセージ(MSG)S15を生成し、ゲートウェイ装置2に送信する。ゲートウェイ装置2は、応答MSG(S15)の受信に応じて応答MSG(S16)を中継サーバ1に送信する。中継サーバ1は、応答MSG(S16)の受信に応じて応答MSG(S17)をIoTサーバ4に送信する。   When receiving the device control MSG (S13), the IoT device 3 measures the temperature (reference S14). The IoT device 3 generates a response message (MSG) S15 including temperature measurement data, and transmits the response message (MSG) S15. The gateway device 2 transmits the response MSG (S16) to the relay server 1 in response to reception of the response MSG (S15). The relay server 1 transmits the response MSG (S17) to the IoT server 4 in response to the reception of the response MSG (S16).

図14は、応答MSG(S15〜S17)の一例を示す図である。応答MSG(S15〜S17)には、ステータス行ST、メッセージヘッダHD、及びメッセージボディBDが含まれている。このうち、メッセージボディBDには、温度の測定データ「26.8」が含まれている。   FIG. 14 is a diagram illustrating an example of the response MSG (S15 to S17). The response MSG (S15 to S17) includes a status line ST, a message header HD, and a message body BD. Among these, the message body BD includes temperature measurement data “26.8”.

IoTサーバ4は、応答MSG(S17)を受信することにより、温度の測定データを取得する。このようにして、制御シーケンスSQ2は実行される。   The IoT server 4 obtains temperature measurement data by receiving the response MSG (S17). In this way, the control sequence SQ2 is executed.

上述したように、中継サーバ1において、デバイス定義情報取得部101は、IoTデバイス3からゲートウェイ装置2を介してIoTサーバ4に提供されるネットワークリソース(温度の測定データ)のインターネット内のURLを、ゲートウェイ装置2から取得する。URL登録部102は、URLに含まれるGWアドレスに応じたGWIDをURLに対応付ける。   As described above, in the relay server 1, the device definition information acquisition unit 101 obtains the URL in the Internet of the network resource (temperature measurement data) provided from the IoT device 3 to the IoT server 4 via the gateway device 2. Obtained from the gateway device 2. The URL registration unit 102 associates a GWID corresponding to the GW address included in the URL with the URL.

また、URL変換部104は、IoTサーバ4からIoTデバイス3に対するデバイス制御MSG(S9)を受け、デバイス制御MSG(S9)に指定されたGWIDに対応するURLを、GWIDとURLの対応関係から検出する。中継処理部105は、URL変換部104が検出したURLによりデバイス制御MSG(S11)を、ゲートウェイ装置2を介しIoTデバイス3に中継する。   Further, the URL conversion unit 104 receives the device control MSG (S9) for the IoT device 3 from the IoT server 4 and detects the URL corresponding to the GWID specified in the device control MSG (S9) from the correspondence between the GWID and the URL. To do. The relay processing unit 105 relays the device control MSG (S11) to the IoT device 3 via the gateway device 2 based on the URL detected by the URL conversion unit 104.

上記の構成によると、中継サーバ1は、GWアドレスをIoTサーバ4に通知することなく、デバイス制御MSG(S9)に指定されたGWIDから、GWIDとURLの対応関係に基づいてIoTデバイス3に応じたURLを検出し、そのURLによりデバイス制御MSG(S11)を中継することができる。このため、GWアドレスがIoTサーバ4から悪意のあるユーザに漏洩し、ゲートウェイ装置2を介してIoTデバイス3が攻撃を受けることが抑制される。   According to the above configuration, the relay server 1 responds to the IoT device 3 based on the correspondence between the GWID and the URL from the GWID specified in the device control MSG (S9) without notifying the IoT server 4 of the GW address. The device control MSG (S11) can be relayed based on the detected URL. For this reason, it is suppressed that the GW address leaks from the IoT server 4 to a malicious user and the IoT device 3 is attacked via the gateway device 2.

したがって、中継サーバ1は、中継処理のセキュリティリスクを低減することができる。なお、実施例の中継方法は、上記の中継サーバ1の動作により実行される方法である。このため、実施例の中継方法によると、上記と同様の作用効果が得られる。   Therefore, the relay server 1 can reduce the security risk of relay processing. In addition, the relay method of an Example is a method performed by operation | movement of said relay server 1. FIG. For this reason, according to the relay method of an Example, the effect similar to the above is acquired.

また、中継サーバ1において、デバイス定義情報取得部101は、属性ID、デバイスID、及びURLをゲートウェイ装置2から取得する。URL登録部102は、属性ID、デバイスID、GWIDをURLに対応付ける。URL変換部104は、デバイス制御MSG(S9)に指定された属性ID、デバイスID、及びGWIDに対応するURLを、属性ID、デバイスID、及びGWIとURLの対応関係から検出する。   In the relay server 1, the device definition information acquisition unit 101 acquires an attribute ID, a device ID, and a URL from the gateway device 2. The URL registration unit 102 associates the attribute ID, device ID, and GWID with the URL. The URL conversion unit 104 detects the URL corresponding to the attribute ID, device ID, and GWID specified in the device control MSG (S9) from the correspondence relationship between the attribute ID, device ID, and GWI and URL.

このため、中継サーバ1は、ネットワークリソースの属性及びIoTデバイス3の指定に応じてURLを決定することができる。なお、例えばネットワークリソースが1種類だけであれば、デバイス制御MSG(S9)に属性IDの指定はなくてもよい。   Therefore, the relay server 1 can determine the URL according to the network resource attribute and the specification of the IoT device 3. For example, if there is only one type of network resource, there is no need to specify an attribute ID in the device control MSG (S9).

また、上述した登録シーケンスSQ1のメッセージS4に含まれるデバイス定義情報の構造は、実施例のデータ構造である。このデバイス定義情報は、ゲートウェイ装置2から中継サーバ1に登録される登録データであり、IoTデバイス3を識別するデバイスIDと、IoTデバイス3からゲートウェイ装置2を介してIoTサーバ4に提供されるネットワークリソースのインターネット内のURLとを含む。   Further, the structure of the device definition information included in the message S4 of the registration sequence SQ1 described above is the data structure of the embodiment. This device definition information is registration data registered in the relay server 1 from the gateway device 2, a device ID for identifying the IoT device 3, and a network provided from the IoT device 3 to the IoT server 4 via the gateway device 2. URL in the Internet of the resource.

デバイス定義情報は、中継サーバ1が、URLに含まれるGWアドレスに応じたGWIDをURL及びデバイスIDに対応付ける処理に用いられる。また、デバイス定義情報は、IoTサーバ4からIoTデバイス3に対するデバイス制御MSG(S9)を受けたとき、デバイス制御MSG(S9)に指定されたGWID及びデバイスIDに対応するURLを、GWID、URL、及びデバイスIDの対応関係から検出する処理に用いられる。さらに、デバイス定義情報は、検出したURLによりデバイス制御MSG(S9)を、ゲートウェイ装置2を介しIoTデバイス3に中継する処理に用いられる。   The device definition information is used for processing in which the relay server 1 associates the GWID corresponding to the GW address included in the URL with the URL and the device ID. In addition, when the device definition information is received from the IoT server 4 for the device control MSG (S9) for the IoT device 3, the GWID specified in the device control MSG (S9) and the URL corresponding to the device ID are changed to the GWID, URL, And used for processing to detect from the correspondence between device IDs. Further, the device definition information is used for processing for relaying the device control MSG (S9) to the IoT device 3 via the gateway device 2 by the detected URL.

したがって、実施例のデータ構造によると、中継処理のセキュリティリスクを低減することができる。   Therefore, according to the data structure of the embodiment, the security risk of relay processing can be reduced.

また、上述したように、ゲートウェイ装置2において、デバイス定義情報取得部201は、IoTデバイス3から自装置を介してIoTサーバ4に提供されるネットワークリソースのLAN内のURL「http://192.168.1.10/Things/Property/temp」と、IoTデバイス3を識別するデバイスID「device1」とを、IoTデバイス3から取得する。URL登録部202は、デバイスID「device1」をURL「http://192.168.1.10 /Things/Property/temp」に対応付ける。   Further, as described above, in the gateway device 2, the device definition information acquisition unit 201 sends the URL “http: //192.168.” In the LAN of the network resource provided from the IoT device 3 to the IoT server 4 via the own device. 1.10 / Things / Property / temp ”and the device ID“ device1 ”for identifying the IoT device 3 are acquired from the IoT device 3. The URL registration unit 202 associates the device ID “device1” with the URL “http://192.168.1.10/Things/Property/temp”.

動作制御部200は、URL「http://192.168.1.10/Things/Property/temp」から、ネットワークリソースのインターネット内のURL「http://gw1.exp.global.com/Things/device1/Property/temperature」を生成する。なお、URL「http://192.168.1.10/Things/Property/temp」は第1リソース識別子の一例であり、URL「http://gw1.exp.global.com/Things/device1/Property/temperature」は第2リソース識別子の一例である。   The operation control unit 200 uses the URL “http://gw1.exp.global.com/Things/device1/Property/” in the Internet of network resources from the URL “http://192.168.1.10/Things/Property/temp”. temperature ". The URL “http://192.168.1.10/Things/Property/temp” is an example of the first resource identifier, and the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” Is an example of a second resource identifier.

また、URL変換部204は、IoTサーバ4からIoTデバイス3に対するデバイス制御MSG(S11)をインターネット内のURLに基づいて受信する。URL変換部204は、デバイス制御MSG(S11)に指定されデバイスIDに対応するURLを、デバイスIDとURLの対応関係から検出する。中継処理部205は、URL変換部104が検出したURLによりデバイス制御MSG(S13)をIoTデバイス3に中継する。   Further, the URL conversion unit 204 receives the device control MSG (S11) for the IoT device 3 from the IoT server 4 based on the URL in the Internet. The URL conversion unit 204 detects the URL specified by the device control MSG (S11) and corresponding to the device ID from the correspondence between the device ID and the URL. The relay processing unit 205 relays the device control MSG (S13) to the IoT device 3 based on the URL detected by the URL conversion unit 104.

上記の構成によると、ゲートウェイ装置2は、デバイスIDとURLの対応関係に基づいてデバイスIDに応じたURLを検出し、そのURLにより制御MSG(S11)をIoTデバイス3に中継する。したがって、ゲートウェイ装置2は、上記の中継サーバ1と連動して制御MSG(S11)をIoTデバイス3に中継することができる。   According to the above configuration, the gateway device 2 detects a URL corresponding to the device ID based on the correspondence between the device ID and the URL, and relays the control MSG (S11) to the IoT device 3 based on the URL. Therefore, the gateway device 2 can relay the control MSG (S11) to the IoT device 3 in conjunction with the relay server 1 described above.

つまり、中継サーバ1は、IoTサーバ4から受信したデバイス制御MSG(S9)のURL「http://center.com/gw1/Things/device1/Property/temperature」を、GWID「gw1」に基づいてURL「http://gw1.exp.global.com/Things/device1/Property/ temperature」に変換する。ゲートウェイ装置2は、中継サーバ1から受信したデバイス制御MSG(S11)のURL「http://gw1.exp.global.com/Things/device1/ Property/temperature」をデバイスID「device1」に基づいてURL「http://192.168.1.10/Things/Property/temp」に変換する。これにより、インターネット内のIoTサーバ4からLAN内のIoTデバイス3にアクセスすることが可能となる。   That is, the relay server 1 uses the URL “http://center.com/gw1/Things/device1/Property/temperature” of the device control MSG (S9) received from the IoT server 4 based on the GWID “gw1”. Convert to “http://gw1.exp.global.com/Things/device1/Property/temperature”. The gateway device 2 uses the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” of the device control MSG (S11) received from the relay server 1 based on the device ID “device1”. Convert to “http://192.168.1.10/Things/Property/temp”. As a result, the IoT server 4 in the Internet can access the IoT device 3 in the LAN.

また、本例では、URL内のアドレスとしてIPv4(Internet Protocol version 4)のアドレス、またはIPv4のアドレスに対応するホスト名を用いる場合を挙げたが、これに限定されず、IPv6(Internet Protocol version 6)のアドレスが用いられてもよい。   In this example, an IPv4 (Internet Protocol version 4) address or a host name corresponding to an IPv4 address is used as an address in the URL. However, the present invention is not limited to this, and IPv6 (Internet Protocol version 6) is used. ) Address may be used.

図15は、IoTデバイス3から送信されるデバイス定義情報のメッセージS1の他の例を示す図である。URL内のアドレス「fe80::ed87:66e3:4fb2:3a6g」はIoTデバイス3のIPv6のアドレスである。これに対し、図5には、URL内のアドレスとしてIoTデバイス3のIPv4のアドレス「192.168.1.10」が示されている。   FIG. 15 is a diagram illustrating another example of the device definition information message S1 transmitted from the IoT device 3. The address “fe80 :: ed87: 66e3: 4fb2: 3a6g” in the URL is an IPv6 address of the IoT device 3. On the other hand, FIG. 5 shows the IPv4 address “192.168.1.10” of the IoT device 3 as the address in the URL.

図16は、ゲートウェイ装置2のURL変換テーブル230の他の例を示す図である。URL変換テーブル230には、上記のIPv6のアドレス「fe80::ed87:66e3:4fb2: 3a6g」を含むURLが登録されている。これに対し、図6に示されたURL変換テーブル230には、URL内のアドレスとしてIPv4のアドレス「192.168.1.10」が登録されている。   FIG. 16 is a diagram illustrating another example of the URL conversion table 230 of the gateway device 2. In the URL conversion table 230, a URL including the IPv6 address “fe80 :: ed87: 66e3: 4fb2: 3a6g” is registered. On the other hand, in the URL conversion table 230 shown in FIG. 6, an IPv4 address “192.168.1.10” is registered as an address in the URL.

図17は、ゲートウェイ装置2のデバイス定義情報DB231に登録されるデバイス定義情報の他の例を示す図である。デバイス定義情報DB231には、ゲートウェイ装置2のIPv6のローカルアドレス(LAN内のアドレス)「fe80::ed87:66e3:4fb2:2b4f」を含むURLが登録されている。これに対し、図7には、ゲートウェイ装置2のローカルアドレスに対応するホスト名「gw1.exp.com」を含むURLが示されている。   FIG. 17 is a diagram illustrating another example of the device definition information registered in the device definition information DB 231 of the gateway device 2. In the device definition information DB 231, a URL including the IPv6 local address (address in the LAN) “fe80 :: ed87: 66e3: 4fb2: 2b4f” of the gateway device 2 is registered. In contrast, FIG. 7 shows a URL including the host name “gw1.exp.com” corresponding to the local address of the gateway device 2.

図18は、ゲートウェイ装置2から送信されるデバイス定義情報のメッセージS4の他の例を示す図である。デバイス定義情報には、ゲートウェイ装置2のIPv6のグローバルアドレス(インターネット内のアドレス)「2001:db8::fedc:ba98:7654:3210」を含むURLが登録されている。これに対し、図8には、ゲートウェイ装置2のグローバルアドレスに対応するホスト名「gw1.exp.global.com」を含むURLが示されている。   FIG. 18 is a diagram illustrating another example of the device definition information message S4 transmitted from the gateway device 2. In the device definition information, a URL including the IPv6 global address (address in the Internet) “2001: db8 :: fedc: ba98: 7654: 3210” of the gateway device 2 is registered. In contrast, FIG. 8 shows a URL including the host name “gw1.exp.global.com” corresponding to the global address of the gateway device 2.

図19は、中継サーバ1のURL変換テーブル130及びGWID−DB132の他の例を示す図である。URL変換テーブル130には、ゲートウェイ装置2のIPv6のグローバルアドレス「2001:db8::fedc:ba98:7654:3210」を含むURLが登録されている。また、GWID−DB132には、ゲートウェイ装置2のIPv6のグローバルアドレス「2001:db8::fedc:ba98:7654:3210」がGWアドレスとして登録されている。   FIG. 19 is a diagram illustrating another example of the URL conversion table 130 and the GWID-DB 132 of the relay server 1. In the URL conversion table 130, a URL including the IPv6 global address “2001: db8 :: fedc: ba98: 7654: 3210” of the gateway device 2 is registered. In addition, the IPv6 global address “2001: db8 :: fedc: ba98: 7654: 3210” of the gateway device 2 is registered in the GWID-DB 132 as a GW address.

これに対し、図9には、ゲートウェイ装置2のグローバルアドレスに対応するホスト名「gw1.exp.global.com」を含むURLが登録されたURL変換テーブル130と、そのホスト名「gw1.exp.global.com」がGWアドレスとして登録されたGWID−DB132とが示されている。   On the other hand, FIG. 9 shows a URL conversion table 130 in which a URL including the host name “gw1.exp.global.com” corresponding to the global address of the gateway device 2 is registered, and the host name “gw1.exp. GWID-DB 132 in which “global.com” is registered as a GW address is shown.

図20は、中継サーバ1のデバイス定義情報DB131に登録されるデバイス定義情報の他の例を示す図である。デバイス定義情報DB131には、中継サーバ1のIPv6のグローバルアドレス(インターネット内のアドレス)「2001:db8::123:4567:89ab:cdef」を含むURLが登録されている。これに対し、図10には、中継サーバ1のグローバルアドレスに対応するホスト名「center.com」を含むURLが示されている。   FIG. 20 is a diagram illustrating another example of device definition information registered in the device definition information DB 131 of the relay server 1. In the device definition information DB 131, a URL including the IPv6 global address (address in the Internet) “2001: db8 :: 123: 4567: 89ab: cdef” of the relay server 1 is registered. On the other hand, FIG. 10 shows a URL including the host name “center.com” corresponding to the global address of the relay server 1.

図21は、IoTサーバ4から送信されるデバイス制御MSG(S9)の他の例を示す図である。デバイス制御MSG(S9)には、中継サーバ1のIPv6のグローバルアドレス「2001:db8::123:4567:89ab:cdef」を含むURLが指定されている。これに対し、図11に示されたデバイス制御MSG(S9)には、中継サーバ1のグローバルアドレスに対応するホスト名「center.com」を含むURLが指定されている。   FIG. 21 is a diagram illustrating another example of the device control MSG (S9) transmitted from the IoT server 4. In the device control MSG (S9), a URL including the IPv6 global address “2001: db8 :: 123: 4567: 89ab: cdef” of the relay server 1 is specified. In contrast, the device control MSG (S9) shown in FIG. 11 specifies a URL including the host name “center.com” corresponding to the global address of the relay server 1.

図22は、中継サーバ1から送信されるデバイス制御MSG(S11)の他の例を示す図である。デバイス制御MSG(S11)には、ゲートウェイ装置2のIPv6のグローバルアドレス「2001:db8::fedc:ba98:7654:3210」を含むURLが指定されている。これに対し、図12に示されたデバイス制御MSG(S11)には、ゲートウェイ装置2のグローバルアドレスに対応するホスト名「gw1.exp.global.com」を含むURLが指定されている。   FIG. 22 is a diagram illustrating another example of the device control MSG (S11) transmitted from the relay server 1. In the device control MSG (S11), a URL including the IPv6 global address “2001: db8 :: fedc: ba98: 7654: 3210” of the gateway device 2 is designated. On the other hand, in the device control MSG (S11) shown in FIG. 12, a URL including the host name “gw1.exp.global.com” corresponding to the global address of the gateway device 2 is designated.

図23は、ゲートウェイ装置2から送信されるデバイス制御MSG(S13)の他の例を示す図である。デバイス制御MSG(S13)には、IoTデバイス3のIPv6のローカルアドレス「fe80::ed87:66e3:4fb2:3a6g」を含むURLが指定されている。これに対し、図13に示されたデバイス制御MSG(S13)には、IoTデバイス3のIPv6のローカルアドレス「192.168.1.10」を含むURLが指定されている。   FIG. 23 is a diagram illustrating another example of the device control MSG (S13) transmitted from the gateway device 2. In the device control MSG (S13), a URL including the IPv6 local address “fe80 :: ed87: 66e3: 4fb2: 3a6g” of the IoT device 3 is designated. On the other hand, in the device control MSG (S13) shown in FIG. 13, a URL including the IPv6 local address “192.168.1.10” of the IoT device 3 is designated.

次に、図1に示された経路Rbに沿ったアクセスの例を挙げて中継システムの動作を述べる。本動作において、GWIDはデバイス定義情報に含まれるため、中継サーバ1はGWID−DB132を用いない。   Next, the operation of the relay system will be described with an example of access along the route Rb shown in FIG. In this operation, since the GWID is included in the device definition information, the relay server 1 does not use the GWID-DB 132.

図24は、ゲートウェイ装置2a,2b及び中継サーバ1におけるIoTデバイス3のデバイス定義情報の登録処理の一例を示すシーケンス図である。本処理は、図4の登録シーケンスSQ1に相当する。以下に、図25〜図31を適宜に参照しながら登録シーケンスSQ1を説明する。   FIG. 24 is a sequence diagram illustrating an example of registration processing of device definition information of the IoT device 3 in the gateway devices 2a and 2b and the relay server 1. This process corresponds to the registration sequence SQ1 of FIG. The registration sequence SQ1 will be described below with reference to FIGS. 25 to 31 as appropriate.

IoTデバイス3は、デバイス定義情報を含むメッセージS21をゲートウェイ装置2aに送信する。IoTデバイス3から送信されるデバイス定義情報のメッセージS21は、図5に示されるとおりである。   The IoT device 3 transmits a message S21 including device definition information to the gateway device 2a. The device definition information message S21 transmitted from the IoT device 3 is as shown in FIG.

次に、ゲートウェイ装置2において、デバイス定義情報取得部201は、メッセージS21内のデバイス定義情報をIoTデバイス3から取得する。URL登録部202は、デバイス定義情報のデバイスID「device1」及び属性ID「temperature」を、URL「http://192.168.1.10/Things/Property/temp」に対応付け、その対応関係をURL変換テーブル230に登録する(符号S22)。なお、URL変換テーブル230は、図6に示されるとおりである。   Next, in the gateway device 2, the device definition information acquisition unit 201 acquires the device definition information in the message S21 from the IoT device 3. The URL registration unit 202 associates the device ID “device1” and the attribute ID “temperature” of the device definition information with the URL “http://192.168.1.10/Things/Property/temp”, and associates the correspondence with the URL conversion table. 230 (reference S22). The URL conversion table 230 is as shown in FIG.

次に、ゲートウェイ装置2aのデバイス登録部203は、デバイス定義情報をデバイス定義情報DB231に登録する(符号S23)。   Next, the device registration unit 203 of the gateway apparatus 2a registers the device definition information in the device definition information DB 231 (reference S23).

図25は、ゲートウェイ装置2aのデバイス定義情報DB231に登録されるデバイス定義情報の一例を示す図である。デバイス定義情報DB231には、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw2.exp.com/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw2.exp.com」は、ゲートウェイ装置2aのLAN内のローカルアドレスである。   FIG. 25 is a diagram illustrating an example of device definition information registered in the device definition information DB 231 of the gateway apparatus 2a. The device definition information DB 231 includes a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw2.exp.com/Things/device1/Property/temperature” as indicated by a dotted frame. Contains device definition information. Here, “gw2.exp.com” included in the URL is a local address in the LAN of the gateway device 2a.

このように、デバイス登録部203は、IoTデバイス3から取得したURLのアドレス部分を、IoTデバイス3のローカルアドレス「192.168.1.10」からゲートウェイ装置2のローカルアドレス「gw2.exp.com」に置き換えて登録する。   In this way, the device registration unit 203 replaces the address portion of the URL acquired from the IoT device 3 with the local address “gw2.exp.com” of the gateway device 2 from the local address “192.168.1.10” of the IoT device 3. sign up.

次に、ゲートウェイ装置2aの動作制御部200は、デバイス定義情報を含むメッセージS24を上位側のゲートウェイ装置2bに送信する。   Next, the operation control unit 200 of the gateway device 2a transmits a message S24 including device definition information to the higher-level gateway device 2b.

図26は、ゲートウェイ装置2bから送信されるデバイス定義情報のメッセージS24の一例を示す図である。メッセージS24には、リクエスト行RQ、メッセージヘッダHD、及びメッセージボディBDが含まれている。   FIG. 26 is a diagram illustrating an example of a device definition information message S24 transmitted from the gateway apparatus 2b. The message S24 includes a request line RQ, a message header HD, and a message body BD.

メッセージボディBDには、点線枠で示されるように、GWID「gw2」、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw2.exp.global.com /Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw2.exp.global.com」は、ゲートウェイ装置2aのインターネット内のグローバルアドレスである。   The message body BD has a GWID “gw2”, a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw2.exp.global.com/Things/device1/” as indicated by a dotted frame. Device definition information including “Property / temperature” is included. Here, “gw2.exp.global.com” included in the URL is a global address in the Internet of the gateway device 2a.

動作制御部200は、メッセージS24において、登録したURLのアドレス部分を上位側のゲートウェイ装置2bからアクセスできるようにローカルアドレス「gw2.exp.com」からグローバルアドレス「gw2.exp.global.com」に置き換える。また、動作制御部200は、グローバルアドレス「gw2.exp.global.com」に応じたGWID「gw2」をメッセージS24に挿入する。このように、動作制御部200は、IoTデバイス3から取得したURLから、ゲートウェイ装置2aを基準としてネットワークリソースのインターネット内の位置を示すURLを生成する。   In the message S24, the operation control unit 200 changes the address portion of the registered URL from the local address “gw2.exp.com” to the global address “gw2.exp.global.com” so that it can be accessed from the upper gateway device 2b. replace. Further, the operation control unit 200 inserts the GWID “gw2” corresponding to the global address “gw2.exp.global.com” into the message S24. As described above, the operation control unit 200 generates a URL indicating the location of the network resource in the Internet from the URL acquired from the IoT device 3 with reference to the gateway device 2a.

ゲートウェイ装置2bにおいて、デバイス定義情報取得部201は、メッセージS24内のデバイス定義情報を下位側のゲートウェイ装置2aから取得する。URL登録部202は、デバイス定義情報のGWID「gw1」、デバイスID「device1」、及び属性ID「temperature」とURL「http://gw2.exp.global.com/Things/device1/Property/ temperature」を互いに対応付け、その対応関係をURL変換テーブル230に登録する(符号S25)。   In the gateway device 2b, the device definition information acquisition unit 201 acquires the device definition information in the message S24 from the lower gateway device 2a. The URL registration unit 202 includes a device definition information GWID “gw1”, a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw2.exp.global.com/Things/device1/Property/temperature”. Are associated with each other, and the correspondence is registered in the URL conversion table 230 (reference S25).

図27は、ゲートウェイ装置2bのURL変換テーブル230の一例を示す図である。URL変換テーブル230には、デバイスID、GWID、及び属性IDがURLに対応付けられて登録されている。   FIG. 27 is a diagram illustrating an example of the URL conversion table 230 of the gateway device 2b. In the URL conversion table 230, a device ID, a GWID, and an attribute ID are registered in association with the URL.

次に、ゲートウェイ装置2bのデバイス登録部203は、デバイス定義情報をデバイス定義情報DB231に登録する(符号S26)。   Next, the device registration unit 203 of the gateway apparatus 2b registers the device definition information in the device definition information DB 231 (reference S26).

図28は、ゲートウェイ装置2bのデバイス定義情報DB231に登録されるデバイス定義情報の一例を示す図である。デバイス定義情報DB231には、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw1.exp.com/gw2/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw1.exp.com」は、ゲートウェイ装置2bのLAN内のローカルアドレスである。また、URLに含まれる「gw2」は、下位側のゲートウェイ装置2aのGWIDである。   FIG. 28 is a diagram illustrating an example of device definition information registered in the device definition information DB 231 of the gateway device 2b. In the device definition information DB 231, as indicated by the dotted frame, the device ID “device1”, the attribute ID “temperature”, and the URL “http://gw1.exp.com/gw2/Things/device1/Property/temperature” Device definition information including is included. Here, “gw1.exp.com” included in the URL is a local address in the LAN of the gateway device 2b. Further, “gw2” included in the URL is the GWID of the lower gateway apparatus 2a.

次に、ゲートウェイ装置2bの動作制御部200は、デバイス定義情報を含むメッセージS27を中継サーバ1に送信する。   Next, the operation control unit 200 of the gateway device 2b transmits a message S27 including device definition information to the relay server 1.

図29は、ゲートウェイ装置2bから送信されるデバイス定義情報のメッセージS27の一例を示す図である。メッセージS27には、リクエスト行RQ、メッセージヘッダHD、及びメッセージボディBDが含まれている。   FIG. 29 is a diagram illustrating an example of a device definition information message S27 transmitted from the gateway apparatus 2b. The message S27 includes a request line RQ, a message header HD, and a message body BD.

メッセージボディBDには、点線枠で示されるように、GWID「gw1gw2」、デバイスID「device1」、属性ID「temperature」、及びURL「http://gw1.exp.global.com /gw2/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。ここで、URLに含まれる「gw1.exp.global.com」は、ゲートウェイ装置2aのインターネット内のグローバルアドレスである。また、URLに含まれる「gw2」は、下位側のゲートウェイ装置2aのGWIDである。   The message body BD has a GWID “gw1gw2”, a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw1.exp.global.com/gw2/Things/ Device definition information including “device1 / Property / temperature” is included. Here, “gw1.exp.global.com” included in the URL is a global address in the Internet of the gateway device 2a. Further, “gw2” included in the URL is the GWID of the lower gateway apparatus 2a.

動作制御部200は、メッセージS27において、登録したURLのアドレス部分を中継サーバ1からアクセスできるようにローカルアドレス「gw1.exp.com」からグローバルアドレス「gw1.exp.global.com」に置き換える。また、動作制御部200は、グローバルアドレス「gw1.exp.global.com」及び「gw2」の組み合わせに応じたGWID「gw1gw2」をメッセージS27に挿入する。このように、動作制御部200は、IoTデバイス3から取得したURLから、ゲートウェイ装置2bを基準としてネットワークリソースのインターネット内の位置を示すURLを生成する。   In message S27, the operation control unit 200 replaces the address portion of the registered URL with the global address “gw1.exp.global.com” from the local address “gw1.exp.com” so that it can be accessed from the relay server 1. Further, the operation control unit 200 inserts the GWID “gw1gw2” corresponding to the combination of the global addresses “gw1.exp.global.com” and “gw2” into the message S27. As described above, the operation control unit 200 generates a URL indicating the position of the network resource in the Internet from the URL acquired from the IoT device 3 with reference to the gateway device 2b.

中継サーバ1において、デバイス定義情報取得部101は、メッセージS27内のデバイス定義情報をゲートウェイ装置2bから取得する。URL登録部102は、デバイス定義情報のGWID「gw1gw2」、デバイスID「device1」、及び属性ID「temperature」とURL「http://gw1.exp.global.com/gw2/Things/device1/Property/temperature」を互いに対応付け、その対応関係をURL変換テーブル130に登録する(符号S28)。   In the relay server 1, the device definition information acquisition unit 101 acquires the device definition information in the message S27 from the gateway device 2b. The URL registration unit 102 includes a device definition information GWID “gw1gw2”, a device ID “device1”, an attribute ID “temperature”, and a URL “http://gw1.exp.global.com/gw2/Things/device1/Property/ “temperature” are associated with each other, and the correspondence is registered in the URL conversion table 130 (reference S28).

図30は、中継サーバ1のURL変換テーブル130の一例を示す図である。URL変換テーブル130には、デバイスID、GWID、及び属性IDがURLに対応付けられて登録されている。メッセージS27内のデバイス定義情報に基づき、デバイスID「device1」、GWID「gw1gw2」、及び属性ID「temperature」はURL「http://gw1.exp.global.com/gw2/Things/Property/temperature」に対応付けられている。   FIG. 30 is a diagram illustrating an example of the URL conversion table 130 of the relay server 1. In the URL conversion table 130, a device ID, a GWID, and an attribute ID are registered in association with the URL. Based on the device definition information in the message S27, the device ID “device1”, the GWID “gw1gw2”, and the attribute ID “temperature” are URLs “http://gw1.exp.global.com/gw2/Things/Property/temperature”. Is associated with.

ここで、GWID「gw1gw2」はグローバルアドレス「gw1.exp.global.com」及び「gw2」の組み合わせに応じた値である。このため、中継サーバ1は、経路Rb上のゲートウェイ装置2a,2bに応じてGWIDを管理することができる。   Here, the GWID “gw1gw2” is a value corresponding to a combination of the global addresses “gw1.exp.global.com” and “gw2”. Therefore, the relay server 1 can manage the GWID according to the gateway devices 2a and 2b on the route Rb.

次に、デバイス登録部103は、デバイス定義情報をデバイス定義情報DB131に登録する(符号S29)。デバイス登録部103は、IoTサーバ4からアクセスできるように、中継サーバ1のインターネット内のアドレスとGWIDを用いてURLを書き換える。   Next, the device registration unit 103 registers device definition information in the device definition information DB 131 (reference S29). The device registration unit 103 rewrites the URL by using the Internet address of the relay server 1 and the GWID so that the device can be accessed from the IoT server 4.

図31は、中継サーバ1のデバイス定義情報DB131に登録されるデバイス定義情報の一例を示す図である。デバイス定義情報DB131には、点線枠で示されるように、デバイスID「device1」、属性ID「temperature」、及びURL「http://center.com/ gw1gw2/Things/device1/Property/temperature」を含むデバイス定義情報が含まれている。   FIG. 31 is a diagram illustrating an example of device definition information registered in the device definition information DB 131 of the relay server 1. The device definition information DB 131 includes a device ID “device1”, an attribute ID “temperature”, and a URL “http://center.com/gw1gw2/Things/device1/Property/temperature” as indicated by the dotted frame. Contains device definition information.

ここで、URLに含まれる「center.com」は、中継サーバ1のインターネット内のアドレスである。また、URLに含まれる「gw1gw2」は、ゲートウェイ装置2bのグローバルアドレス「gw1.exp.global.com」及びゲートウェイ装置2bのGWID「gw2」の組み合わせに応じたGWIDである。   Here, “center.com” included in the URL is the Internet address of the relay server 1. Further, “gw1gw2” included in the URL is a GWID corresponding to a combination of the global address “gw1.exp.global.com” of the gateway device 2b and the GWID “gw2” of the gateway device 2b.

このように、デバイス登録部103は、ゲートウェイ装置2bから取得したURLのアドレス部分を、GWアドレス「gw1.exp.global.com」から中継サーバ1のアドレス「center.com」及びGWID「gw1gw2」に置き換えて登録する。このため、デバイス登録部103は、中継サーバ1を基準としてGWIDを用いたパスによりネットワークリソースのURLを規定することができる。このようにして、登録シーケンスSQ1は実行される。   In this way, the device registration unit 103 changes the address part of the URL acquired from the gateway device 2b from the GW address “gw1.exp.global.com” to the address “center.com” and the GWID “gw1gw2” of the relay server 1. Replace and register. For this reason, the device registration unit 103 can define the URL of the network resource by a path using the GWID with the relay server 1 as a reference. In this way, the registration sequence SQ1 is executed.

次に、IoTサーバ4からIoTデバイス3に対するネットワークリソース(温度の測定データ)の要求及び取得を行う制御シーケンスSQ2が実行される。   Next, a control sequence SQ2 for requesting and acquiring network resources (temperature measurement data) from the IoT server 4 to the IoT device 3 is executed.

図32は、IoTサーバ4からIoTデバイス3に対するネットワークリソースの要求処理及び取得処理の一例を示すシーケンス図である。以下に、図33〜図36を適宜に参照しながら制御シーケンスSQ2を説明する。   FIG. 32 is a sequence diagram showing an example of network resource request processing and acquisition processing from the IoT server 4 to the IoT device 3. The control sequence SQ2 will be described below with reference to FIGS. 33 to 36 as appropriate.

IoTサーバ4は、ネットワークリソースの要求に先立ち、中継サーバ1に対しIoTデバイス3のデバイス定義情報を要求するメッセージS31を送信する。中継サーバ1において、動作制御部100は、メッセージS31に応じて、デバイス定義情報を含むメッセージS32をIoTサーバ4に送信する。なお、メッセージS32内のデバイス定義情報は、図31に示される通りである。   Prior to requesting network resources, the IoT server 4 transmits a message S31 requesting device definition information of the IoT device 3 to the relay server 1. In the relay server 1, the operation control unit 100 transmits a message S32 including device definition information to the IoT server 4 in response to the message S31. The device definition information in the message S32 is as shown in FIG.

次に、IoTサーバ4は、中継サーバ1から受信したメッセージS32内のデバイス定義情報に基づいてデバイス制御MSG(S33)を中継サーバ1に送信する。   Next, the IoT server 4 transmits a device control MSG (S33) to the relay server 1 based on the device definition information in the message S32 received from the relay server 1.

図33は、IoTサーバ4から送信されるデバイス制御MSG(S33)の一例を示す図である。デバイス制御MSG(S33)には、点線枠で示されるように、図31に示されたURLと同じURL「http://center.com/gw1gw2/Things/device1/ Property/temperature」が含まれている。   FIG. 33 is a diagram illustrating an example of a device control MSG (S33) transmitted from the IoT server 4. The device control MSG (S33) includes the same URL “http://center.com/gw1gw2/Things/device1/Property/temperature” as the URL shown in FIG. 31, as indicated by the dotted frame. Yes.

中継サーバ1は、デバイス制御MSG(S33)のURLをURL変換テーブル130により変換する(符号S34)。URL変換部104は、デバイス制御MSG(S33)を受けると、デバイス制御MSG(S33)に指定されたGWID、デバイスID、及び属性IDを取得する。より具体的には、URL変換部104は、デバイス制御MSG(S33)のURL「http://center.com/gw1gw2/Things/device1/Property/temperature」からGWID「gw1gw2」、デバイスID「device1」、及び属性ID「temperature」を取得する。   The relay server 1 converts the URL of the device control MSG (S33) using the URL conversion table 130 (reference S34). Upon receiving the device control MSG (S33), the URL conversion unit 104 acquires the GWID, device ID, and attribute ID specified in the device control MSG (S33). More specifically, the URL conversion unit 104 performs GWID “gw1gw2” and device ID “device1” from the URL “http://center.com/gw1gw2/Things/device1/Property/temperature” of the device control MSG (S33). And the attribute ID “temperature” are acquired.

URL変換部104は、GWID「gw1gw2」、デバイスID「device1」、及び属性ID「temperature」に対応するURL「http://gw1.exp.global.com/gw2/Things/device1/ Property/ temperature」をURL変換テーブル130から検索する。これにより、URL変換部104は、デバイス制御MSG(S33)のURLを変換する。次に、中継処理部105は、デバイス制御MSG(S33)のURLを変換後のURLに置き換えて新たなデバイス制御MSG(S35)を生成しゲートウェイ装置2bに送信する。   The URL conversion unit 104 uses the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature” corresponding to the GWID “gw1gw2”, the device ID “device1”, and the attribute ID “temperature”. Is retrieved from the URL conversion table 130. As a result, the URL conversion unit 104 converts the URL of the device control MSG (S33). Next, the relay processing unit 105 replaces the URL of the device control MSG (S33) with the converted URL, generates a new device control MSG (S35), and transmits it to the gateway device 2b.

図34は、中継サーバ1から送信されるデバイス制御MSG(S35)の一例を示す図である。デバイス制御MSG(S35)には、変換後のURL「http://gw1.exp.global.com/gw2/Things/device1/Property/temperature」が指定されている。   FIG. 34 is a diagram illustrating an example of a device control MSG (S35) transmitted from the relay server 1. In the device control MSG (S35), the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature” after conversion is designated.

ゲートウェイ装置2bは、デバイス制御MSG(S35)のURLをURL変換テーブル230により変換する(符号S36)。URL変換部204は、デバイス制御MSG(S35)を受けると、デバイス制御MSG(S35)に指定されたGWID、デバイスID、及び属性IDを取得する。より具体的には、URL変換部204は、デバイス制御MSG(S35)のURL「http://gw1.exp.global.com/gw2/ Things/device1/Property/temperature」からGWID「gw2」、デバイスID「device1」、及び属性ID「temperature」を取得する。   The gateway device 2b converts the URL of the device control MSG (S35) by the URL conversion table 230 (reference S36). Upon receiving the device control MSG (S35), the URL conversion unit 204 acquires the GWID, device ID, and attribute ID specified in the device control MSG (S35). More specifically, the URL conversion unit 204 determines the GWID “gw2”, the device from the URL “http://gw1.exp.global.com/gw2/ Things / device1 / Property / temperature” of the device control MSG (S35). ID “device1” and attribute ID “temperature” are acquired.

URL変換部204は、GWID「gw2」、デバイスID「device1」、及び属性ID「temperature」に対応するURL「http://gw2.exp.global.com/Things/ device1/Property/temperature」をURL変換テーブル230から検索する。これにより、URL変換部204は、デバイス制御MSG(S35)のURLを変換する。次に、中継処理部205は、デバイス制御MSG(S35)のURLを変換後のURLに置き換えて新たなデバイス制御MSG(S37)を生成しゲートウェイ装置2aに送信する。   The URL conversion unit 204 changes the URL “http://gw2.exp.global.com/Things/device1/Property/temperature” corresponding to the GWID “gw2”, the device ID “device1”, and the attribute ID “temperature” to the URL Search from the conversion table 230. Thereby, the URL converter 204 converts the URL of the device control MSG (S35). Next, the relay processing unit 205 replaces the URL of the device control MSG (S35) with the converted URL, generates a new device control MSG (S37), and transmits it to the gateway device 2a.

図35は、ゲートウェイ装置2aから送信されるデバイス制御MSG(S37)の一例を示す図である。デバイス制御MSG(S37)には、変換後のURL「http://gw2.exp.global.com/Things/device1/Property/temperature」が指定されている。   FIG. 35 is a diagram illustrating an example of a device control MSG (S37) transmitted from the gateway apparatus 2a. In the device control MSG (S37), the URL “http://gw2.exp.global.com/Things/device1/Property/temperature” after conversion is designated.

ゲートウェイ装置2aは、デバイス制御MSG(S37)のURLをURL変換テーブル230により変換する(符号S38)。URL変換部204は、デバイス制御MSG(S37)を受けると、デバイス制御MSG(S37)に指定されたデバイスID及び属性IDを取得する。より具体的には、URL変換部204は、デバイス制御MSG(S37)のURL「http://gw2.exp.global.com/Things/device1/Property/temperature」からデバイスID「device1」及び属性ID「temperature」を取得する。   The gateway device 2a converts the URL of the device control MSG (S37) by the URL conversion table 230 (reference S38). Upon receiving the device control MSG (S37), the URL conversion unit 204 acquires the device ID and attribute ID specified in the device control MSG (S37). More specifically, the URL conversion unit 204 determines the device ID “device1” and the attribute ID from the URL “http://gw2.exp.global.com/Things/device1/Property/temperature” of the device control MSG (S37). Get “temperature”.

URL変換部204は、デバイスID「device1」及び属性ID「temperature」に対応するURL「http://192.168.1.10/Things/device1/Property/temp」をURL変換テーブル230から検索する。これにより、URL変換部204は、デバイス制御MSG(S37)のURLを変換する。次に、中継処理部205は、デバイス制御MSG(S37)のURLを変換後のURLに置き換えて新たなデバイス制御MSG(S39)を生成しIoTデバイス3に送信する。   The URL conversion unit 204 searches the URL conversion table 230 for the URL “http://192.168.1.10/Things/device1/Property/temp” corresponding to the device ID “device1” and the attribute ID “temperature”. Thereby, the URL converter 204 converts the URL of the device control MSG (S37). Next, the relay processing unit 205 replaces the URL of the device control MSG (S37) with the converted URL, generates a new device control MSG (S39), and transmits it to the IoT device 3.

図36は、ゲートウェイ装置2aから送信されるデバイス制御MSG(S39)の一例を示す図である。デバイス制御MSG(S39)には、変換後のURL「http://192.168.1.10/Things/Property/temp」が指定されている。   FIG. 36 is a diagram illustrating an example of a device control MSG (S39) transmitted from the gateway apparatus 2a. In the device control MSG (S39), the converted URL “http://192.168.1.10/Things/Property/temp” is designated.

IoTデバイス3は、デバイス制御MSG(S39)を受信すると、温度を測定する(符号S40)。IoTデバイス3は、温度の測定データを含む応答メッセージ(MSG)S41を生成し、ゲートウェイ装置2aに送信する。ゲートウェイ装置2aは、応答MSG(S41)の受信に応じて応答MSG(S42)を上位側のゲートウェイ装置2bに送信する。ゲートウェイ装置2bは、応答MSG(S42)の受信に応じて応答MSG(S43)を中継サーバ1に送信する。中継サーバ1は、応答MSG(S43)の受信に応じて応答MSG(S44)を中継サーバ1に送信する。   When receiving the device control MSG (S39), the IoT device 3 measures the temperature (reference S40). The IoT device 3 generates a response message (MSG) S41 including temperature measurement data, and transmits it to the gateway device 2a. In response to receiving the response MSG (S41), the gateway device 2a transmits the response MSG (S42) to the upper gateway device 2b. The gateway device 2b transmits the response MSG (S43) to the relay server 1 in response to the reception of the response MSG (S42). The relay server 1 transmits the response MSG (S44) to the relay server 1 in response to the reception of the response MSG (S43).

IoTサーバ4は、応答MSG(S44)を受信することにより、温度の測定データを取得する。なお、応答MSG(S41〜S44)は、図14に示されるとおりである。このようにして、制御シーケンスSQ2は実行される。   The IoT server 4 acquires the temperature measurement data by receiving the response MSG (S44). The response MSG (S41 to S44) is as shown in FIG. In this way, the control sequence SQ2 is executed.

上述したように、下位側のゲートウェイ装置2aは、IoTデバイス3から2段のゲートウェイ装置2a,2bを介してIoTサーバ4に提供されるネットワークリソースのLAN内のURL「http://192.168.1.10/Things/Property/temp」と、デバイスID「device1」とをIoTデバイス3から取得する。ゲートウェイ装置2aは、デバイスID「device1」をURL「http://192.168.1.10/Things/Property/temp」に対応付ける。なお、URL「http://192.168.1.10/Things/Property/temp」は第1リソース識別子の一例である。   As described above, the gateway device 2a on the lower side transmits the URL “http://192.168.1.10” in the LAN of the network resource provided from the IoT device 3 to the IoT server 4 via the two-stage gateway devices 2a and 2b. / Things / Property / temp ”and device ID“ device1 ”are acquired from the IoT device 3. The gateway device 2a associates the device ID “device1” with the URL “http://192.168.1.10/Things/Property/temp”. The URL “http://192.168.1.10/Things/Property/temp” is an example of a first resource identifier.

ゲートウェイ装置2aは、デバイスID「device1」及びURL「http://192.168.1.10/Things/Property/temp」から、ゲートウェイ装置2aを基準とするネットワークリソースのインターネット内のURL「http://gw1.exp.global.com /Things/device1/Property/temperature」を生成する。なお、URL「http://gw1.exp.global.com/Things/device1/Property/temperature」は第2リソース識別子の一例である。   From the device ID “device1” and the URL “http://192.168.1.10/Things/Property/temp”, the gateway device 2a uses the URL “http: // gw1. exp.global.com / Things / device1 / Property / temperature ”. The URL “http://gw1.exp.global.com/Things/device1/Property/temperature” is an example of a second resource identifier.

上位側のゲートウェイ装置2bは、URL「http://gw1.exp.global.com/Things/ device1/Property/temperature」を下位側のゲートウェイ装置2aから取得し、URLに含まれるゲートウェイ装置2aのGWアドレス「gw1.exp.global.com」に応じたGWID「gw1」をそのURLに対応付ける。ゲートウェイ装置2bは、GWID「gw1」及びURL「http://gw1.exp.global.com/Things/device1/Property/temperature」から、ゲートウェイ装置2bを基準とするネットワークリソースのインターネット内のURL「http://gw1.exp.global.com/gw2/Things/device1/Property/temperature」を生成する。なお、GWID「gw1」は第1ゲートウェイ識別子の一例であり、URL「http://gw1.exp.global.com/gw2/Things/device1/Property/temperature」は第3リソース識別子の一例である。   The upper gateway device 2b acquires the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” from the lower gateway device 2a, and the GW of the gateway device 2a included in the URL. The GWID “gw1” corresponding to the address “gw1.exp.global.com” is associated with the URL. The gateway device 2b uses the GWID “gw1” and the URL “http://gw1.exp.global.com/Things/device1/Property/temperature” to obtain the URL “http in the network resource on the Internet from the gateway device 2b. : //gw1.exp.global.com/gw2/Things/device1/Property/temperature ”. The GWID “gw1” is an example of a first gateway identifier, and the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature” is an example of a third resource identifier.

中継サーバ1は、URL「http://gw1.exp.global.com/gw2/Things/device1/Property /temperature」をゲートウェイ装置2bから取得する。中継サーバ1は、URL「http://gw1.exp.global.com/gw2/Things/device1/Property/temperature」に含まれるGWID「gw2」及びゲートウェイ装置2bのGWアドレス「gw1.exp.global.com」の組み合わせに応じたGWID「gw1gw2」をURL「http://gw1.exp.global.com /gw2/Things/device1/Property/temperature」に対応付ける。なお、GWID「gw1gw2」は第2ゲートウェイ識別子の一例である。   The relay server 1 acquires the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature” from the gateway device 2b. The relay server 1 includes the GWID “gw2” included in the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature” and the GW address “gw1.exp.global. The GWID “gw1gw2” corresponding to the combination of “com” is associated with the URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature”. The GWID “gw1gw2” is an example of a second gateway identifier.

中継サーバ1は、IoTサーバ4からIoTデバイス3に対するネットワークリソースの要求を受信する。中継サーバ1は、デバイス制御MSG(S33)に指定されたGWID「gw1gw2」に対応するURL「http://gw1.exp.global.com/gw2/ Things/device1/Property/temperature」を、GWIDとURLの対応関係から検出する。中継サーバ1は、検出したURL「http://gw1.exp.global.com/gw2/ Things/device1/Property/temperature」によりデバイス制御MSG(S35)をゲートウェイ装置2bに中継する。   The relay server 1 receives a network resource request from the IoT server 4 to the IoT device 3. The relay server 1 sets the URL “http://gw1.exp.global.com/gw2/ Things / device1 / Property / temperature” corresponding to the GWID “gw1gw2” designated in the device control MSG (S33) as the GWID. It detects from the correspondence of URL. The relay server 1 relays the device control MSG (S35) to the gateway device 2b by the detected URL “http://gw1.exp.global.com/gw2/Things/device1/Property/temperature”.

ゲートウェイ装置2bは、中継サーバ1からデバイス制御MSG(S35)を受ける。ゲートウェイ装置2bは、デバイス制御MSG(S35)に指定されたURL内のGWID「gw2」に対応するURL「http://gw2.exp.global.com/Things/device1/Property/ temperature」を、GWIDとURL対応関係から検出する。ゲートウェイ装置2bは、検出したURL「http://gw2.exp.global.com/Things/device1/Property/temperature」によりデバイス制御MSG(S37)を下位側のゲートウェイ装置2aに中継する。   The gateway device 2b receives the device control MSG (S35) from the relay server 1. The gateway device 2b sends the URL “http://gw2.exp.global.com/Things/device1/Property/temperature” corresponding to the GWID “gw2” in the URL specified in the device control MSG (S35) to the GWID. And the URL correspondence relationship. The gateway device 2b relays the device control MSG (S37) to the lower gateway device 2a by the detected URL “http://gw2.exp.global.com/Things/device1/Property/temperature”.

ゲートウェイ装置2aは、上位側のゲートウェイ装置2bからデバイス制御MSG(S37)を受ける。ゲートウェイ装置2aは、デバイス制御MSG(S37)に指定されたURL「http://gw2.exp.global.com/Things/device1/Property/temperature」内のデバイスID「device1」に対応するURL「http://192.168.1.10/Things/Property/temp」を、デバイスIDとURLの対応関係から検出する。ゲートウェイ装置2aは、検出したURL「http://192.168.1.10/Things/Property/temp」によりデバイス制御MSG(S39)をIoTデバイス3に中継する。   The gateway device 2a receives the device control MSG (S37) from the upper gateway device 2b. The gateway device 2a uses the URL “http” corresponding to the device ID “device1” in the URL “http://gw2.exp.global.com/Things/device1/Property/temperature” specified in the device control MSG (S37). “: //192.168.1.10/Things/Property/temp” is detected from the correspondence between the device ID and the URL. The gateway device 2a relays the device control MSG (S39) to the IoT device 3 using the detected URL “http://192.168.1.10/Things/Property/temp”.

したがって、IoTサーバ4は、中継サーバ1及び2段のゲートウェイ装置2a,2bを介してIoTデバイス3のネットワークリソース(温度の測定データ)にアクセスすることができる。また、中継サーバ1は、GWアドレスをIoTサーバ4に通知することなく、デバイス制御MSG(S33)に指定されたGWIDから、GWIDとURLの対応関係に基づいてIoTデバイス3に応じたURLを検出し、そのURLによりデバイス制御MSG(S35)を中継することができる。   Therefore, the IoT server 4 can access the network resources (temperature measurement data) of the IoT device 3 via the relay server 1 and the two-stage gateway devices 2a and 2b. Further, the relay server 1 detects the URL corresponding to the IoT device 3 based on the correspondence between the GWID and the URL from the GWID designated in the device control MSG (S33) without notifying the IoT server 4 of the GW address. The device control MSG (S35) can be relayed by the URL.

このため、ゲートウェイ装置2a,2bのGWアドレスがIoTサーバ4から悪意のあるユーザに漏洩し、ゲートウェイ装置2a,2bを介してIoTデバイス3が攻撃を受けることが抑制される。したがって、中継サーバ1は、中継処理のセキュリティリスクを低減することができる。   For this reason, the GW addresses of the gateway devices 2a and 2b are leaked from the IoT server 4 to a malicious user, and the IoT device 3 is suppressed from being attacked via the gateway devices 2a and 2b. Therefore, the relay server 1 can reduce the security risk of relay processing.

上述した実施例において、IoTデバイス3のネットワークリソースの位置を示すリソース識別子としてURLを挙げたが、これに限定されず、他の識別子が用いられてもよい。もっとも、URLを用いることによりIoTサーバ4とIoTデバイス3の間の通信をWebインターフェースにより行うことができる。   In the above-described embodiment, the URL is given as the resource identifier indicating the location of the network resource of the IoT device 3, but the present invention is not limited to this, and other identifiers may be used. However, communication between the IoT server 4 and the IoT device 3 can be performed through the Web interface by using the URL.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形して実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

なお、以上の説明に関して更に以下の付記を開示する。
(付記1) 第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得する取得部と、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付ける識別子処理部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出する検出部と、
前記検出部が検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する中継部とを有することを特徴とする中継装置。
(付記2) 前記識別子処理部は、前記ゲートウェイ識別子と前記リソース識別子の対応関係をテーブルに登録し、
前記検出部は、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記テーブルから検出することを特徴とする付記1に記載の中継装置。
(付記3) 前記取得部は、前記デバイスを識別するデバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記識別子処理部は、前記デバイス識別子及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記検出部は、前記要求に指定された前記デバイス識別子及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記デバイス識別子及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする付記1または2に記載の中継装置。
(付記4) 前記取得部は、前記ネットワークリソースの属性を識別する属性識別子と、前記デバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記識別子処理部は、前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記検出部は、前記要求に指定された前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする付記3に記載の中継装置。
(付記5) 前記リソース識別子は、URLであることを特徴とする付記1乃至4の何れかに記載の中継装置。
(付記6) 第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得し、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、
前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出し、
検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継することを特徴とする中継方法。
(付記7) 前記ゲートウェイ識別子と前記リソース識別子の対応関係をテーブルに登録し、
前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記テーブルから検出することを特徴とする付記6に記載の中継方法。
(付記8) 前記デバイスを識別するデバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記デバイス識別子及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記要求に指定された前記デバイス識別子及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記デバイス識別子及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする付記6または7に記載の中継方法。
(付記9) 前記ネットワークリソースの属性を識別する属性識別子と、前記デバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記要求に指定された前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする付記8に記載の中継方法。
(付記10) 前記リソース識別子は、URLであることを特徴とする付記6乃至9の何れかに記載の中継方法。
(付記11)
第1ネットワーク内のデバイスと通信するゲートウェイ装置から、前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置に登録されるデータのデータ構造であって、
前記デバイスを識別するデバイス識別子と、
前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子とを含み、
前記中継装置が、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子及び前記デバイス識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受けたとき、前記要求に指定された前記ゲートウェイ識別子及び前記デバイス識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子、前記リソース識別子、及び前記デバイス識別子の対応関係から検出し、
検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する、処理に用いられることを特徴とするデータ構造。
(付記12) 前記リソース識別子は、URLであることを特徴とする付記11に記載のデータ構造。
(付記13) 第1ネットワーク内のデバイスから自装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する取得部と、
前記デバイス識別子を前記第1リソース識別子に対応付ける識別子処理部と、
前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を前記第2リソース識別子に基づいて受信し、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する検出部と、
前記検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する中継部とを有することを特徴とするゲートウェイ装置。
(付記14) 前記第1リソース識別子及び前記第2リソース識別子は、URLであることを特徴とする付記13に記載のゲートウェイ装置。
(付記15) 第1ネットワーク内のデバイスと通信するゲートウェイ装置と、
前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、
前記ゲートウェイ装置は、
前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する第1取得部と、
前記デバイス識別子を前記第1リソース識別子に対応付ける第1識別子処理部と、
前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部とを有し、
前記中継装置は、
前記第2リソース識別子を前記ゲートウェイ装置から取得する第2取得部と、
前記第2リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記第2リソース識別子に対応付ける第2識別子処理部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、前記要求に指定された前記ゲートウェイ識別子に対応する前記第2リソース識別子を、前記ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出する第1検出部と、
前記第1検出部が検出した前記第2リソース識別子により前記要求を前記ゲートウェイ装置に中継する第1中継部とを有し、
前記ゲートウェイ装置は、さらに、
前記中継装置から前記要求を受け、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する第2検出部と、
前記第2検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する第2中継部とを有することを特徴とする中継システム。
(付記16) 前記第2識別子処理部は、前記ゲートウェイ識別子と前記第2リソース識別子の対応関係をテーブルに登録し、
前記第1検出部は、前記要求に指定された前記ゲートウェイ識別子に対応する前記第2リソース識別子を、前記テーブルから検出することを特徴とする付記15に記載の中継システム。
(付記17) 前記第1リソース識別子及び前記第2リソース識別子は、URLであることを特徴とする付記15または16に記載の中継システム。
(付記18) 第1ネットワーク内のデバイスと通信する第1ゲートウェイ装置と、
前記第1ゲートウェイ装置と通信する第2ゲートウェイ装置と、
前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、
前記第1ゲートウェイ装置は、
前記デバイスから前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得し、
前記デバイス識別子を前記第1リソース識別子に対応付け、
前記デバイス識別子及び前記第1リソース識別子から、前記第1ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成し、
前記第2ゲートウェイ装置は、
前記第2リソース識別子を前記第1ゲートウェイ装置から取得し、
前記第2リソース識別子に含まれる前記第1ゲートウェイ装置のアドレスに応じた第1ゲートウェイ識別子を前記第2リソース識別子に対応付け、
前記第1ゲートウェイ識別子及び前記第2リソース識別子から、前記第2ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第3リソース識別子を生成し、
前記中継装置は、
前記第3リソース識別子を前記第2ゲートウェイ装置から取得し、
前記第3リソース識別子に含まれる前記第1ゲートウェイ識別子及び前記第2ゲートウェイ装置のアドレスの組み合わせに応じた第2ゲートウェイ識別子を前記第3リソース識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、
前記要求に指定された前記第2ゲートウェイ識別子に対応する前記第3リソース識別子を、前記第2ゲートウェイ識別子と前記第3リソース識別子の対応関係から検出し、
検出した前記第3リソース識別子により前記要求を前記第2ゲートウェイ装置に中継し、
前記第2ゲートウェイ装置は、
前記中継装置から前記要求を受け、前記要求に指定された前記第3リソース識別子内の前記第1ゲートウェイ識別子に対応する前記第2リソース識別子を、前記第1ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出し、
検出した前記第2リソース識別子により前記要求を前記第1ゲートウェイ装置に中継し、
前記第1ゲートウェイ装置は、
前記第2ゲートウェイ装置から前記要求を受け、前記要求に指定された前記第2リソース識別子内の前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出し、
検出した前記第1リソース識別子により前記要求を前記デバイスに中継することを特徴とする中継システム。
(付記19) 前記中継装置は、
前記第2ゲートウェイ識別子と前記第3リソース識別子の対応関係をテーブルに登録し、
前記要求に指定された前記第2ゲートウェイ識別子に対応する前記第3リソース識別子を、前記テーブルから検出することを特徴とする付記18に記載の中継システム。
(付記20) 前記第1リソース識別子、前記第2リソース識別子、及び前記第3リソース識別子は、URLであることを特徴とする付記18または19に記載の中継システム。
In addition, the following additional notes are disclosed regarding the above description.
(Additional remark 1) The acquisition part which acquires the resource identifier which shows the position in the said 2nd network of the network resource provided to the server in a 2nd network via the gateway apparatus from the device in a 1st network from the said gateway apparatus When,
An identifier processing unit that associates a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier;
A detection unit that receives a request for the network resource for the device from the server, and detects the resource identifier corresponding to the gateway identifier specified in the request from a correspondence relationship between the gateway identifier and the resource identifier;
A relay unit configured to relay the request to the device via the gateway device based on the resource identifier detected by the detection unit;
(Supplementary Note 2) The identifier processing unit registers a correspondence relationship between the gateway identifier and the resource identifier in a table,
The relay apparatus according to appendix 1, wherein the detection unit detects the resource identifier corresponding to the gateway identifier specified in the request from the table.
(Additional remark 3) The said acquisition part acquires the device identifier which identifies the said device, and the said resource identifier from the said gateway apparatus,
The identifier processing unit associates the device identifier and the gateway identifier with the resource identifier,
The detection unit detects the resource identifier corresponding to the device identifier and the gateway identifier specified in the request from a correspondence relationship between the device identifier and the gateway identifier and the resource identifier. Or the relay apparatus of 2.
(Additional remark 4) The said acquisition part acquires the attribute identifier which identifies the attribute of the said network resource, the said device identifier, and the said resource identifier from the said gateway apparatus,
The identifier processing unit associates the attribute identifier, the device identifier, and the gateway identifier with the resource identifier,
The detection unit includes the resource identifier corresponding to the attribute identifier, the device identifier, and the gateway identifier specified in the request, and the correspondence relationship between the attribute identifier, the device identifier, and the gateway identifier and the resource identifier. 4. The relay device according to appendix 3, wherein the relay device is detected from
(Supplementary Note 5) The relay device according to any one of Supplementary Notes 1 to 4, wherein the resource identifier is a URL.
(Additional remark 6) The resource identifier which shows the position in the 2nd network of the network resource provided to the server in a 2nd network via the gateway apparatus from the device in a 1st network is acquired from the said gateway apparatus,
Associating a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier,
Receiving a request for the network resource for the device from the server;
Detecting the resource identifier corresponding to the gateway identifier specified in the request from the correspondence between the gateway identifier and the resource identifier;
A relay method comprising: relaying the request to the device via the gateway device based on the detected resource identifier.
(Appendix 7) Registering the correspondence between the gateway identifier and the resource identifier in a table,
The relay method according to appendix 6, wherein the resource identifier corresponding to the gateway identifier specified in the request is detected from the table.
(Supplementary Note 8) Obtaining a device identifier for identifying the device and the resource identifier from the gateway device,
Associating the device identifier and the gateway identifier with the resource identifier;
The appendix 6 or 7, wherein the resource identifier corresponding to the device identifier and the gateway identifier specified in the request is detected from a correspondence relationship between the device identifier and the gateway identifier and the resource identifier. Relay method.
(Additional remark 9) The attribute identifier which identifies the attribute of the said network resource, the said device identifier, and the said resource identifier are acquired from the said gateway apparatus,
Associating the attribute identifier, the device identifier, and the gateway identifier with the resource identifier;
Detecting the resource identifier corresponding to the attribute identifier, the device identifier, and the gateway identifier specified in the request from the correspondence relationship between the attribute identifier, the device identifier, and the gateway identifier and the resource identifier. 9. The relay method according to appendix 8, which is a feature.
(Supplementary note 10) The relay method according to any one of supplementary notes 6 to 9, wherein the resource identifier is a URL.
(Appendix 11)
A data structure of data registered from a gateway device communicating with a device in the first network to a relay device that relays communication between the server in the second network and the device via the gateway device,
A device identifier identifying the device;
A resource identifier indicating a location in the second network of network resources provided from the device to the server via the gateway device;
The relay device is
Associating a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier and the device identifier;
When receiving the network resource request for the device from the server, the gateway identifier specified in the request and the resource identifier corresponding to the device identifier are set to the gateway identifier, the resource identifier, and the device identifier. Detect from correspondence,
A data structure used for processing of relaying the request to the device via the gateway device based on the detected resource identifier.
(Supplementary note 12) The data structure according to supplementary note 11, wherein the resource identifier is a URL.
(Additional remark 13) The 1st resource identifier which shows the position in the said 1st network of the network resource provided to the server in a 2nd network from the device in a 1st network via an own apparatus, and the device which identifies the said device An acquisition unit for acquiring an identifier from the device;
An identifier processing unit that associates the device identifier with the first resource identifier;
A generating unit that generates a second resource identifier indicating a position of the network resource in the second network from the first resource identifier;
A request for the network resource for the device from the server is received based on the second resource identifier, and the first resource identifier corresponding to the device identifier specified in the request is the device identifier and the first resource. A detection unit for detecting from the correspondence of the identifiers;
A gateway apparatus comprising: a relay unit that relays the request to the device based on the first resource identifier detected by the detection unit.
(Supplementary note 14) The gateway device according to supplementary note 13, wherein the first resource identifier and the second resource identifier are URLs.
(Supplementary Note 15) A gateway device that communicates with devices in the first network;
A relay device that relays communication between a server in the second network and the device via the gateway device;
The gateway device is
A first resource identifier indicating a position in the first network of a network resource provided from the device to the server via the gateway device and a device identifier for identifying the device are obtained from the device. An acquisition unit;
A first identifier processing unit that associates the device identifier with the first resource identifier;
Generating a second resource identifier indicating a position of the network resource in the second network from the first resource identifier;
The relay device is
A second acquisition unit for acquiring the second resource identifier from the gateway device;
A second identifier processing unit that associates a gateway identifier corresponding to the address of the gateway device included in the second resource identifier with the second resource identifier;
Receiving a request for the network resource for the device from the server, and detecting the second resource identifier corresponding to the gateway identifier specified in the request from a correspondence relationship between the gateway identifier and the second resource identifier. 1 detection unit;
A first relay unit that relays the request to the gateway device based on the second resource identifier detected by the first detection unit;
The gateway device further includes:
A second detection unit that receives the request from the relay device and detects the first resource identifier corresponding to the device identifier specified in the request from a correspondence relationship between the device identifier and the first resource identifier;
A relay system comprising: a second relay unit that relays the request to the device based on the first resource identifier detected by the second detection unit.
(Supplementary Note 16) The second identifier processing unit registers a correspondence relationship between the gateway identifier and the second resource identifier in a table,
The relay system according to appendix 15, wherein the first detection unit detects the second resource identifier corresponding to the gateway identifier specified in the request from the table.
(Supplementary note 17) The relay system according to supplementary note 15 or 16, wherein the first resource identifier and the second resource identifier are URLs.
(Supplementary Note 18) A first gateway device that communicates with devices in the first network;
A second gateway device communicating with the first gateway device;
A relay device that relays communication between a server in the second network and the device via the first gateway device and the second gateway device;
The first gateway device is
A first resource identifier indicating a position in the first network of a network resource provided from the device to the server via the first gateway device and the second gateway device; and a device identifier for identifying the device; Obtained from the device,
Associating the device identifier with the first resource identifier;
Generating a second resource identifier indicating a position of the network resource in the second network with reference to the first gateway device from the device identifier and the first resource identifier;
The second gateway device is
Obtaining the second resource identifier from the first gateway device;
Associating a first gateway identifier corresponding to an address of the first gateway device included in the second resource identifier with the second resource identifier;
Generating from the first gateway identifier and the second resource identifier a third resource identifier indicating a position of the network resource in the second network with reference to the second gateway device;
The relay device is
Obtaining the third resource identifier from the second gateway device;
Associating a second gateway identifier corresponding to a combination of the address of the first gateway identifier and the second gateway device included in the third resource identifier with the third resource identifier;
Receiving a request for the network resource for the device from the server;
Detecting the third resource identifier corresponding to the second gateway identifier specified in the request from a correspondence relationship between the second gateway identifier and the third resource identifier;
Relaying the request to the second gateway device according to the detected third resource identifier;
The second gateway device is
The second resource identifier corresponding to the first gateway identifier in the third resource identifier specified in the request is received from the relay device, and the correspondence between the first gateway identifier and the second resource identifier Detect from relationship,
Relaying the request to the first gateway device according to the detected second resource identifier;
The first gateway device is
The first resource identifier corresponding to the device identifier in the second resource identifier specified in the request is received from the second gateway device, and the correspondence relationship between the device identifier and the first resource identifier is determined. Detect
A relay system that relays the request to the device based on the detected first resource identifier.
(Supplementary note 19)
Registering the correspondence between the second gateway identifier and the third resource identifier in a table;
The relay system according to claim 18, wherein the third resource identifier corresponding to the second gateway identifier specified in the request is detected from the table.
(Supplementary note 20) The relay system according to Supplementary note 18 or 19, wherein the first resource identifier, the second resource identifier, and the third resource identifier are URLs.

1 中継サーバ
2,2a,2b ゲートウェイ装置
3 IoTデバイス
4 IoTサーバ
100,200 動作制御部
101,201 デバイス定義情報取得部
102,202 URL登録部
103,203 デバイス登録部
104,204 URL変換部
105,205 中継処理部
130,230 URL変換テーブル
131,232 デバイス定義情報データベース
132 GWIDデータベース
DESCRIPTION OF SYMBOLS 1 Relay server 2, 2a, 2b Gateway apparatus 3 IoT device 4 IoT server 100,200 Operation control part 101,201 Device definition information acquisition part 102,202 URL registration part 103,203 Device registration part 104,204 URL conversion part 105, 205 Relay processing unit 130, 230 URL conversion table 131, 232 Device definition information database 132 GWID database

Claims (10)

第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得する取得部と、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付ける識別子処理部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出する検出部と、
前記検出部が検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する中継部とを有することを特徴とする中継装置。
An acquisition unit that acquires, from the gateway device, a resource identifier indicating a position in the second network of a network resource provided from a device in the first network to a server in the second network via the gateway device;
An identifier processing unit that associates a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier;
A detection unit that receives a request for the network resource for the device from the server, and detects the resource identifier corresponding to the gateway identifier specified in the request from a correspondence relationship between the gateway identifier and the resource identifier;
A relay unit configured to relay the request to the device via the gateway device based on the resource identifier detected by the detection unit;
前記識別子処理部は、前記ゲートウェイ識別子と前記リソース識別子の対応関係をテーブルに登録し、
前記検出部は、前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記テーブルから検出することを特徴とする請求項1に記載の中継装置。
The identifier processing unit registers a correspondence relationship between the gateway identifier and the resource identifier in a table,
The relay device according to claim 1, wherein the detection unit detects the resource identifier corresponding to the gateway identifier specified in the request from the table.
前記取得部は、前記デバイスを識別するデバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記識別子処理部は、前記デバイス識別子及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記検出部は、前記要求に指定された前記デバイス識別子及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記デバイス識別子及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする請求項1または2に記載の中継装置。
The acquisition unit acquires a device identifier for identifying the device and the resource identifier from the gateway device,
The identifier processing unit associates the device identifier and the gateway identifier with the resource identifier,
The detection unit detects the resource identifier corresponding to the device identifier and the gateway identifier specified in the request from a correspondence relationship between the device identifier and the gateway identifier and the resource identifier. 3. The relay device according to 1 or 2.
前記取得部は、前記ネットワークリソースの属性を識別する属性識別子と、前記デバイス識別子と、前記リソース識別子とを、前記ゲートウェイ装置から取得し、
前記識別子処理部は、前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子を前記リソース識別子に対応付け、
前記検出部は、前記要求に指定された前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子に対応する前記リソース識別子を、前記属性識別子、前記デバイス識別子、及び前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出することを特徴とする請求項3に記載の中継装置。
The acquisition unit acquires an attribute identifier for identifying an attribute of the network resource, the device identifier, and the resource identifier from the gateway device,
The identifier processing unit associates the attribute identifier, the device identifier, and the gateway identifier with the resource identifier,
The detection unit includes the resource identifier corresponding to the attribute identifier, the device identifier, and the gateway identifier specified in the request, and the correspondence relationship between the attribute identifier, the device identifier, and the gateway identifier and the resource identifier. The relay device according to claim 3, wherein the relay device is detected from:
前記リソース識別子は、URLであることを特徴とする請求項1乃至4の何れかに記載の中継装置。   The relay apparatus according to claim 1, wherein the resource identifier is a URL. 第1ネットワーク内のデバイスからゲートウェイ装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの第2ネットワーク内の位置を示すリソース識別子を、前記ゲートウェイ装置から取得し、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受け、
前記要求に指定された前記ゲートウェイ識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子と前記リソース識別子の対応関係から検出し、
検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継することを特徴とする中継方法。
Obtaining from the gateway device a resource identifier indicating a location in the second network of a network resource provided from a device in the first network to a server in the second network via the gateway device;
Associating a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier,
Receiving a request for the network resource for the device from the server;
Detecting the resource identifier corresponding to the gateway identifier specified in the request from the correspondence between the gateway identifier and the resource identifier;
A relay method comprising: relaying the request to the device via the gateway device based on the detected resource identifier.
第1ネットワーク内のデバイスと通信するゲートウェイ装置から、前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置に登録されるデータのデータ構造であって、
前記デバイスを識別するデバイス識別子と、
前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第2ネットワーク内の位置を示すリソース識別子とを含み、
前記中継装置が、
前記リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記リソース識別子及び前記デバイス識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受けたとき、前記要求に指定された前記ゲートウェイ識別子及び前記デバイス識別子に対応する前記リソース識別子を、前記ゲートウェイ識別子、前記リソース識別子、及び前記デバイス識別子の対応関係から検出し、
検出した前記リソース識別子により前記要求を、前記ゲートウェイ装置を介し前記デバイスに中継する、処理に用いられることを特徴とするデータ構造。
A data structure of data registered from a gateway device communicating with a device in the first network to a relay device that relays communication between the server in the second network and the device via the gateway device,
A device identifier identifying the device;
A resource identifier indicating a location in the second network of network resources provided from the device to the server via the gateway device;
The relay device is
Associating a gateway identifier corresponding to the address of the gateway device included in the resource identifier with the resource identifier and the device identifier;
When receiving the network resource request for the device from the server, the gateway identifier specified in the request and the resource identifier corresponding to the device identifier are set to the gateway identifier, the resource identifier, and the device identifier. Detect from correspondence,
A data structure used for processing of relaying the request to the device via the gateway device based on the detected resource identifier.
第1ネットワーク内のデバイスから自装置を介して第2ネットワーク内のサーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する取得部と、
前記デバイス識別子を前記第1リソース識別子に対応付ける識別子処理部と、
前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を前記第2リソース識別子に基づいて受信し、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する検出部と、
前記検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する中継部とを有することを特徴とするゲートウェイ装置。
A first resource identifier indicating a position in the first network of a network resource provided from a device in the first network to a server in the second network via its own device; and a device identifier for identifying the device; An acquisition unit for acquiring from the device;
An identifier processing unit that associates the device identifier with the first resource identifier;
A generating unit that generates a second resource identifier indicating a position of the network resource in the second network from the first resource identifier;
A request for the network resource for the device from the server is received based on the second resource identifier, and the first resource identifier corresponding to the device identifier specified in the request is the device identifier and the first resource. A detection unit for detecting from the correspondence of the identifiers;
A gateway apparatus comprising: a relay unit that relays the request to the device based on the first resource identifier detected by the detection unit.
第1ネットワーク内のデバイスと通信するゲートウェイ装置と、
前記ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、
前記ゲートウェイ装置は、
前記デバイスから前記ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得する第1取得部と、
前記デバイス識別子を前記第1リソース識別子に対応付ける第1識別子処理部と、
前記第1リソース識別子から、前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成する生成部とを有し、
前記中継装置は、
前記第2リソース識別子を前記ゲートウェイ装置から取得する第2取得部と、
前記第2リソース識別子に含まれる前記ゲートウェイ装置のアドレスに応じたゲートウェイ識別子を前記第2リソース識別子に対応付ける第2識別子処理部と、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、前記要求に指定された前記ゲートウェイ識別子に対応する前記第2リソース識別子を、前記ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出する第1検出部と、
前記第1検出部が検出した前記第2リソース識別子により前記要求を前記ゲートウェイ装置に中継する第1中継部とを有し、
前記ゲートウェイ装置は、さらに、
前記中継装置から前記要求を受け、前記要求に指定された前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出する第2検出部と、
前記第2検出部が検出した前記第1リソース識別子により前記要求を前記デバイスに中継する第2中継部とを有することを特徴とする中継システム。
A gateway device that communicates with devices in the first network;
A relay device that relays communication between a server in the second network and the device via the gateway device;
The gateway device is
A first resource identifier indicating a position in the first network of a network resource provided from the device to the server via the gateway device and a device identifier for identifying the device are obtained from the device. An acquisition unit;
A first identifier processing unit that associates the device identifier with the first resource identifier;
Generating a second resource identifier indicating a position of the network resource in the second network from the first resource identifier;
The relay device is
A second acquisition unit for acquiring the second resource identifier from the gateway device;
A second identifier processing unit that associates a gateway identifier corresponding to the address of the gateway device included in the second resource identifier with the second resource identifier;
Receiving a request for the network resource for the device from the server, and detecting the second resource identifier corresponding to the gateway identifier specified in the request from a correspondence relationship between the gateway identifier and the second resource identifier. 1 detection unit;
A first relay unit that relays the request to the gateway device based on the second resource identifier detected by the first detection unit;
The gateway device further includes:
A second detection unit that receives the request from the relay device and detects the first resource identifier corresponding to the device identifier specified in the request from a correspondence relationship between the device identifier and the first resource identifier;
A relay system comprising: a second relay unit that relays the request to the device based on the first resource identifier detected by the second detection unit.
第1ネットワーク内のデバイスと通信する第1ゲートウェイ装置と、
前記第1ゲートウェイ装置と通信する第2ゲートウェイ装置と、
前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して第2ネットワーク内のサーバと前記デバイスの間の通信を中継する中継装置と有し、
前記第1ゲートウェイ装置は、
前記デバイスから前記第1ゲートウェイ装置及び第2ゲートウェイ装置を介して前記サーバに提供されるネットワークリソースの前記第1ネットワーク内の位置を示す第1リソース識別子と、前記デバイスを識別するデバイス識別子とを、前記デバイスから取得し、
前記デバイス識別子を前記第1リソース識別子に対応付け、
前記デバイス識別子及び前記第1リソース識別子から、前記第1ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第2リソース識別子を生成し、
前記第2ゲートウェイ装置は、
前記第2リソース識別子を前記第1ゲートウェイ装置から取得し、
前記第2リソース識別子に含まれる前記第1ゲートウェイ装置のアドレスに応じた第1ゲートウェイ識別子を前記第2リソース識別子に対応付け、
前記第1ゲートウェイ識別子及び前記第2リソース識別子から、前記第2ゲートウェイ装置を基準として前記ネットワークリソースの前記第2ネットワーク内の位置を示す第3リソース識別子を生成し、
前記中継装置は、
前記第3リソース識別子を前記第2ゲートウェイ装置から取得し、
前記第3リソース識別子に含まれる前記第1ゲートウェイ識別子及び前記第2ゲートウェイ装置のアドレスの組み合わせに応じた第2ゲートウェイ識別子を前記第3リソース識別子に対応付け、
前記サーバから前記デバイスに対する前記ネットワークリソースの要求を受信し、
前記要求に指定された前記第2ゲートウェイ識別子に対応する前記第3リソース識別子を、前記第2ゲートウェイ識別子と前記第3リソース識別子の対応関係から検出し、
検出した前記第3リソース識別子により前記要求を前記第2ゲートウェイ装置に中継し、
前記第2ゲートウェイ装置は、
前記中継装置から前記要求を受け、前記要求に指定された前記第3リソース識別子内の前記第1ゲートウェイ識別子に対応する前記第2リソース識別子を、前記第1ゲートウェイ識別子と前記第2リソース識別子の対応関係から検出し、
検出した前記第2リソース識別子により前記要求を前記第1ゲートウェイ装置に中継し、
前記第1ゲートウェイ装置は、
前記第2ゲートウェイ装置から前記要求を受け、前記要求に指定された前記第2リソース識別子内の前記デバイス識別子に対応する前記第1リソース識別子を、前記デバイス識別子と前記第1リソース識別子の対応関係から検出し、
検出した前記第1リソース識別子により前記要求を前記デバイスに中継することを特徴とする中継システム。
A first gateway device communicating with a device in the first network;
A second gateway device communicating with the first gateway device;
A relay device that relays communication between a server in the second network and the device via the first gateway device and the second gateway device;
The first gateway device is
A first resource identifier indicating a position in the first network of a network resource provided from the device to the server via the first gateway device and the second gateway device; and a device identifier for identifying the device; Obtained from the device,
Associating the device identifier with the first resource identifier;
Generating a second resource identifier indicating a position of the network resource in the second network with reference to the first gateway device from the device identifier and the first resource identifier;
The second gateway device is
Obtaining the second resource identifier from the first gateway device;
Associating a first gateway identifier corresponding to an address of the first gateway device included in the second resource identifier with the second resource identifier;
Generating from the first gateway identifier and the second resource identifier a third resource identifier indicating a position of the network resource in the second network with reference to the second gateway device;
The relay device is
Obtaining the third resource identifier from the second gateway device;
Associating a second gateway identifier corresponding to a combination of the address of the first gateway identifier and the second gateway device included in the third resource identifier with the third resource identifier;
Receiving a request for the network resource for the device from the server;
Detecting the third resource identifier corresponding to the second gateway identifier specified in the request from a correspondence relationship between the second gateway identifier and the third resource identifier;
Relaying the request to the second gateway device according to the detected third resource identifier;
The second gateway device is
The second resource identifier corresponding to the first gateway identifier in the third resource identifier specified in the request is received from the relay device, and the correspondence between the first gateway identifier and the second resource identifier Detect from relationship,
Relaying the request to the first gateway device according to the detected second resource identifier;
The first gateway device is
The first resource identifier corresponding to the device identifier in the second resource identifier specified in the request is received from the second gateway device, and the correspondence relationship between the device identifier and the first resource identifier is determined. Detect
A relay system that relays the request to the device based on the detected first resource identifier.
JP2018024744A 2018-02-15 2018-02-15 Relay device, relay method, data structure, gateway device, and relay system Pending JP2019140632A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018024744A JP2019140632A (en) 2018-02-15 2018-02-15 Relay device, relay method, data structure, gateway device, and relay system
US16/241,750 US10904037B2 (en) 2018-02-15 2019-01-07 Relaying apparatus, relaying method, and relaying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018024744A JP2019140632A (en) 2018-02-15 2018-02-15 Relay device, relay method, data structure, gateway device, and relay system

Publications (1)

Publication Number Publication Date
JP2019140632A true JP2019140632A (en) 2019-08-22

Family

ID=67540897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018024744A Pending JP2019140632A (en) 2018-02-15 2018-02-15 Relay device, relay method, data structure, gateway device, and relay system

Country Status (2)

Country Link
US (1) US10904037B2 (en)
JP (1) JP2019140632A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10841772B2 (en) * 2018-12-28 2020-11-17 Wipro Limited Method and system for controlling communication between internet-of-things (IOT) devices
US11277476B2 (en) 2019-10-18 2022-03-15 Dish Wireless L.L.C. Internet of things gateway content receiver

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288054A (en) * 2001-03-23 2002-10-04 Matsushita Electric Ind Co Ltd Remote operation system
JP2005033239A (en) * 2003-07-07 2005-02-03 Hitachi Ltd Method of accessing network compatible facility/equipment, and apparatus thereof
JP2009038624A (en) * 2007-08-02 2009-02-19 Panasonic Corp Information collection system
JP2015204559A (en) * 2014-04-15 2015-11-16 Necプラットフォームズ株式会社 port mapping device, router, port mapping method, and port mapping program

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3925237B2 (en) 2002-02-25 2007-06-06 松下電器産業株式会社 Remote control system and its processing side distributed control system and remote control method
JP4817997B2 (en) 2006-07-05 2011-11-16 株式会社東芝 Gateway device, communication method, and communication program
US8610546B2 (en) * 2010-10-01 2013-12-17 At&T Intellectual Property I, L.P. System for selecting resources accessible to a mobile device server
EP3100471B1 (en) * 2014-01-28 2018-12-26 Convida Wireless, LLC Context-aware and proximity-aware service layer connectivity management
US10212030B2 (en) * 2014-06-13 2019-02-19 Telefonaktiebolaget Lm Ericsson (Publ) Mobile network IOT convergence
EP3178205B1 (en) * 2014-08-07 2020-04-29 Telefonaktiebolaget LM Ericsson (publ) Data transfer in a system of connected things
GB2532432B (en) * 2014-11-18 2021-09-08 Arm Ip Ltd Methods of accessing a remote resource from a data processing device
KR102325822B1 (en) * 2015-03-10 2021-11-11 삼성전자주식회사 internet of things device AND internet of things communication method
WO2016160626A1 (en) * 2015-03-27 2016-10-06 Globallogic, Inc. Determining actions based on imputing meaning to sensed information in a distributed computing environment
WO2016161266A1 (en) * 2015-04-02 2016-10-06 Google Inc. Efficient network stack for wireless application protocols
KR102401645B1 (en) * 2015-05-22 2022-05-25 삼성전자주식회사 Electronic device and gateway and method for controlling thereof
US10091329B2 (en) * 2015-06-30 2018-10-02 Amazon Technologies, Inc. Device gateway
US10050840B2 (en) * 2015-11-23 2018-08-14 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for an internet of things (IOT) device access in a software-defined networking (SDN) system
WO2017218503A1 (en) * 2016-06-13 2017-12-21 Convida Wireless, Llc System and methods for service layer cache management
WO2018136059A1 (en) * 2017-01-19 2018-07-26 Nokia Technologies Oy IoT GATEWAY AND DESTINATION CLOUD SERVER
US10333733B2 (en) * 2017-03-20 2019-06-25 Vmware, Inc. Controlling proxy devices through a managed gateway
US10708780B2 (en) * 2018-01-29 2020-07-07 Silicon Laboratories Inc. Registration of an internet of things (IoT) device using a physically uncloneable function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288054A (en) * 2001-03-23 2002-10-04 Matsushita Electric Ind Co Ltd Remote operation system
JP2005033239A (en) * 2003-07-07 2005-02-03 Hitachi Ltd Method of accessing network compatible facility/equipment, and apparatus thereof
JP2009038624A (en) * 2007-08-02 2009-02-19 Panasonic Corp Information collection system
JP2015204559A (en) * 2014-04-15 2015-11-16 Necプラットフォームズ株式会社 port mapping device, router, port mapping method, and port mapping program

Also Published As

Publication number Publication date
US20190253280A1 (en) 2019-08-15
US10904037B2 (en) 2021-01-26

Similar Documents

Publication Publication Date Title
US10742592B2 (en) Dynamic DNS-based service discovery
US9071572B2 (en) Method, apparatus and system for addressing resources
US20180191666A1 (en) Wide area service discovery for internet of things
CN107872486B (en) Communication method and device
EP2306689B1 (en) Devices and method for accessing a web server in a local space
JP2010206708A (en) Information conversion apparatus, information conversion method, information conversion program, and relay apparatus
CN103973830A (en) Hybrid unicast/multicast DNS-based service discovery
WO2007086578A1 (en) Domain name system using dynamic dns and dynamic dns server global address management method
CN111711659A (en) Method and device for remotely managing terminal, equipment and storage medium thereof
JP2019140632A (en) Relay device, relay method, data structure, gateway device, and relay system
KR20180047961A (en) An apparatus for constructing unified identification structure in future internet environments and the method by using the same
KR101710033B1 (en) Method for maintaining connectivity among dynamic ip devices and the apparatus therefor
JP2019522416A (en) System and method for DNS request suppression
JP5573835B2 (en) DNS name resolution system, override agent, DNS name resolution method
KR101051792B1 (en) Network address translation device and method
US10291612B2 (en) Bi-directional authentication between a media repository and a hosting provider
JP2016158116A (en) Lan access method and address registration server
KR20190053336A (en) Device authentication method and system in the Internet of Things Network
JP2015156593A (en) Communication relay device and communication system
JP6007911B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
US11962502B2 (en) Control apparatus, communication system, control method and program
JP6783272B2 (en) Control system and control method
JP2011151606A (en) Translator apparatus, address system conversion method, address system conversion program and name resolution server
JP4825780B2 (en) Translator device and its address system conversion method
JP2010130604A (en) System and method for searching dynamic gateway, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220315