JP2020024742A - Relay device and program - Google Patents

Relay device and program Download PDF

Info

Publication number
JP2020024742A
JP2020024742A JP2019196913A JP2019196913A JP2020024742A JP 2020024742 A JP2020024742 A JP 2020024742A JP 2019196913 A JP2019196913 A JP 2019196913A JP 2019196913 A JP2019196913 A JP 2019196913A JP 2020024742 A JP2020024742 A JP 2020024742A
Authority
JP
Japan
Prior art keywords
wireless communication
communication
relay
unit
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019196913A
Other languages
Japanese (ja)
Other versions
JP6821765B2 (en
Inventor
孝則 指田
Takanori Sashita
孝則 指田
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.)
SoftBank Corp
Original Assignee
SoftBank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SoftBank Corp filed Critical SoftBank Corp
Priority to JP2019196913A priority Critical patent/JP6821765B2/en
Publication of JP2020024742A publication Critical patent/JP2020024742A/en
Application granted granted Critical
Publication of JP6821765B2 publication Critical patent/JP6821765B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a gateway that relays communication of a plurality of communication devices like an IoT gateway and can perform processing suitable for a situation.SOLUTION: A relay device includes: a connection establishment unit that establishes communication connection with a communication device; a line selection unit that selects a first communication line or a second communication line having larger communication capacity than the first communication line as a communication line used when relaying communication between a communication device and a communication opposite party of the communication device on the basis of a communication method of communication connection which the connection establishment unit has established with the communication device or a device type of the communication device; and a communication relay unit that relays communication between the communication device and the communication opposite party via the communication line selected by the line selection unit.SELECTED DRAWING: Figure 1

Description

本発明は、中継装置及びプログラムに関する。   The present invention relates to a relay device and a program.

IoT(Internet of Thing)デバイスと通信接続を確立して、IoTデバイスの通信を中継するIoTゲートウェイが知られていた(例えば、特許文献1参照)。
[先行技術文献]
[特許文献]
[特許文献1]特開2018−060380号公報
There has been known an IoT gateway that establishes a communication connection with an IoT (Internet of Thing) device and relays communication of the IoT device (for example, see Patent Literature 1).
[Prior art documents]
[Patent Document]
[Patent Document 1] JP-A-2018-060380

IoTゲートウェイのような複数の通信デバイスの通信を中継するゲートウェイであって、状況に応じて適切な処理を実行可能なゲートウェイを提供することが望ましい。   It is desirable to provide a gateway, such as an IoT gateway, that relays communication of a plurality of communication devices and that can execute appropriate processing depending on the situation.

本発明の第1の態様によれば、中継装置が提供される。中継装置は、通信デバイスと通信接続を確立する接続確立部を備えてよい。中継装置は、接続確立部が通信デバイスと確立した通信接続の通信方式又は通信デバイスのデバイスタイプに基づいて、通信デバイスと通信デバイスの通信相手との通信を中継するときに用いる通信回線として、第1の通信回線又は第1の通信回線よりも通信容量が多い第2の通信回線を選択する回線選択部を備えてよい。中継装置は、回線選択部によって選択された通信回線を介して、通信デバイスと通信相手との通信を中継する通信中継部を備えてよい。   According to a first aspect of the present invention, a relay device is provided. The relay device may include a connection establishing unit that establishes a communication connection with the communication device. The relay device, as a communication line used when relaying communication between the communication device and a communication partner of the communication device, based on a communication method or a communication device type of the communication connection established by the connection establishment unit with the communication device, A line selection unit for selecting one communication line or a second communication line having a larger communication capacity than the first communication line may be provided. The relay device may include a communication relay unit that relays communication between the communication device and the communication partner via the communication line selected by the line selection unit.

上記接続確立部は、上記通信デバイスと無線通信接続を確立してよく、上記回線選択部は、上記接続確立部が上記通信デバイスと確立した無線通信接続の通信方式又は上記通信デバイスのデバイスタイプに基づいて、上記通信デバイスと上記通信デバイスの通信相手との通信を中継するときに用いる無線通信回線として、第1の無線通信回線又は上記第1の無線通信回線よりも通信容量が多い第2の無線通信回線を選択してよい。上記第1の通信回線は、NB−IoT、LoRa、及びSigfoxの少なくともいずれかであってよく、上記第2の通信回線は、LTEであってよい。上記回線選択部は、上記通信方式が第1の通信方式である場合、上記第1の通信回線を選択し、上記通信方式が第2の通信方式である場合、上記第2の通信回線を選択してよい。上記第1の通信方式は、WiFi又はBluetooth(登録商標)であってよく、上記第2の通信方式は、Z−Wave(登録商標)又はZigbee(登録商標)であってよい。   The connection establishment unit may establish a wireless communication connection with the communication device, the line selection unit, the connection establishment unit in the communication system of the wireless communication connection established with the communication device or the device type of the communication device. A first wireless communication line or a second wireless communication line having a larger communication capacity than the first wireless communication line as a wireless communication line used when relaying communication between the communication device and a communication partner of the communication device. A wireless communication line may be selected. The first communication line may be at least one of NB-IoT, LoRa, and Sigfox, and the second communication line may be LTE. The line selecting unit selects the first communication line when the communication method is the first communication method, and selects the second communication line when the communication method is the second communication method. May do it. The first communication scheme may be WiFi or Bluetooth (registered trademark), and the second communication scheme may be Z-Wave (registered trademark) or Zigbee (registered trademark).

上記回線選択部は、上記通信デバイスのデバイスタイプが第1のデバイスタイプである場合、上記第1の通信回線を選択し、上記通信デバイスのデバイスタイプが第2のデバイスタイプである場合、上記第2の通信回線を選択してよい。上記第1のデバイスタイプのデバイスは、数値データ又はテキストデータを送信するデバイスであってよく、上記第2のデバイスタイプのデバイスは、画像データ又は音声データを送信するデバイスであってよい。上記通信中継部は、上記接続確立部によって通信接続が確立されている全ての通信デバイスに対して、上記第1の通信回線が選択されている場合、上記第2の通信回線をスリープさせてよい。上記通信中継部が、上記第1の通信回線を用いて上記通信デバイスの通信を中継している間に、上記通信デバイスが送受信するデータを監視するデータ監視部と、上記通信デバイスが送受信するデータが予め定められた条件を満たす場合に、上記通信中継部が用いる通信回線を、上記第1の通信回線から上記第2の通信回線に切り替えさせる切替制御部とを備えてよい。上記切替制御部は、上記通信デバイスが受信するデータの種類が予め定められた種類である場合に、上記通信中継部が用いる通信回線を、上記第1の通信回線から上記第2の通信回線に切り替えさせてよい。   The line selection unit selects the first communication line when the device type of the communication device is the first device type, and selects the first communication line when the device type of the communication device is the second device type. The second communication line may be selected. The device of the first device type may be a device that transmits numerical data or text data, and the device of the second device type may be a device that transmits image data or audio data. The communication relay unit may cause the second communication line to sleep when the first communication line is selected for all communication devices for which a communication connection has been established by the connection establishment unit. . A data monitoring unit that monitors data transmitted and received by the communication device while the communication relay unit relays communication of the communication device using the first communication line; A switching control unit that switches a communication line used by the communication relay unit from the first communication line to the second communication line when the predetermined condition is satisfied. When the type of data received by the communication device is a predetermined type, the switching control unit switches the communication line used by the communication relay unit from the first communication line to the second communication line. You can switch.

本発明の第2の態様によれば、中継装置が提供される。中継装置は、第1の無線通信方式で通信接続をしている第1の無線通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換して送信する第1中継部を備えてよい。中継装置は、第2の無線通信方式で通信接続をしている第2の無線通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換して送信する第2中継部を備えてよい。中継装置は、第1の無線通信方式と第2の無線通信方式との間でプロトコル変換を実行し、第1の無線通信デバイスと第2の無線通信デバイスとの間の通信を中継する第3中継部を備えてよい。   According to a second aspect of the present invention, a relay device is provided. The relay device may include a first relay unit that converts data received from the first wireless communication device connected to the first wireless communication system by the protocol to a communication system of the IP communication and transmits the data. The relay device may include a second relay unit that converts data received from a second wireless communication device that is connected for communication by the second wireless communication method into a communication method of IP communication and transmits the data. A relay device that performs protocol conversion between the first wireless communication system and the second wireless communication system, and relays communication between the first wireless communication device and the second wireless communication device; A relay unit may be provided.

上記第1の無線通信方式は、Bluetoothであってよく、上記第2の無線通信方式は、Z−Wave又はZigbeeであってよい。上記中継装置は、上記第1の無線通信方式で通信接続をしている上記第1の無線通信デバイスから受信したデータに基づいて、上記中継装置に対する制御を実行する実行部を備えてよい。上記第3中継部は、上記第1の無線通信デバイスから受信したデータを、複数の上記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークに送信してよい。上記第3中継部は、上記第2無線通信デバイスネットワーク内の上記第2の無線通信デバイスを送信元とするBluetoothビーコンを、上記第1の無線通信デバイスに送信してよい。上記第3中継部は、上記第1の無線通信デバイスから受信したBluetoothビーコンをプロトコル変換して、上記第2無線通信デバイスネットワーク内の少なくとも1つの上記第2の無線通信デバイスに送信してよい。   The first wireless communication scheme may be Bluetooth, and the second wireless communication scheme may be Z-Wave or Zigbee. The relay device may include an execution unit that executes control on the relay device based on data received from the first wireless communication device that is connected to the first wireless communication system by the first wireless communication method. The third relay unit may transmit data received from the first wireless communication device to a second wireless communication device network including a plurality of the second wireless communication devices. The third relay unit may transmit a Bluetooth beacon having the second wireless communication device in the second wireless communication device network as a transmission source to the first wireless communication device. The third relay unit may convert a Bluetooth beacon received from the first wireless communication device into a protocol, and transmit the Bluetooth beacon to at least one of the second wireless communication devices in the second wireless communication device network.

上記第3中継部は、上記第2の無線通信デバイスから受信したデータを、複数の第1の無線通信デバイスによって構成される第1無線通信デバイスネットワークに送信してよい。上記第3中継部は、複数の上記第1の無線通信デバイスによって構成される第1無線通信デバイスネットワークと、複数の上記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークとの間の通信を中継してよい。上記第3中継部は、他の中継装置と、上記第1の無線通信方式により通信接続を確立し、当該通信接続を介して、複数の上記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークと、上記他の中継装置に接続された複数の上記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークとの間の通信を中継してよい。   The third relay unit may transmit data received from the second wireless communication device to a first wireless communication device network including a plurality of first wireless communication devices. The third relay unit is between a first wireless communication device network configured by a plurality of the first wireless communication devices and a second wireless communication device network configured by a plurality of the second wireless communication devices. May be relayed. The third relay unit establishes a communication connection with another relay device by the first wireless communication method, and establishes a second wireless communication device configured by the plurality of second wireless communication devices via the communication connection. The communication between the communication device network and a second wireless communication device network configured by a plurality of the second wireless communication devices connected to the another relay device may be relayed.

本発明の第3の態様によれば、コンピュータを、上記中継装置として機能させるためのプログラムが提供される。   According to a third aspect of the present invention, there is provided a program for causing a computer to function as the relay device.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   The above summary of the present invention does not list all of the necessary features of the present invention. Further, a sub-combination of these feature groups can also be an invention.

