Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7050596B2 - Gateway equipment, equipment management system, communication method and program - Google Patents
[go: Go Back, main page]

JP7050596B2 - Gateway equipment, equipment management system, communication method and program - Google Patents

Gateway equipment, equipment management system, communication method and program Download PDF

Info

Publication number
JP7050596B2
JP7050596B2 JP2018120070A JP2018120070A JP7050596B2 JP 7050596 B2 JP7050596 B2 JP 7050596B2 JP 2018120070 A JP2018120070 A JP 2018120070A JP 2018120070 A JP2018120070 A JP 2018120070A JP 7050596 B2 JP7050596 B2 JP 7050596B2
Authority
JP
Japan
Prior art keywords
operation command
network
command
master device
slave device
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.)
Active
Application number
JP2018120070A
Other languages
Japanese (ja)
Other versions
JP2020005035A (en
Inventor
英利香 西村
弘明 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2018120070A priority Critical patent/JP7050596B2/en
Publication of JP2020005035A publication Critical patent/JP2020005035A/en
Application granted granted Critical
Publication of JP7050596B2 publication Critical patent/JP7050596B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、ゲートウェイ装置、機器管理システム、通信方法及びプログラムに関する。 The present invention relates to a gateway device, a device management system, a communication method and a program.

複数のネットワークを相互に接続するゲートウェイ装置が知られている。ゲートウェイ装置により、異なるプロトコルを有するネットワークであっても相互に接続することができる。ネットワークとしては、例えば、集中管理型ネットワークとマルチマスタ型ネットワークとが考えられる。集中管理型ネットワークには、1つのマスタ機器とこのマスタ機器により管理される少なくとも1つのスレーブ機器とが接続される。マルチマスタ型ネットワークには、少なくとも1つのマスタ機器と少なくとも1つのスレーブ機器とが接続される。マスタ機器は、ユーザからの指示、又は、他の機器からの操作要求に従って、スレーブ機器に対する操作の指令である操作指令を送信する。 Gateway devices that connect multiple networks to each other are known. The gateway device allows networks with different protocols to connect to each other. As the network, for example, a centralized management type network and a multi-master type network can be considered. One master device and at least one slave device managed by the master device are connected to the centralized management network. At least one master device and at least one slave device are connected to the multi-master network. The master device transmits an operation command, which is an operation command to the slave device, in accordance with an instruction from the user or an operation request from another device.

ここで、第1ネットワークと第2ネットワークとが集中管理型ネットワークである場合、ゲートウェイ装置は、第1ネットワークと第2ネットワークとにスレーブ機器として接続される。ところで、複数のスレーブ機器の管理を容易にするために、複数のスレーブ機器を含むグループを定義し、マスタ機器がこのグループを指定して操作指令を送信することがある。以下、第1ネットワークが備えるマスタ機器である第1マスタ機器が、第1ネットワークが備えるスレーブ機器である第1スレーブ機器と第2ネットワークが備えるスレーブ機器である第2スレーブ機器とを備えるグループを指定して、操作指令を送信した場合を想定する。 Here, when the first network and the second network are centralized management type networks, the gateway device is connected to the first network and the second network as slave devices. By the way, in order to facilitate the management of a plurality of slave devices, a group including a plurality of slave devices may be defined, and the master device may specify this group and send an operation command. Hereinafter, a group in which the first master device, which is the master device included in the first network, includes the first slave device, which is the slave device included in the first network, and the second slave device, which is the slave device included in the second network, is designated. Then, it is assumed that an operation command is transmitted.

この場合、第1スレーブ機器は、操作指令に従って状態を変化させる。また、ゲートウェイ装置は、この操作指令を操作要求に変換し、この操作要求を第2ネットワークに送信する。すると、第2ネットワークが備えるマスタ機器である第2マスタ機器は、この操作要求を操作指令に変換し、この操作指令を第2ネットワークに送信する。第2スレーブ機器は、この操作指令に従って状態を変化させる。しかしながら、この操作指令は、ゲートウェイ装置によっても受信され、ゲートウェイ装置は、この操作指令を操作要求に変換し、この操作要求を第1ネットワークに送信する。すると、第1マスタ機器は、この操作要求を操作指令に変換し、この操作指令を第1ネットワークに送信する。第1スレーブ機器は、この操作指令に従って状態を更に変化させる。以後、第1マスタ機器と第2マスタ機器とから交互に操作指令が送信され続ける。 In this case, the first slave device changes its state according to the operation command. Further, the gateway device converts this operation command into an operation request and transmits this operation request to the second network. Then, the second master device, which is the master device included in the second network, converts this operation request into an operation command and transmits this operation command to the second network. The second slave device changes its state according to this operation command. However, this operation command is also received by the gateway device, and the gateway device converts the operation command into an operation request and transmits the operation request to the first network. Then, the first master device converts this operation request into an operation command and transmits this operation command to the first network. The first slave device further changes its state according to this operation command. After that, the operation command is continuously transmitted from the first master device and the second master device.

一方、第1ネットワークがマルチマスタ型ネットワークである場合、ゲートウェイ装置をマスタ装置として第1ネットワークに接続することができる。この場合、ゲートウェイ装置は、第2マスタ装置により送信された操作指令に対応する操作指令を第1スレーブ機器に送信することにより、第1マスタ装置を介さずに、第1スレーブ機器の状態を変化させることができる。しかしながら、この場合でも、第1スレーブ機器の状態が複数回にわたって変化する。このように、操作指令が重複して送信されると、ネットワーク上のトラフィックが増大する。また、操作指令が、トグル操作、又は、操作量を指定した操作に関する指令である場合、操作指令が重複して送信されると、正常な制御が実現されない可能性がある。 On the other hand, when the first network is a multi-master type network, the gateway device can be connected to the first network as a master device. In this case, the gateway device changes the state of the first slave device without going through the first master device by transmitting the operation command corresponding to the operation command transmitted by the second master device to the first slave device. Can be made to. However, even in this case, the state of the first slave device changes a plurality of times. In this way, when the operation commands are transmitted in duplicate, the traffic on the network increases. Further, when the operation command is a toggle operation or a command related to an operation for which an operation amount is specified, if the operation commands are transmitted in duplicate, normal control may not be realized.

上記の問題に関するものとして、特許文献1には、ルータとして機能する計算機が一方のネットワークの計算機から同一内容の情報を複数回受信した場合に、受信した情報を重複して他方のネットワークに送信することを防ぐ技術が開示されている。この技術を上記のゲートウェイ装置に適用することにより、交互に操作指令が送信され続けてしまうという上記の問題が解消できる。 Regarding the above problem, in Patent Document 1, when a computer functioning as a router receives information of the same content multiple times from a computer of one network, the received information is duplicated and transmitted to the other network. The technology to prevent this is disclosed. By applying this technique to the gateway device, it is possible to solve the above-mentioned problem that operation commands are continuously transmitted alternately.

特開平06-110925号公報Japanese Unexamined Patent Publication No. 06-110925

しかし、第2マスタ機器が最初の操作要求に応じて送信する操作指令は、第2ネットワークでは初めて送信される情報である。したがって、特許文献1の技術を適用したゲートウェイ装置であっても、第2マスタ機器から受信した操作指令に対応する操作要求あるいは操作指令の送信を防ぐことはできない。そのため、操作要求あるいは操作指令が第1ネットワークに再度送信される。したがって、特許文献1の技術は、操作指令の重複を防ぐという観点からは十分とはいえない。 However, the operation command transmitted by the second master device in response to the first operation request is information transmitted for the first time in the second network. Therefore, even the gateway device to which the technique of Patent Document 1 is applied cannot prevent the transmission of the operation request or the operation command corresponding to the operation command received from the second master device. Therefore, the operation request or the operation command is transmitted to the first network again. Therefore, the technique of Patent Document 1 is not sufficient from the viewpoint of preventing duplication of operation commands.

本発明の目的は、上記の事情に鑑み、操作指令が重複して送信されることを防ぐゲートウェイ装置等を提供することにある。 In view of the above circumstances, an object of the present invention is to provide a gateway device or the like that prevents duplicate operation commands from being transmitted.

上記の目的を達成するため、本発明に係るゲートウェイ装置は、
第1マスタ機器と前記第1マスタ機器により管理される第1スレーブ機器とが接続された第1ネットワークと、第2マスタ機器と前記第2マスタ機器により管理される第2スレーブ機器とが接続された集中管理型ネットワークである第2ネットワークと、を接続するゲートウェイ装置であって、
前記第1マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第1操作指令を受信する第1受信手段と、
前記第1操作指令の操作対象に前記第2スレーブ機器が含まれているとき、前記第1操作指令を、前記第1操作指令に対応する操作指令の送信を前記第2マスタ機器に要求するための第1操作要求に変換する第1変換手段と、
前記第1操作要求を前記第2マスタ機器に送信する第1送信手段と、
前記第2マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第2操作指令を受信する第2受信手段と、
前記第2操作指令の操作対象に前記第1スレーブ機器が含まれているとき、前記第2操作指令に対応する前記第1操作指令を受信済か否かを判定する判定手段と、
前記第2操作指令に対応する前記第1操作指令を受信済ではないと前記判定手段が判定したときに、前記第2操作指令を制御情報に変換する第2変換手段と、
前記制御情報を前記第1マスタ機器または前記第1スレーブ機器に送信する第2送信手段と、
を備える。
In order to achieve the above object, the gateway device according to the present invention is
The first network to which the first master device and the first slave device managed by the first master device are connected, and the second master device and the second slave device managed by the second master device are connected. It is a gateway device that connects to the second network, which is a centralized management type network.
A first receiving means for receiving a first operation command for operating at least one of the first slave device and the second slave device from the first master device.
When the second slave device is included in the operation target of the first operation command, the first operation command is requested to the second master device to transmit the operation command corresponding to the first operation command. The first conversion means for converting to the first operation request of
A first transmission means for transmitting the first operation request to the second master device,
A second receiving means for receiving a second operation command for operating at least one of the first slave device and the second slave device from the second master device.
When the operation target of the second operation command includes the first slave device , a determination means for determining whether or not the first operation command corresponding to the second operation command has been received, and
When the determination means determines that the first operation command corresponding to the second operation command has not been received, the second conversion means for converting the second operation command into control information and the second conversion means.
A second transmission means for transmitting the control information to the first master device or the first slave device, and
To prepare for.

本発明によれば、第2操作指令に対応する第1操作指令を受信済か否かを判定し、受信済ではないと判定したときのみ第2操作指令を制御情報に変換して送信する。そのため、操作指令が重複して送信されることを防ぐことができる。 According to the present invention, it is determined whether or not the first operation command corresponding to the second operation command has been received, and only when it is determined that the first operation command has not been received, the second operation command is converted into control information and transmitted. Therefore, it is possible to prevent duplicate operation commands from being transmitted.

本発明の実施の形態1に係る照明システムを示す図The figure which shows the lighting system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置の機能的構成を示す図The figure which shows the functional configuration of the gateway apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置の対応情報記憶部が記憶する対応情報の一例を示す図The figure which shows an example of the correspondence information stored in the correspondence information storage part of the gateway apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置の機器情報記憶部が記憶する機器情報の一例を示す図The figure which shows an example of the device information stored in the device information storage part of the gateway device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置の指令記憶部が記憶する指令情報の一例を示す図The figure which shows an example of the command information stored in the command storage part of the gateway device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置のハードウェア構成の一例を示す図The figure which shows an example of the hardware composition of the gateway apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るゲートウェイ装置による、第1マスタ機器から受信した第1操作指令の中継の処理を示すフローチャートA flowchart showing a process of relaying a first operation command received from a first master device by the gateway device according to the first embodiment of the present invention. 本発明の実施の形態1に係るゲートウェイ装置による、第2マスタ機器から受信した第2操作指令の中継の処理を示すフローチャートA flowchart showing a process of relaying a second operation command received from a second master device by the gateway device according to the first embodiment of the present invention. 本発明の実施の形態1に係る照明システムにおける、操作指令の中継の処理シーケンスを示す図The figure which shows the processing sequence of the relay of the operation command in the lighting system which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る照明システムを示す図The figure which shows the lighting system which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係るゲートウェイ装置による、第2マスタ機器から受信した第2操作指令の中継の処理を示すフローチャートA flowchart showing a process of relaying a second operation command received from a second master device by the gateway device according to the second embodiment of the present invention.

以下、図面を参照しながら、本発明に係るゲートウェイ装置を照明システムに適用した実施の形態について説明する。各図面においては、同一又は同等の部分に同一の符号を付す。 Hereinafter, embodiments in which the gateway device according to the present invention is applied to a lighting system will be described with reference to the drawings. In each drawing, the same or equivalent parts are designated by the same reference numerals.

(実施の形態1)
図1を参照しながら、実施の形態1に係る照明システム1を説明する。照明システム1は、第1ネットワークN1に接続された照明器具12aと第2ネットワークN2に接続された照明器具22aとを管理する照明システムである。照明システム1は、第1ネットワークN1に接続されたコントローラ11a、スイッチ11b及び照明器具12aと、第2ネットワークN2に接続されたコントローラ21a、照明器具22a及びスイッチ22bと、第1ネットワークN1及び第2ネットワークN2を相互に接続するゲートウェイ装置100と、を備える。照明システム1は、本発明に係る機器管理システムの一例である。
(Embodiment 1)
The lighting system 1 according to the first embodiment will be described with reference to FIG. The lighting system 1 is a lighting system that manages the lighting fixture 12a connected to the first network N1 and the lighting fixture 22a connected to the second network N2. The lighting system 1 includes a controller 11a, a switch 11b and a lighting fixture 12a connected to the first network N1, a controller 21a, a lighting fixture 22a and a switch 22b connected to the second network N2, and a first network N1 and a second. A gateway device 100 for interconnecting networks N2 is provided. The lighting system 1 is an example of the equipment management system according to the present invention.

以下、第1ネットワークN1及び第2ネットワークN2を説明する。第1ネットワークN1は、マルチマスタ型ネットワークによる照明制御ネットワークである。マルチマスタ型ネットワークとは、1以上のマスタ機器が1以上のスレーブ機器を管理するネットワークである。つまり、同一ネットワーク内に複数のマスタ機器を接続することができる。マスタ機器は、スレーブ機器を操作するための操作指令を送信できる。操作指令を受信したスレーブ機器は、操作指令の内容に応じた動作を行う。 Hereinafter, the first network N1 and the second network N2 will be described. The first network N1 is a lighting control network by a multi-master type network. The multi-master network is a network in which one or more master devices manage one or more slave devices. That is, a plurality of master devices can be connected in the same network. The master device can send an operation command for operating the slave device. The slave device that receives the operation command operates according to the content of the operation command.

第1ネットワークN1には、コントローラ11a及びスイッチ11bがマスタ機器として接続されており、照明器具12aがスレーブ機器として接続されている。例えば、ユーザが、コントローラ11aにより照明器具12aをオンにする操作をすると、照明器具12aをオンにするための操作指令がコントローラ11aから照明器具12aに送信される。また、ユーザがスイッチ11bをオンにする操作をすると、照明器具12aをオンにするための操作指令がスイッチ11bから照明器具12aに送信される。 The controller 11a and the switch 11b are connected to the first network N1 as master devices, and the lighting fixture 12a is connected as slave devices. For example, when the user operates the lighting fixture 12a by the controller 11a, an operation command for turning on the lighting fixture 12a is transmitted from the controller 11a to the lighting fixture 12a. Further, when the user operates to turn on the switch 11b, an operation command for turning on the lighting fixture 12a is transmitted from the switch 11b to the lighting fixture 12a.

なお、第1ネットワークN1に接続されるコントローラ11a、スイッチ11b及び照明器具12aの数は、図1に示された数でなくてもよい。例えば、スイッチ11bが2以上あってもよいし、スイッチ11bがなくてもよいし、照明器具12aが3以上あってもよい。 The number of controllers 11a, switches 11b, and lighting fixtures 12a connected to the first network N1 does not have to be the number shown in FIG. For example, there may be two or more switches 11b, there may be no switch 11b, and there may be three or more lighting fixtures 12a.

以下、第1ネットワークN1に接続されているマスタ機器を第1マスタ機器11といい、第1ネットワークN1に接続されているスレーブ機器を第1スレーブ機器12という。コントローラ11a及びスイッチ11bは第1マスタ機器11であり、照明器具12aは第1スレーブ機器12である。 Hereinafter, the master device connected to the first network N1 is referred to as a first master device 11, and the slave device connected to the first network N1 is referred to as a first slave device 12. The controller 11a and the switch 11b are the first master device 11, and the luminaire 12a is the first slave device 12.

第2ネットワークN2は、集中管理型ネットワークによる照明制御ネットワークである。集中管理型ネットワークとは、1のマスタ機器が1以上のスレーブ機器を管理するネットワークである。つまり、同一ネットワーク内には1のマスタ機器のみを接続することができる。マスタ機器は、マルチマスタ型ネットワークの場合と同様に、スレーブ機器を操作するための操作指令を送信できる。また、スレーブ機器は、マスタ機器に対して、操作指令の送信を要求するための操作要求を送信できる。操作要求を受信したマスタ機器は、操作要求に対応する操作指令を送信する。なお、操作要求を送信したスレーブ機器と操作指令の対象となるスレーブ機器は必ずしも一致しない。 The second network N2 is a lighting control network by a centralized management type network. The centralized management type network is a network in which one master device manages one or more slave devices. That is, only one master device can be connected in the same network. The master device can transmit an operation command for operating the slave device as in the case of the multi-master network. Further, the slave device can transmit an operation request for requesting the transmission of the operation command to the master device. The master device that receives the operation request transmits the operation command corresponding to the operation request. The slave device that sent the operation request and the slave device that is the target of the operation command do not always match.

第2ネットワークN2には、コントローラ21aがマスタ機器として接続されており、照明器具22a及びスイッチ22bがスレーブ機器として接続されている。例えば、ユーザが、コントローラ21aにより照明器具22aをオンにする操作をすると、照明器具22aをオンにするための操作指令がコントローラ21aから照明器具22aに送信される。一方、ユーザがスイッチ22bをオンにする操作をすると、まず、照明器具22aをオンにするための操作指令の送信を要求するための操作要求がスイッチ22bからコントローラ21aに送信される。次に、操作要求を受信したコントローラ21aが、照明器具22aをオンにするための操作指令を照明器具22aに送信する。 The controller 21a is connected to the second network N2 as a master device, and the lighting fixture 22a and the switch 22b are connected as slave devices. For example, when the user operates the lighting fixture 22a by the controller 21a, an operation command for turning on the lighting fixture 22a is transmitted from the controller 21a to the lighting fixture 22a. On the other hand, when the user operates to turn on the switch 22b, first, an operation request for requesting the transmission of an operation command for turning on the lighting fixture 22a is transmitted from the switch 22b to the controller 21a. Next, the controller 21a that has received the operation request transmits an operation command for turning on the lighting fixture 22a to the lighting fixture 22a.

なお、第2ネットワークN2では、第1ネットワークN1とは異なる通信プロトコルが使用されている。また、第2ネットワークN2に接続されるスイッチ22b及び照明器具22aの数は、図1に示された数でなくてもよい。ただし、第2ネットワークN2に接続されるコントローラ21aは1つでなければならない。 The second network N2 uses a communication protocol different from that of the first network N1. Further, the number of switches 22b and lighting fixtures 22a connected to the second network N2 does not have to be the number shown in FIG. However, the number of controllers 21a connected to the second network N2 must be one.

以下、第2ネットワークN2に接続されているマスタ機器を第2マスタ機器21といい、第2ネットワークN2に接続されているスレーブ機器を第2スレーブ機器22という。コントローラ21aは第2マスタ機器21であり、照明器具22a及びスイッチ22bは第2スレーブ機器22である。 Hereinafter, the master device connected to the second network N2 is referred to as a second master device 21, and the slave device connected to the second network N2 is referred to as a second slave device 22. The controller 21a is the second master device 21, and the luminaire 22a and the switch 22b are the second slave devices 22.

次に、照明システム1の各構成を説明する。コントローラ11a及びスイッチ11bは、第1ネットワークN1に接続された第1マスタ機器11である。コントローラ11a及びスイッチ11bは、照明器具12aを操作するための操作指令を、第1スレーブ機器12である照明器具12aに送信する。コントローラ11a及びスイッチ11bは、例えば、照明器具12aをオンオフしたり、照明器具12aの明るさ、色温度などを変更したりするための操作指令を照明器具12aに送信する。また、コントローラ11a及びスイッチ11bは、第2ネットワークN2に接続された照明器具22aを操作対象に含む操作指令を、ゲートウェイ装置100に送信する。これは、後述のグループを操作対象とした操作指令を送信する場合が該当する。 Next, each configuration of the lighting system 1 will be described. The controller 11a and the switch 11b are first master devices 11 connected to the first network N1. The controller 11a and the switch 11b transmit an operation command for operating the lighting fixture 12a to the lighting fixture 12a which is the first slave device 12. The controller 11a and the switch 11b transmit, for example, an operation command for turning on / off the lighting fixture 12a and changing the brightness, color temperature, etc. of the lighting fixture 12a to the lighting fixture 12a. Further, the controller 11a and the switch 11b transmit an operation command including the lighting fixture 22a connected to the second network N2 as an operation target to the gateway device 100. This corresponds to the case of transmitting an operation command targeting a group described later.

照明器具12aは、第1ネットワークN1に接続された第1スレーブ機器12である。照明器具12aは、第1マスタ機器11であるコントローラ11a及びスイッチ11bから操作指令を受信し、操作指令に応じた動作を行う。また、照明器具12aは、ゲートウェイ装置100からも操作指令を受信する。後述するとおり、ゲートウェイ装置100はマスタ機器として第1ネットワークN1に接続されており、ゲートウェイ装置100も第1スレーブ機器12に操作指令を送信することができるからである。 The luminaire 12a is a first slave device 12 connected to the first network N1. The luminaire 12a receives an operation command from the controller 11a and the switch 11b, which are the first master devices 11, and operates in response to the operation command. The lighting fixture 12a also receives an operation command from the gateway device 100. This is because, as will be described later, the gateway device 100 is connected to the first network N1 as a master device, and the gateway device 100 can also transmit an operation command to the first slave device 12.

コントローラ21aは、第2ネットワークN2に接続された第2マスタ機器21である。コントローラ21aは、照明器具22aを操作するための操作指令を、第2スレーブ機器22である照明器具22aに送信する。コントローラ21aは、例えば、照明器具22aをオンオフしたり、照明器具22aの明るさ、色温度などを変更したりするための操作指令を照明器具22aに送信する。また、コントローラ21aは、第1ネットワークN1に接続された照明器具12aを操作対象に含む操作指令を、ゲートウェイ装置100に送信する。これは、後述のグループを操作対象とした操作指令を送信する場合が該当する。 The controller 21a is a second master device 21 connected to the second network N2. The controller 21a transmits an operation command for operating the lighting fixture 22a to the lighting fixture 22a which is the second slave device 22. The controller 21a transmits, for example, an operation command for turning on / off the lighting fixture 22a and changing the brightness, color temperature, etc. of the lighting fixture 22a to the lighting fixture 22a. Further, the controller 21a transmits an operation command including the lighting fixture 12a connected to the first network N1 as an operation target to the gateway device 100. This corresponds to the case of transmitting an operation command targeting a group described later.

コントローラ21aは、第2スレーブ機器22であるスイッチ22bから操作要求を受信する。また、コントローラ21aは、ゲートウェイ装置100からも操作要求を受信する。後述するとおり、ゲートウェイ装置100はスレーブ機器として第2ネットワークN2に接続されており、ゲートウェイ装置100も第2マスタ機器21に操作要求を送信することができるからである。コントローラ21aは、受信した操作要求に応じた操作指令を送信する。 The controller 21a receives an operation request from the switch 22b, which is the second slave device 22. The controller 21a also receives an operation request from the gateway device 100. This is because, as will be described later, the gateway device 100 is connected to the second network N2 as a slave device, and the gateway device 100 can also send an operation request to the second master device 21. The controller 21a transmits an operation command corresponding to the received operation request.

照明器具22aは、第2ネットワークN2に接続された第2スレーブ機器22である。照明器具22aは、コントローラ21aから操作指令を受信し、操作指令に応じた動作を行う。 The luminaire 22a is a second slave device 22 connected to the second network N2. The lighting fixture 22a receives an operation command from the controller 21a and operates in response to the operation command.

スイッチ22bは、第2ネットワークN2に接続された第2スレーブ機器22である。ユーザがスイッチ22bを操作すると、スイッチ22bは、操作要求をコントローラ21aに送信する。 The switch 22b is a second slave device 22 connected to the second network N2. When the user operates the switch 22b, the switch 22b sends an operation request to the controller 21a.

ゲートウェイ装置100は、第1ネットワークN1と第2ネットワークN2とを相互に接続するゲートウェイ装置である。ゲートウェイ装置100は、第1ネットワークN1と第2ネットワークN2との間の通信を中継する。ゲートウェイ装置100は、マスタ機器として第1ネットワークN1に接続されており、スレーブ機器として第2ネットワークN2に接続されている。ゲートウェイ装置100により、第1マスタ機器11が照明器具22aを操作することも、第2マスタ機器21が照明器具12aを操作することも可能となる。ゲートウェイ装置100は、本発明に係るゲートウェイ装置の一例である。また、ゲートウェイ装置100により第1ネットワークN1と第2ネットワークN2との間の通信を中継する方法は、本発明に係る通信方法の一例である。 The gateway device 100 is a gateway device that interconnects the first network N1 and the second network N2. The gateway device 100 relays communication between the first network N1 and the second network N2. The gateway device 100 is connected to the first network N1 as a master device and is connected to the second network N2 as a slave device. The gateway device 100 allows the first master device 11 to operate the luminaire 22a and the second master device 21 to operate the luminaire 12a. The gateway device 100 is an example of the gateway device according to the present invention. Further, the method of relaying the communication between the first network N1 and the second network N2 by the gateway device 100 is an example of the communication method according to the present invention.

ゲートウェイ装置100は、第1マスタ機器11から操作指令を受信する。以下、ゲートウェイ装置100が第1マスタ機器11から受信する操作指令を第1操作指令という。ゲートウェイ装置100は、第1操作指令を操作要求に変換し、第2マスタ機器21に送信する。以下、ゲートウェイ装置100が第2マスタ機器21に送信する操作要求を第1操作要求という。 The gateway device 100 receives an operation command from the first master device 11. Hereinafter, the operation command received by the gateway device 100 from the first master device 11 is referred to as a first operation command. The gateway device 100 converts the first operation command into an operation request and transmits it to the second master device 21. Hereinafter, the operation request transmitted by the gateway device 100 to the second master device 21 is referred to as a first operation request.

ゲートウェイ装置100は、第2マスタ機器21から操作指令を受信する。以下、ゲートウェイ装置100が第2マスタ機器21から受信する操作指令を第2操作指令という。ゲートウェイ装置100は、第2操作指令に対応する第1操作指令を受信済でないときのみ、第2操作指令を第1ネットワークN1に適合した操作指令に変換して、変換した操作指令を操作対象となる第1スレーブ機器12に送信する。以下、ゲートウェイ装置100が、第2操作指令を変換して第1スレーブ機器12に送信する操作指令を第3操作指令という。 The gateway device 100 receives an operation command from the second master device 21. Hereinafter, the operation command received by the gateway device 100 from the second master device 21 is referred to as a second operation command. The gateway device 100 converts the second operation command into an operation command conforming to the first network N1 only when the first operation command corresponding to the second operation command has not been received, and sets the converted operation command as the operation target. Is transmitted to the first slave device 12. Hereinafter, the operation command in which the gateway device 100 converts the second operation command and transmits it to the first slave device 12 is referred to as a third operation command.

なお、「第2操作要求」は、実施の形態1においては定義されず、実施の形態2にて定義される。 The "second operation request" is not defined in the first embodiment, but is defined in the second embodiment.

図2を参照しながら、ゲートウェイ装置100の機能的構成を説明する。ゲートウェイ装置100は、第1通信部101と、第2通信部102と、対応情報記憶部111と、機器情報記憶部112と、指令記憶部113と、制御部120と、を備える。 The functional configuration of the gateway device 100 will be described with reference to FIG. The gateway device 100 includes a first communication unit 101, a second communication unit 102, a corresponding information storage unit 111, a device information storage unit 112, a command storage unit 113, and a control unit 120.

第1通信部101は、第1ネットワークN1と接続されている。第1通信部101は、第1マスタ機器11及び第1スレーブ機器12と通信する。第1通信部101は、第1マスタ機器11から第1操作指令を受信し、制御部120に出力する。第1通信部101は、制御部120から第3操作指令を取得し、操作対象となる第1スレーブ機器12に送信する。第1通信部101は、本発明に係る第1受信手段及び第2送信手段の一例である。 The first communication unit 101 is connected to the first network N1. The first communication unit 101 communicates with the first master device 11 and the first slave device 12. The first communication unit 101 receives the first operation command from the first master device 11 and outputs it to the control unit 120. The first communication unit 101 acquires a third operation command from the control unit 120 and transmits it to the first slave device 12 to be operated. The first communication unit 101 is an example of the first receiving means and the second transmitting means according to the present invention.

第2通信部102は、第2ネットワークN2と接続されている。第2通信部102は、第2マスタ機器21と通信する。第2通信部102は、制御部120から第1操作要求を取得し、第2マスタ機器21に送信する。第2通信部102は、第2マスタ機器21から第2操作指令を受信し、制御部120に出力する。第2通信部102は、本発明に係る第1送信手段及び第2受信手段の一例である。 The second communication unit 102 is connected to the second network N2. The second communication unit 102 communicates with the second master device 21. The second communication unit 102 acquires the first operation request from the control unit 120 and transmits it to the second master device 21. The second communication unit 102 receives the second operation command from the second master device 21 and outputs it to the control unit 120. The second communication unit 102 is an example of the first transmitting means and the second receiving means according to the present invention.

対応情報記憶部111は、第1ネットワークN1で使用されるコマンドと第2ネットワークN2で使用されるコマンドとの対応関係を示す対応情報を記憶する。図3は、対応情報の一例を示すものである。第1ネットワークN1と第2ネットワークN2はそれぞれ通信プロトコルが異なる照明制御ネットワークであるため、各照明制御ネットワークで使用されるコマンドもそれぞれ異なり得る。操作指令及び操作要求は、スレーブ機器を操作するためのコマンドを含む。そのため、第1操作指令を第1操作要求に変換する場合及び第2操作指令を第3操作指令に変換する場合、対応情報に基づいてコマンドを変換する必要がある。 The correspondence information storage unit 111 stores correspondence information indicating the correspondence between the command used in the first network N1 and the command used in the second network N2. FIG. 3 shows an example of correspondence information. Since the first network N1 and the second network N2 are lighting control networks having different communication protocols, the commands used in each lighting control network may also be different. Operation commands and operation requests include commands for operating slave devices. Therefore, when converting the first operation command into the first operation request and when converting the second operation command into the third operation command, it is necessary to convert the command based on the corresponding information.

図3に示す例において、照明器具を点灯させるコマンドは、第1ネットワークN1においては「ON」である一方、第2ネットワークN2においては「明るさ変更(100%)」である。そのため、例えば、第1操作指令に「ON」コマンドが含まれる場合、第1操作要求には、「ON」コマンドに代えて「明るさ変更(100%)」コマンドが含まれることとなる。 In the example shown in FIG. 3, the command for turning on the lighting fixture is "ON" in the first network N1 while "brightness change (100%)" in the second network N2. Therefore, for example, when the first operation command includes the "ON" command, the first operation request includes the "brightness change (100%)" command instead of the "ON" command.

再び図2を参照する。機器情報記憶部112は、ゲートウェイ装置100に接続された各機器の情報である機器情報を記憶する。図4は、機器情報の一例を示すものである。図4に示すとおり、機器情報は、機器がどのネットワークに所属しているかを示す情報と、機器の種別を示す情報と、機器に割り当てられたアドレスと、機器がどのグループに所属しているかを示す情報と、機器の状態を示す情報と、を含む。 See FIG. 2 again. The device information storage unit 112 stores device information, which is information of each device connected to the gateway device 100. FIG. 4 shows an example of device information. As shown in FIG. 4, the device information includes information indicating which network the device belongs to, information indicating the type of the device, the address assigned to the device, and which group the device belongs to. Includes information indicating and information indicating the state of the device.

マスタ機器が操作指令によりスレーブ機器を操作するとき、操作指令の操作対象としてグループを指定することにより、マスタ機器は当該グループに所属するスレーブ機器を一括操作することができる。スレーブ機器がどのグループに属するかを示す情報は、例えば各スレーブ機器が保持する。そして、各スレーブ機器が定期的に自身の属するグループを示す情報をネットワーク上にブロードキャストすることにより、マスタ機器及びゲートウェイ装置100は、各スレーブ機器がどのグループに属するかの情報を受信できる。 When the master device operates the slave device by the operation command, the master device can collectively operate the slave devices belonging to the group by designating the group as the operation target of the operation command. For example, each slave device holds information indicating which group the slave device belongs to. Then, by periodically broadcasting information indicating the group to which each slave device belongs on the network, the master device and the gateway device 100 can receive information on which group each slave device belongs to.

また、同一のグループが設定されている第1スレーブ機器12及び第2スレーブ機器22が存在する場合、当該グループを操作対象とした操作指令をマスタ機器が送信し、ゲートウェイ装置100が操作指令を受信して中継することにより、自身と異なるネットワークに接続されているスレーブ機器も操作できる。 When the first slave device 12 and the second slave device 22 in which the same group is set exist, the master device transmits an operation command for the group, and the gateway device 100 receives the operation command. By relaying, you can also operate slave devices connected to a network different from your own.

機器の状態を示す情報とは、例えば照明器具の現在の明るさ、色合いなどに関する情報である。図4に示す例では、機器情報は、照明器具以外の機器については状態を示す情報を含まないが、マスタ機器あるいはその他のスレーブ機器の状態を示す情報を含んでもよい。例えば、機器情報は、マスタ機器であるコントローラに設けられたスイッチがオンであるかオフであるかを示す情報を含んでもよい。 The information indicating the state of the device is, for example, information on the current brightness, color, etc. of the lighting fixture. In the example shown in FIG. 4, the device information does not include information indicating the state of the device other than the lighting equipment, but may include information indicating the state of the master device or other slave devices. For example, the device information may include information indicating whether the switch provided in the controller, which is the master device, is on or off.

再び図2を参照する。指令記憶部113は、操作指令に対応する指令情報を記憶する。指令情報とは、操作指令の内容を含む情報である。操作指令の内容とは、操作対象となるスレーブ機器を特定する情報と操作対象に対する操作を含む内容である。図5は、指令情報の一例を示すものである。指令情報は、操作指令の内容として、操作対象とコマンドを含む。操作対象は、アドレスまたはグループにより指定される。指令情報は、操作指令の内容以外の情報として、受信時刻、送信元ネットワーク及びシーケンス番号を示す情報を含む。なお、後述のとおり、実施の形態1では、指令記憶部113には、第1操作指令に対応する指令情報のみが保存されるので、図5に示す送信元ネットワークは全て第1ネットワークN1である。指令記憶部113は、本発明に係る指令記憶手段の一例である。 See FIG. 2 again. The command storage unit 113 stores command information corresponding to the operation command. The command information is information including the contents of the operation command. The content of the operation command includes information for specifying the slave device to be operated and an operation for the operation target. FIG. 5 shows an example of command information. The command information includes an operation target and a command as the contents of the operation command. The operation target is specified by an address or a group. The command information includes information indicating the reception time, the source network, and the sequence number as information other than the contents of the operation command. As will be described later, in the first embodiment, since only the command information corresponding to the first operation command is stored in the command storage unit 113, all the source networks shown in FIG. 5 are the first network N1. .. The command storage unit 113 is an example of the command storage means according to the present invention.

受信時刻及び送信元ネットワークを示す情報は、制御部120が、指令情報を指令記憶部113に保存する際に、操作指令に含まれるその他の情報と関連付けて保存する。シーケンス番号は、マスタ機器が操作指令を送信する際に当該操作指令に付与される、操作指令を個別に識別するための番号である。ただし、通信プロトコルによっては、シーケンス番号が操作指令に付与されない場合もある。 When the control unit 120 stores the command information in the command storage unit 113, the information indicating the reception time and the source network is stored in association with other information included in the operation command. The sequence number is a number assigned to the operation command when the master device transmits the operation command, for individually identifying the operation command. However, depending on the communication protocol, the sequence number may not be assigned to the operation command.

再び図2を参照する。制御部120は、ゲートウェイ装置100を統括制御する。制御部120は、第1変換部121と、判定部122と、第2変換部123と、を備える。 See FIG. 2 again. The control unit 120 controls the gateway device 100 in an integrated manner. The control unit 120 includes a first conversion unit 121, a determination unit 122, and a second conversion unit 123.

制御部120は、第1通信部101から第1操作指令を取得する。制御部120は、機器情報記憶部112が記憶する機器情報を参照し、第1操作指令の操作対象に第2スレーブ機器22が含まれるか否かを判定する。制御部120は、第1操作指令の操作対象に第2スレーブ機器22が含まれるときのみ、第1操作指令に対応する指令情報を指令記憶部113に保存し、第1変換部121により第1操作指令を第1操作要求に変換する。 The control unit 120 acquires the first operation command from the first communication unit 101. The control unit 120 refers to the device information stored in the device information storage unit 112, and determines whether or not the second slave device 22 is included in the operation target of the first operation command. The control unit 120 stores the command information corresponding to the first operation command in the command storage unit 113 only when the operation target of the first operation command includes the second slave device 22, and the first conversion unit 121 stores the command information in the command storage unit 113. Convert the operation command into the first operation request.

例えば、第1操作指令の操作対象としてグループ1が指定され、グループ1に所属する第2スレーブ機器22が存在する場合、制御部120は、第1操作指令の操作対象に第2スレーブ機器22が含まれると判定する。また、第1操作指令の操作対象として第2スレーブ機器22のアドレスが指定された場合にも、制御部120は、第1操作指令の操作対象に第2スレーブ機器22が含まれると判定する。 For example, when the group 1 is designated as the operation target of the first operation command and the second slave device 22 belonging to the group 1 exists, the control unit 120 sets the second slave device 22 as the operation target of the first operation command. Judged to be included. Further, even when the address of the second slave device 22 is designated as the operation target of the first operation command, the control unit 120 determines that the second slave device 22 is included in the operation target of the first operation command.

第1変換部121は、対応情報記憶部111が記憶する対応情報を参照し、第1操作指令に含まれる第1ネットワークN1用のコマンドを第2ネットワークN2用のコマンドに変換する。第1変換部121は、コマンド変換後の操作指令を、第2ネットワークN2の通信プロトコルに適合した、第2マスタ機器21への第1操作要求に変換する。この際、第1操作要求に含まれるシーケンス番号は、そのまま第1操作要求に含まれるシーケンス番号となる。第1操作要求は、第1操作指令に対応する操作指令の送信を第2マスタ機器21に要求するための操作要求となる。第1変換部121は、第1操作要求を第2通信部102に出力する。第1変換部121は、本発明に係る第1変換手段の一例である。 The first conversion unit 121 refers to the correspondence information stored in the correspondence information storage unit 111, and converts the command for the first network N1 included in the first operation command into the command for the second network N2. The first conversion unit 121 converts the operation command after the command conversion into the first operation request to the second master device 21 conforming to the communication protocol of the second network N2. At this time, the sequence number included in the first operation request becomes the sequence number included in the first operation request as it is. The first operation request is an operation request for requesting the second master device 21 to transmit the operation command corresponding to the first operation command. The first conversion unit 121 outputs the first operation request to the second communication unit 102. The first conversion unit 121 is an example of the first conversion means according to the present invention.

制御部120は、第2通信部102から第2操作指令を取得する。制御部120は、機器情報記憶部112が記憶する機器情報を参照し、第2操作指令の操作対象に第1スレーブ機器12が含まれるか否かを判定する。 The control unit 120 acquires a second operation command from the second communication unit 102. The control unit 120 refers to the device information stored in the device information storage unit 112, and determines whether or not the first slave device 12 is included in the operation target of the second operation command.

制御部120は、操作対象に第1スレーブ機器12が含まれると判定したとき、判定部122により、第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定する。 When the control unit 120 determines that the operation target includes the first slave device 12, the determination unit 122 determines whether or not the command information corresponding to the second operation command is stored in the command storage unit 113. ..

判定部122は、指令記憶部113が記憶する指令情報と対応情報記憶部111が記憶する対応情報を参照し、第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定する。第1ネットワークN1と第2ネットワークN2とで使用されるコマンドが異なる場合、同一の操作が意図された操作指令であってもコマンドが異なる。そのため、判定部122は、第2操作指令に対応する指令情報が保存されているか否かを判定する際に、対応情報を参照する。判定部122は、本発明に係る判定手段の一例である。 The determination unit 122 refers to the command information stored in the command storage unit 113 and the correspondence information stored in the correspondence information storage unit 111, and whether or not the command information corresponding to the second operation command is stored in the command storage unit 113. Is determined. When the commands used in the first network N1 and the second network N2 are different, the commands are different even if the operation commands are intended for the same operation. Therefore, the determination unit 122 refers to the corresponding information when determining whether or not the command information corresponding to the second operation command is stored. The determination unit 122 is an example of the determination means according to the present invention.

制御部120は、判定部122により、第2操作指令に対応する指令情報が指令記憶部113に保存されていると判定したとき、指令記憶部113から当該指令情報を削除する。このとき、第2操作指令は何ら変換も送信もされない。つまり、このとき、第2操作指令は、ゲートウェイ装置100を超えて第1ネットワークN1に送信されず、ゲートウェイ装置100により遮断される、といえる。 When the determination unit 122 determines that the command information corresponding to the second operation command is stored in the command storage unit 113, the control unit 120 deletes the command information from the command storage unit 113. At this time, the second operation command is neither converted nor transmitted. That is, at this time, it can be said that the second operation command is not transmitted to the first network N1 beyond the gateway device 100 and is blocked by the gateway device 100.

制御部120は、判定部122により、第2操作指令に対応する指令情報が指令記憶部113に保存されていないと判定したとき、第2変換部123により、第2操作指令を第3操作指令に変換する。 When the control unit 120 determines that the command information corresponding to the second operation command is not stored in the command storage unit 113 by the determination unit 122, the second conversion unit 123 issues the second operation command to the third operation command. Convert to.

第2変換部123は、対応情報記憶部111が記憶する対応情報を参照し、第2操作指令に含まれる第2ネットワークN2用のコマンドを第1ネットワークN1用のコマンドに変換する。第2変換部123は、コマンド変換後の操作指令を、第1ネットワークN1の通信プロトコルに適合した、操作対象となる第1スレーブ機器12への第3操作指令に変換する。第2変換部123は、第3操作指令を第1通信部101に出力する。第2変換部123は、本発明に係る第2変換手段の一例である。 The second conversion unit 123 refers to the correspondence information stored in the correspondence information storage unit 111, and converts the command for the second network N2 included in the second operation command into the command for the first network N1. The second conversion unit 123 converts the operation command after the command conversion into a third operation command to the first slave device 12 to be operated, which conforms to the communication protocol of the first network N1. The second conversion unit 123 outputs the third operation command to the first communication unit 101. The second conversion unit 123 is an example of the second conversion means according to the present invention.

制御部120は、指令記憶部113が記憶する指令情報のうち、受信時刻から一定時間経過したものを、指令記憶部113から削除する。一定時間とは、第2通信部102が第1操作要求を第2マスタ機器21に送信してから、第2マスタ機器21が第1操作要求に応じた第2操作指令を送信するまでに十分な時間であり、例えば1分間である。 The control unit 120 deletes the command information stored in the command storage unit 113 from the command storage unit 113 after a certain period of time has elapsed from the reception time. The fixed time is sufficient from the time when the second communication unit 102 transmits the first operation request to the second master device 21 until the second master device 21 transmits the second operation command in response to the first operation request. Time, for example, 1 minute.

次に、ゲートウェイ装置100のハードウェア構成の一例について、図6を参照しながら説明する。図6に示すゲートウェイ装置100は、例えばパーソナルコンピュータ、マイクロコントローラなどのコンピュータにより実現される。 Next, an example of the hardware configuration of the gateway device 100 will be described with reference to FIG. The gateway device 100 shown in FIG. 6 is realized by a computer such as a personal computer or a microcontroller.

ゲートウェイ装置100は、バス1000を介して互いに接続された、プロセッサ1001と、メモリ1002と、インタフェース1003と、二次記憶装置1004と、を備える。 The gateway device 100 includes a processor 1001, a memory 1002, an interface 1003, and a secondary storage device 1004, which are connected to each other via a bus 1000.

プロセッサ1001は、例えばCPU(Central Processing Unit: 中央演算装置)である。プロセッサ1001が、二次記憶装置1004に記憶された制御プログラムをメモリ1002に読み込んで実行することにより、ゲートウェイ装置100の各機能が実現される。 The processor 1001 is, for example, a CPU (Central Processing Unit). Each function of the gateway device 100 is realized by the processor 1001 reading the control program stored in the secondary storage device 1004 into the memory 1002 and executing the control program.

メモリ1002は、例えば、RAM(Random Access Memory)により構成される主記憶装置である。メモリ1002は、プロセッサ1001が二次記憶装置1004から読み込んだ制御プログラムを記憶する。また、メモリ1002は、プロセッサ1001が制御プログラムを実行する際のワークメモリとして機能する。 The memory 1002 is, for example, a main storage device configured by RAM (Random Access Memory). The memory 1002 stores the control program read from the secondary storage device 1004 by the processor 1001. Further, the memory 1002 functions as a work memory when the processor 1001 executes a control program.

インタフェース1003は、例えばシリアルポート、パラレルポートなどのI/O(Input/Output)ポートである。インタフェース1003により、第1通信部101及び第2通信部102の機能が実現される。 The interface 1003 is an I / O (Input / Output) port such as a serial port or a parallel port. The interface 1003 realizes the functions of the first communication unit 101 and the second communication unit 102.

二次記憶装置1004は、例えば、フラッシュメモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)である。二次記憶装置1004は、プロセッサ1001が実行する制御プログラムを記憶する。また、二次記憶装置1004により、対応情報記憶部111、機器情報記憶部112及び指令記憶部113の機能が実現される。 The secondary storage device 1004 is, for example, a flash memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive). The secondary storage device 1004 stores a control program executed by the processor 1001. Further, the secondary storage device 1004 realizes the functions of the corresponding information storage unit 111, the device information storage unit 112, and the command storage unit 113.

次に、図7を参照しながら、ゲートウェイ装置100による、第1マスタ機器11から受信した第1操作指令を第2ネットワークN2に中継する処理の一例を説明する。図7に示す処理は、第1通信部101が第1操作指令を受信し、制御部120が第1通信部101から第1操作指令を取得したタイミングで開始される。 Next, with reference to FIG. 7, an example of the process of relaying the first operation command received from the first master device 11 to the second network N2 by the gateway device 100 will be described. The process shown in FIG. 7 is started at the timing when the first communication unit 101 receives the first operation command and the control unit 120 receives the first operation command from the first communication unit 101.

ゲートウェイ装置100の制御部120は、機器情報記憶部112が記憶する機器情報を参照し、第1操作指令の操作対象に第2スレーブ機器22が含まれるか否かを判定する(ステップS11)。第1操作指令の操作対象には第2スレーブ機器22が含まれていないと判定した時(ステップS11:No)、操作指令を第2ネットワークN2に中継する必要がないので、制御部120は、第1操作指令の中継の処理を終了する。 The control unit 120 of the gateway device 100 refers to the device information stored in the device information storage unit 112, and determines whether or not the second slave device 22 is included in the operation target of the first operation command (step S11). When it is determined that the operation target of the first operation command does not include the second slave device 22 (step S11: No), the control unit 120 does not need to relay the operation command to the second network N2. The process of relaying the first operation command is terminated.