中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100による処理の流れの一例を概略的に示す。An example of the flow of processing by the relay device 100 is schematically shown. 中継装置100による処理の流れの一例を概略的に示す。An example of the flow of processing by the relay device 100 is schematically shown. 中継装置100による処理の流れの一例を概略的に示す。An example of the flow of processing by the relay device 100 is schematically shown. 中継装置100の機能構成の一例を概略的に示す。An example of a functional configuration of the relay device 100 is schematically illustrated. 中継装置100の通信環境の他の一例を概略的に示す。Another example of the communication environment of the relay device 100 is schematically illustrated. 中継装置100の構成の一例を概略的に示す。An example of the configuration of the relay device 100 is schematically shown. 中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100の構成の一例を概略的に示す。An example of the configuration of the relay device 100 is schematically shown. 中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100の通信環境の一例を概略的に示す。1 schematically illustrates an example of a communication environment of a relay device 100. 中継装置100として機能するコンピュータ1000のハードウェア構成の一例を概略的に示す。An example of a hardware configuration of a computer 1000 functioning as the relay device 100 is schematically shown.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all combinations of the features described in the embodiments are necessarily essential to the solution of the invention.

図1は、中継装置100の通信環境の一例を概略的に示す。本実施形態に係る中継装置100は、通信デバイスと通信接続を確立し、通信回線30と、通信回線30よりも通信容量が多い通信回線40とのいずれかを用いて、通信デバイスとクラウド20との通信を中継する。   FIG. 1 schematically illustrates an example of a communication environment of the relay device 100. The relay device 100 according to the present embodiment establishes a communication connection with a communication device, and establishes a communication connection between the communication device and the cloud 20 using one of the communication line 30 and the communication line 40 having a larger communication capacity than the communication line 30. Relay the communication.

図1では、中継装置100がいわゆるIoTゲートウェイであって、IoTデバイス200の通信を中継する場合を例に挙げて説明する。なお、これに限らず、中継装置100は、任意の通信デバイスと無線通信接続を確立して、当該通信デバイスの通信を中継するゲートウェイであってもよい。また、中継装置100は、任意の通信デバイスと有線通信接続を確立して、当該通信デバイスの通信を中継するゲートウェイであってもよい。通信回線30及び通信回線40は、無線通信回線であってよい。また、通信回線30及び通信回線40は、有線通信回線であってもよい。ここでは、通信回線30及び通信回線40が無線通信回線である場合を主に例に挙げて説明する。   FIG. 1 illustrates a case where the relay device 100 is a so-called IoT gateway and relays communication of the IoT device 200 as an example. The relay apparatus 100 is not limited thereto, and may be a gateway that establishes a wireless communication connection with an arbitrary communication device and relays communication of the communication device. The relay device 100 may be a gateway that establishes a wired communication connection with an arbitrary communication device and relays communication of the communication device. The communication line 30 and the communication line 40 may be wireless communication lines. Further, the communication line 30 and the communication line 40 may be wired communication lines. Here, the case where the communication lines 30 and 40 are wireless communication lines will be mainly described as an example.

IoTデバイス200の例としては、温度センサ、ドアセンサ、照明LED、体組成計、リストバンド、スピーカ、セキュリティカメラ、スマートメータ、気象観測機器、及び農業機器等が挙げられる。通信回線30は、例えば、IoT向け通信方式に準拠した通信回線であってよい。通信回線30の例としては、NB−IoT(Narrow Band−IoT)、LoRa(Long Range)、及びSigfox等が挙げられる。通信回線40は、例えば、いわゆる移動体通信回線であってよい。通信回線40の例としては、LTE(Long Term Evolution)回線が挙げられる。   Examples of the IoT device 200 include a temperature sensor, a door sensor, an illumination LED, a body composition meter, a wristband, a speaker, a security camera, a smart meter, a weather observation device, and an agricultural device. The communication line 30 may be, for example, a communication line conforming to the IoT communication system. Examples of the communication line 30 include NB-IoT (Narrow Band-IoT), LoRa (Long Range), and Sigfox. The communication line 40 may be, for example, a so-called mobile communication line. An example of the communication line 40 is an LTE (Long Term Evolution) line.

IoT向け通信方式では、通信速度が低速度で、送受信データのデータ容量も限られる。一方、例えば、LTE回線は、通信速度も高速で、大容量通信も可能だが、温度センサ及びドアセンサ等によるセンシングデータのような非常に小さなデータでは、LTE回線の能力を活かせておらず、通信設備のリソースに無駄が発生し、回線リソースを有効に活用できない場合がある。IoT向けには、IP通信の環境(WiFi(登録商標)(Wireless Fidelity)経由でインターネットに接続するような環境)を必ずしも利用できるわけではなく、移動体通信回線を利用したクラウド接続は有効な手段の一つである。   In the communication system for IoT, the communication speed is low, and the data capacity of transmission / reception data is limited. On the other hand, for example, the communication speed of the LTE line is high, and large-capacity communication is possible. However, for very small data such as sensing data by a temperature sensor, a door sensor, or the like, the capability of the LTE line is not utilized, and the communication equipment is not used. Resources may be wasted and line resources may not be used effectively. For the IoT, an IP communication environment (an environment that connects to the Internet via WiFi (Wireless Fidelity)) cannot always be used, and cloud connection using a mobile communication line is an effective means. one of.

本実施形態に係る中継装置100は、小容量向けの通信回線30と、大容量向けの通信回線40とをサポートし、状況に応じて適切に回線を切り替える機能を有する。中継装置100は、例えば、IoTデバイス200との通信の通信方式に基づいて、通信回線30又は通信回線40を選択し、選択した通信回線を介してIoTデバイス200の通信を中継する。例えば、中継装置100は、通信方式がZ−Wave又はZigbeeである場合、通信回線30を選択する。また、例えば、中継装置100は、通信方式がWiFi又はBluetoothである場合、通信回線40を選択する。これにより、IoTデバイス200と中継装置100との間の通信の通信容量が小さい場合には、小容量向けの通信回線30を選択し、IoTデバイス200と中継装置100との間の通信の通信容量が大きい場合には、大容量向けの通信回線30を選択することができる。   The relay device 100 according to the present embodiment supports a communication line 30 for a small capacity and a communication line 40 for a large capacity, and has a function of appropriately switching the line according to the situation. The relay device 100 selects the communication line 30 or the communication line 40 based on, for example, a communication method of communication with the IoT device 200, and relays the communication of the IoT device 200 via the selected communication line. For example, when the communication method is Z-Wave or Zigbee, the relay device 100 selects the communication line 30. Further, for example, when the communication method is WiFi or Bluetooth, the relay device 100 selects the communication line 40. Accordingly, when the communication capacity of the communication between the IoT device 200 and the relay device 100 is small, the communication line 30 for the small capacity is selected, and the communication capacity of the communication between the IoT device 200 and the relay device 100 is selected. Is large, the communication line 30 for large capacity can be selected.

また、中継装置100は、例えば、IoTデバイス200のデバイスタイプに基づいて、通信回線30又は通信回線40を選択し、選択した通信回線を介してIoTデバイス200の通信を中継する。例えば、中継装置100は、IoTデバイス200が、温度センサ及びドアセンサ等のセンサのように、通常送信するデータが比較的小容量のデバイスである場合、通信回線30を選択する。また、例えば、中継装置100は、IoTデバイス200が、セキュリティカメラのように、通常送信するデータが比較的大容量のデバイスである場合、通信回線40を選択する。これにより、IoTデバイス200が送信するデータに適した通信回線を用いて、IoTデバイス200の通信を中継することができる。   The relay device 100 selects the communication line 30 or the communication line 40 based on the device type of the IoT device 200, for example, and relays the communication of the IoT device 200 via the selected communication line. For example, the relay device 100 selects the communication line 30 when the IoT device 200 is a device having a relatively small amount of data to be transmitted normally, such as a sensor such as a temperature sensor and a door sensor. Further, for example, the relay device 100 selects the communication line 40 when the IoT device 200 is a device having a relatively large capacity of data to be transmitted normally, such as a security camera. Thereby, the communication of the IoT device 200 can be relayed using the communication line suitable for the data transmitted by the IoT device 200.

また、本実施形態に係る中継装置100は、通信回線30を用いてIoTデバイス200の通信を中継している間に、IoTデバイス200が送受信するデータを監視して、当該データが予め定められた条件を満たす場合に、使用する通信回線を通信回線30から通信回線40に切り替えてよい。例えば、中継装置100は、IoTデバイス200が送受信するデータの種類が、FOTA(Firmware On−The−Air)データ等の予め定められた種類である場合に、使用する通信回線を通信回線30から通信回線40に切り替える。   Further, the relay device 100 according to the present embodiment monitors data transmitted and received by the IoT device 200 while relaying communication of the IoT device 200 using the communication line 30, and the data is determined in advance. When the condition is satisfied, the communication line to be used may be switched from the communication line 30 to the communication line 40. For example, when the type of data transmitted and received by the IoT device 200 is a predetermined type such as FOTA (Firmware On-The-Air) data, the relay device 100 communicates the communication line to be used from the communication line 30. Switch to line 40.

例えば、IoTデバイス200が温度センサである場合、温度センサが通常送信するデータは、検知した温度を示すセンシングデータであり、データ容量が少ないため、通信回線30を使用していても問題ない。しかし、温度センサがFOTAデータを受信する場合、FOTAデータは比較的容量が大きいので、通信回線30を使用していた場合、多くの時間を要してしまう場合がある。これに対して、本実施形態に係る中継装置100によれば、FOTAデータのように比較的容量が大きいデータを送受信する場合には、使用する通信回線が通信回線30から通信回線40に切り替わるので、このような事態の発生を防止することができる。   For example, when the IoT device 200 is a temperature sensor, the data normally transmitted by the temperature sensor is sensing data indicating the detected temperature and has a small data capacity, so that there is no problem even if the communication line 30 is used. However, when the temperature sensor receives the FOTA data, since the FOTA data has a relatively large capacity, it may take a long time when the communication line 30 is used. On the other hand, according to the relay device 100 according to the present embodiment, when transmitting and receiving relatively large-capacity data such as FOTA data, the communication line to be used is switched from the communication line 30 to the communication line 40. This can prevent such a situation from occurring.

中継装置100は、例えば、常時利用しない通信回線については、利用しない時間帯はスリープしてよい。具体例として、中継装置100は、原則としては通信回線30をアクティブにしておき、必要に応じて通信回線40をアクティブにし、通信回線40を使用する必要がなくなった場合、通信回線40をスリープさせる。これにより、電波の無駄を避けることができる。   For example, the relay apparatus 100 may sleep on a communication line that is not used at all times during a time when it is not used. As a specific example, the relay device 100 keeps the communication line 30 active in principle, activates the communication line 40 as necessary, and puts the communication line 40 to sleep when it becomes unnecessary to use the communication line 40. . This can avoid waste of radio waves.