第1操作指令の操作対象に第2スレーブ機器22が含まれていると判定した時(ステップS11:Yes)、制御部120は、第1操作指令に対応する指令情報を指令記憶部113に保存する(ステップS12)。 When it is determined that the operation target of the first operation command includes the second slave device 22 (step S11: Yes), the control unit 120 saves the command information corresponding to the first operation command in the command storage unit 113. (Step S12).

制御部120の第1変換部121は、第1操作指令を第2マスタ機器21への第1操作要求に変換する(ステップS13)。 The first conversion unit 121 of the control unit 120 converts the first operation command into a first operation request to the second master device 21 (step S13).

第1変換部121は、第2通信部102を介して、第1操作要求を第2マスタ機器21に送信する(ステップS14)。そして制御部120は、第1操作指令の中継の処理を終了する。 The first conversion unit 121 transmits the first operation request to the second master device 21 via the second communication unit 102 (step S14). Then, the control unit 120 ends the process of relaying the first operation command.

次に、図8を参照しながら、ゲートウェイ装置100による、第2マスタ機器21から受信した第2操作指令を第1ネットワークN1に中継する処理の一例を説明する。図8に示す処理は、第2通信部102が第2操作指令を受信し、制御部120が第2通信部102から第2操作指令を取得したタイミングで開始される。 Next, with reference to FIG. 8, an example of the process of relaying the second operation command received from the second master device 21 to the first network N1 by the gateway device 100 will be described. The process shown in FIG. 8 is started at the timing when the second communication unit 102 receives the second operation command and the control unit 120 acquires the second operation command from the second communication unit 102.

ゲートウェイ装置100の制御部120は、機器情報記憶部112が記憶する機器情報を参照し、第2操作指令の操作対象に第1スレーブ機器12が含まれるか否かを判定する(ステップS21)。第2操作指令の操作対象には第1スレーブ機器12が含まれていないと判定した時(ステップS21:No)、操作指令を第1ネットワークN1に中継する必要がないので、制御部120は、第2操作指令の中継の処理を終了する。 The control unit 120 of the gateway device 100 refers to the device information stored in the device information storage unit 112, and determines whether or not the first slave device 12 is included in the operation target of the second operation command (step S21). When it is determined that the operation target of the second operation command does not include the first slave device 12 (step S21: No), the control unit 120 does not need to relay the operation command to the first network N1. The process of relaying the second operation command is terminated.

第2操作指令の操作対象に第1スレーブ機器12が含まれていると判定した時(ステップS21:Yes)、制御部120の判定部122は、指令記憶部113が記憶する指令情報と対応情報記憶部111が記憶する対応情報を参照し、第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定する(ステップS22)。判定部122は、例えば、第2操作指令に含まれるコマンドを対応情報に基づいて一時的に変換した上で、第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定する。この一時的な変換により、操作対象及びコマンドが完全一致するか否かを判定することによって第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定することができる。 When it is determined that the operation target of the second operation command includes the first slave device 12 (step S21: Yes), the determination unit 122 of the control unit 120 has the command information and the corresponding information stored in the command storage unit 113. With reference to the corresponding information stored in the storage unit 111, it is determined whether or not the command information corresponding to the second operation command is stored in the command storage unit 113 (step S22). For example, the determination unit 122 temporarily converts the command included in the second operation command based on the corresponding information, and then whether or not the command information corresponding to the second operation command is stored in the command storage unit 113. To judge. By this temporary conversion, it is possible to determine whether or not the command information corresponding to the second operation command is stored in the command storage unit 113 by determining whether or not the operation target and the command completely match. ..