図2は、中継装置100による処理の流れの一例を概略的に示す。ここでは、IoTデバイス200との間で確立した通信接続の通信方式に基づいて通信回線を選択する処理の流れを説明する。図2に示す各処理は、中継装置100が備える制御部が主体となって実行される。   FIG. 2 schematically illustrates an example of the flow of a process performed by the relay device 100. Here, a flow of processing for selecting a communication line based on a communication method of a communication connection established with the IoT device 200 will be described. Each process illustrated in FIG. 2 is executed mainly by the control unit included in the relay device 100.

ステップ(ステップをSと省略して記載する場合がある。)102では、IoTデバイス200とのペアリングを確立する。S104では、S102において確立した通信接続の通信方式を取得する。   In step (step may be abbreviated as S) 102, pairing with IoT device 200 is established. In S104, the communication method of the communication connection established in S102 is acquired.

S106では、S104において取得した通信方式が、第1の通信方式であるか否かを判定する。第1の通信方式の例としては、Z−Wave及びZigbee等が挙げられる。第1の通信方式であると判定した場合、S108に進む。通信方式が、第1の通信方式ではなく、例えば、WiFi及びBluetooth等である場合、S110に進む。WiFi及びBluetoothは、第2の通信方式の一例であってよい。S108では、通信回線30を選択する。S110では、通信回線40を選択する。そして処理を終了する。   In S106, it is determined whether the communication method acquired in S104 is the first communication method. Examples of the first communication method include Z-Wave and Zigbee. If it is determined that the communication method is the first communication method, the process proceeds to S108. If the communication method is not the first communication method but is, for example, WiFi or Bluetooth, the process proceeds to S110. WiFi and Bluetooth may be examples of the second communication scheme. In S108, the communication line 30 is selected. In S110, the communication line 40 is selected. Then, the process ends.

図3は、中継装置100による処理の流れの一例を概略的に示す。ここでは、デバイスタイプの取得が可能な通信方式によって通信接続を確立したIoTデバイス200のデバイスタイプに基づいて、通信回線を選択する処理の流れを説明する。デバイスタイプの取得が可能な通信方式の例としては、Z−Wave、Zigbee、及びBluetooth等が挙げられる図3に示す各処理は、中継装置100が備える制御部が主体となって実行される。   FIG. 3 schematically illustrates an example of the flow of a process performed by the relay device 100. Here, a flow of a process of selecting a communication line based on the device type of the IoT device 200 that has established a communication connection by a communication method capable of acquiring a device type will be described. Examples of communication methods that can acquire the device type include Z-Wave, Zigbee, Bluetooth, and the like. Each of the processes illustrated in FIG. 3 is mainly performed by the control unit included in the relay device 100.

S202では、IoTデバイス200と通信接続を確立する。S204では、S202において通信接続を確立したIoTデバイス200のデバイスタイプを取得する。IoTデバイス200は、例えば、ペアリング時にIoTデバイス200から受信するデータを参照することによって、IoTデバイス200のデバイスタイプを取得する。具体例として、中継装置100は、ペアリングIDとデバイスタイプとを対応付けた対応付けデータを予め格納しておき、当該対応付けデータを参照することによって、IoTデバイス200のデバイスタイプを取得してよい。   In S202, a communication connection with the IoT device 200 is established. In S204, the device type of the IoT device 200 that has established the communication connection in S202 is acquired. The IoT device 200 acquires the device type of the IoT device 200 by referring to the data received from the IoT device 200 at the time of pairing, for example. As a specific example, the relay device 100 stores in advance association data in which the pairing ID and the device type are associated, and acquires the device type of the IoT device 200 by referring to the association data. Good.

S206では、S204において取得したデバイスタイプが、第1のデバイスタイプであるか否かを判定する。第1のデバイスタイプの例としては、センシングデータを送信する温度センサ及びドアセンサ等のセンサが挙げられる。第1のデバイスタイプであると判定した場合、S208に進む。第1のデバイスタイプではなく、例えば、セキュリティカメラ等の画像データ及び音声データを送信するデバイスである場合、S210に進む。セキュリティカメラ等の画像データ及び音声データを送信するデバイスは、第2のデバイスタイプの一例であってよい。S208では、通信回線30を選択する。S210では、通信回線40を選択する。そして処理を終了する。   In S206, it is determined whether the device type acquired in S204 is the first device type. Examples of the first device type include sensors such as a temperature sensor and a door sensor that transmit sensing data. If it is determined that the device type is the first device type, the process proceeds to S208. If the device is not the first device type but a device that transmits image data and audio data, such as a security camera, the process proceeds to S210. A device that transmits image data and audio data, such as a security camera, may be an example of the second device type. In S208, the communication line 30 is selected. In S210, the communication line 40 is selected. Then, the process ends.

図4は、中継装置100による処理の流れの一例を概略的に示す。ここでは、通信回線30を用いてIoTデバイス200の通信を中継している場合に、中継装置100が実行する処理について説明する。図4に示す各処理は、中継装置100が備える制御部が主体となって実行される。   FIG. 4 schematically illustrates an example of the flow of a process performed by the relay device 100. Here, a process executed by the relay device 100 when the communication of the IoT device 200 is relayed using the communication line 30 will be described. Each process illustrated in FIG. 4 is executed mainly by the control unit included in the relay device 100.

S302では、中継データを参照する。中継装置100は、例えば、IoTデバイス200から受信して、プロトコル変換をして、通信回線30を介してクラウド20に奏しするデータ、及び、クラウド20側から通信回線30を介して受信して、プロトコル変換をしてIoTデバイスに送信するデータを参照する。なお、中継装置100は、IoTデバイス200から受信するデータ及びIoTデバイス200に対して送信するデータをミラーリングして取得した中継データを参照してもよい。   In S302, the relay data is referred to. The relay device 100 receives, for example, data from the IoT device 200, converts the protocol, and plays data to be played on the cloud 20 via the communication line 30, and receives data from the cloud 20 via the communication line 30, The data to be transmitted to the IoT device after the protocol conversion is referred to. Note that the relay device 100 may refer to relay data acquired by mirroring data received from the IoT device 200 and data transmitted to the IoT device 200.

S304では、S302において取得した中継データから、IoTデバイス200が送受信しているデータが大容量データであるか否かを判定する。中継装置100は、例えば、中継データを解析することによって、IoTデバイス200が送受信しているデータが、FOTAデータ、画像データ、及び音声データのような大容量データであるか、数値データ及びテキストデータ等のセンシングデータのような小容量データであるかを判定してよい。また、例えば、IoTデバイス200との通信方式がZ−Wave及びZigbeeである場合、データに含まれる、何のデータを送信しているのかを示すIDを参照して、当該IDが、例えば、FOTAデータのような大容量データを示す場合には、大容量データであると判定する。   In S304, it is determined from the relay data acquired in S302 whether the data transmitted and received by the IoT device 200 is large-capacity data. The relay apparatus 100 analyzes, for example, the relay data to determine whether the data transmitted and received by the IoT device 200 is large-capacity data such as FOTA data, image data, and audio data, numerical data, and text data. It may be determined whether the data is small-capacity data such as sensing data. Further, for example, when the communication method with the IoT device 200 is Z-Wave and Zigbee, the ID is referred to as FOTA, for example, by referring to an ID included in the data and indicating what data is being transmitted. When large data such as data is indicated, it is determined that the data is large data.

大容量データであると判定した場合、S306に進む。S306では、通信回線を通信回線30から通信回線40に切り替える。切替を実行しなかった場合(S308でNO)、S302に戻り、切替を実行した場合(S308でYES)、処理を終了する。   If it is determined that the data is large-capacity data, the process proceeds to S306. In S306, the communication line is switched from the communication line 30 to the communication line 40. If the switching has not been performed (NO in S308), the process returns to S302, and if the switching has been performed (YES in S308), the process ends.

図5は、中継装置100の機能構成の一例を概略的に示す。中継装置100は、格納部102、接続確立部104、回線選択部106、通信中継部108、データ監視部110、及び切替制御部112を備える。なお、中継装置100がこれらのすべての構成を備えることは必須とは限らない。   FIG. 5 schematically illustrates an example of a functional configuration of the relay device 100. The relay device 100 includes a storage unit 102, a connection establishment unit 104, a line selection unit 106, a communication relay unit 108, a data monitoring unit 110, and a switching control unit 112. Note that it is not always essential that the relay device 100 include all of these configurations.

格納部102は、各種データを格納する。格納部102は、第1の通信方式及び第2の通信方式の情報を格納してよい。格納部102は、例えば、複数の通信方式のそれぞれが第1の通信方式であるか第2の通信方式であるかを示すデータを格納する。当該データは、例えば、中継装置100のオペレータ等によって生成される。   The storage unit 102 stores various data. The storage unit 102 may store information on the first communication method and the second communication method. The storage unit 102 stores, for example, data indicating whether each of the plurality of communication systems is the first communication system or the second communication system. The data is generated by, for example, an operator of the relay device 100.

また、格納部102は、第1のデバイスタイプ及び第2のデバイスタイプの情報を格納してよい。格納部102は、例えば、複数のデバイスタイプのそれぞれが第1のデバイスタイプであるか第2のデバイスタイプであるかを示すデータを格納する。当該データは、例えば、中継装置100のオペレータ等によって生成される。また、格納部102は、ペアリングIDとデバイスタイプとを対応付けた対応付けデータを格納してよい。   The storage unit 102 may store information on the first device type and the second device type. The storage unit 102 stores, for example, data indicating whether each of the plurality of device types is the first device type or the second device type. The data is generated by, for example, an operator of the relay device 100. The storage unit 102 may store association data in which a pairing ID is associated with a device type.

接続確立部104は、通信デバイスと通信接続を確立する。接続確立部104は、例えば、IoTデバイス200と通信接続を確立する。   The connection establishing unit 104 establishes a communication connection with a communication device. The connection establishing unit 104 establishes a communication connection with the IoT device 200, for example.

回線選択部106は、接続確立部104が通信接続を確立した通信デバイスと、当該通信デバイスの通信相手との間の通信を中継するときに用いる通信回線として、通信回線30又は通信回線40を選択する。回線選択部106は、例えば、接続確立部104が通信デバイスと確立した通信接続の通信方式に基づいて、通信回線30又は通信回線40を選択する。具体例として、回線選択部106は、通信方式が第1の通信方式である場合、通信回線30を選択し、通信方式が第1の通信方式でなく第2の通信方式である場合、通信回線40を選択する。   The line selecting unit 106 selects the communication line 30 or the communication line 40 as a communication line used when relaying communication between the communication device with which the connection establishing unit 104 has established the communication connection and the communication partner of the communication device. I do. The line selecting unit 106 selects the communication line 30 or the communication line 40 based on, for example, the communication method of the communication connection established by the connection establishing unit 104 with the communication device. As a specific example, the line selecting unit 106 selects the communication line 30 when the communication system is the first communication system, and selects the communication line 30 when the communication system is the second communication system instead of the first communication system. Select 40.

また、回線選択部106は、例えば、接続確立部104が通信接続を確立した中継装置100のデバイスタイプに基づいて、通信回線30又は通信回線40を選択する。具体例として、回線選択部106は、デバイスタイプが第1のデバイスタイプである場合、通信回線30を選択し、デバイスタイプが第1のデバイスタイプでなく第2のデバイスタイプである場合、通信回線40を選択する。   Further, the line selecting unit 106 selects the communication line 30 or the communication line 40 based on, for example, the device type of the relay device 100 with which the connection establishing unit 104 has established the communication connection. As a specific example, the line selection unit 106 selects the communication line 30 when the device type is the first device type, and selects the communication line when the device type is not the first device type but the second device type. Select 40.