あるいは、第2マスタ機器21が、操作要求に応じて第2操作指令を送信する際に、操作要求に含まれるシーケンス番号と同一のシーケンス番号を第2操作指令に含んで送信する場合には、判定部122は、第2操作指令に含まれるシーケンス番号と指令情報に含まれるシーケンス番号とが同一か否かを判定することにより、第2操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定してもよい。 Alternatively, when the second master device 21 transmits the second operation command in response to the operation request, the second operation command includes the same sequence number as the sequence number included in the operation request and transmits the second operation command. The determination unit 122 determines whether or not the sequence number included in the second operation command and the sequence number included in the command information are the same, so that the command information corresponding to the second operation command is stored in the command storage unit 113. It may be determined whether or not it has been done.

第2操作指令に対応する指令情報が指令記憶部113に保存されていると判定したとき(ステップS22:Yes)、制御部120は、当該指令情報を指令記憶部113から削除し(ステップS23)、第2操作指令の中継の処理を終了する。この場合、第2操作指令は第1ネットワークN1に中継されず、ゲートウェイ装置100により遮断されることとなる。指令情報を削除するのは、後述するとおり、第2操作指令を中継せず遮断すれば、操作指令が重複して第1ネットワークN1に送信されることを防ぐことができ、当該指令情報は不要となるからである。 When it is determined that the command information corresponding to the second operation command is stored in the command storage unit 113 (step S22: Yes), the control unit 120 deletes the command information from the command storage unit 113 (step S23). , Ends the relay processing of the second operation command. In this case, the second operation command is not relayed to the first network N1 and is blocked by the gateway device 100. As will be described later, the command information is deleted by blocking the second operation command without relaying it, so that it is possible to prevent the operation command from being duplicated and transmitted to the first network N1, and the command information is unnecessary. Because it becomes.

第2操作指令に対応する指令情報が指令記憶部113には保存されていないと判定したとき(ステップS22:No)、制御部120の第2変換部123は、第2操作指令を、操作対象となる第1スレーブ機器12への第3操作指令に変換する(ステップS24)。 When it is determined that the command information corresponding to the second operation command is not stored in the command storage unit 113 (step S22: No), the second conversion unit 123 of the control unit 120 operates the second operation command. It is converted into a third operation command to the first slave device 12 (step S24).

第2変換部123は、第1通信部101を介して、第3操作指令を操作対象となる第1スレーブ機器12に送信する(ステップS25)。そして制御部120は、第2操作指令の中継の処理を終了する。 The second conversion unit 123 transmits the third operation command to the first slave device 12 to be operated via the first communication unit 101 (step S25). Then, the control unit 120 ends the process of relaying the second operation command.

次に、図9を参照しながら、照明システム1における、操作指令の中継の処理シーケンスを説明する。まず、第1マスタ機器11が、第1スレーブ機器12及びゲートウェイ装置100に第1操作指令を送信する(ステップT1)。なお、この第1操作指令は、操作対象に第2スレーブ機器22を含むものとする。第1操作指令を受信した第1スレーブ機器12は、受信した第1操作指令に応じた動作を行う。 Next, the processing sequence of relaying the operation command in the lighting system 1 will be described with reference to FIG. First, the first master device 11 transmits a first operation command to the first slave device 12 and the gateway device 100 (step T1). It should be noted that this first operation command includes the second slave device 22 as the operation target. The first slave device 12 that has received the first operation command operates according to the received first operation command.

第1操作指令を受信したゲートウェイ装置100は、制御部120により、第1操作指令に対応する指令情報を指令記憶部113に保存する(ステップT2)。 Upon receiving the first operation command, the gateway device 100 stores the command information corresponding to the first operation command in the command storage unit 113 by the control unit 120 (step T2).

続いて、ゲートウェイ装置100は、制御部120の第1変換部121により第1操作指令を第1操作要求に変換し、第1操作要求を第2マスタ機器21に送信する(ステップT3)。 Subsequently, the gateway device 100 converts the first operation command into the first operation request by the first conversion unit 121 of the control unit 120, and transmits the first operation request to the second master device 21 (step T3).

第1操作要求を受信した第2マスタ機器21は、第1操作要求に対応する第2操作指令を第2スレーブ機器22及びゲートウェイ装置100に送信する(ステップT4)。第2操作指令を受信した第2スレーブ機器22は、受信した第2操作指令に応じた動作を行う。 The second master device 21 that has received the first operation request transmits a second operation command corresponding to the first operation request to the second slave device 22 and the gateway device 100 (step T4). The second slave device 22 that has received the second operation command operates according to the received second operation command.

第2操作指令を受信したゲートウェイ装置100の制御部120は、第2操作指令の中継を遮断する(ステップT5)。第2操作指令は第1操作要求に対応する操作指令であるため、当該第2操作指令に対応する指令情報が指令記憶部113に保存されているからである。つまり、ゲートウェイ装置100は、第2操作指令に対応する第1操作指令を受信済であるため、当該第2操作指令の中継を遮断する。 The control unit 120 of the gateway device 100 that has received the second operation command cuts off the relay of the second operation command (step T5). This is because the second operation command is an operation command corresponding to the first operation request, and therefore the command information corresponding to the second operation command is stored in the command storage unit 113. That is, since the gateway device 100 has already received the first operation command corresponding to the second operation command, the relay of the second operation command is blocked.

以上、照明システム1を説明した。照明システム1のゲートウェイ装置100によれば、第2操作指令に対応する第1操作指令を受信済か否かを判定し、受信済ではないと判定したときのみ第2操作指令を第3操作指令に変換して第1スレーブ機器12に送信する。そのため、操作指令が重複して送信されることを防ぐことができる。 The lighting system 1 has been described above. According to the gateway device 100 of the lighting system 1, it is determined whether or not the first operation command corresponding to the second operation command has been received, and only when it is determined that the second operation command has not been received, the second operation command is given to the third operation command. Is converted to and transmitted to the first slave device 12. Therefore, it is possible to prevent duplicate operation commands from being transmitted.

また、ゲートウェイ装置100によれば、既存のネットワーク同士を接続することができる。例えば、第1ネットワークN1及び第2ネットワークN2のそれぞれが独立した既存の照明制御ネットワークである場合、第1ネットワークN1及び第2ネットワークN2にゲートウェイ装置100を接続し、各機器のグループ設定を調整することにより、2つの照明制御ネットワークが接続された照明システム1を構成できる。この際、コントローラ、スイッチ、照明器具などの既存の機器を置き換える必要がないため、低コストにて照明制御ネットワーク同士を接続できる。 Further, according to the gateway device 100, existing networks can be connected to each other. For example, when the first network N1 and the second network N2 are independent existing lighting control networks, the gateway device 100 is connected to the first network N1 and the second network N2, and the group setting of each device is adjusted. Thereby, the lighting system 1 in which the two lighting control networks are connected can be configured. At this time, since it is not necessary to replace existing devices such as controllers, switches, and lighting fixtures, lighting control networks can be connected to each other at low cost.

(実施の形態2)
図10を参照しながら、実施の形態2に係る照明システム1Aを説明する。照明システム1Aは、実施の形態1に係る照明システム1の変形であるため、照明システム1と異なる点を主に説明する。
(Embodiment 2)
The lighting system 1A according to the second embodiment will be described with reference to FIG. Since the lighting system 1A is a modification of the lighting system 1 according to the first embodiment, the differences from the lighting system 1 will be mainly described.

実施の形態1に係る第1ネットワークN1はマルチマスタ型ネットワークであったが、第1ネットワークN1Aは、第2ネットワークN2と同様に集中管理型ネットワークである。そのため、スイッチ12bは、第1マスタ機器11ではなく第1スレーブ機器12となる。 The first network N1 according to the first embodiment is a multi-master type network, but the first network N1A is a centralized management type network like the second network N2. Therefore, the switch 12b is not the first master device 11 but the first slave device 12.

ゲートウェイ装置100は、マスタ機器としてではなく、スレーブ機器として第1ネットワークN1Aに接続されている。したがって、ゲートウェイ装置100は、第2マスタ機器21から受信した第2操作指令を第3操作指令に変換して第1スレーブ機器12に送信するのではなく、第2操作指令を操作要求に変換して第1マスタ機器11に送信する。以下、ゲートウェイ装置100が第1マスタ機器11に送信する操作要求を第2操作要求という。 The gateway device 100 is connected to the first network N1A as a slave device, not as a master device. Therefore, the gateway device 100 does not convert the second operation command received from the second master device 21 into the third operation command and transmits it to the first slave device 12, but converts the second operation command into an operation request. Is transmitted to the first master device 11. Hereinafter, the operation request transmitted by the gateway device 100 to the first master device 11 is referred to as a second operation request.

図2を参照しながら、ゲートウェイ装置100の機能部のうち、実施の形態1の場合と異なるものを説明する。異なる点はいずれも、第1ネットワークN1A及び第2ネットワークN2のいずれも集中管理型ネットワークになったことによるものである。 With reference to FIG. 2, among the functional parts of the gateway device 100, those different from the case of the first embodiment will be described. All the differences are due to the fact that both the first network N1A and the second network N2 have become centralized management networks.

第1通信部101は、第3操作指令を第1スレーブ機器12に送信する代わりに、第2操作要求を第1マスタ機器11に送信する。制御部120は、さらに、第2操作指令の操作対象に第1スレーブ機器12が含まれるときにも、第2操作指令に対応する指令情報を指令記憶部113に保存する。制御部120は、第1操作指令の操作対象に第2スレーブ機器22が含まれると判定したとき、さらに、判定部122により、第1操作指令に対応する指令情報が指令記憶部113に保存されているか否かを判定する。第2変換部123は、第2操作指令を、第3操作指令ではなく、第2操作要求に変換する。 The first communication unit 101 transmits a second operation request to the first master device 11 instead of transmitting the third operation command to the first slave device 12. Further, the control unit 120 stores the command information corresponding to the second operation command in the command storage unit 113 even when the operation target of the second operation command includes the first slave device 12. When the control unit 120 determines that the operation target of the first operation command includes the second slave device 22, the determination unit 122 further stores the command information corresponding to the first operation command in the command storage unit 113. Determine if it is. The second conversion unit 123 converts the second operation command into a second operation request instead of the third operation command.

つまり、各機能部は、第1マスタ機器11から受信する第1操作指令及び第2マスタ機器21から受信する第2操作指令のいずれに対しても、同様の処理を行うこととなる。これは、第1ネットワークN1A、第2ネットワークN2のいずれも集中管理型ネットワークであるため、第1操作指令、第2操作指令のいずれに対しても同じように処理すべきだからである。 That is, each functional unit performs the same processing for both the first operation command received from the first master device 11 and the second operation command received from the second master device 21. This is because both the first network N1A and the second network N2 are centralized management type networks, and therefore both the first operation command and the second operation command should be processed in the same manner.

次に、図11を参照しながら、ゲートウェイ装置100による、第2マスタ機器21から受信した第2操作指令を第1ネットワークN1Aに中継する処理の一例を説明する。ただし、図8もあわせて参照し、図8に示す実施の形態1の場合の処理の一例と異なる点を説明する。 Next, with reference to FIG. 11, an example of the process of relaying the second operation command received from the second master device 21 to the first network N1A by the gateway device 100 will be described. However, with reference to FIG. 8, a point different from the example of the processing in the case of the first embodiment shown in FIG. 8 will be described.

なお、実施の形態2においては、ゲートウェイ装置100による、第1マスタ機器11から受信した第1操作指令を第2ネットワークN2に中継する処理は、図11に示す処理と概ね同様なものとなるため、説明を省略する。 In the second embodiment, the process of relaying the first operation command received from the first master device 11 to the second network N2 by the gateway device 100 is substantially the same as the process shown in FIG. , The explanation is omitted.

図11に示すステップS31、S32及びS33の処理は、図8に示すステップS21、S22及びS23の処理と同様のため説明を省略する。 Since the processing of steps S31, S32 and S33 shown in FIG. 11 is the same as the processing of steps S21, S22 and S23 shown in FIG. 8, the description thereof will be omitted.

判定部122が、第2操作指令に対応する指令情報が指令記憶部113には保存されていないと判定したとき(ステップS32:No)、制御部120は、第2操作指令に対応する指令情報を指令記憶部113に保存する(ステップS34)。第2操作指令に対応する指令情報を指令記憶部113に保存することにより、第1マスタ機器11が第2操作指令に対応する操作指令を送信した場合に、ステップS32以下と同様の処理により、当該操作指令の中継を遮断することができる。 When the determination unit 122 determines that the command information corresponding to the second operation command is not stored in the command storage unit 113 (step S32: No), the control unit 120 determines the command information corresponding to the second operation command. Is stored in the command storage unit 113 (step S34). By storing the command information corresponding to the second operation command in the command storage unit 113, when the first master device 11 transmits the operation command corresponding to the second operation command, the same processing as in step S32 or lower is performed. It is possible to block the relay of the operation command.

第2変換部123は、第2操作指令を第1マスタ機器11への第2操作要求に変換する(ステップS35)。第3操作指令ではなく、第2操作要求に変換する点が、図8に示すステップS24の処理と異なる。 The second conversion unit 123 converts the second operation command into a second operation request to the first master device 11 (step S35). It differs from the process of step S24 shown in FIG. 8 in that it converts it into a second operation request instead of a third operation command.