通信中継部108は、回線選択部106によって選択された通信回線を介して、通信デバイスと通信相手との通信を中継する。通信中継部108は、接続確立部104が通信接続を確立している全ての通信デバイスについて、通信回線30が選択されていて、通信回線40が選択されていない場合、通信回線40をスリープさせてよい。   The communication relay unit 108 relays the communication between the communication device and the communication partner via the communication line selected by the line selection unit 106. The communication relay unit 108 puts the communication line 40 to sleep when the communication line 30 is selected and the communication line 40 is not selected for all the communication devices for which the connection establishment unit 104 has established the communication connection. Good.

回線選択部106は、予め定められた条件に従って、通信回線40をスリープさせるタイミングを制御してよい。例えば、回線選択部106は、夜間として予め定められた時間帯では、接続確立部104が通信接続を確立している全ての通信デバイスについて通信回線30が選択されてから、予め定められた第1の時間が経過した後で、通信回線40をスリープさせ、それ以外の時間帯では、第1の時間よりも長い第2の時間が経過した後で、通信回線40をスリープさせる。これにより、夜間よりも通信頻度が高い昼間では、すぐに通信回線40をスリープさせずに、適切な時間待機した後で、通信回線40をスリープさせることができる。   The line selection unit 106 may control the timing at which the communication line 40 sleeps according to a predetermined condition. For example, in a predetermined time zone of night, the line selecting unit 106 selects the communication line 30 for all the communication devices with which the connection establishing unit 104 has established the communication connection, and then sets the predetermined first time. After the time elapses, the communication line 40 is put to sleep. In other time zones, the communication line 40 is put to sleep after a second time longer than the first time elapses. Thus, in the daytime when the communication frequency is higher than at night, the communication line 40 can be put to sleep after waiting for an appropriate time without immediately putting the communication line 40 to sleep.

データ監視部110は、回線選択部106によって通信回線30が選択され、通信中継部108が通信回線30を用いて通信デバイスの通信を中継している間に、通信デバイスが送受信するデータを監視する。データ監視部110は、常時データを監視してよく、また、予め定められたタイミングに従ってデータを監視してもよい。   The data monitoring unit 110 monitors data transmitted and received by the communication device while the communication line 30 is selected by the line selection unit 106 and the communication relay unit 108 relays communication of the communication device using the communication line 30. . The data monitoring unit 110 may constantly monitor the data, or may monitor the data according to a predetermined timing.

切替制御部112は、通信デバイスが送受信するデータが予め定められた条件を満たす場合に、通信中継部108が用いる通信回線を、通信回線30から通信回線40に切り替えさせる。切替制御部112は、例えば、通信デバイスが送受信するデータの種類が予め定められた種類である場合に、通信中継部108が用いる通信回線を、通信回線30から通信回線40に切り替えさせる。   The switching control unit 112 switches the communication line used by the communication relay unit 108 from the communication line 30 to the communication line 40 when data transmitted and received by the communication device satisfies a predetermined condition. The switching control unit 112 causes the communication line used by the communication relay unit 108 to be switched from the communication line 30 to the communication line 40, for example, when the type of data transmitted and received by the communication device is a predetermined type.

図6は、中継装置100の通信環境の他の一例を概略的に示す。本例における中継装置100は、第1の無線通信方式で通信接続をしている第1の通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換してクラウド20に送信する中継部122と、第2の無線通信方式で通信接続をしている第2の通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換してクラウド20に送信する中継部124とを備える。中継部122は、第1中継部の一例であり、中継部124は、第2中継部の一例である。第1の無線通信方式の例としては、Bluetoothが挙げられる。第2の無線通信方式の例としては、Z−Wave及びZigbee等が挙げられる。   FIG. 6 schematically illustrates another example of the communication environment of the relay device 100. The relay device 100 according to the present embodiment includes a relay unit 122 that converts a protocol of data received from a first communication device connected to the first wireless communication system by the first wireless communication system to a communication system of the IP communication and transmits the data to the cloud 20. And a relay unit 124 that converts the data received from the second communication device that is connected for communication by the second wireless communication method into a communication method of the IP communication and transmits the data to the cloud 20. The relay unit 122 is an example of a first relay unit, and the relay unit 124 is an example of a second relay unit. As an example of the first wireless communication method, Bluetooth is given. Examples of the second wireless communication scheme include Z-Wave and Zigbee.

本例における中継装置100は、さらに、第1の無線通信方式と第2の無線通信方式との間でプロトコル変換を実行し、第1の通信デバイスと第2の通信デバイスとの間の通信を中継する中継部126を備える。中継部126は、第3中継部の一例である。図6では、第1の無線通信方式がBluetoothであり、第2の無線通信方式がZ−Waveである場合を例に挙げて説明する。BT(BlueTooth)デバイス300は、第1の通信デバイスの一例であり、Z−Waveデバイス400は、第2の通信デバイスの一例である。   The relay device 100 in the present example further executes protocol conversion between the first wireless communication method and the second wireless communication method, and performs communication between the first communication device and the second communication device. A relay unit 126 for relaying is provided. The relay unit 126 is an example of a third relay unit. FIG. 6 illustrates an example in which the first wireless communication method is Bluetooth and the second wireless communication method is Z-Wave. The BT (BlueTooth) device 300 is an example of a first communication device, and the Z-Wave device 400 is an example of a second communication device.

既存のIoTゲートウェイでは、BluetoothからIP通信へのプロトコル変換、Z−WaveからIP通信へのプロトコル変換、及びZigbeeからIP通信へのプロトコル変換をサポートしていたが、Z−WaveからBluetoothへのプロトコル変換、及びZigbeeからBluetoothへのプロトコル変換はサポートされていなかった。本例における中継装置100は、中継部126を備えることによってこれらをサポートすることができ、通信デバイスの新たな活用方法を可能にすることができる。   The existing IoT gateway supports protocol conversion from Bluetooth to IP communication, protocol conversion from Z-Wave to IP communication, and protocol conversion from Zigbee to IP communication, but the protocol conversion from Z-Wave to Bluetooth. Conversion and protocol conversion from Zigbee to Bluetooth were not supported. The relay apparatus 100 in this example can support them by providing the relay unit 126, and can enable a new use method of the communication device.

例えば、現状、Zigbee及びZ−Wave等のIoT無線通信規格は、スマートフォン、タブレット、及びPC(Personal Computer)ではサポートされていないため、それらの機器とは直接やりとりはできない。現状はIP通信に変換してからデータ変換することになる。Bluetoothは、2.4GHz帯の周波数を主に利用する規格であるが、2.4GHz帯の電波は、電波干渉が強く回り込み性が弱い(障害物に弱い)という特性がある。一方、Z−Wave等のIoT向け無線通信規格では、900MHz帯の周波数帯がよく利用され、電波干渉が少なく回り込み性が強いという電波特性をもっている。ZigbeeやZ−Wave、Bluetoothは、それぞれの通信規格の特性に合わせたデバイスが市場には存在している。   For example, at present, IoT wireless communication standards such as Zigbee and Z-Wave are not supported by smartphones, tablets, and PCs (Personal Computers), and therefore cannot directly communicate with such devices. At present, data conversion is performed after conversion to IP communication. Bluetooth is a standard that mainly uses frequencies in the 2.4 GHz band, but radio waves in the 2.4 GHz band have characteristics such that radio wave interference is strong and weakly wraparound (weak against obstacles). On the other hand, a wireless communication standard for IoT such as Z-Wave and the like often uses a 900 MHz frequency band, and has radio wave characteristics such that there is little radio wave interference and strong wraparound. Zigbee, Z-Wave, and Bluetooth have devices in the market that match the characteristics of their respective communication standards.

本例の中継装置100によれば、中継部126を備えることにより、複数の無線通信規格を共存させることで、新たなIoTの有効な使い道を作り出すことができる。例えば、中継装置100は、Z−Wave等のデバイスを中継装置100内で仮想化し、バーチャルなBluetoothデバイスを中継装置100内で管理する。そして、このような仮想化デバイスをスマートフォン等のBluetooth対応デバイスとペアリングすることによって、Z−Waveネットワーク内のZ−Waveデバイスをスマートフォンから直接制御可能にできる。   According to the relay device 100 of the present example, by providing the relay unit 126, it is possible to create a new effective use of the IoT by allowing a plurality of wireless communication standards to coexist. For example, the relay device 100 virtualizes a device such as Z-Wave in the relay device 100, and manages a virtual Bluetooth device in the relay device 100. Then, by pairing such a virtualized device with a Bluetooth-compatible device such as a smartphone, the Z-Wave device in the Z-Wave network can be directly controlled from the smartphone.

本例のおける中継装置100は、さらに、第1の無線通信方式で通信接続している第1の通信デバイスから受信したデータに基づいて、中継装置100に対する制御を実行する実行部128をさらに備えてよい。既存のIoTゲートウェイは、限られたボタン及びLED等しか有しておらず、IoTゲートウェイに対するコンフィギュレーション等の操作においては、必ずしも直観的でわかりやすい操作性が提供されているわけではない。また、外部デバイスからIoTゲートウェイを操作したり、データを登録したりすることを希望する場合には、Web(クラウド)経由でIP通信を利用して行うことができる機器は存在するが、ローカルエリアにLAN(Local Area Network)やWiFi等のIP通信環境が求められることになる。IoTゲートウェイを利用する環境では、必ずしもIP通信が可能な環境とは限らない。それに対して、本例における中継装置100は実行部128を備えるので、例えば、Bluetoothを利用して、スマートフォン及びタブレット等から直接中継装置100に対するコンフィギュレーションや、FOTA制御、及びIoTデバイスのペアリング操作等を可能とすることで、直観的なGUIを利用した形で、各種操作を可能とすることができる。   The relay device 100 in the present example further includes an execution unit 128 that executes control on the relay device 100 based on data received from a first communication device that is communicatively connected by the first wireless communication method. May be. Existing IoT gateways have only a limited number of buttons, LEDs, and the like, and operations such as configuration for the IoT gateway do not always provide intuitive and easy-to-understand operability. In addition, when it is desired to operate the IoT gateway or register data from an external device, there are devices that can perform the communication using the IP communication via the Web (cloud), but the local area. An IP communication environment such as LAN (Local Area Network) and WiFi will be required. In an environment using an IoT gateway, an environment in which IP communication is possible is not always limited. On the other hand, since the relay device 100 in this example includes the execution unit 128, for example, using a Bluetooth, a configuration for the relay device 100 directly from a smartphone, a tablet, or the like, a FOTA control, and a pairing operation of the IoT device are performed. Thus, various operations can be performed using an intuitive GUI.

図7は、中継装置100の構成の一例を概略的に示す。ここでは、中継装置100がZ−WaveとBluetoothとの間の通信を中継する例を主に挙げて説明するが、これに限らず、例えば、ZigbeeとBluetooth等、他の組み合わせの通信を中継してもよい。   FIG. 7 schematically illustrates an example of the configuration of the relay device 100. Here, an example in which the relay device 100 relays communication between Z-Wave and Bluetooth will be mainly described. However, the present invention is not limited to this. For example, the relay device 100 relays communication of another combination such as Zigbee and Bluetooth. You may.

図7に示す例における中継装置100は、Z−Waveゲートウェイ132及びプロトコル変換部134を備える。Z−Waveゲートウェイ132は、Z−Waveネットワーク70内の複数のZ−Waveデバイスの通信を中継する。図7では、複数のZ−Waveデバイスの例として、Z−Waveデバイス400、Z−Waveデバイス401、Z−Waveデバイス402、及びZ−Waveデバイス403を挙げている。Z−Waveデバイス400、Z−Waveデバイス401、Z−Waveデバイス402、及びZ−Waveデバイス403を区別せずに説明する場合、単にZ−Waveデバイスと記載する場合がある。   The relay device 100 in the example illustrated in FIG. 7 includes a Z-Wave gateway 132 and a protocol conversion unit 134. The Z-Wave gateway 132 relays communication of a plurality of Z-Wave devices in the Z-Wave network 70. FIG. 7 illustrates a Z-Wave device 400, a Z-Wave device 401, a Z-Wave device 402, and a Z-Wave device 403 as examples of a plurality of Z-Wave devices. When describing the Z-Wave device 400, the Z-Wave device 401, the Z-Wave device 402, and the Z-Wave device 403 without distinction, the Z-Wave device may be simply described as a Z-Wave device.

プロトコル変換部134は、Z−Waveデバイスから送信されたデータを、IP通信の通信方式にプロトコル変換して、クラウド20に向けて送信してよい。また、プロトコル変換部134は、クラウド20から送信されたデータを、Z−Waveにプロトコル変換して、Z−Waveデバイスに向けて送信する。Z−Waveゲートウェイ132及びプロトコル変換部134は、中継部122として機能してよい。   The protocol conversion unit 134 may convert the data transmitted from the Z-Wave device into a protocol of the IP communication, and transmit the data to the cloud 20. Further, the protocol conversion unit 134 converts the data transmitted from the cloud 20 into a Z-Wave protocol and transmits the data to the Z-Wave device. The Z-Wave gateway 132 and the protocol conversion unit 134 may function as the relay unit 122.

また、中継装置100は、中継装置100内に、仮想的なBTデバイスを生成する。図7では、仮想的なBTデバイスの例として、仮想デバイス140、仮想デバイス141、仮想デバイス142、仮想デバイス143、及び仮想デバイス144を挙げている。仮想デバイス140、仮想デバイス141、仮想デバイス142、及び仮想デバイス144を区別せずに説明する場合、単に仮想デバイスと記載する場合がある。   Further, the relay device 100 generates a virtual BT device in the relay device 100. FIG. 7 illustrates virtual devices 140, virtual devices 141, virtual devices 142, virtual devices 143, and virtual devices 144 as examples of virtual BT devices. When the virtual device 140, the virtual device 141, the virtual device 142, and the virtual device 144 are described without distinction, they may be simply described as a virtual device.

中継装置100は、生成した仮想デバイスによって、BTデバイス300との通信接続を確立する。図7では、BTデバイス300の例としてスマートフォン310を挙げ、スマートフォン310のBluetoothアプリである、アプリ320、アプリ321、アプリ322、アプリ323、及びアプリ324と、仮想デバイス140、仮想デバイス141、仮想デバイス142、仮想デバイス143、及び仮想デバイス144とが通信接続している場合を例示している。   The relay device 100 establishes a communication connection with the BT device 300 using the generated virtual device. In FIG. 7, a smartphone 310 is given as an example of the BT device 300, and the applications 320, 321, 322, 323, and 324, which are Bluetooth applications of the smartphone 310, the virtual device 140, the virtual device 141, and the virtual device 14 illustrates a case where the virtual device 142, the virtual device 143, and the virtual device 144 are connected for communication.

プロトコル変換部134は、スマートフォン310から送信されたデータを、IP通信の通信方式にプロトコル変換して、クラウド20に向けて送信してよい。また、プロトコル変換部134は、クラウド20から送信されたデータを、Bluetoothにプロトコル変換して、スマートフォン310に向けて送信する。仮想デバイス及びプロトコル変換部134は、中継部124として機能してよい。   The protocol conversion unit 134 may convert the data transmitted from the smartphone 310 into a protocol of the IP communication and transmit the data to the cloud 20. Further, the protocol conversion unit 134 converts the data transmitted from the cloud 20 into Bluetooth, and transmits the data to the smartphone 310. The virtual device and protocol conversion unit 134 may function as the relay unit 124.

本例におけるプロトコル変換部134は、Z−WaveとBluetoothとの間でプロトコル変換する。中継装置100は、Z−Waveゲートウェイ132、プロトコル変換部134、及び仮想デバイスによって、Z−Waveデバイスとスマートフォン310との間の通信を中継する。   The protocol conversion unit 134 in this example performs protocol conversion between Z-Wave and Bluetooth. The relay device 100 relays communication between the Z-Wave device and the smartphone 310 by using the Z-Wave gateway 132, the protocol conversion unit 134, and the virtual device.

図7に示す例では、Z−Waveゲートウェイ132、プロトコル変換部134、及び仮想デバイス141によって、Z−Waveデバイス400とアプリ321との間の通信が中継される。また、Z−Waveゲートウェイ132、プロトコル変換部134、及び仮想デバイス142によって、Z−Waveデバイス401とアプリ322との間の通信が中継される。また、Z−Waveゲートウェイ132、プロトコル変換部134、及び仮想デバイス143によって、Z−Waveデバイス402とアプリ323との間の通信が中継される。また、Z−Waveゲートウェイ132、プロトコル変換部134、及び仮想デバイス144によって、Z−Waveデバイス403とアプリ324との間の通信が中継される。   In the example illustrated in FIG. 7, the communication between the Z-Wave device 400 and the application 321 is relayed by the Z-Wave gateway 132, the protocol conversion unit 134, and the virtual device 141. Further, the communication between the Z-Wave device 401 and the application 322 is relayed by the Z-Wave gateway 132, the protocol conversion unit 134, and the virtual device 142. Further, the communication between the Z-Wave device 402 and the application 323 is relayed by the Z-Wave gateway 132, the protocol conversion unit 134, and the virtual device 143. In addition, the communication between the Z-Wave device 403 and the application 324 is relayed by the Z-Wave gateway 132, the protocol conversion unit 134, and the virtual device 144.

図7に示す例において、仮想デバイス140は、アプリ320から受信したデータに基づいて、中継装置100に対する制御を実行してよい。中継装置100に対する制御の例としては、中継装置100のコンフィギュレーション制御、FOTA制御、及び通信デバイスとのペアリング操作等が挙げられる。このように、仮想デバイス140は、実行部128として機能してよい。   In the example illustrated in FIG. 7, the virtual device 140 may execute control on the relay device 100 based on data received from the application 320. Examples of control for the relay device 100 include configuration control, FOTA control, and pairing operation with the communication device of the relay device 100. As described above, the virtual device 140 may function as the execution unit 128.

図8は、中継装置100の通信環境の一例を概略的に示す。ここでは、中継装置100の仮想デバイス140とスマートフォン310とが通信接続を確立しており、Z−Waveゲートウェイ132が、Z−Waveメッシュネットワーク72内のZ−Waveデバイス400と通信接続を確立している場合を例示している。   FIG. 8 schematically illustrates an example of the communication environment of the relay device 100. Here, the virtual device 140 of the relay device 100 and the smartphone 310 have established a communication connection, and the Z-Wave gateway 132 has established a communication connection with the Z-Wave device 400 in the Z-Wave mesh network 72. This is illustrated by an example.

中継装置100は、スマートフォン310からBT接続を介して直接、DSK(デバイス識別番号)等のデータを受信可能であり、これにより、WiFiのような通信環境がなくとも、いわゆるZ−Waveスマートスタートを実施することができる。また、中継装置100が、Z−Waveメッシュネットワーク72とスマートフォン310との間の通信を中継することによって、スマートフォン310による、Z−Waveメッシュネットワーク72内のデバイス接続状況の可視化を容易に実現することができる。   The relay device 100 can directly receive data such as DSK (device identification number) from the smartphone 310 via a BT connection, and thus can execute a so-called Z-Wave smart start even without a communication environment such as WiFi. Can be implemented. In addition, the relay device 100 relays communication between the Z-Wave mesh network 72 and the smartphone 310 to easily realize visualization of a device connection status in the Z-Wave mesh network 72 by the smartphone 310. Can be.

中継装置100は、Z−Waveメッシュネットワーク72内のZ−Waveデバイス400を送信元として、スマートフォン310に対してBluetoothビーコンを送信してよい。これにより、中継装置100は、Z−Waveメッシュネットワーク72をBluetoothビーコンデバイス化することができる。   The relay device 100 may transmit a Bluetooth beacon to the smartphone 310 with the Z-Wave device 400 in the Z-Wave mesh network 72 as a transmission source. Thereby, the relay device 100 can convert the Z-Wave mesh network 72 into a Bluetooth beacon device.

Z−Waveの無線通信規格では、Z−Waveデバイス400は、ビーコンデバイスとして利用されず、スマートフォン310等に対して、ビーコンとしてZ−Waveデバイス400を連携する利用方法が現状は存在しない。それに対して、本例における中継装置100は、Z−WaveからBluetoothの方向では、Z−Waveネットワーク70内の各種Z−Waveデバイス400からセンシングした情報をベースに、Z−Waveネットワーク70全体を一つのBluetooth用のビーコンデバイスとして活用することを可能とし、複数のZ−Waveデバイス400の機能を複合した独自のビーコンデバイスとすることが可能となる。また、本例における中継装置100は、BluetoothからZ−Waveの方向では、既存のBTデバイスを、中継装置100内でZ−Waveデバイスに仮想化することで、Z−Waveメッシュネットワーク72内の一つのZ−Waveデバイス400として利用することを可能とする。   In the Z-Wave wireless communication standard, the Z-Wave device 400 is not used as a beacon device, and there is no usage method for cooperating the Z-Wave device 400 as a beacon with the smartphone 310 or the like. On the other hand, in the present embodiment, the relay apparatus 100 transmits the entire Z-Wave network 70 in the direction from Z-Wave to Bluetooth based on information sensed from various Z-Wave devices 400 in the Z-Wave network 70. It can be used as one Bluetooth beacon device, and can be a unique beacon device combining the functions of a plurality of Z-Wave devices 400. Further, in the direction from Bluetooth to Z-Wave, the relay device 100 in the present example virtualizes an existing BT device into a Z-Wave device in the relay device 100, so that one of the devices in the Z-Wave mesh network 72 is virtualized. It can be used as two Z-Wave devices 400.

図9は、中継装置100の通信環境の一例を概略的に示す。図9に示す例では、Z−Waveメッシュネットワーク72とBTネットワーク80との間と、Z−Waveメッシュネットワーク72とクラウド20との間とに、中継装置100が配置されている。   FIG. 9 schematically illustrates an example of the communication environment of the relay device 100. In the example illustrated in FIG. 9, the relay device 100 is arranged between the Z-Wave mesh network 72 and the BT network 80 and between the Z-Wave mesh network 72 and the cloud 20.