第2変換部123は、第1通信部101を介して、第2操作要求を第1マスタ機器11に送信する(ステップS36)。そして制御部120は、第2操作指令の中継の処理を終了する。 The second conversion unit 123 transmits the second operation request to the first master device 11 via the first communication unit 101 (step S36). Then, the control unit 120 ends the process of relaying the second operation command.

以上の処理をまとめると、ゲートウェイ装置100は、実施の形態1の場合と同様に、第2操作指令に対応する第1操作指令を受信済ではないときのみ、第2操作指令を中継する。ただし、第3操作指令の送信ではなく、第2操作要求の送信により、第2操作指令を中継する。また、実施の形態1の場合と異なり、ゲートウェイ装置100は、第2操作指令に対応する指令情報も指令記憶部113に保存する。 Summarizing the above processes, the gateway device 100 relays the second operation command only when the first operation command corresponding to the second operation command has not been received, as in the case of the first embodiment. However, the second operation command is relayed by transmitting the second operation request instead of transmitting the third operation command. Further, unlike the case of the first embodiment, the gateway device 100 also stores the command information corresponding to the second operation command in the command storage unit 113.

照明システム1における、操作指令の中継の処理シーケンスは、図9に示す実施の形態1の場合の処理シーケンスと全く同様となるため、説明を省略する。 Since the processing sequence for relaying the operation command in the lighting system 1 is exactly the same as the processing sequence for the first embodiment shown in FIG. 9, the description thereof will be omitted.

以上、照明システム1Aを説明した。照明システム1Aのゲートウェイ装置100によれば、第2操作指令に対応する第1操作指令を受信済か否かを判定し、受信済ではないと判定したときのみ第2操作指令を第2操作要求に変換して第1マスタ機器11に送信する。そのため、実施の形態1の場合と同様に、操作指令が重複して送信されることを防ぐことができる。 The lighting system 1A has been described above. According to the gateway device 100 of the lighting system 1A, it is determined whether or not the first operation command corresponding to the second operation command has been received, and the second operation command is requested only when it is determined that the second operation command has not been received. Is converted to and transmitted to the first master device 11. Therefore, as in the case of the first embodiment, it is possible to prevent duplicate operation commands from being transmitted.

また、実施の形態1の場合と同様に、ゲートウェイ装置100によれば、既存のネットワーク同士を接続することができる。 Further, as in the case of the first embodiment, according to the gateway device 100, existing networks can be connected to each other.

なお、実施の形態1に係るゲートウェイ装置100と実施の形態2に係るゲートウェイ装置100との相違点の1つとして、実施の形態1の場合、第2変換部123は第2操作指令を第3操作指令に変換するが、実施の形態2の場合、第2変換部123は第2操作指令を第2操作要求に変換することが挙げられる。ここで、第3操作指令、第2操作要求のいずれも、第2操作指令の操作対象となる第1スレーブ機器12を制御するための制御情報である、といえる。したがって、実施の形態1、2の場合をまとめて、第2変換部123は、第2操作指令を制御情報に変換する、といえる。そして、第1通信部101は、制御情報を第1マスタ機器11または第1スレーブ機器12に送信する、といえる。 As one of the differences between the gateway device 100 according to the first embodiment and the gateway device 100 according to the second embodiment, in the case of the first embodiment, the second conversion unit 123 issues a second operation command to the third. Although it is converted into an operation command, in the case of the second embodiment, the second conversion unit 123 may convert the second operation command into a second operation request. Here, it can be said that both the third operation command and the second operation request are control information for controlling the first slave device 12 which is the operation target of the second operation command. Therefore, it can be said that the second conversion unit 123 converts the second operation command into the control information by summarizing the cases of the first and second embodiments. Then, it can be said that the first communication unit 101 transmits the control information to the first master device 11 or the first slave device 12.

(変形例)
以上、本発明の実施の形態を説明したが、本発明を実施するにあたっては、種々の形態による変形及び応用が可能である。本発明において、上記実施の形態において説明した構成、機能、動作のどの部分を採用するのかは任意である。また、本発明において、上述した構成、機能、動作のほか、更なる構成、機能、動作が採用されてもよい。
(Modification example)
Although the embodiments of the present invention have been described above, various modifications and applications are possible in carrying out the present invention. In the present invention, which part of the configuration, function, and operation described in the above embodiment is adopted is arbitrary. Further, in the present invention, in addition to the above-mentioned configurations, functions, and operations, further configurations, functions, and operations may be adopted.

実施の形態1においては、第1ネットワークN1の通信プロトコルと第2ネットワークN2の通信プロトコルは異なることを説明した。一方、実施の形態2においては、第1ネットワークN1Aの通信プロトコルと第2ネットワークN2の通信プロトコルは同一のものであってもよい。第1ネットワークN1、第2ネットワークN2のいずれも集中管理型ネットワークであるため、1つのネットワークには2以上のマスタ機器を接続できない。したがって、通信プロトコルが同一であっても、第1ネットワークN1Aと第2ネットワークN2とを単純に接続することができない。したがって、通信プロトコルが同一であっても、ゲートウェイ装置100により双方のネットワークを接続することが有用となる。 In the first embodiment, it has been described that the communication protocol of the first network N1 and the communication protocol of the second network N2 are different. On the other hand, in the second embodiment, the communication protocol of the first network N1A and the communication protocol of the second network N2 may be the same. Since both the first network N1 and the second network N2 are centralized management networks, two or more master devices cannot be connected to one network. Therefore, even if the communication protocol is the same, the first network N1A and the second network N2 cannot be simply connected. Therefore, even if the communication protocol is the same, it is useful to connect both networks by the gateway device 100.

実施の形態1において、指令記憶部113が記憶する指令情報には、コマンドが含まれるものとした。このコマンドは、第1ネットワークN1で使用されるコマンドであり、つまり変換前のコマンドである。しかし、指令情報に含まれるコマンドは、対応情報に基づいて変換されたコマンドであってもよい。この場合、第2操作指令の内容と指令情報の内容とを比較する場合に、第1ネットワークN1で使用されるコマンドと第2ネットワークN2で使用されるコマンドとの差異を考慮する必要がなくなる。 In the first embodiment, the command information stored in the command storage unit 113 includes a command. This command is a command used in the first network N1, that is, a command before conversion. However, the command included in the command information may be a command converted based on the correspondence information. In this case, when comparing the content of the second operation command with the content of the command information, it is not necessary to consider the difference between the command used in the first network N1 and the command used in the second network N2.

図6に示すハードウェア構成においては、ゲートウェイ装置100が二次記憶装置1004を備えている。しかし、これに限らず、二次記憶装置1004をゲートウェイ装置100の外部に設け、インタフェース1003を介してゲートウェイ装置100と二次記憶装置1004とが接続される形態としてもよい。この形態においては、USBフラッシュドライブ、メモリカードなどのリムーバブルメディアも二次記憶装置1004として使用可能である。 In the hardware configuration shown in FIG. 6, the gateway device 100 includes a secondary storage device 1004. However, the present invention is not limited to this, and the secondary storage device 1004 may be provided outside the gateway device 100, and the gateway device 100 and the secondary storage device 1004 may be connected via the interface 1003. In this form, removable media such as a USB flash drive and a memory card can also be used as the secondary storage device 1004.

また、図6に示すハードウェア構成に代えて、ASIC(Application Specific Integrated Circuit: 特定用途向け集積回路)、FPGA(Field Programmable Gate Array)などを用いた専用回路によりゲートウェイ装置100を構成してもよい。また、図6に示すハードウェア構成において、ゲートウェイ装置100の機能の一部を、例えばインタフェース1003に接続された専用回路により実現してもよい。 Further, instead of the hardware configuration shown in FIG. 6, the gateway device 100 may be configured by a dedicated circuit using an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like. .. Further, in the hardware configuration shown in FIG. 6, a part of the functions of the gateway device 100 may be realized by, for example, a dedicated circuit connected to the interface 1003.

1,1A 照明システム、11 第1マスタ機器、11a コントローラ、11b スイッチ、12 第1スレーブ機器、12a 照明器具、12b スイッチ、21 第2マスタ機器、21a コントローラ、22 第2スレーブ機器、22a 照明器具、22b スイッチ、100 ゲートウェイ装置、101 第1通信部、102 第2通信部、111 対応情報記憶部、112 機器情報記憶部、113 指令記憶部、120 制御部、121 第1変換部、122 判定部、123 第2変換部、1000 バス、1001 プロセッサ、1002 メモリ、1003 インタフェース、1004 二次記憶装置、N1,N1A 第1ネットワーク、N2 第2ネットワーク。 1,1A Lighting System, 11 1st Master Equipment, 11a Controller, 11b Switch, 12 1st Slave Equipment, 12a Lighting Equipment, 12b Switch, 21 2nd Master Equipment, 21a Controller, 22 2nd Slave Equipment, 22a Lighting Equipment, 22b switch, 100 gateway device, 101 first communication unit, 102 second communication unit, 111 corresponding information storage unit, 112 device information storage unit, 113 command storage unit, 120 control unit, 121 first conversion unit, 122 judgment unit, 123 Second converter, 1000 bus, 1001 processor, 1002 memory, 1003 interface, 1004 secondary storage, N1, N1A first network, N2 second network.

Claims (7)