図9に示すBTネットワーク80内のBTデバイス300は、ビーコンデバイスであってよい。BTデバイス300が送信したビーコンデバイスは、BTネットワーク80とZ−Waveメッシュネットワーク72の間の中継装置100を介して、Z−Waveメッシュネットワーク72内のZ−Waveデバイス400に送信されてよく、また、Z−Waveメッシュネットワーク72とクラウド20との間の中継装置100を介してクラウド20に送信されてよい。   The BT device 300 in the BT network 80 shown in FIG. 9 may be a beacon device. The beacon device transmitted by the BT device 300 may be transmitted to the Z-Wave device 400 in the Z-Wave mesh network 72 via the relay device 100 between the BT network 80 and the Z-Wave mesh network 72, , May be transmitted to the cloud 20 via the relay device 100 between the Z-Wave mesh network 72 and the cloud 20.

図10は、中継装置100の構成の一例を概略的に示す。ここでは、図7と異なる点を主に説明する。図10に示す例では、仮想デバイス140、仮想デバイス141、仮想デバイス142、仮想デバイス143、仮想デバイス144が、BTメッシュネットワーク82内のBTデバイス300と通信接続を確立している場合を例示している。   FIG. 10 schematically illustrates an example of the configuration of the relay device 100. Here, differences from FIG. 7 will be mainly described. The example illustrated in FIG. 10 illustrates a case where the virtual device 140, the virtual device 141, the virtual device 142, the virtual device 143, and the virtual device 144 have established a communication connection with the BT device 300 in the BT mesh network 82. I have.

Z−WaveとBluetoothは、それぞれメッシュネットワークを構築することが可能だが、異なる規格を統合するような形でのネットワーク形成は、基本的に実施されていない。Z−WaveとBluetoothは、利用する周波数帯等も異なり、それぞれ異なる特性を有しているため、排他的な扱いをするのではなく、共有することで、IoTネットワークとして新たな価値を見出す可能性がある。   Z-Wave and Bluetooth can each build a mesh network, but network formation in a way that integrates different standards is basically not implemented. Z-Wave and Bluetooth use different frequency bands, etc., and have different characteristics. Therefore, it is possible to find new value as an IoT network by sharing instead of treating them exclusively. There is.

本例における中継装置100によれば、Z−Waveデバイスを、中継装置100内でBluetoothメッシュ用デバイスに仮想化することで、BTメッシュネットワーク82にZ−Waveデバイスを組み込む形でメッシュネットワークを形成することができる。中継装置100が、Z−WaveデバイスとBTメッシュネットワーク82との間の通信を中継することにより、BTメッシュネットワーク82に組み込まれたZ−Waveデバイスに対しては、Bluetoothメッシュ対応のスマートフォンアプリ等から直接操作が可能になる。Z−WaveデバイスがBTメッシュネットワーク82に組み込まれることによって、BTメッシュネットワーク82内の各デバイスと連携したソリューション開発が可能になる。   According to the relay device 100 in this example, a Z-Wave device is virtualized as a Bluetooth mesh device in the relay device 100, so that a mesh network is formed by incorporating the Z-Wave device into the BT mesh network 82. be able to. By relaying the communication between the Z-Wave device and the BT mesh network 82 by the relay device 100, the Z-Wave device incorporated in the BT mesh network 82 can be transmitted from a Bluetooth mesh-compatible smartphone application or the like. Direct operation becomes possible. By incorporating the Z-Wave device into the BT mesh network 82, solution development in cooperation with each device in the BT mesh network 82 becomes possible.

図11は、中継装置100の通信環境の一例を概略的に示す。図11は、中継装置100が、Z−Waveメッシュネットワーク72、BTメッシュネットワーク82、及びクラウド20の間に配置された場合を例示している。本例における中継装置100によれば、Z−Waveデバイス400を、中継装置100内でBluetoothメッシュ用デバイスに仮想化することで、BTメッシュネットワーク82にZ−Waveデバイス400を組み込み、かつ、BTデバイス300を、中継装置100内でZ−Waveメッシュ用デバイスに仮想化することで、Z−Waveメッシュネットワーク72にBTデバイス300を組み込むことができ、Z−Waveメッシュネットワーク72及びBTメッシュネットワーク82を統合したメッシュネットワークを構築することができる。   FIG. 11 schematically illustrates an example of a communication environment of the relay device 100. FIG. 11 illustrates a case where the relay device 100 is arranged between the Z-Wave mesh network 72, the BT mesh network 82, and the cloud 20. According to the relay device 100 in the present example, the Z-Wave device 400 is virtualized as a Bluetooth mesh device in the relay device 100, so that the Z-Wave device 400 is incorporated in the BT mesh network 82 and the BT device The BT device 300 can be incorporated into the Z-Wave mesh network 72 by virtualizing the 300 into a Z-Wave mesh device in the relay device 100, and the Z-Wave mesh network 72 and the BT mesh network 82 are integrated. A mesh network can be constructed.

図12は、中継装置100の通信環境の一例を概略的に示す。図12は、2つの中継装置100が、それぞれZ−Waveメッシュネットワーク72内のZ−Waveデバイス400と通信接続し、当該2つの中継装置100同士がBT接続している場合を例示している。これら2つの中継装置100は、他の中継装置100とBT接続をして、当該BT接続を介して、クラウド20との通信をも可能としている。   FIG. 12 schematically illustrates an example of the communication environment of the relay device 100. FIG. 12 illustrates a case where two relay apparatuses 100 are respectively connected for communication with a Z-Wave device 400 in the Z-Wave mesh network 72, and the two relay apparatuses 100 are BT-connected to each other. These two relay devices 100 make a BT connection with another relay device 100, and can also communicate with the cloud 20 via the BT connection.

Z−Waveの通信規格では、同一メッシュネットワーク内に接続可能なZ−Waveデバイスの数が232台に制限されていたり、マルチホップのホップ数が4回までに制限されていたりする等の、各種制限が存在する。本例における中継装置100によれば、複数のZ−Waveメッシュネットワーク72を、BT接続を介して接続することで、サービス提供エリアの拡大や、接続台数の増加等に柔軟に対応可能なネットワークを形成することができる。また、他の中継装置100とのBT接続を介してクラウド20と接続する構成を採用することにより、クラウド20との切り離しなどが簡単に実施可能となり、セキュリティ対策としての利用等も実現し得る。また、通常はIP通信で構成するネットワークを、LAN及びWiFi等のIP通信を利用できない環境において、ネットワーク構成を柔軟に変更する用途での活用が見込める。   In the Z-Wave communication standard, the number of Z-Wave devices that can be connected in the same mesh network is limited to 232, and the number of hops of multi-hop is limited to four. There are restrictions. According to the relay device 100 in this example, by connecting the plurality of Z-Wave mesh networks 72 via the BT connection, a network that can flexibly cope with an increase in the service providing area, an increase in the number of connected devices, and the like is provided. Can be formed. In addition, by adopting a configuration of connecting to the cloud 20 via a BT connection with another relay apparatus 100, disconnection from the cloud 20 can be easily performed, and use as a security measure can be realized. Further, it is expected that a network that is normally configured by IP communication can be used for a purpose of flexibly changing a network configuration in an environment where IP communication such as LAN and WiFi cannot be used.

図13は、中継装置100の構成の一例を概略的に示す。図13は、仮想デバイス141によって、Z−Waveデバイス400の機能410と、スマートフォン310のアプリ321とを中継し、仮想デバイス142によって、Z−Waveデバイス400の機能411とクラウド20とを中継し、仮想デバイス143によって、Z−Waveデバイス400の機能412及び機能413とクラウド20とを中継する場合を例示している。このように、中継装置100は、1つのZ−Waveデバイス400の複数の機能を、複数の仮想デバイスに分割して異なる接続先と通信させてよい。Z−Waveデバイス400の機能は、任意の機能であってよいが、例えば、温度センサ、照度センサ、LED、及びボタン等が例示できる。   FIG. 13 schematically illustrates an example of the configuration of the relay device 100. FIG. 13 relays the function 410 of the Z-Wave device 400 and the application 321 of the smartphone 310 by the virtual device 141, relays the function 411 of the Z-Wave device 400 and the cloud 20 by the virtual device 142, The case where the virtual device 143 relays the functions 412 and 413 of the Z-Wave device 400 and the cloud 20 is illustrated. As described above, the relay device 100 may divide a plurality of functions of one Z-Wave device 400 into a plurality of virtual devices and communicate with different connection destinations. The function of the Z-Wave device 400 may be any function, and examples thereof include a temperature sensor, an illuminance sensor, an LED, and a button.

一般的に、複数のセンシング機能を有するようなIoTデバイスであっても、ゲートウェイではデバイス単位でクラウド接続が管理されるので、同一IoTデバイス内の複数の機能から収集したデータは、同じ接続先に送信されることになる。これに対して、本例における中継装置100によれば、同一デバイス内に複数の機能を有している場合に、中継装置100内で機能毎に細分化して仮想デバイス化することができ、これにより、細分化した機能毎に異なる接続先とデータの送受信が可能となる。   Generally, even if an IoT device has a plurality of sensing functions, the gateway manages the cloud connection for each device in the gateway, so data collected from a plurality of functions in the same IoT device is transmitted to the same connection destination. Will be sent. On the other hand, according to the relay device 100 in the present example, when a plurality of functions are provided in the same device, it is possible to subdivide each function into a virtual device in the relay device 100. Thus, data can be transmitted and received to and from a different connection destination for each subdivided function.

上記実施形態では、格納部102、接続確立部104、回線選択部106、通信中継部108、データ監視部110、及び切替制御部112を備える中継装置100と、中継部122、中継部124、中継部126、及び実行部128を備える中継装置100とを別々に説明したが、中継装置100は、これらのすべての構成を備えてもよい。   In the above embodiment, the relay device 100 including the storage unit 102, the connection establishment unit 104, the line selection unit 106, the communication relay unit 108, the data monitoring unit 110, and the switching control unit 112, the relay unit 122, the relay unit 124, and the relay Although the relay device 100 including the unit 126 and the execution unit 128 has been described separately, the relay device 100 may include all of these configurations.

図14は、中継装置100として機能するコンピュータ1000のハードウェア構成の一例を概略的に示す。本実施形態に係るコンピュータ1000は、ホストコントローラ1092により相互に接続されるCPU1010及びRAM1030を有するCPU周辺部と、入出力コントローラ1094によりホストコントローラ1092に接続されるROM1020、通信I/F1040、ハードディスクドライブ1050、及び入出力チップ1080を有する入出力部を備える。   FIG. 14 schematically illustrates an example of a hardware configuration of a computer 1000 functioning as the relay device 100. The computer 1000 according to the present embodiment includes a CPU peripheral portion including a CPU 1010 and a RAM 1030 interconnected by a host controller 1092, a ROM 1020 connected to the host controller 1092 by an input / output controller 1094, a communication I / F 1040, and a hard disk drive 1050. , And an input / output unit having an input / output chip 1080.