第1マスタ機器と前記第1マスタ機器により管理される第1スレーブ機器とが接続された第1ネットワークと、第2マスタ機器と前記第2マスタ機器により管理される第2スレーブ機器とが接続された集中管理型ネットワークである第2ネットワークと、を接続するゲートウェイ装置であって、
前記第1マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第1操作指令を受信する第1受信手段と、
前記第1操作指令の操作対象に前記第2スレーブ機器が含まれているとき、前記第1操作指令を、前記第1操作指令に対応する操作指令の送信を前記第2マスタ機器に要求するための第1操作要求に変換する第1変換手段と、
前記第1操作要求を前記第2マスタ機器に送信する第1送信手段と、
前記第2マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第2操作指令を受信する第2受信手段と、
前記第2操作指令の操作対象に前記第1スレーブ機器が含まれているとき、前記第2操作指令に対応する前記第1操作指令を受信済か否かを判定する判定手段と、
前記第2操作指令に対応する前記第1操作指令を受信済ではないと前記判定手段が判定したときに、前記第2操作指令を制御情報に変換する第2変換手段と、
前記制御情報を前記第1マスタ機器または前記第1スレーブ機器に送信する第2送信手段と、
を備えるゲートウェイ装置。
The first network to which the first master device and the first slave device managed by the first master device are connected, and the second master device and the second slave device managed by the second master device are connected. It is a gateway device that connects to the second network, which is a centralized management type network.
A first receiving means for receiving a first operation command for operating at least one of the first slave device and the second slave device from the first master device.
When the second slave device is included in the operation target of the first operation command, the first operation command is requested to the second master device to transmit the operation command corresponding to the first operation command. The first conversion means for converting to the first operation request of
A first transmission means for transmitting the first operation request to the second master device,
A second receiving means for receiving a second operation command for operating at least one of the first slave device and the second slave device from the second master device.
When the operation target of the second operation command includes the first slave device , a determination means for determining whether or not the first operation command corresponding to the second operation command has been received, and
When the determination means determines that the first operation command corresponding to the second operation command has not been received, the second conversion means for converting the second operation command into control information and the second conversion means.
A second transmission means for transmitting the control information to the first master device or the first slave device, and
A gateway device equipped with.
前記第1ネットワークはマルチマスタ型ネットワークであり、
前記制御情報は、前記第2操作指令に対応する第3操作指令であり、
前記第2送信手段は、前記第3操作指令を操作対象となる前記第1スレーブ機器に送信する、
請求項1に記載のゲートウェイ装置。
The first network is a multi-master type network.
The control information is a third operation command corresponding to the second operation command.
The second transmission means transmits the third operation command to the first slave device to be operated.
The gateway device according to claim 1.
前記第1ネットワークは集中管理型ネットワークであり、
前記制御情報は、前記第2操作指令に対応する操作指令の送信を前記第1マスタ機器に要求するための第2操作要求であり、
前記第2送信手段は、前記第2操作要求を前記第1マスタ機器に送信する、
請求項1に記載のゲートウェイ装置。
The first network is a centralized management type network.
The control information is a second operation request for requesting the first master device to transmit an operation command corresponding to the second operation command.
The second transmission means transmits the second operation request to the first master device.
The gateway device according to claim 1.
前記第1受信手段が受信した前記第1操作指令に対応する指令情報を記憶する指令記憶手段をさらに備え、
前記判定手段は、前記第2操作指令に対応する前記指令情報が前記指令記憶手段に保存されているか否かを判定することにより、前記第2操作指令に対応する前記第1操作指令を受信済か否かを判定する、
請求項1から3のいずれか1項に記載のゲートウェイ装置。
Further, a command storage means for storing command information corresponding to the first operation command received by the first receiving means is provided.
The determination means has received the first operation command corresponding to the second operation command by determining whether or not the command information corresponding to the second operation command is stored in the command storage means. Judge whether or not
The gateway device according to any one of claims 1 to 3.
第1ネットワークに接続される第1マスタ機器と、
前記第1ネットワークに接続され、前記第1マスタ機器により管理される第1スレーブ機器と、
集中管理型ネットワークである第2ネットワークに接続される第2マスタ機器と、
前記第2ネットワークに接続され、前記第2マスタ機器により管理される第2スレーブ機器と、
請求項1から4のいずれか1項に記載のゲートウェイ装置と、
を備える機器管理システム。
The first master device connected to the first network and
A first slave device connected to the first network and managed by the first master device, and
The second master device connected to the second network, which is a centralized management network,
A second slave device connected to the second network and managed by the second master device, and
The gateway device according to any one of claims 1 to 4.
A device management system equipped with.
第1マスタ機器と前記第1マスタ機器により管理される第1スレーブ機器とが接続された第1ネットワークと、第2マスタ機器と前記第2マスタ機器により管理される第2スレーブ機器とが接続された集中管理型ネットワークである第2ネットワークとの通信を中継する通信方法であって、
前記第1マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第1操作指令を受信し、
前記第1操作指令の操作対象に前記第2スレーブ機器が含まれているとき、前記第1操作指令を、前記第1操作指令に対応する操作指令の送信を前記第2マスタ機器に要求するための第1操作要求に変換し、
前記第1操作要求を前記第2マスタ機器に送信し、
前記第2マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第2操作指令を受信し、
前記第2操作指令の操作対象に前記第1スレーブ機器が含まれているとき、前記第2操作指令に対応する前記第1操作指令を受信済か否かを判定し、
前記第2操作指令に対応する前記第1操作指令を受信済ではないと判定したときに、前記第2操作指令を制御情報に変換し、
前記制御情報を前記第1マスタ機器または前記第1スレーブ機器に送信する、
通信方法。
The first network to which the first master device and the first slave device managed by the first master device are connected, and the second master device and the second slave device managed by the second master device are connected. It is a communication method that relays communication with the second network, which is a centralized management type network.
A first operation command for operating at least one of the first slave device and the second slave device is received from the first master device, and the first operation command is received.
When the second slave device is included in the operation target of the first operation command, the first operation command is requested to the second master device to transmit the operation command corresponding to the first operation command. Converted to the first operation request of
The first operation request is transmitted to the second master device,
A second operation command for operating at least one of the first slave device and the second slave device is received from the second master device, and the second operation command is received.
When the first slave device is included in the operation target of the second operation command, it is determined whether or not the first operation command corresponding to the second operation command has been received.
When it is determined that the first operation command corresponding to the second operation command has not been received, the second operation command is converted into control information.
The control information is transmitted to the first master device or the first slave device.
Communication method.
第1マスタ機器と前記第1マスタ機器により管理される第1スレーブ機器とが接続された第1ネットワークと、第2マスタ機器と前記第2マスタ機器により管理される第2スレーブ機器とが接続された集中管理型ネットワークである第2ネットワークと、に接続されたコンピュータを、
前記第1マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第1操作指令を受信する第1受信手段、
前記第1操作指令の操作対象に前記第2スレーブ機器が含まれているとき、前記第1操作指令を、前記第1操作指令に対応する操作指令の送信を前記第2マスタ機器に要求するための第1操作要求に変換する第1変換手段、
前記第1操作要求を前記第2マスタ機器に送信する第1送信手段、
前記第2マスタ機器から、前記第1スレーブ機器と前記第2スレーブ機器との少なくとも1つを操作するための第2操作指令を受信する第2受信手段、
前記第2操作指令の操作対象に前記第1スレーブ機器が含まれているとき、前記第2操作指令に対応する前記第1操作指令を受信済か否かを判定する判定手段、
前記第2操作指令に対応する前記第1操作指令を受信済ではないと前記判定手段が判定したときに、前記第2操作指令を制御情報に変換する第2変換手段、
前記制御情報を前記第1マスタ機器または前記第1スレーブ機器に送信する第2送信手段、
として機能させるプログラム。
The first network to which the first master device and the first slave device managed by the first master device are connected, and the second master device and the second slave device managed by the second master device are connected. The second network, which is a centralized management network, and the computers connected to
A first receiving means for receiving a first operation command for operating at least one of the first slave device and the second slave device from the first master device.
When the second slave device is included in the operation target of the first operation command, the first operation command is requested to the second master device to transmit the operation command corresponding to the first operation command. First conversion means, which converts to the first operation request of
A first transmission means for transmitting the first operation request to the second master device,
A second receiving means for receiving a second operation command for operating at least one of the first slave device and the second slave device from the second master device.
A determination means for determining whether or not the first operation command corresponding to the second operation command has been received when the first slave device is included in the operation target of the second operation command.
A second conversion means for converting the second operation command into control information when the determination means determines that the first operation command corresponding to the second operation command has not been received.
A second transmission means for transmitting the control information to the first master device or the first slave device,
A program that functions as.
JP2018120070A 2018-06-25 2018-06-25 Gateway equipment, equipment management system, communication method and program Active JP7050596B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018120070A JP7050596B2 (en) 2018-06-25 2018-06-25 Gateway equipment, equipment management system, communication method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018120070A JP7050596B2 (en) 2018-06-25 2018-06-25 Gateway equipment, equipment management system, communication method and program

Publications (2)

Publication Number Publication Date
JP2020005035A JP2020005035A (en) 2020-01-09
JP7050596B2 true JP7050596B2 (en) 2022-04-08

Family

ID=69100596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018120070A Active JP7050596B2 (en) 2018-06-25 2018-06-25 Gateway equipment, equipment management system, communication method and program

Country Status (1)

Country Link
JP (1) JP7050596B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005159546A (en) 2003-11-21 2005-06-16 Mitsubishi Electric Corp Network equipment
JP2014229984A (en) 2013-05-20 2014-12-08 日本電信電話株式会社 Communication connection device, communication control device and its program, and communication control method
WO2015189932A1 (en) 2014-06-11 2015-12-17 三菱電機株式会社 Relay device and air conditioning system
JP2016502343A (en) 2012-11-26 2016-01-21 サムスン エレクトロニクス カンパニー リミテッド Network node packet format and communication method for IP routing compatibility, and network node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06110925A (en) * 1992-09-28 1994-04-22 Hitachi Ltd Computers connected by network and how to use them

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005159546A (en) 2003-11-21 2005-06-16 Mitsubishi Electric Corp Network equipment
JP2016502343A (en) 2012-11-26 2016-01-21 サムスン エレクトロニクス カンパニー リミテッド Network node packet format and communication method for IP routing compatibility, and network node
JP2014229984A (en) 2013-05-20 2014-12-08 日本電信電話株式会社 Communication connection device, communication control device and its program, and communication control method
WO2015189932A1 (en) 2014-06-11 2015-12-17 三菱電機株式会社 Relay device and air conditioning system

Also Published As

Publication number Publication date
JP2020005035A (en) 2020-01-09

Similar Documents

Publication Publication Date Title
US9578723B2 (en) Lighting control device and method
JP6012911B2 (en) Repeater and air conditioning system
CN203278883U (en) Protocol conversion device
CN103618621A (en) Method, device and system for automatic configuration of SDN
JPWO2020039844A1 (en) In-vehicle communication device and in-vehicle system
TWI612836B (en) Cloud data transmission system and dynamic rerouting method
JP5808700B2 (en) Communication control device, communication control system, virtualization server management device, switch device, and communication control method
CN101019097A (en) Method of managing a distributed storage system
JP7050596B2 (en) Gateway equipment, equipment management system, communication method and program
TWI514250B (en) Method for managing a storage system, and associated apparatus and associated computer program product
CN104247572A (en) Method for reconfiguring components, and component
JP6228822B2 (en) Network management control device, network management control system, and network management control method
JP7008583B2 (en) Gateway device, control signal relay method, and program
JP2009206863A (en) Layer 2 switch system and layer 2 switch
JP2014033268A5 (en)
CN115145188A (en) High-availability cloud-based automation solution with optimized transfer times
JP7122824B2 (en) Network setting device and network setting system
KR101717363B1 (en) Method and apparatus for changing role of controller in software defined networking environment
JP2006005719A (en) Address translation program, program usage method, information processing apparatus, and computer-readable medium
KR102359681B1 (en) Cyber remote management device for multi-client
JP7505240B2 (en) Control Systems and Equipment
JP5770888B2 (en) Data transfer system and data transfer method
CN105589826B (en) Information interaction method of distribution network multilevel bus based on plug and play
JP4854598B2 (en) Data transfer control device
JP2016051394A (en) Data relay apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220329

R150 Certificate of patent or registration of utility model

Ref document number: 7050596

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250