CPU1010は、ROM1020及びRAM1030に格納されたプログラムに基づいて動作し、各部の制御を行う。通信I/F1040は、有線又は無線によりネットワークを介して他の装置と通信する。また、通信I/F1040は、通信を行うハードウェアとして機能する。ハードディスクドライブ1050は、CPU1010が使用するプログラム及びデータを格納する。   The CPU 1010 operates based on programs stored in the ROM 1020 and the RAM 1030, and controls each unit. The communication I / F 1040 communicates with another device via a network by wire or wirelessly. The communication I / F 1040 functions as hardware for performing communication. The hard disk drive 1050 stores programs and data used by the CPU 1010.

ROM1020は、コンピュータ1000が起動時に実行するブート・プログラム及びコンピュータ1000のハードウェアに依存するプログラムなどを格納する。入出力チップ1080は、例えばパラレル・ポート、シリアル・ポート、キーボード・ポート、マウス・ポートなどを介して各種の入出力装置を入出力コントローラ1094へと接続する。   The ROM 1020 stores a boot program executed by the computer 1000 at the time of startup, a program depending on hardware of the computer 1000, and the like. The input / output chip 1080 connects various input / output devices to the input / output controller 1094 via, for example, a parallel port, a serial port, a keyboard port, a mouse port, and the like.

RAM1030を介してハードディスクドライブ1050に提供されるプログラムは、ICカードなどの記録媒体に格納されて利用者によって提供される。プログラムは、記録媒体から読み出され、RAM1030を介してハードディスクドライブ1050にインストールされ、CPU1010において実行される。   The program provided to the hard disk drive 1050 via the RAM 1030 is stored in a recording medium such as an IC card and provided by the user. The program is read from the recording medium, installed on the hard disk drive 1050 via the RAM 1030, and executed by the CPU 1010.

コンピュータ1000にインストールされ、コンピュータ1000を中継装置100として機能させるプログラムは、CPU1010などに働きかけて、コンピュータ1000を、中継装置100の各部としてそれぞれ機能させてよい。これらのプログラムに記述された情報処理は、コンピュータ1000に読込まれることにより、ソフトウエアと上述した各種のハードウェア資源とが協働した具体的手段である格納部102、接続確立部104、回線選択部106、通信中継部108、データ監視部110、及び切替制御部112として機能する。また、これらのプログラムに記述された情報処理は、コンピュータ1000に読込まれることにより、ソフトウエアと上述した各種のハードウェア資源とが協働した具体的手段である中継部122、中継部124、中継部126、及び実行部128として機能する。また、これらのプログラムに記述された情報処理は、コンピュータ1000に読込まれることにより、ソフトウエアと上述した各種のハードウェア資源とが協働した具体的手段である格納部102、接続確立部104、回線選択部106、通信中継部108、データ監視部110、切替制御部112、中継部122、中継部124、中継部126、及び実行部128として機能する。そして、これらの具体的手段によって、本実施形態におけるコンピュータ1000の使用目的に応じた情報の演算又は加工を実現することにより、使用目的に応じた特有の中継装置100が構築される。   A program installed in the computer 1000 and causing the computer 1000 to function as the relay device 100 may act on the CPU 1010 or the like to cause the computer 1000 to function as each unit of the relay device 100. The information processing described in these programs is read into the computer 1000, and the storage unit 102, the connection establishing unit 104, the line establishing unit 104, and the specific means in which the software and the various hardware resources described above cooperate with each other. It functions as the selection unit 106, the communication relay unit 108, the data monitoring unit 110, and the switching control unit 112. When the information processing described in these programs is read into the computer 1000, the relay unit 122, the relay unit 124, and the relay unit are specific means in which the software and the various hardware resources described above cooperate. It functions as the relay unit 126 and the execution unit 128. When the information processing described in these programs is read into the computer 1000, the storage unit 102 and the connection establishing unit 104 are specific means in which the software and the various hardware resources described above cooperate with each other. Function as a line selection unit 106, a communication relay unit 108, a data monitoring unit 110, a switching control unit 112, a relay unit 122, a relay unit 124, a relay unit 126, and an execution unit 128. The specific relay device 100 according to the purpose of use is constructed by realizing calculation or processing of information according to the purpose of use of the computer 1000 in the present embodiment by these specific means.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As described above, the present invention has been described using the embodiments, but the technical scope of the present invention is not limited to the scope described in the above embodiments. It is apparent to those skilled in the art that various changes or improvements can be made to the above embodiment. It is apparent from the description of the appended claims that embodiments with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階などの各処理の実行順序は、特段「より前に」、「先立って」などと明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」などを用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of processes such as operations, procedures, steps, and steps in the apparatuses, systems, programs, and methods illustrated in the claims, the description, and the drawings is particularly “before” or “before”. It should be noted that they can be realized in any order as long as the output of the previous process is not used in the subsequent process. Regarding the operation flow in the claims, the specification, and the drawings, even if the description is made using “first”, “next”, or the like for convenience, it means that it is essential to implement in this order. Not something.

20 クラウド、30 通信回線、40 通信回線、70 Z−Waveネットワーク、72 Z−Waveメッシュネットワーク、80 BTネットワーク、82 BTメッシュネットワーク、100 中継装置、102 格納部、104 接続確立部、106 回線選択部、108 通信中継部、110 データ監視部、112 切替制御部、122 中継部、124 中継部、126 中継部、128 実行部、132 Z−Waveゲートウェイ、134 プロトコル変換部、140、141、142、143、144、 仮想デバイス、200 IoTデバイス、300 BTデバイス、310 スマートフォン、320、321、322、323、324 アプリ、400、401、402、403 Z−Waveデバイス、410、411、412、413 機能、1000 コンピュータ、1010 CPU、1020 ROM、1030 RAM、1040 通信I/F、1050 ハードディスクドライブ、1080 入出力チップ、1092 ホストコントローラ、1094 入出力コントローラ Reference Signs List 20 cloud, 30 communication line, 40 communication line, 70 Z-Wave network, 72 Z-Wave mesh network, 80 BT network, 82 BT mesh network, 100 relay device, 102 storage unit, 104 connection establishment unit, 106 line selection unit , 108 communication relay unit, 110 data monitoring unit, 112 switching control unit, 122 relay unit, 124 relay unit, 126 relay unit, 128 execution unit, 132 Z-Wave gateway, 134 protocol conversion unit, 140, 141, 142, 143 , 144, virtual device, 200 IoT device, 300 BT device, 310 smartphone, 320, 321, 322, 323, 324 application, 400, 401, 402, 403 Z-Wave device, 410, 411, 41 2,413 functions, 1000 computer, 1010 CPU, 1020 ROM, 1030 RAM, 1040 communication I / F, 1050 hard disk drive, 1080 input / output chip, 1092 host controller, 1094 input / output controller

Claims (18)

無線通信デバイスと無線通信接続を確立する接続確立部と、
前記無線通信デバイスのデバイスタイプに基づいて、前記無線通信デバイスとクラウドとの通信を中継するときに用いる無線通信回線として、第1の無線通信回線又は前記第1の無線通信回線よりも通信容量が多い第2の無線通信回線を選択する回線選択部と、
前記回線選択部によって選択された無線通信回線を介して、前記無線通信デバイスと前記クラウドとの通信を中継する通信中継部と、
第1の無線通信方式で無線通信接続をしている第1の無線通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換して前記通信中継部を介して前記クラウドに送信する第1中継部と、
第2の無線通信方式で無線通信接続をしている第2の無線通信デバイスから受信したデータをIP通信の通信方式にプロトコル変換して前記通信中継部を介して前記クラウドに送信する第2中継部と、
前記第1の無線通信方式と前記第2の無線通信方式との間でプロトコル変換を実行し、前記第1の無線通信デバイスと前記第2の無線通信デバイスとの間の通信を中継する第3中継部と
を備える、中継装置。
A connection establishing unit that establishes a wireless communication connection with the wireless communication device;
Based on the device type of the wireless communication device, a wireless communication line used for relaying communication between the wireless communication device and the cloud has a communication capacity greater than that of the first wireless communication line or the first wireless communication line. A line selection unit for selecting a large number of second wireless communication lines;
Via a wireless communication line selected by the line selection unit, a communication relay unit that relays communication between the wireless communication device and the cloud,
A first relay that converts data received from a first wireless communication device connected to the first wireless communication system by a first wireless communication method into a communication method of an IP communication, and transmits the data to the cloud via the communication relay unit. Department and
A second relay that converts a protocol of data received from a second wireless communication device having a wireless communication connection with the second wireless communication method into a communication method of IP communication and transmits the data to the cloud via the communication relay unit; Department and
A third protocol that performs protocol conversion between the first wireless communication system and the second wireless communication system and relays communication between the first wireless communication device and the second wireless communication device; A relay device comprising: a relay unit.
前記回線選択部は、前記第1の無線通信デバイスのデバイスタイプが、数値データ又はテキストデータを送信するデバイスである第1のデバイスタイプである場合、前記第1の無線通信回線を選択し、前記第1の無線通信デバイスのデバイスタイプが画像データ又は音声データを送信するデバイスである第2のデバイスタイプである場合、前記第2の無線通信回線を選択し、前記第2の無線通信デバイスのデバイスタイプが前記第1のデバイスタイプである場合、前記第1の無線通信回線を選択し、前記第2の無線通信デバイスのデバイスタイプが前記第2のデバイスタイプである場合、前記第2の無線通信回線を選択する、請求項1に記載の中継装置。   The line selection unit, when the device type of the first wireless communication device is a first device type that is a device that transmits numerical data or text data, selects the first wireless communication line, If the device type of the first wireless communication device is the second device type that is a device that transmits image data or audio data, the second wireless communication line is selected, and the device of the second wireless communication device is selected. When the type is the first device type, the first wireless communication line is selected, and when the device type of the second wireless communication device is the second device type, the second wireless communication line is selected. The relay device according to claim 1, wherein the relay device selects a line. 前記第1の無線通信方式は、Bluetoothである、請求項1又は2に記載の中継装置。   The relay device according to claim 1, wherein the first wireless communication system is Bluetooth. 前記第3中継部は、前記第1の無線通信デバイスと無線通信接続を確立した仮想デバイスが前記第1の無線通信デバイスから受信したデータを、前記第2の無線通信方式にプロトコル変換し、前記第2の無線通信デバイスと無線通信接続を確立したゲートウェイが前記第2の無線通信デバイスから受信したデータを、前記第1の無線通信方式にプロトコル変換するプロトコル変換部を有する、請求項3に記載の中継装置。   The third relay unit performs protocol conversion of data received from the first wireless communication device by the virtual device that has established a wireless communication connection with the first wireless communication device, into the second wireless communication system, 4. The communication device according to claim 3, further comprising a protocol conversion unit configured to convert data received from the second wireless communication device by the gateway that has established a wireless communication connection with the second wireless communication device into a protocol of the first wireless communication system. Relay device. 前記第2の無線通信方式は、Z−Wave又はZigbeeである、請求項3又は4に記載の中継装置。   The relay device according to claim 3, wherein the second wireless communication method is Z-Wave or Zigbee. 前記第1の無線通信回線は、NB−IoT、LoRa、及びSigfoxの少なくともいずれかであり、
前記第2の無線通信回線は、LTEである、請求項1から5のいずれか一項に記載の中継装置。
The first wireless communication line is at least one of NB-IoT, LoRa, and Sigfox,
The relay device according to claim 1, wherein the second wireless communication line is an LTE.
前記通信中継部は、前記接続確立部によって無線通信接続が確立されている全ての無線通信デバイスに対して、前記第1の無線通信回線が選択されている場合、前記第2の無線通信回線をスリープさせる、請求項1から6のいずれか一項に記載の中継装置。   The communication relay unit, when the first wireless communication line is selected for all wireless communication devices for which a wireless communication connection has been established by the connection establishing unit, disconnects the second wireless communication line. The relay device according to any one of claims 1 to 6, which causes the computer to sleep. 前記通信中継部は、夜間として予め定められた時間帯では、前記接続確立部が無線通信接続を確立している全ての無線通信デバイスについて前記第1の無線通信回線が選択されてから、予め定められた第1の時間が経過した後で、前記第2の無線通信回線をスリープさせ、夜間として予め定められた前記時間帯以外の時間帯では、前記第1の時間よりも長い第2の時間が経過した後で、前記第2の無線通信回線をスリープさせる、請求項7に記載の中継装置。   The communication relay unit, in a predetermined time zone as nighttime, the connection establishment unit is set to a predetermined time after the first wireless communication line is selected for all wireless communication devices that have established wireless communication connections. After the elapse of the first time, the second wireless communication line is put to sleep, and in a time zone other than the predetermined time zone at night, a second time longer than the first time is set. The relay device according to claim 7, wherein the second wireless communication line is put to sleep after elapse of. 前記通信中継部が、前記第1の無線通信回線を用いて前記無線通信デバイスの通信を中継している間に、前記無線通信デバイスが送受信するデータを監視するデータ監視部と、
前記無線通信デバイスが送受信するデータが予め定められた条件を満たす場合に、前記通信中継部が用いる無線通信回線を、前記第1の無線通信回線から前記第2の無線通信回線に切り替えさせる切替制御部と
を備える、請求項1から8のいずれか一項に記載の中継装置。
While the communication relay unit, while relaying the communication of the wireless communication device using the first wireless communication line, a data monitoring unit that monitors data transmitted and received by the wireless communication device,
Switching control for switching a wireless communication line used by the communication relay unit from the first wireless communication line to the second wireless communication line when data transmitted and received by the wireless communication device satisfies a predetermined condition. The relay device according to any one of claims 1 to 8, further comprising: a unit.
前記切替制御部は、前記無線通信デバイスが受信するデータの種類が予め定められた種類である場合に、前記通信中継部が用いる無線通信回線を、前記第1の無線通信回線から前記第2の無線通信回線に切り替えさせる、請求項9に記載の中継装置。   The switch control unit, when the type of data received by the wireless communication device is a predetermined type, the wireless communication line used by the communication relay unit, from the first wireless communication line to the second The relay device according to claim 9, wherein the relay device is switched to a wireless communication line. 前記第1の無線通信方式で無線通信接続をしている前記第1の無線通信デバイスから受信したデータに基づいて、前記中継装置に対する制御を実行する実行部
を備える、請求項1から10のいずれか一項に記載の中継装置。
11. The control device according to claim 1, further comprising: an execution unit configured to execute control on the relay device based on data received from the first wireless communication device that has wirelessly connected in the first wireless communication method. 12. The relay device according to claim 1.
前記第3中継部は、前記第1の無線通信デバイスから受信したデータを、複数の前記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークに送信する、請求項1から11のいずれか一項に記載の中継装置。   The third relay unit according to any one of claims 1 to 11, wherein the third relay unit transmits data received from the first wireless communication device to a second wireless communication device network configured by a plurality of the second wireless communication devices. The relay device according to claim 1. 前記第3中継部は、前記第2無線通信デバイスネットワーク内の前記第2の無線通信デバイスを送信元とするBluetoothビーコンを、前記第1の無線通信デバイスに送信する、請求項12に記載の中継装置。   The relay according to claim 12, wherein the third relay unit transmits, to the first wireless communication device, a Bluetooth beacon whose source is the second wireless communication device in the second wireless communication device network. apparatus. 前記第3中継部は、前記第1の無線通信デバイスから受信したBluetoothビーコンをプロトコル変換して、前記第2無線通信デバイスネットワーク内の少なくとも1つの前記第2の無線通信デバイスに送信する、請求項12又は13に記載の中継装置。   The third relay unit converts a Bluetooth beacon received from the first wireless communication device into a protocol and transmits the Bluetooth beacon to at least one of the second wireless communication devices in the second wireless communication device network. 14. The relay device according to 12 or 13. 前記第3中継部は、前記第2の無線通信デバイスから受信したデータを、複数の第1の無線通信デバイスによって構成される第1無線通信デバイスネットワークに送信する、請求項1から14のいずれか一項に記載の中継装置。   15. The wireless communication device according to claim 1, wherein the third relay unit transmits data received from the second wireless communication device to a first wireless communication device network including a plurality of first wireless communication devices. 16. The relay device according to claim 1. 前記第3中継部は、複数の前記第1の無線通信デバイスによって構成される第1無線通信デバイスネットワークと、複数の前記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークとの間の通信を中継する、請求項1から11のいずれか一項に記載の中継装置。   The third relay unit is between a first wireless communication device network configured by a plurality of the first wireless communication devices and a second wireless communication device network configured by a plurality of the second wireless communication devices. The relay device according to any one of claims 1 to 11, which relays the communication of (1). 前記第3中継部は、他の中継装置と、前記第1の無線通信方式により無線通信接続を確立し、当該無線通信接続を介して、複数の前記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークと、前記他の中継装置に接続された複数の前記第2の無線通信デバイスによって構成される第2無線通信デバイスネットワークとの間の通信を中継する、請求項1から11のいずれか一項に記載の中継装置。   The third relay unit establishes a wireless communication connection with another relay device by the first wireless communication method, and is configured by a plurality of the second wireless communication devices via the wireless communication connection. 12. The wireless communication device according to claim 1, wherein the communication between the second wireless communication device network and a second wireless communication device network configured by a plurality of the second wireless communication devices connected to the another relay device is relayed. The relay device according to claim 1. コンピュータを、請求項1から17のいずれか一項に記載の中継装置として機能させるためのプログラム。   A program for causing a computer to function as the relay device according to any one of claims 1 to 17.
JP2019196913A 2019-10-30 2019-10-30 Relay device and program Active JP6821765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019196913A JP6821765B2 (en) 2019-10-30 2019-10-30 Relay device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019196913A JP6821765B2 (en) 2019-10-30 2019-10-30 Relay device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018108331A Division JP2019213073A (en) 2018-06-06 2018-06-06 Relay device and program

Publications (2)

Publication Number Publication Date
JP2020024742A true JP2020024742A (en) 2020-02-13
JP6821765B2 JP6821765B2 (en) 2021-01-27

Family

ID=69618835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019196913A Active JP6821765B2 (en) 2019-10-30 2019-10-30 Relay device and program

Country Status (1)

Country Link
JP (1) JP6821765B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7052105B1 (en) * 2020-12-15 2022-04-11 グニテック コーポレーション Network device control method and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345860A (en) * 2000-05-31 2001-12-14 Ntt Comware Corp Method and device for communication
JP2003123177A (en) * 2001-10-18 2003-04-25 Omron Corp Information processor, sensor network system, information processing program, and computer-readable recording medium with information processing program recorded thereon
JP2010103785A (en) * 2008-10-24 2010-05-06 Toshiba Corp Equipment cooperation system, equipment cooperation method
JP2012518295A (en) * 2008-09-26 2012-08-09 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for simple pairing of wired and wireless healthcare devices to gateways
JP2013162476A (en) * 2012-02-08 2013-08-19 Kddi Corp Wireless router capable of individually starting wan-side interfaces, wan communication starting method, and program
JP2015115832A (en) * 2013-12-12 2015-06-22 富士通株式会社 Relay device, relay control method, and relay control program
WO2017179608A1 (en) * 2016-04-14 2017-10-19 日本電信電話株式会社 Timing synchronization method, sensor embedding terminal, and sensor network system
JP2017192021A (en) * 2016-04-13 2017-10-19 日本電信電話株式会社 Radio communication system and radio communication method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345860A (en) * 2000-05-31 2001-12-14 Ntt Comware Corp Method and device for communication
JP2003123177A (en) * 2001-10-18 2003-04-25 Omron Corp Information processor, sensor network system, information processing program, and computer-readable recording medium with information processing program recorded thereon
JP2012518295A (en) * 2008-09-26 2012-08-09 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for simple pairing of wired and wireless healthcare devices to gateways
JP2010103785A (en) * 2008-10-24 2010-05-06 Toshiba Corp Equipment cooperation system, equipment cooperation method
JP2013162476A (en) * 2012-02-08 2013-08-19 Kddi Corp Wireless router capable of individually starting wan-side interfaces, wan communication starting method, and program
JP2015115832A (en) * 2013-12-12 2015-06-22 富士通株式会社 Relay device, relay control method, and relay control program
JP2017192021A (en) * 2016-04-13 2017-10-19 日本電信電話株式会社 Radio communication system and radio communication method
WO2017179608A1 (en) * 2016-04-14 2017-10-19 日本電信電話株式会社 Timing synchronization method, sensor embedding terminal, and sensor network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7052105B1 (en) * 2020-12-15 2022-04-11 グニテック コーポレーション Network device control method and equipment

Also Published As

Publication number Publication date
JP6821765B2 (en) 2021-01-27

Similar Documents

Publication Publication Date Title
TWI481213B (en) System and method for facilitating wireless communication
JP2018125849A (en) Iot gateway and operation method thereof
JP2022010120A (en) Wireless beacon simultaneous transmission method
JP7374220B2 (en) Bearer mapping at IAB node
JP2011055374A (en) Wireless device, wireless communication system, and wireless communication method
CN106664571A (en) Cloud based access network
JPWO2015087870A1 (en) Wireless device and wireless communication method
KR20230021060A (en) Terminal and controlling method thereof in an wireless communication system
JP2022549899A (en) Resource allocation method, device, equipment and storage medium
JP6821765B2 (en) Relay device and program
KR101797032B1 (en) Wireless router device with IoT gateway function
WO2020196811A1 (en) Method and system including constructing communication network
KR20150121115A (en) System and method for enabling g.hn nodes to support 1905.1 relaying (mac relaying) while supporting legacy g.hn relaying according to the g.hn standards
JP2019213073A (en) Relay device and program
JP2013207760A (en) Data collecting method, mobile terminal and data storage device
JP2014207608A (en) Radio relay system between ieee802.11 standard communication and ieee802.15.4 standard communication
US20150067177A1 (en) Information processing apparatus
CN108243455B (en) Service data sending method, device and terminal
WO2019010777A1 (en) Frequency point selection method and related product
US20190110144A1 (en) Method adapted to be implemented in a master device of a sound system, corresponding method adapted to be implemented in an audio rendering device of a sound system, corresponding master device, audio rendering device, system, computer readable program product and computer readable storage media
KR20230125844A (en) Random access including sending or receiving Msg3 messages
AU2019261671B2 (en) Repeater for mesh network
JP2010034986A (en) Wireless communication system, wireless communication testing method, and wireless communication test program
JP2019096397A (en) Illumination monitoring system
WO2011007579A1 (en) Radio communication device, radio communication method, radio communication system, and interface for radio communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201006

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201203

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210106

R150 Certificate of patent or registration of utility model

Ref document number: 6821765

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250