JP2016058989A - Control device and program - Google Patents

Control device and program Download PDF

Info

Publication number
JP2016058989A
JP2016058989A JP2014185828A JP2014185828A JP2016058989A JP 2016058989 A JP2016058989 A JP 2016058989A JP 2014185828 A JP2014185828 A JP 2014185828A JP 2014185828 A JP2014185828 A JP 2014185828A JP 2016058989 A JP2016058989 A JP 2016058989A
Authority
JP
Japan
Prior art keywords
signal
multicast
response
unicast
unit
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
JP2014185828A
Other languages
Japanese (ja)
Other versions
JP6347391B2 (en
Inventor
隆明 青木
Takaaki Aoki
隆明 青木
大景 聡
Satoshi Okage
聡 大景
上野 喜昭
Yoshiaki Ueno
喜昭 上野
順一 古川
Junichi Furukawa
順一 古川
敬司 阪口
Takashi Sakaguchi
敬司 阪口
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2014185828A priority Critical patent/JP6347391B2/en
Priority to PCT/IB2015/001581 priority patent/WO2016038443A1/en
Publication of JP2016058989A publication Critical patent/JP2016058989A/en
Application granted granted Critical
Publication of JP6347391B2 publication Critical patent/JP6347391B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Abstract

PROBLEM TO BE SOLVED: To provide a control device and a program that can determine the presence or absence of a transfer trouble of a multicast signal in a relay device.SOLUTION: A route determining unit 15 of a control device 1 determines on the basis of a response signal received by a receiver 13 whether communication routes 92, 93 used by equipment 3 can be transmitted in a multicast style. When the equipment 3 does not return any response signal to a multi-casted response request, but returns a response signal to a uni-casted second response request, the route determining unit 15 determines that it is impossible to transmit the communication route used by the equipment 3 in the multicast style.SELECTED DRAWING: Figure 1

Description

本発明は、一般に制御装置、プログラム、より詳細には機器に対してマルチキャストによって信号を送信する制御装置、プログラムに関するものである。   The present invention generally relates to a control device and a program, and more particularly to a control device and a program for transmitting a signal to a device by multicast.

従来、マルチキャスト対応のネットワークとマルチキャスト非対応のネットワークとが混在する環境において、可能な限りマルチキャスト通信を使用してノードの処理負荷を軽減させることを目的としたパケット配送制御方法がある(例えば、特許文献1参照)。   Conventionally, there is a packet delivery control method for reducing the processing load of a node by using multicast communication as much as possible in an environment where a network supporting multicast and a network not supporting multicast are mixed (for example, patents) Reference 1).

具体的には、マルチキャストによる通信が可能なノード間の通信にはマルチキャスト送信が用いられ、マルチキャストによる通信が不可能なノード間の通信にはユニキャスト送信が用いられる。この場合、各ノードは、他のノードとの間でマルチキャスト通信が可能であるか否かを判定する必要がある。そこで、各ノードは、応答要求をマルチキャスト送信し、応答要求に対する応答メッセージを返信したノードをマルチキャスト通信可能なノードとする。   Specifically, multicast transmission is used for communication between nodes that can perform communication by multicast, and unicast transmission is used for communication between nodes that cannot perform communication by multicast. In this case, each node needs to determine whether or not multicast communication is possible with another node. Therefore, each node transmits a response request in multicast, and a node that has returned a response message in response to the response request is a node capable of multicast communication.

特開2005−151541号公報Japanese Patent Laying-Open No. 2005-151541

ノード間の通信には、送信元のノードが送信した信号を中継して、送信先のノードへ転送する中継装置(ルータ)が用いられる場合がある。この中継装置は、ノードが接続するポート毎にマルチキャスト信号を転送する必要の有無を設定される。しかしながら、中継装置の機能、設定等によっては、中継装置がマルチキャスト信号を転送しない状況が発生する可能性がある。   For communication between nodes, a relay device (router) that relays a signal transmitted by a transmission source node and transfers the signal to a transmission destination node may be used. In this relay device, whether or not a multicast signal needs to be transferred is set for each port to which the node is connected. However, depending on the function, setting, etc. of the relay device, there may occur a situation where the relay device does not transfer the multicast signal.

このように、中継装置の機能、設定等によっては、マルチキャスト信号が到達しないノードが発生する場合がある。しかし、送信元のノードは、マルチキャスト信号が到達しないノードがあったとしても、このマルチキャストの不通状態が、中継装置におけるマルチキャスト信号の転送不具合を要因とするのか否かがわからなかった。   Thus, depending on the function, setting, etc. of the relay device, there may be a node where the multicast signal does not reach. However, even if there is a node to which the multicast signal does not reach, the transmission source node has not been able to know whether or not this multicast interruption state is caused by a multicast signal transfer failure in the relay device.

本発明は、上記事由に鑑みてなされたものであり、その目的は、中継装置におけるマルチキャスト信号の転送不具合の有無を判別することができる制御装置、プログラムを提供することにある。   The present invention has been made in view of the above reasons, and an object of the present invention is to provide a control device and a program that can determine whether or not there is a multicast signal transfer failure in a relay device.

本発明の制御装置は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、前記応答信号の返信を要求するユニキャスト信号である第2応答要求を前記機器にユニキャストで送信する第2送信部と、前記応答信号を受信する受信部と、前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、前記経路判定部は、前記機器が前記第1応答要求に対する前記応答信号を返信せず、前記第2応答要求に対する前記応答信号を返信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定することを特徴とする。   The control device of the present invention is a device information storage unit that stores registration information individually assigned to devices to be controlled belonging to a multicast group capable of network communication, and a first multicast signal that requests a response signal to be returned. A first transmission unit that multicasts a response request to the multicast group, a second transmission unit that unicasts a second response request that is a unicast signal that requests a reply of the response signal, and A receiving unit that receives a response signal; and a path determination unit that determines whether or not a communication path used by the device is capable of multicast transmission based on the response signal received by the receiving unit; The route determination unit is configured so that the device does not return the response signal for the first response request, and the response to the second response request. When returning a No., and judging a communication path which this device is used is impossible transmission by multicast.

本発明の制御装置は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、前記応答信号の返信を要求するブロードキャスト信号である第3応答要求を前記機器にブロードキャストで送信する第3送信部と、前記応答信号を受信する受信部と、前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、前記経路判定部は、前記機器が前記第1応答要求に対する前記応答信号を返信せず、前記第3応答要求に対する前記応答信号を返信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定することを特徴とする。   The control device of the present invention is a device information storage unit that stores registration information individually assigned to devices to be controlled belonging to a multicast group capable of network communication, and a first multicast signal that requests a response signal to be returned. A first transmitter that transmits a response request to the multicast group by multicast; a third transmitter that broadcasts a third response request that is a broadcast signal that requests a reply of the response signal; and the response signal And a route determination unit that determines whether or not a communication route used by the device is capable of multicast transmission based on the response signal received by the reception unit. The unit does not return the response signal for the first response request, and the device does not respond to the third response request. When returning a serial response signal, and judging a communication path which this device is used is impossible transmission by multicast.

本発明のプログラムは、コンピュータを、制御装置として機能させることを特徴とする。   The program according to the present invention causes a computer to function as a control device.

以上説明したように、本発明では、中継装置におけるマルチキャスト信号の転送不具合の有無を判別することができるという効果がある。   As described above, the present invention has an effect that it is possible to determine the presence or absence of a multicast signal transfer failure in the relay device.

実施形態1の制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system of Embodiment 1. 実施形態1の登録情報の構成を示すテーブル図である。3 is a table diagram illustrating a configuration of registration information according to Embodiment 1. FIG. 実施形態1の機器登録を説明するためのシーケンス図である。FIG. 6 is a sequence diagram for explaining device registration according to the first embodiment. 実施形態1の機器制御を説明するためのシーケンス図である。It is a sequence diagram for demonstrating apparatus control of Embodiment 1. FIG. 実施形態1の機器制御を説明するためのシーケンス図である。It is a sequence diagram for demonstrating apparatus control of Embodiment 1. FIG. 実施形態1のIGMPによるマルチキャスト管理を説明するためのシーケンス図である。6 is a sequence diagram for explaining multicast management by IGMP according to Embodiment 1. FIG. 実施形態1のIGMPによるマルチキャスト管理を説明するためのシーケンス図である。6 is a sequence diagram for explaining multicast management by IGMP according to Embodiment 1. FIG. 実施形態1のマルチキャスト転送期間の管理を説明するためのシーケンス図である。FIG. 6 is a sequence diagram for explaining management of a multicast transfer period according to the first embodiment. 実施形態1の経路判定処理を示すフローチャートである。3 is a flowchart illustrating route determination processing according to the first embodiment. 実施形態1の探索処理を示すフローチャートである。3 is a flowchart illustrating search processing according to the first embodiment. 実施形態1の経路判定処理を示すフローチャートである。3 is a flowchart illustrating route determination processing according to the first embodiment. 実施形態2の制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system of Embodiment 2. 実施形態2の経路判定処理を示すフローチャートである。10 is a flowchart illustrating route determination processing according to the second embodiment. 実施形態2の経路判定処理を示すフローチャートである。10 is a flowchart illustrating route determination processing according to the second embodiment. 実施形態2の経路判定処理を示すフローチャートである。10 is a flowchart illustrating route determination processing according to the second embodiment. 実施形態2の経路判定処理を示すフローチャートである。10 is a flowchart illustrating route determination processing according to the second embodiment. 実施形態3の制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system of Embodiment 3. 実施形態3の経路判定処理を示すフローチャートである。10 is a flowchart illustrating route determination processing according to the third embodiment.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(実施形態1)
図1は、本実施形態の制御システムの構成を示す。
(Embodiment 1)
FIG. 1 shows the configuration of the control system of this embodiment.

制御システムは、制御装置1、中継装置2(ルータ)、機器3、DHCPサーバ(Dynamic Host Configuration Protocol server)4を主構成として備えており、戸建住宅、集合住宅の各住戸、店舗、事務所、ビルのテナント等に設置される。制御装置1、中継装置2、機器3、DHCPサーバ4は、LAN(Local Area Network)で構成された宅内ネットワークを介して互いに通信可能に構成される。制御装置1、DHCPサーバ4は、中継装置2との間で通信経路91を介して接続し、機器3は、中継装置2との間で通信経路92または通信経路93を介して接続している。中継装置2は、制御装置1−機器3間を伝送される信号を中継する。   The control system includes a control device 1, a relay device 2 (router), a device 3, and a DHCP server (Dynamic Host Configuration Protocol server) 4 as main components. Installed in building tenants. The control device 1, the relay device 2, the device 3, and the DHCP server 4 are configured to be able to communicate with each other via a home network configured with a LAN (Local Area Network). The control device 1 and the DHCP server 4 are connected to the relay device 2 via the communication path 91, and the device 3 is connected to the relay device 2 via the communication path 92 or the communication path 93. . The relay device 2 relays a signal transmitted between the control device 1 and the device 3.

なお、通信経路91〜93は、有線の通信経路(例えば、イーサネット(登録商標))、無線の通信経路(例えば、無線LAN)のいずれでもよいが、図1においては、通信経路91〜93を有線の通信経路としている。   The communication paths 91 to 93 may be either a wired communication path (for example, Ethernet (registered trademark)) or a wireless communication path (for example, a wireless LAN), but in FIG. It is a wired communication path.

また、通信経路91に接続する制御装置1およびDHCPサーバ4は、ハブ等の集線装置を介して同一の通信経路91に接続している。通信経路92に接続する複数の機器3は、集線装置を介して同一の通信経路92に接続し、通信経路93に接続する複数の機器3は、集線装置を介して同一の通信経路93に接続している。   Further, the control device 1 and the DHCP server 4 connected to the communication path 91 are connected to the same communication path 91 via a concentrator such as a hub. A plurality of devices 3 connected to the communication path 92 are connected to the same communication path 92 via the line concentrator, and a plurality of devices 3 connected to the communication path 93 are connected to the same communication path 93 via the line concentrator. doing.

そして制御装置1は、機器3を制御対象としており、機器3宛の信号を通信経路91に送出し、中継装置2が信号を中継して通信経路92,93へ転送することによって、信号が機器3へ送信される。中継装置2による転送処理は、信号の宛先に応じて、通信経路92,93の両方、または通信経路92,93のいずれか一方に対して行われる。機器3は、受信した信号に基づいて動作する。機器3は、空調装置、照明装置、分電盤内の電力量計等であり、空調装置の冷暖房時の目標温度、照明装置の調光レベル、電力量計の検針データの送信動作等が制御される。また、機器3は、制御装置1宛の信号を通信経路92または93に送出し、中継装置2が信号を中継して通信経路91へ転送することによって、信号が制御装置1へ送信される。なお、機器3の種類は、上述に限定されるものではなく、制御装置1の制御対象となる機器3であれば、その種類は限定されない。   The control device 1 controls the device 3, sends a signal addressed to the device 3 to the communication path 91, and the relay device 2 relays the signal and transfers it to the communication paths 92 and 93, so that the signal is transmitted to the device. 3 is transmitted. The transfer process by the relay device 2 is performed on both the communication paths 92 and 93 or one of the communication paths 92 and 93 according to the destination of the signal. The device 3 operates based on the received signal. The device 3 is an air conditioner, an illuminating device, a watt hour meter in a distribution board, etc., and controls the target temperature during cooling / heating of the air conditioner, the dimming level of the illuminating device, the transmission operation of meter reading data of the watt hour meter, etc. Is done. In addition, the device 3 transmits a signal addressed to the control device 1 to the communication path 92 or 93, and the relay device 2 relays the signal and transfers it to the communication path 91, whereby the signal is transmitted to the control device 1. Note that the type of the device 3 is not limited to the above, and the type is not limited as long as the device 3 is a control target of the control device 1.

制御装置1は、第1送信部11、第2送信部12、受信部13、制御部14、経路判定部15、機器情報記憶部16を備える。制御装置1は、さらに推定部17、探索部18を備えることが好ましい。この制御装置1は、マイクロコンピュータ等で構成されたコンピュータを搭載しており、このコンピュータがプログラムを実行することによって、制御装置1の各機能が実現されている。すなわち、このプログラムは、コンピュータを制御装置1として機能させることを特徴とする。   The control device 1 includes a first transmission unit 11, a second transmission unit 12, a reception unit 13, a control unit 14, a route determination unit 15, and a device information storage unit 16. The control device 1 preferably further includes an estimation unit 17 and a search unit 18. The control device 1 is equipped with a computer composed of a microcomputer or the like, and each function of the control device 1 is realized by the computer executing a program. That is, this program makes a computer function as the control device 1.

この制御装置1は、例えばHEMS(Home Energy Management System)コントローラで構成されることが好ましい。この場合、制御装置1は、監視対象の電力データ(消費電力、発電電力、蓄電電力等)を取得し、これらの電力データを用いてHEMSを構築する。HEMSにおいて、制御装置1は、電力データを適宜の提示装置に提示することによって、電力消費量を見える化する機能を有する。またHEMSにおいて、制御装置1は、電力データに基づいて、省電力化を目的とした機器3の制御を行う機能を有する。なお、制御装置1は、HEMSコントローラに限定されるものではない。   The control device 1 is preferably composed of, for example, a HEMS (Home Energy Management System) controller. In this case, the control device 1 acquires power data (power consumption, generated power, stored power, etc.) to be monitored, and constructs a HEMS using these power data. In HEMS, the control device 1 has a function of visualizing power consumption by presenting power data to an appropriate presentation device. Moreover, in HEMS, the control apparatus 1 has a function which controls the apparatus 3 aiming at power saving based on electric power data. Note that the control device 1 is not limited to the HEMS controller.

あるいは、制御装置1は、機器3を制御する専用コントローラ、汎用のパーソナルコンピュータで構成されてもよい。   Alternatively, the control device 1 may be configured with a dedicated controller that controls the device 3 and a general-purpose personal computer.

制御部14は、第1送信部11、第2送信部12、受信部13の各動作を制御する。第1送信部11、第2送信部12、受信部13は、中継装置2との間で通信経路91を介して通信を行う。   The control unit 14 controls each operation of the first transmission unit 11, the second transmission unit 12, and the reception unit 13. The first transmission unit 11, the second transmission unit 12, and the reception unit 13 communicate with the relay device 2 via the communication path 91.

第1送信部11は、マルチキャスト信号を通信経路91に送出することで、マルチキャスト送信を行う。制御装置1、機器3は、同一のマルチキャストグループを構成している。同一のマルチキャストグループを構成している制御装置1、機器3等の端末は、マルチキャストグループに共通のIPアドレスであるマルチキャストアドレスを送信先に設定されたマルチキャスト信号を受信する。すなわち、マルチキャストアドレスが信号に付加されることによって、マルチキャストグループに対するマルチキャスト送信が行われる。   The first transmission unit 11 performs multicast transmission by sending a multicast signal to the communication path 91. The control device 1 and the device 3 constitute the same multicast group. Terminals such as the control device 1 and the device 3 constituting the same multicast group receive a multicast signal in which a multicast address which is an IP address common to the multicast group is set as a transmission destination. In other words, multicast transmission to the multicast group is performed by adding the multicast address to the signal.

第2送信部12は、ユニキャスト信号を通信経路91に送出することで、ユニキャスト送信を行う。制御装置1、機器3は、個別のIPアドレスであるユニキャストアドレスが割り付けられている。そして、ユニキャストアドレスが信号に付加されることによって、1対1のユニキャスト通信が行われる。   The second transmission unit 12 performs unicast transmission by sending a unicast signal to the communication path 91. The control device 1 and the device 3 are assigned unicast addresses that are individual IP addresses. Then, by adding a unicast address to the signal, one-to-one unicast communication is performed.

通信経路91は、有線の通信経路であればイーサネット(登録商標)の規格に沿った通信が行われ、無線の通信経路であれば無線LANの規格に沿った通信が行われる。   If the communication path 91 is a wired communication path, communication conforming to the Ethernet (registered trademark) standard is performed, and if it is a wireless communication path, communication conforming to the wireless LAN standard is performed.

機器情報記憶部16は、制御装置1の制御対象となる機器3のそれぞれのユニキャストアドレス、MACアドレス等の登録情報が格納される。図2は、機器情報記憶部16に格納されているデータテーブルであり、機器3のそれぞれに、ユニキャストアドレス、MACアドレスが互いに対応付けられている。なお、図2では、機器3を区別するために、機器3a,3b,3cの符号を付している。   The device information storage unit 16 stores registration information such as a unicast address and a MAC address of each device 3 to be controlled by the control device 1. FIG. 2 is a data table stored in the device information storage unit 16, and each device 3 is associated with a unicast address and a MAC address. In FIG. 2, the devices 3 a, 3 b, and 3 c are denoted with reference numerals in order to distinguish the devices 3.

次に、制御システムにおける一般的な通信シーケンスについて説明する。なお、通信経路91上の制御装置1、通信経路92上の機器3、通信経路93上の機器3は、同一のマルチキャストグループに属している。さらに、制御装置1および機器3は、例えばECHONET(Energy Conservation& Homecare Network)規格またはECHONET Lite規格に沿った仕様となっている。なお、本システムで用いられる通信規格は、上述の規格に限定されるものではなく、他の通信規格を用いてもよい。   Next, a general communication sequence in the control system will be described. The control device 1 on the communication path 91, the device 3 on the communication path 92, and the device 3 on the communication path 93 belong to the same multicast group. Further, the control device 1 and the device 3 have specifications conforming to, for example, the ECHONET (Energy Conservation & Homecare Network) standard or the ECHONET Lite standard. Note that the communication standard used in this system is not limited to the above-mentioned standard, and other communication standards may be used.

図3は、機器3を登録する通信シーケンスを示す。   FIG. 3 shows a communication sequence for registering the device 3.

制御装置1の制御部14は、機器3の登録時に第1送信部11に指示して、マルチキャストアドレスを付加したGet要求Y1を通信経路91に送出させることによって、Get要求Y1をマルチキャスト送信する。   The control unit 14 of the control device 1 sends the Get request Y1 by multicast transmission by instructing the first transmission unit 11 during registration of the device 3 to send the Get request Y1 with the multicast address added thereto to the communication path 91.

中継装置2は、Get要求Y1を受信すると、Get要求Y1に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する機器3が存在する通信経路92,93へGet要求Y1を転送する。   When the relay device 2 receives the Get request Y1, the relay device 2 recognizes the multicast signal from the multicast address added to the Get request Y1, and sends a Get request to the communication paths 92 and 93 where the devices 3 belonging to the same multicast group exist. Transfer Y1.

機器3は、Get要求Y1に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じ(マルチキャストグループが同じ)であるので、Get要求Y1を受信する。Get要求Y1には、送信元の制御装置1のユニキャストアドレスが付加されており、機器3は、制御装置1のユニキャストアドレスを取得することができる。   The device 3 receives the Get request Y1 because the multicast address added to the Get request Y1 is the same as its own multicast address (the same multicast group). The Get request Y <b> 1 is added with the unicast address of the transmission source control device 1, and the device 3 can acquire the unicast address of the control device 1.

Get要求Y1を受信した機器3は、制御装置1のユニキャストアドレスを付加したGet応答Y2を通信経路92,93に送出することによって、Get応答Y2を制御装置1へユニキャスト送信する。   The device 3 that has received the Get request Y1 transmits the Get response Y2 to the control device 1 by sending a Get response Y2 to which the unicast address of the control device 1 is added to the communication paths 92 and 93.

中継装置2は、Get応答Y2を受信すると、Get応答Y2に付加されたユニキャストアドレスからユニキャスト信号であると認識して、制御装置1が存在する通信経路91へGet応答Y2を転送する。   When receiving the Get response Y2, the relay device 2 recognizes the unicast signal from the unicast address added to the Get response Y2, and transfers the Get response Y2 to the communication path 91 where the control device 1 exists.

制御装置1の受信部13は、Get応答Y2に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであるので、Get応答Y2を受信する。Get応答Y2には、送信元の機器3のユニキャストアドレス、MACアドレス等の登録情報が付加されており、制御部14は、応答した機器3の登録情報を機器情報記憶部16に格納する。したがって制御装置1は、Get要求Y1をマルチキャスト送信することで、システム内に存在する機器3の登録情報を取得することができる。以降、制御装置1は、機器情報記憶部16に登録情報が格納されている機器3(登録済の機器3)に対して制御信号を送信して、機器3の動作を制御することができる。   The receiving unit 13 of the control device 1 receives the Get response Y2 because the unicast address added to the Get response Y2 is the same as its own unicast address. Registration information such as a unicast address and a MAC address of the transmission source device 3 is added to the Get response Y2, and the control unit 14 stores the registration information of the responding device 3 in the device information storage unit 16. Therefore, the control apparatus 1 can acquire registration information of the devices 3 existing in the system by multicast transmission of the Get request Y1. Thereafter, the control device 1 can control the operation of the device 3 by transmitting a control signal to the device 3 (registered device 3) whose registration information is stored in the device information storage unit 16.

次に、図4は、制御装置1による機器3の制御を行う通信シーケンスを示す。   Next, FIG. 4 shows a communication sequence for controlling the device 3 by the control device 1.

制御装置1の制御部14は、第2送信部12に指示して、通信経路92上に存在する制御対象の機器3のユニキャストアドレスを付加したSet要求Y3を通信経路91に送出させることによって、Set要求Y3をユニキャスト送信する。   The control unit 14 of the control device 1 instructs the second transmission unit 12 to send a Set request Y3 to which the unicast address of the device 3 to be controlled existing on the communication path 92 is added to the communication path 91. The Set request Y3 is unicasted.

中継装置2は、Set要求Y3を受信すると、Set要求Y3に付加されたユニキャストアドレスからユニキャスト信号であると認識して、送信先の機器3が存在する通信経路92へSet要求Y3を転送する。   When receiving the Set request Y3, the relay device 2 recognizes the unicast signal from the unicast address added to the Set request Y3, and transfers the Set request Y3 to the communication path 92 where the destination device 3 exists. To do.

機器3は、Set要求Y3に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであれば、Set要求Y3を受信する。Set要求Y3には制御装置1が指示した制御内容も付加されており、機器3は、指示された制御内容に基づいて動作する。   If the unicast address added to the Set request Y3 is the same as its own unicast address, the device 3 receives the Set request Y3. The control content instructed by the control device 1 is also added to the Set request Y3, and the device 3 operates based on the instructed control content.

Set要求Y3を受信した機器3は、制御装置1のユニキャストアドレスを付加したSet応答Y4を通信経路92に送出することによって、Set応答Y4を制御装置1へユニキャスト送信する。   The device 3 that has received the Set request Y3 transmits the Set response Y4 to the control device 1 by sending a Set response Y4 to which the unicast address of the control device 1 is added to the communication path 92.

中継装置2は、Set応答Y4を受信すると、Set応答Y4に付加されたユニキャストアドレスからユニキャスト信号であると認識して、制御装置1が存在する通信経路91へSet応答Y4を転送する。   When the relay device 2 receives the Set response Y4, the relay device 2 recognizes the unicast signal from the unicast address added to the Set response Y4, and transfers the Set response Y4 to the communication path 91 in which the control device 1 exists.

制御装置1の受信部13は、Set応答Y4に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであるので、Set応答Y4を受信する。Set応答Y4を受信した制御装置1は、Set要求Y3の送信が完了したことを認識できる。   The receiving unit 13 of the control device 1 receives the Set response Y4 because the unicast address added to the Set response Y4 is the same as its own unicast address. The control device 1 that has received the Set response Y4 can recognize that the transmission of the Set request Y3 has been completed.

さらに、機器3は、Set要求Y3によって指示された動作を完了した場合、マルチキャストアドレスを付加した完了通知Y5を通信経路92に送出することによって、完了通知Y5をマルチキャスト送信する。完了通知Y5には、送信元の機器3の動作後の状態を示す状態パラメータが付加されている。   Further, when completing the operation instructed by the Set request Y3, the device 3 sends the completion notification Y5 with the multicast address added thereto to the communication path 92, thereby transmitting the completion notification Y5 by multicast. A status parameter indicating a state after the operation of the transmission source device 3 is added to the completion notification Y5.

中継装置2は、完了通知Y5を受信すると、完了通知Y5に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する制御装置1が存在する通信経路91へ完了通知Y5を転送する。このとき、中継装置2は、同一のマルチキャストグループに属する機器3が存在する通信経路93へも完了通知Y5を転送する。   When the relay device 2 receives the completion notification Y5, the relay device 2 recognizes that it is a multicast signal from the multicast address added to the completion notification Y5, and notifies the communication path 91 where the control device 1 belonging to the same multicast group is present to the completion notification Y5. Forward. At this time, the relay device 2 also transfers the completion notification Y5 to the communication path 93 where the devices 3 belonging to the same multicast group exist.

制御装置1の受信部13は、完了通知Y5に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じであるので、完了通知Y5を受信する。完了通知Y5を受信した制御装置1は、完了通知Y5の状態パラメータに基づいて、送信元の機器3の動作後の状態を把握することができる。   The receiving unit 13 of the control device 1 receives the completion notification Y5 because the multicast address added to the completion notification Y5 is the same as its own multicast address. The control device 1 that has received the completion notification Y5 can grasp the state after the operation of the transmission source device 3 based on the state parameter of the completion notification Y5.

次に、図5は、制御装置1以外の操作機器(例えば、機器3が備える操作部、リモコン等)によって機器3が制御された場合の通信シーケンスを示す。   Next, FIG. 5 shows a communication sequence when the device 3 is controlled by an operating device other than the control device 1 (for example, an operation unit, a remote controller, etc. provided in the device 3).

通信経路92上の機器3は、操作機器によって指示された動作を完了した場合、マルチキャストアドレスを付加した完了通知Y6を通信経路92に送出することによって、完了通知Y6をマルチキャスト送信する。完了通知Y6には、送信元の機器3の動作後の状態を示す状態パラメータが付加されている。   When the device 3 on the communication path 92 completes the operation instructed by the operating device, the device 3 on the communication path 92 sends the completion notification Y6 with the multicast address added thereto to the multicast transmission of the completion notification Y6. A status parameter indicating the state after the operation of the transmission source device 3 is added to the completion notification Y6.

中継装置2は、完了通知Y6を受信すると、完了通知Y6に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する制御装置1が存在する通信経路91へ完了通知Y6を転送する。このとき、中継装置2は、同一のマルチキャストグループに属する機器3が存在する通信経路93へも完了通知Y6を転送する。   When the relay device 2 receives the completion notification Y6, the relay device 2 recognizes that it is a multicast signal from the multicast address added to the completion notification Y6, and notifies the communication path 91 where the control device 1 belonging to the same multicast group is present to the completion notification Y6. Forward. At this time, the relay device 2 also transfers the completion notification Y6 to the communication path 93 where the devices 3 belonging to the same multicast group exist.

制御装置1の受信部13は、完了通知Y6に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じであるので、完了通知Y6を受信する。完了通知Y6を受信した制御装置1は、完了通知Y6の状態パラメータに基づいて、送信元の機器3の動作後の状態を把握することができる。   The receiving unit 13 of the control device 1 receives the completion notification Y6 because the multicast address added to the completion notification Y6 is the same as its own multicast address. The control device 1 that has received the completion notification Y6 can grasp the state after the operation of the transmission source device 3 based on the state parameter of the completion notification Y6.

したがって、機器3が制御装置1以外の操作機器によって制御された場合でも、制御装置1は機器3の動作後の状態を把握することができる。すなわち、制御装置1が把握している機器3の状態と、機器3が把握している自己の状態とに乖離がなくなる。   Therefore, even when the device 3 is controlled by an operating device other than the control device 1, the control device 1 can grasp the state after the operation of the device 3. That is, there is no difference between the state of the device 3 grasped by the control device 1 and the own state grasped by the device 3.

上述のように、制御装置1−機器3間の通信においてマルチキャストは重要な役割を担っている。制御装置1が送信したマルチキャスト信号を中継装置2が転送しなければ、制御装置1は、機器登録時に機器3からGet応答Y2が返信されないため、機器登録が不可能となる。また、機器3が送信したマルチキャスト信号を中継装置2が転送しなければ、制御装置1は、機器3の制御完了時に完了通知Y5,Y6を機器3から受信できないため、制御装置1が保有する情報と機器3が保有する情報との間に乖離が発生する可能性がある。   As described above, multicast plays an important role in communication between the control device 1 and the device 3. If the relay device 2 does not transfer the multicast signal transmitted by the control device 1, the control device 1 cannot perform device registration because the Get response Y2 is not returned from the device 3 at the time of device registration. If the relay device 2 does not transfer the multicast signal transmitted by the device 3, the control device 1 cannot receive the completion notifications Y5 and Y6 from the device 3 when the control of the device 3 is completed. And a difference between the information held by the device 3 may occur.

中継装置2は、ポート21〜23(ネットワーク・インタフェース)を備えている。そして、中継装置2は、通信経路91(制御装置1の通信経路)が通信接続するポート21、通信経路92,93(機器3の通信経路)が通信接続するポート22,23のそれぞれにおいて、マルチキャスト信号を転送する必要の有無をポート毎に判別している。すなわち、中継装置2は、転送する必要がないと判断したポートにはマルチキャスト信号を転送しない。   The relay device 2 includes ports 21 to 23 (network interface). The relay device 2 performs multicasting in each of the port 21 to which the communication path 91 (communication path of the control device 1) is connected and the ports 22 and 23 to which the communication paths 92 and 93 (communication path of the device 3) are connected. Whether the signal needs to be transferred is determined for each port. That is, the relay device 2 does not transfer the multicast signal to the port that is determined not to be transferred.

例えば中継装置2として、IGMP(Internet Group Management Protocol)に対応したマルチキャスト対応ルータがある。IGMPとは、IPネットワーク上でマルチキャスト通信を行うために、マルチキャストグループへの参加・離脱を管理するプロトコルであり、RFC(RFC1112/2236/3376)で規格化されている。そして図6に示すように、中継装置2は、管理対象のネットワークにマルチキャスト信号の受信を希望する端末(制御装置1、機器3)が存在するか否かを調査するために、定期的にクエリY11(IGMP Query)をマルチキャストで送信する。特定のマルチキャストグループ宛のマルチキャスト信号の受信を希望する端末は、クエリY11を受信すると受信を希望するマルチキャストグループのアドレス(マルチキャストアドレス)を、レポートY12(IGMP Report)によって中継装置2に通知する。IGMP規格に対応した中継装置2においては、送信したクエリY11に対するレポートY12の返信があった場合、このレポートY12の返信があったポートに対してマルチキャスト信号Y13の転送を行う。   For example, as the relay device 2, there is a multicast-compatible router that supports IGMP (Internet Group Management Protocol). IGMP is a protocol for managing participation / leaving to / from a multicast group in order to perform multicast communication on an IP network, and is standardized by RFC (RFC 1112/2236/3376). Then, as shown in FIG. 6, the relay device 2 periodically performs a query to investigate whether there is a terminal (control device 1, device 3) that desires to receive a multicast signal in the network to be managed. Y11 (IGMP Query) is transmitted by multicast. When receiving a query Y11, a terminal desiring to receive a multicast signal addressed to a specific multicast group notifies the relay device 2 of the address (multicast address) of the multicast group desired to be received by a report Y12 (IGMP Report). In the relay device 2 corresponding to the IGMP standard, when a report Y12 is returned to the transmitted query Y11, the multicast signal Y13 is transferred to the port to which the report Y12 has been returned.

また図7に示すように、中継装置2は、送信したクエリY11に対するレポートY12の返信がないポートに対してはマルチキャスト信号Y13の転送を行わない。   Further, as shown in FIG. 7, the relay device 2 does not transfer the multicast signal Y13 to the port for which the report Y12 does not respond to the transmitted query Y11.

よって、マルチキャスト信号の受信を希望する制御装置1、機器3は、IGMPに対応する(レポートY12を返信する)必要がある。   Therefore, the control device 1 and the device 3 desiring to receive the multicast signal need to support IGMP (return a report Y12).

また、中継装置2は、IGMPを応用して、レポートY12を盗聴(Snooping)することで、中継装置2に具備されたポートのそれぞれへのマルチキャスト信号の転送可否を判断するSnooping機能を実行することができる。Snooping機能はIGMPの規格外であり、必要なポートのみにマルチキャスト信号が転送されることで、通信トラフィックを抑制することを目的としている。この中継装置2は、ポート毎にマルチキャスト信号の転送可否を設定したSnoopingテーブルを保持している。   Further, the relay device 2 executes a Snooping function that determines whether or not a multicast signal can be transferred to each of the ports provided in the relay device 2 by sniffing the report Y12 by applying IGMP. Can do. The Snooping function is outside the IGMP standard, and is intended to suppress communication traffic by transferring a multicast signal only to a necessary port. The relay device 2 holds a Snooping table that sets whether or not multicast signals can be transferred for each port.

中継装置2は、さらにマルチキャスト信号の転送期間(マルチキャスト転送期間)を管理することができる。中継装置2は、タイマを用いたマルチキャスト転送期間の計時をポート毎に行い、転送期間を超過したポートがある場合、このポートは、Snoopingテーブルにおいて転送否の設定がなされる。中継装置2は、Snoopingテーブルにおいて転送否の設定がなされたポートには、マルチキャスト信号を転送しない。   The relay device 2 can further manage a multicast signal transfer period (multicast transfer period). The relay device 2 counts the multicast transfer period using a timer for each port, and when there is a port that has exceeded the transfer period, this port is set to transfer reject in the Snooping table. The relay device 2 does not transfer the multicast signal to the port for which transfer is prohibited in the Snooping table.

そして、中継装置2は、レポートY12を受信したポートに対してはタイマの計時動作をリセットすることによって、マルチキャスト転送期間を延長することができる。この場合、制御装置1、機器3は、中継装置2からクエリY11を受信しなくとも、一定周期でレポートY12を送信する必要がある。すなわち、制御装置1、機器3は、一定周期でレポートY12を送信しなければ、自己が接続する中継装置2からマルチキャスト信号が転送されなくなる。   The relay device 2 can extend the multicast transfer period by resetting the timer operation for the port that has received the report Y12. In this case, even if the control device 1 and the device 3 do not receive the query Y11 from the relay device 2, it is necessary to transmit the report Y12 at a constant cycle. That is, if the control device 1 and the device 3 do not transmit the report Y12 at a constant cycle, the multicast signal is not transferred from the relay device 2 to which the control device 1 and the device 3 are connected.

例えば、図8に示すように、中継装置2は、機器3からレポートY12を受信してからマルチキャスト転送期間T1(例えば、5分)の計時を開始する。中継装置2は、マルチキャスト転送期間T1において制御装置1からマルチキャスト信号Y13を受信すると、機器3が接続されたポートからマルチキャスト信号Y13を転送する。しかし、中継装置2は、マルチキャスト転送期間T1を超過すると、制御装置1からマルチキャスト信号Y13を受信しても、機器3が接続されたポートからマルチキャスト信号Y13を転送しない。   For example, as illustrated in FIG. 8, the relay device 2 starts measuring the multicast transfer period T1 (for example, 5 minutes) after receiving the report Y12 from the device 3. When the relay device 2 receives the multicast signal Y13 from the control device 1 in the multicast transfer period T1, the relay device 2 transfers the multicast signal Y13 from the port to which the device 3 is connected. However, when the multicast transfer period T1 is exceeded, the relay device 2 does not transfer the multicast signal Y13 from the port to which the device 3 is connected even if it receives the multicast signal Y13 from the control device 1.

上述のように、中継装置2の機能、設定によっては、中継装置2がマルチキャスト信号の転送を行わず、制御装置1が送信したマルチキャスト信号が到達しない機器3が発生する場合がある。例えば、ある時点では制御装置1から送信されたマルチキャスト信号が機器3に到達していたが、マルチキャスト転送期間の終了後には、制御装置1から送信されたマルチキャスト信号が機器3に到達しなくなる場合も考えられる。そこで、本実施形態の制御装置1は、経路判定部15による図9の処理を定期的に行って、中継装置2によるマルチキャスト信号の転送状況(中継装置2によるマルチキャスト信号の転送に不具合があるか否か)を判定する。   As described above, depending on the function and setting of the relay device 2, the relay device 2 may not transfer the multicast signal, and a device 3 that does not reach the multicast signal transmitted by the control device 1 may occur. For example, the multicast signal transmitted from the control device 1 has reached the device 3 at a certain point in time, but the multicast signal transmitted from the control device 1 may not reach the device 3 after the end of the multicast transfer period. Conceivable. Therefore, the control device 1 according to the present embodiment periodically performs the processing of FIG. 9 by the route determination unit 15 to determine the transfer status of the multicast signal by the relay device 2 (whether there is a problem with the transfer of the multicast signal by the relay device 2). Or not).

まず、制御装置1の経路判定部15は、判定処理を開始すると第1送信部11に指示して、マルチキャストアドレスを付加した第1応答要求を通信経路91に送出させることによって、第1応答要求をマルチキャスト送信する(S1)。第1応答要求とは、応答信号の返信を要求するマルチキャスト信号であり、中継装置2を介して第1応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。   First, the path determination unit 15 of the control device 1 instructs the first transmission unit 11 to start the determination process, and sends the first response request to which the multicast address is added to the communication path 91, so that the first response request is sent. Is multicast-transmitted (S1). The first response request is a multicast signal that requests a response signal to be returned, and the device 3 that has received the first response request via the relay device 2 unicasts the response signal to the control device 1. At this time, the device 3 adds its own registration information as transmission source information to the response signal.

経路判定部15は、受信部13が中継装置2を介して応答信号を受信した場合、この応答信号に付加されている送信元情報(送信元の登録情報)から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、第1応答要求をマルチキャスト送信してから所定時間が経過するまでに、全ての登録済の機器3から応答信号を受信したか否かを判定する(S2)。   When the receiving unit 13 receives a response signal via the relay device 2, the route determination unit 15 uses the transmission source information (transmission source registration information) added to the response signal to generate the response signal transmission source device. 3 can be identified. Then, the route determination unit 15 determines whether or not response signals have been received from all the registered devices 3 until a predetermined time has elapsed since the first response request was multicast transmitted (S2).

経路判定部15は、全ての登録済の機器3から応答信号を受信した場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S3)。具体的に、経路判定部15は、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93(ポート22、23)に転送されていると判定する。言い換えれば、経路判定部15は、通信経路92,93(ポート22、23)はマルチキャストによる送信が可能であると判定する。   When the response determination signal is received from all the registered devices 3, the route determination unit 15 determines that there is no problem in the multicast signal transfer processing by the relay device 2 (S3). Specifically, the path determination unit 15 determines that the multicast signal transmitted on the communication path 91 (port 21) is transferred to the communication paths 92 and 93 (ports 22 and 23). In other words, the path determination unit 15 determines that the communication paths 92 and 93 (ports 22 and 23) can be transmitted by multicast.

また、経路判定部15は、機器情報記憶部16に登録情報を格納されていない機器3から、第1応答要求に対する応答信号を受信した場合、この応答信号に付加されている登録情報(新規の機器3の登録情報)を機器情報記憶部16に格納する。なお、この新規の機器3の登録情報は、上述のステップS2における登録済の機器3には含まれない。   In addition, when receiving a response signal for the first response request from the device 3 whose registration information is not stored in the device information storage unit 16, the route determination unit 15 receives the registration information (new information added to the response signal). Device 3 registration information) is stored in the device information storage unit 16. The registration information of the new device 3 is not included in the registered device 3 in step S2 described above.

一方、経路判定部15は、1台以上の登録済の機器3から応答信号を受信しなかった場合、第2送信部12に指示して、応答信号を返信していない(未応答の)機器3のユニキャストアドレスを付加した第2応答要求を通信経路91に送出させる(S4)。すなわち、第2送信部12は、未応答の機器3のそれぞれに対して第2応答要求をユニキャスト送信する。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。   On the other hand, if the route determination unit 15 does not receive a response signal from one or more registered devices 3, the route determination unit 15 instructs the second transmission unit 12 to return a response signal (not responding). The second response request to which the unicast address 3 is added is sent to the communication path 91 (S4). In other words, the second transmission unit 12 unicasts the second response request to each of the unresponsive devices 3. The second response request is a unicast signal that requests a response signal to be returned, and the device 3 that has received the second response request via the relay device 2 unicasts the response signal to the control device 1. At this time, the device 3 adds its own registration information as transmission source information to the response signal.

経路判定部15は、受信部13が中継装置2を介して機器3から第2応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、未応答の機器3の少なくとも1台から応答信号を受信したか否かを判定する(S5)。経路判定部15は、未応答の機器3の全てが応答信号を返信しなかった場合、中継装置2における転送処理の不具合の有無を判定しない(S6)。この場合、マルチキャストされた第1応答要求に対して機器3が応答しない要因として、送信先の機器3の不具合(機器3の電源停止、故障、撤去等)等が考えられる。   When the receiving unit 13 receives a response signal for the second response request from the device 3 via the relay device 2, the route determination unit 15 determines the source of the response signal from the source information added to the response signal. The device 3 can be identified. Then, the route determination unit 15 determines whether or not a response signal has been received from at least one of the unresponsive devices 3 (S5). The route determination unit 15 does not determine whether there is a defect in the transfer process in the relay device 2 when all of the unresponsive devices 3 have not returned a response signal (S6). In this case, as a factor that the device 3 does not respond to the multicasted first response request, a failure of the transmission destination device 3 (power supply stop, failure, removal, etc. of the device 3) can be considered.

一方、経路判定部15は、未応答の機器3の少なくとも1台でも応答信号を返信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S7)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、ステップS5において応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。   On the other hand, the route determination unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2 if at least one of the unresponsive devices 3 returns a response signal (S7). Specifically, the failure of the transfer process means that the multicast signal sent on the communication path 91 (port 21) is either the communication paths 92 and 93 (both ports 22 and 23) or the communication paths 92 and 93. It is in a state where it is not transferred to one (one of ports 22 and 23). In other words, the route determination unit 15 can determine that the communication route (port) used by the device 3 that has returned the response signal in step S5 cannot be transmitted by multicast.

また、経路判定部15は、ステップS1,S2の処理を複数回繰り返して、マルチキャスト信号に対する応答確認を複数回行うことが好ましい。例えば、通信経路92,93が無線の通信経路である場合、電波状況によっては、マルチキャスト信号が受信できない機器3や、応答信号が中継装置2に到達しない機器3が存在する可能性がある。そこで、経路判定部15は、マルチキャスト信号に対する応答確認を複数回行うことで、応答確認の精度を向上させることができる。   Moreover, it is preferable that the route determination unit 15 repeats the processes of Steps S1 and S2 a plurality of times and performs response confirmation for the multicast signal a plurality of times. For example, when the communication paths 92 and 93 are wireless communication paths, there may be a device 3 that cannot receive a multicast signal or a device 3 that does not allow a response signal to reach the relay device 2 depending on radio wave conditions. Therefore, the route determination unit 15 can improve the accuracy of the response confirmation by performing the response confirmation for the multicast signal a plurality of times.

このように、制御装置1は、機器情報記憶部16と、第1送信部11と、第2送信部12と、受信部13と、経路判定部15とを備える。機器情報記憶部16は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器3に個別に割り当てられた登録情報を格納する。第1送信部11は、応答信号の返信を要求するマルチキャスト信号である第1応答要求をマルチキャストグループにマルチキャストで送信する。第2送信部12は、応答信号の返信を要求するユニキャスト信号である第2応答要求を機器3にユニキャストで送信する。受信部13は、応答信号を受信する。経路判定部15は、受信部13が受信した応答信号に基づいて、機器3が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する。この場合、経路判定部15は、機器3が第1応答要求に対する応答信号を返信せず、第2応答要求に対する応答信号を返信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。   As described above, the control device 1 includes the device information storage unit 16, the first transmission unit 11, the second transmission unit 12, the reception unit 13, and the route determination unit 15. The device information storage unit 16 stores registration information individually assigned to control target devices 3 belonging to a multicast group capable of network communication. The 1st transmission part 11 transmits the 1st response request | requirement which is a multicast signal which requests | requires the reply of a response signal to a multicast group by multicast. The second transmitter 12 transmits a second response request, which is a unicast signal for requesting a response signal, to the device 3 by unicast. The receiving unit 13 receives a response signal. The route determination unit 15 determines whether the communication route used by the device 3 can be transmitted by multicast based on the response signal received by the reception unit 13. In this case, when the device 3 does not return a response signal for the first response request but returns a response signal for the second response request, the route determination unit 15 cannot transmit the communication route used by the device 3 by multicast. It is determined that

また、第1送信部11、第2送信部12、受信部13は、機器3との間で授受される信号を中継する中継装置2を介して機器3との間で通信を行うことが好ましい。   Moreover, it is preferable that the 1st transmission part 11, the 2nd transmission part 12, and the receiving part 13 communicate between the apparatuses 3 via the relay apparatus 2 which relays the signal transmitted / received between the apparatuses 3. FIG. .

したがって、制御装置1は、マルチキャスト信号が到達しない登録済の機器3があった場合に、このマルチキャストの不通状態が、中継装置2におけるマルチキャスト信号の転送不具合を要因とするのか否かがわかる。すなわち、制御装置1は、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。   Therefore, when there is a registered device 3 to which the multicast signal does not reach, the control device 1 knows whether or not this multicast interruption state is caused by a multicast signal transfer failure in the relay device 2. That is, the control device 1 can determine the presence or absence of a multicast signal transfer failure in the relay device 2.

また、経路判定部15は、以下の判定処理を行うことが好ましい。経路判定部15は、第1送信部11に第1応答要求をマルチキャストで送信させて、第1応答要求に対する応答信号を、機器情報記憶部16に登録情報を格納されている機器3から受信した場合、この機器3が用いる通信経路92,93(ポート22,23)はマルチキャストによる送信が可能であると判定する。そして、経路判定部15は、機器情報記憶部16に登録情報を格納されている機器3のうち、第1応答要求に対する応答信号を返信していない機器3に対して、第2送信部12に第2応答要求をユニキャストで送信させる。経路判定部15は、第2応答要求に対する応答信号を機器3から受信した場合、この機器3が用いる通信経路92または93(ポート22または23)はマルチキャストによる送信が不可能であると判定する。   In addition, the route determination unit 15 preferably performs the following determination process. The route determination unit 15 causes the first transmission unit 11 to transmit the first response request by multicast and receives a response signal for the first response request from the device 3 in which the registration information is stored in the device information storage unit 16. In this case, the communication paths 92 and 93 (ports 22 and 23) used by the device 3 are determined to be capable of multicast transmission. The path determination unit 15 then sends the second transmission unit 12 to the device 3 that has not returned a response signal to the first response request among the devices 3 whose registration information is stored in the device information storage unit 16. The second response request is transmitted by unicast. When receiving a response signal to the second response request from the device 3, the route determination unit 15 determines that the communication route 92 or 93 (port 22 or 23) used by the device 3 cannot be transmitted by multicast.

したがって、経路判定部15は、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、第1応答要求に応答していない未応答の機器3にのみ第2応答要求をユニキャストするので、第2応答要求の送信処理に必要な通信トラフィックを抑制できる。   Therefore, the route determination unit 15 can determine whether or not there is a multicast signal transfer failure in the relay device 2. Furthermore, since the second response request is unicast only to the unacknowledged device 3 that has not responded to the first response request, communication traffic necessary for the transmission processing of the second response request can be suppressed.

また、経路判定部15は、ステップS5において応答信号を返信した機器3のポート情報に基づいて、中継装置2がマルチキャスト信号の転送処理を行わない通信経路(ポート)を判別することができる。すなわち、経路判定部15は、ステップS5において応答信号を返信した機器3が接続している通信経路(中継装置2のポート)に、マルチキャスト不通の不具合が発生していると判定できる。言い換えれば、経路判定部15は、ステップS5において応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。   Further, the route determination unit 15 can determine a communication route (port) where the relay device 2 does not perform the multicast signal transfer process based on the port information of the device 3 that has returned the response signal in step S5. That is, the route determination unit 15 can determine that a multicast failure has occurred in the communication route (port of the relay device 2) to which the device 3 that has returned the response signal in step S5 is connected. In other words, the route determination unit 15 can determine that the communication route (port) used by the device 3 that has returned the response signal in step S5 cannot be transmitted by multicast.

具体的に、通信経路92(ポート22)に接続している機器3からは、第1応答要求に対する応答信号の返信があり、通信経路93(ポート23)に接続している機器3からは、第1応答要求に対する応答信号の返信がないとする。そして、通信経路93(ポート23)に接続している機器3から第2応答要求に対する応答信号の返信があった場合、経路判定部15は、通信経路93(ポート23)にマルチキャスト不通の不具合が発生していると判定できる。   Specifically, the device 3 connected to the communication path 92 (port 22) returns a response signal in response to the first response request, and the device 3 connected to the communication path 93 (port 23) Assume that no response signal is returned in response to the first response request. When a response signal in response to the second response request is returned from the device 3 connected to the communication path 93 (port 23), the path determination unit 15 has a problem that the communication path 93 (port 23) is not in multicast. It can be determined that it has occurred.

また、制御装置1の機器情報記憶部16は、複数の機器3のそれぞれの登録情報を格納している。そして、経路判定部15は、以下の判定処理を行うことが好ましい。   Further, the device information storage unit 16 of the control device 1 stores registration information of each of the plurality of devices 3. And it is preferable that the route determination part 15 performs the following determination processes.

例えば、機器情報記憶部16に、機器3が接続されているポートの情報(ポート情報)も格納することによって、経路判定部15は、同一のポート(同一の通信経路)に接続している機器3を区別できる。図1の機器3は、ポート22,23(通信経路92,93)のいずれかに対応付けられる。このポート情報は、ユーザまたは施工者によって機器情報記憶部16に格納される。そして、経路判定部15は、ステップS2において、第1応答要求に対する応答結果をポート22,23毎に整理する。すなわち、経路判定部15は、同一ポートに接続する機器3に、応答済の機器3(第1の機器3)と未応答の機器3(第2の機器3)とが混在している場合、このポートにマルチキャスト信号の転送不具合は発生していないと判定する。ここで、中継装置2は、ポート毎にマルチキャストの転送可否を判断しており、無線通信では、通信帯域毎に一つのポートが用意され、有線通信では、ケーブルの挿入口毎に一つのポートが用意されている。   For example, by storing the information (port information) of the port to which the device 3 is connected in the device information storage unit 16, the route determination unit 15 is connected to the same port (same communication route). 3 can be distinguished. The device 3 in FIG. 1 is associated with one of the ports 22 and 23 (communication paths 92 and 93). This port information is stored in the device information storage unit 16 by the user or the installer. Then, in step S <b> 2, the route determination unit 15 organizes the response results for the first response request for each of the ports 22 and 23. That is, the route determination unit 15 includes a device 3 connected to the same port and a device 3 that has responded (first device 3) and a device 3 that has not yet responded (second device 3). It is determined that no multicast signal transfer failure has occurred in this port. Here, the relay device 2 determines whether or not multicast transfer is possible for each port. In wireless communication, one port is prepared for each communication band. In wired communication, one port is provided for each cable insertion port. It is prepared.

そして、経路判定部15は、同一ポートに接続する機器3に、応答済の機器3と未応答の機器3とが混在している場合、この未応答の機器3に対してはステップS4において第2応答要求をユニキャスト送信させない。すなわち、経路判定部15は、同一ポートに接続している全ての登録済の機器3が第1応答要求に対して未応答である場合にのみ、このポートに接続している登録済の機器3へ、第2応答要求をユニキャスト送信させる。この場合、経路判定部15は、第2応答要求の送信の有無(送信する/送信しない)を通信経路毎に判断している。   When the device 3 connected to the same port includes both the responded device 3 and the unanswered device 3, the route determination unit 15 determines the unanswered device 3 in step S4. 2 Do not allow unicast transmission of response requests. In other words, the route determination unit 15 only registers the registered devices 3 connected to this port when all the registered devices 3 connected to the same port have not responded to the first response request. Unicast transmission of the second response request. In this case, the route determination unit 15 determines whether or not the second response request is transmitted (transmitted / not transmitted) for each communication route.

すなわち、経路判定部15は、第1応答要求に対する応答信号を返信しない機器3(第1の機器3)が用いる通信経路が、第1応答要求に対する応答信号を返信する機器3(第2の機器3)が用いる通信経路と同じであるとする。このとき、経路判定部15は、第1の機器3が用いる通信経路はマルチキャストによる送信が可能であると判定して、第2応答要求の送信の有無を通信経路毎に判断することが好ましい。   That is, the route determination unit 15 uses the device 3 (second device) in which the communication route used by the device 3 (first device 3) that does not return a response signal to the first response request returns the response signal to the first response request. It is assumed that the communication path is the same as that used in 3). At this time, it is preferable that the route determination unit 15 determines that the communication route used by the first device 3 can be transmitted by multicast, and determines whether or not the second response request is transmitted for each communication route.

この場合、制御装置1は、無駄な第2応答要求のユニキャスト送信を行うことがないので、経路判定部15の判定処理における通信トラフィックを抑制することができる。   In this case, since the control apparatus 1 does not perform useless unicast transmission of the second response request, it is possible to suppress communication traffic in the determination process of the route determination unit 15.

そして、機器情報記憶部16に格納されている登録情報には、図2に示すように、マルチキャストによる信号送信が可能か否かを示すマルチキャストフラグが設定されている。経路判定部15は、判定結果に基づいて、機器3毎にマルチキャストによる信号送信の可否をマルチキャストフラグに設定する(1:マルチキャスト可、0:マルチキャスト不可)。制御装置1では、機器情報記憶部16を参照して、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。   In the registration information stored in the device information storage unit 16, as shown in FIG. 2, a multicast flag indicating whether or not multicast signal transmission is possible is set. Based on the determination result, the route determination unit 15 sets whether or not multicast signal transmission is possible for each device 3 in a multicast flag (1: multicast is possible, 0: multicast is not possible). The control device 1 refers to the device information storage unit 16 and uses a device 3 that uses a communication path (port) capable of multicast signal transmission and a communication path (port) that cannot perform multicast signal transmission. The device 3 can be identified.

しかしながら、上述の経路判定部15による判定処理は、登録済の機器3のみを対象にしており、制御装置1は、機器情報記憶部16に登録情報が格納されていない機器3と通信を行うことができない。   However, the above-described determination process by the route determination unit 15 targets only the registered device 3, and the control device 1 communicates with the device 3 whose registration information is not stored in the device information storage unit 16. I can't.

そこで、経路判定部15が図9の処理を実行して、中継装置2によるマルチキャスト信号の転送処理に不具合ありと判定したとする。この場合、制御装置1は、機器情報記憶部16に登録情報が格納されておらず、且つマルチキャスト不可能である機器3の登録情報を収集するために、図10の探索処理を実行する。   Therefore, it is assumed that the route determination unit 15 performs the processing of FIG. 9 and determines that there is a problem in the multicast signal transfer processing by the relay device 2. In this case, the control device 1 executes the search process of FIG. 10 in order to collect the registration information of the device 3 that does not store the registration information in the device information storage unit 16 and cannot be multicast.

図1の宅内ネットワークには、DHCPサーバ4が設置されている。DHCPサーバ4は、宅内ネットワーク上の端末にユニキャストアドレスを割り付ける機能を有しており、制御装置1、機器3のそれぞれのユニキャストアドレスは、DHCPサーバ4によって割り付けられる。   In the home network of FIG. 1, a DHCP server 4 is installed. The DHCP server 4 has a function of assigning unicast addresses to terminals on the home network. The unicast addresses of the control device 1 and the device 3 are assigned by the DHCP server 4.

まず、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在するか否かを判定する(S11)。この判定方法は、制御装置1に割り付けられたユニキャストアドレスの有無を用いる方法と、DHCPディスカバーコマンドを用いる方法とがある。   First, the estimation unit 17 determines whether or not the DHCP server 4 exists on the home network (S11). This determination method includes a method using the presence / absence of a unicast address assigned to the control device 1 and a method using a DHCP discover command.

前者の方法では、推定部17は、制御装置1にユニキャストアドレスが割り付けられているか否かを判別する。そして、制御装置1にユニキャストアドレスが割り付けられている場合、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在すると判定する。後者の方法では、推定部17は、DHCPディスカバーコマンドをブロードキャスト送信し、DHCPディスカバーコマンドに対する応答があれば、宅内ネットワーク上にDHCPサーバ4が存在すると判定する。   In the former method, the estimation unit 17 determines whether or not a unicast address is assigned to the control device 1. When the unicast address is assigned to the control device 1, the estimation unit 17 determines that the DHCP server 4 exists on the home network. In the latter method, the estimation unit 17 broadcasts a DHCP discover command, and determines that the DHCP server 4 exists on the home network if there is a response to the DHCP discover command.

推定部17は、宅内ネットワーク上にDHCPサーバ4が存在すると判定した場合、制御装置1に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定する(S12)。DHCPサーバ4は、宅内ネットワーク上の端末に割り付けるユニキャストアドレスの範囲(ユニキャストアドレスのリース範囲)が予め決まっており、このリース範囲内のユニキャストアドレスを昇順で順次割り付ける。DHCPサーバ4が中継装置2に格納されている場合、ユニキャストアドレスのリース範囲には、中継装置2のメーカ毎に傾向がある。ユニキャストアドレスのリース範囲は、例えば「192.168.11.1」〜「192.168.11.254」に設定されている。そして、推定部17は、制御装置1に割り付けられたユニキャストアドレスの前後を、機器3に割り付けられたユニキャストアドレスとして推定する。   When it is determined that the DHCP server 4 exists on the home network, the estimation unit 17 estimates the unicast address assigned to the device 3 from the unicast address assigned to the control device 1 (S12). The DHCP server 4 has a predetermined range of unicast addresses (unicast address lease range) to be allocated to terminals on the home network, and sequentially allocates unicast addresses within the lease range in ascending order. When the DHCP server 4 is stored in the relay device 2, the unicast address lease range has a tendency for each manufacturer of the relay device 2. The lease range of the unicast address is set to, for example, “192.168.11.1” to “192.168.11.254”. Then, the estimation unit 17 estimates before and after the unicast address assigned to the control device 1 as the unicast address assigned to the device 3.

例えば、制御装置1のユニキャストアドレスが「192.168.11.5」であるとする。この場合、推定部17は、「192.168.11.5」より前のユニキャストアドレス「192.168.11.1」〜「192.168.11.4」を機器3に割り付けられたユニキャストアドレスとして推定できる。さらに、推定部17は、「192.168.11.5」より後の10個のユニキャストアドレス「192.168.11.6」〜「192.168.11.15」を機器3に割り付けられたユニキャストアドレスとして推定できる。すなわち、推定部17は、制御装置1に割り付けられたユニキャストアドレスの前の全ユニキャストアドレス、制御装置1に割り付けられたユニキャストアドレスの後の10個のユニキャストアドレスを推定範囲とすることができる。なお、推定部17の推定範囲は、上述の例に限定されない。   For example, it is assumed that the unicast address of the control device 1 is “192.168.11.5”. In this case, the estimation unit 17 assigns the unicast addresses “192.168.11.1” to “192.168.11.4” before “192.168.11.5” to the device 3. Can be estimated as a cast address. Furthermore, the estimation unit 17 is assigned 10 unicast addresses “192.168.11.6” to “192.168.11.15” after “192.168.11.5” to the device 3. Can be estimated as a unicast address. That is, the estimation unit 17 sets all the unicast addresses before the unicast address assigned to the control device 1 and 10 unicast addresses after the unicast address assigned to the control device 1 as the estimation range. Can do. Note that the estimation range of the estimation unit 17 is not limited to the above example.

次に探索部18は、第2送信部12に指示して、推定範囲内のユニキャストアドレスのそれぞれを付加した探索信号を通信経路91に送出させる(S13)。このとき、探索部18は、推定範囲内のユニキャストアドレスから、登録情報に含まれているユニキャストアドレスは除いて探索信号を送信させることが好ましい。この場合、探索部18は、不必要な探索信号を送信することがなく、探索信号による通信トラフィックを抑制できる。すなわち、第2送信部12は、推定範囲内のユニキャストアドレスのそれぞれ(但し、登録情報に含まれているユニキャストアドレスは除く)に対して探索信号をユニキャスト送信する。探索信号とは、応答信号の返信を要求する機器探索用のユニキャスト信号であり、中継装置2を介して探索信号を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。   Next, the search unit 18 instructs the second transmission unit 12 to send a search signal to which each of the unicast addresses within the estimated range is added to the communication path 91 (S13). At this time, it is preferable that the search part 18 removes the unicast address contained in registration information from the unicast address within an estimated range, and transmits a search signal. In this case, the search part 18 can suppress the communication traffic by a search signal, without transmitting an unnecessary search signal. That is, the second transmission unit 12 unicasts a search signal to each of the unicast addresses within the estimated range (however, excluding the unicast address included in the registration information). The search signal is a unicast signal for searching for a device that requests a response signal to be returned, and the device 3 that has received the search signal via the relay device 2 transmits the response signal to the control device 1 in a unicast manner. At this time, the device 3 adds its own registration information as transmission source information to the response signal.

また、推定部17は、DHCPサーバ4に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定することもできる。   The estimation unit 17 can also estimate the unicast address assigned to the device 3 from the unicast address assigned to the DHCP server 4.

例えば、DHCPサーバ4のユニキャストアドレスが「192.168.11.1」であるとする。この場合、推定部17は、「192.168.11.1」より後の10個のユニキャストアドレス「192.168.11.2」〜「192.168.11.11」を機器3に割り付けられたユニキャストアドレスとして推定できる。すなわち、推定部17は、DHCPサーバ4に割り付けられたユニキャストアドレスの後の10個のユニキャストアドレスを推定範囲とすることができる。なお、推定部17の推定範囲は、上述の例に限定されない。   For example, it is assumed that the unicast address of the DHCP server 4 is “192.168.11.1”. In this case, the estimation unit 17 assigns 10 unicast addresses “192.168.11.2” to “192.168.11.11” after “192.168.11.1” to the device 3. It can be estimated as a given unicast address. That is, the estimation unit 17 can set 10 unicast addresses after the unicast address assigned to the DHCP server 4 as the estimated range. Note that the estimation range of the estimation unit 17 is not limited to the above example.

そして、探索部18は、受信部13が探索信号に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報(ユニキャストアドレス、MACアドレス等)を抽出する。探索部18は、抽出した登録情報のうち、機器情報記憶部16に格納されていない新規の登録情報を、機器情報記憶部16に新たに格納する(S14)。この新たに格納された登録情報は、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる新たな機器3の登録情報である。すなわち、探索部18によって登録された新たな機器3の登録情報は、登録情報のマルチキャストフラグが「0」に設定される。   Then, when the receiving unit 13 receives a response signal to the search signal from the device 3, the search unit 18 extracts registration information (unicast address, MAC address, etc.) added to the response signal. The search unit 18 newly stores, in the device information storage unit 16, new registration information that is not stored in the device information storage unit 16 among the extracted registration information (S14). The newly stored registration information is registration information of a new device 3 that uses a communication path (port) where signal transmission by multicast is impossible. That is, the registration information of the new device 3 registered by the search unit 18 has the multicast flag of the registration information set to “0”.

推定部17が推定したユニキャストアドレスは、制御装置1−機器3間の通信規格とは異なる他の通信規格を用いる他の端末に割り付けられた可能性もあるが、この場合は他の端末から応答信号が返信されない。なお、探索部18は、探索信号の送信先のアドレスから、探索信号に対して応答した機器3のユニキャストアドレスを機器情報記憶部16に格納することもできる。   The unicast address estimated by the estimation unit 17 may be assigned to another terminal using another communication standard different from the communication standard between the control device 1 and the device 3, but in this case, the other terminal uses the communication standard. The response signal is not returned. The search unit 18 can also store, in the device information storage unit 16, the unicast address of the device 3 that has responded to the search signal from the address of the search signal transmission destination.

制御部14は、機器情報記憶部16を参照して、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。   The control unit 14 refers to the device information storage unit 16 and uses the device 3 that uses a communication path (port) capable of multicast signal transmission and the communication path (port) that cannot perform multicast signal transmission. The device 3 can be identified.

そこで、制御部14は、以降の通信において、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3に対しては、マルチキャスト送信を行う。また制御部14は、以降の通信において、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3に対しては、ユニキャスト送信を行う。   Therefore, in the subsequent communication, the control unit 14 performs multicast transmission to the device 3 that uses a communication path (port) capable of multicast signal transmission. Further, in the subsequent communication, the control unit 14 performs unicast transmission to the device 3 that uses a communication path (port) where signal transmission by multicast is impossible.

このように、登録情報は、機器3のユニキャストアドレスの情報を含んでおり、制御装置1は、推定部17と探索部18とをさらに備えることが好ましい。推定部17は、機器3にユニキャストアドレスを割り当てるDHCPサーバ4が存在するか否かを判定する。推定部17は、DHCPサーバ4が存在すれば、DHCPサーバ4が機器3へ割り当てるユニキャストアドレスを制御装置1のユニキャストアドレスまたはDHCPサーバ4のユニキャストアドレスに基づいて推定する。そして、機器3が用いる通信経路はマルチキャストによる送信が不可能であると経路判定部15が判定したとする。この場合、探索部18は、推定部17が推定したユニキャストアドレスに対して、応答信号の返信を要求するユニキャスト信号である探索信号を第2送信部12にユニキャストで送信させる。探索部18は、機器3が探索信号に対する応答信号を返信する場合、この機器3のユニキャストアドレスを、返信された応答信号に基づいて取得して機器情報記憶部16に格納する。   As described above, the registration information includes information on the unicast address of the device 3, and the control device 1 preferably further includes the estimation unit 17 and the search unit 18. The estimation unit 17 determines whether there is a DHCP server 4 that assigns a unicast address to the device 3. If the DHCP server 4 exists, the estimation unit 17 estimates a unicast address assigned to the device 3 by the DHCP server 4 based on the unicast address of the control device 1 or the unicast address of the DHCP server 4. It is assumed that the route determination unit 15 determines that the communication route used by the device 3 cannot be transmitted by multicast. In this case, the search unit 18 causes the second transmission unit 12 to transmit a search signal, which is a unicast signal for requesting a response signal, to the unicast address estimated by the estimation unit 17 by unicast. When the device 3 returns a response signal to the search signal, the search unit 18 acquires the unicast address of the device 3 based on the returned response signal and stores it in the device information storage unit 16.

したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合がある場合でも、機器3のユニキャストアドレス(または、ユニキャストアドレスを含む登録情報)を収集できる。   Therefore, the control device 1 can collect the unicast address (or registration information including the unicast address) of the device 3 even when the transfer processing of the multicast signal by the relay device 2 is defective.

また、制御装置1は機器情報記憶部16に登録情報が格納されていない場合、図11のフローチャートにしたがって中継装置2によるマルチキャスト信号の転送状況を判定することが好ましい。   When the registration information is not stored in the device information storage unit 16, the control device 1 preferably determines the multicast signal transfer status by the relay device 2 according to the flowchart of FIG.

まず、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在するか否かを判定する(S21)。この判定方法は、制御装置1に割り付けられたユニキャストアドレスの有無を用いる方法と、DHCPディスカバーコマンドを用いる方法とがある。   First, the estimation unit 17 determines whether or not the DHCP server 4 exists on the home network (S21). This determination method includes a method using the presence / absence of a unicast address assigned to the control device 1 and a method using a DHCP discover command.

宅内ネットワーク上にDHCPサーバ4が存在すると推定部17が判定した場合、経路判定部15は、第1送信部11に指示して、第1応答要求をマルチキャスト送信する(S22)。   When the estimation unit 17 determines that the DHCP server 4 is present on the home network, the route determination unit 15 instructs the first transmission unit 11 to perform multicast transmission of the first response request (S22).

経路判定部15は、受信部13が第1応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S23)。   When the reception unit 13 receives a response signal for the first response request from the device 3, the route determination unit 15 stores the registration information added to the response signal in the device information storage unit 16 (S23).

次に、推定部17は、制御装置1に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定する(S24)。推定部17は、制御装置1に割り付けられたユニキャストアドレスの前後を、機器3に割り付けられたユニキャストアドレスとして推定する。   Next, the estimation part 17 estimates the unicast address allocated to the apparatus 3 from the unicast address allocated to the control apparatus 1 (S24). The estimation unit 17 estimates before and after the unicast address assigned to the control device 1 as the unicast address assigned to the device 3.

次に経路判定部15は、第2送信部12に指示して、推定範囲内のユニキャストアドレスのそれぞれを付加した第2応答要求を通信経路91に送出させる(S25)。すなわち、第2送信部12は、推定範囲内のユニキャストアドレスのそれぞれに対して第2応答要求をユニキャスト送信する。   Next, the route determination unit 15 instructs the second transmission unit 12 to send a second response request with each of the unicast addresses within the estimated range to the communication route 91 (S25). That is, the second transmission unit 12 unicasts a second response request to each of the unicast addresses within the estimated range.

経路判定部15は、受信部13が第2応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S26)。推定部17が推定したユニキャストアドレスは、制御装置1−機器3間の通信規格とは異なる他の通信規格を用いる他の端末に割り付けられた可能性もあるが、この場合は他の端末から応答信号が返信されない。   When the receiving unit 13 receives a response signal for the second response request from the device 3, the route determination unit 15 stores the registration information added to the response signal in the device information storage unit 16 (S26). The unicast address estimated by the estimation unit 17 may be assigned to another terminal using another communication standard different from the communication standard between the control device 1 and the device 3, but in this case, the other terminal uses the communication standard. The response signal is not returned.

そして、経路判定部15は、機器情報記憶部16を参照して、マルチキャストされた第1応答要求に応答せず、ユニキャストされた第2応答要求のみに応答した機器3があるか否かを判定する(S27)。経路判定部15は、第2応答要求のみに応答した機器3がなければ、中継装置2における転送処理の不具合の有無を判定しない(S28)。この場合、応答要求に対して応答しない機器3があれば、この機器3の不具合(機器3の電源停止、故障、撤去等)等が応答しない要因として考えられる。   Then, the route determination unit 15 refers to the device information storage unit 16 and determines whether there is a device 3 that does not respond to the multicasted first response request but responds only to the unicast second response request. Determine (S27). If there is no device 3 that has responded only to the second response request, the route determination unit 15 does not determine whether there is a defect in the transfer process in the relay device 2 (S28). In this case, if there is a device 3 that does not respond to the response request, a malfunction of the device 3 (power supply stop, failure, removal, etc.) of the device 3 is considered as a factor that does not respond.

一方、第2応答要求のみに応答した機器3があれば、経路判定部15は、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S29)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、第2応答要求に対する応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。   On the other hand, if there is a device 3 that responds only to the second response request, the route determination unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2 (S29). Specifically, the failure of the transfer process means that the multicast signal sent on the communication path 91 (port 21) is either the communication paths 92 and 93 (both ports 22 and 23) or the communication paths 92 and 93. It is in a state where it is not transferred to one (one of ports 22 and 23). In other words, the route determination unit 15 can determine that the communication route (port) used by the device 3 that has returned a response signal to the second response request cannot be transmitted by multicast.

また、推定部17は、DHCPサーバ4に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定することもできる。   The estimation unit 17 can also estimate the unicast address assigned to the device 3 from the unicast address assigned to the DHCP server 4.

このように、制御装置1は、推定部17をさらに備えることが好ましい。推定部17は、機器3にユニキャストアドレスを割り当てるDHCPサーバ4が存在するか否かを判定する。そして、推定部17は、DHCPサーバ4が存在すれば、DHCPサーバ4が機器3へ割り当てるユニキャストアドレスを本制御装置1のユニキャストアドレスまたはDHCPサーバ4のユニキャストアドレスに基づいて推定する。   Thus, it is preferable that the control device 1 further includes the estimation unit 17. The estimation unit 17 determines whether there is a DHCP server 4 that assigns a unicast address to the device 3. Then, if the DHCP server 4 exists, the estimation unit 17 estimates the unicast address assigned to the device 3 by the DHCP server 4 based on the unicast address of the present control device 1 or the unicast address of the DHCP server 4.

そして、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合、以下の処理を行う。経路判定部15は、第1送信部11に第1応答要求をマルチキャストで送信させ、推定部17が推定したユニキャストアドレスに対して第2送信部12に第2応答要求をユニキャストで送信させる。経路判定部15は、機器3が第1応答要求に対する応答信号を返信せず、第2応答要求に対する応答信号を返信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。   Then, when the registration information of the device 3 is not stored in the device information storage unit 16, the route determination unit 15 performs the following process. The route determination unit 15 causes the first transmission unit 11 to transmit the first response request by multicast, and causes the second transmission unit 12 to transmit the second response request by unicast to the unicast address estimated by the estimation unit 17. . When the device 3 does not return a response signal for the first response request but returns a response signal for the second response request, the route determination unit 15 indicates that the communication route used by the device 3 cannot be transmitted by multicast. judge.

したがって、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合でも、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。   Therefore, the path determination unit 15 can determine whether there is a multicast signal transfer failure in the relay device 2 even when the registration information of the device 3 is not stored in the device information storage unit 16.

そして、制御部14は、経路判定部15の判定結果、探索部18の探索結果に基づいて、機器情報記憶部16の登録情報を追加、更新する。制御部14は、機器情報記憶部16の登録情報に基づいて、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。そこで、制御部14は、以降の通信において、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3に対しては、信号をマルチキャストで送信させる。また制御部14は、以降の通信において、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3に対しては、信号をユニキャストで送信させる。   Then, the control unit 14 adds or updates the registration information in the device information storage unit 16 based on the determination result of the route determination unit 15 and the search result of the search unit 18. Based on the registration information stored in the device information storage unit 16, the control unit 14 uses the communication path (port) capable of multicast signal transmission and the communication path (port) where multicast signal transmission is impossible. Can be identified. Therefore, in the subsequent communication, the control unit 14 causes the device 3 that uses a communication path (port) capable of multicast signal transmission to transmit a signal by multicast. Further, in the subsequent communication, the control unit 14 transmits a signal by unicast to the device 3 that uses a communication path (port) that cannot transmit a signal by multicast.

すなわち、第1送信部11は、機器3のうち、マルチキャストによる送信が可能である通信経路(ポート)を用いる機器3に対して信号をマルチキャストで送信することが好ましい。第2送信部12は、機器3のうち、マルチキャストによる送信が不可能である通信経路(ポート)を用いる機器3に対して信号をユニキャストで送信することが好ましい。   That is, it is preferable that the 1st transmission part 11 transmits a signal by multicast with respect to the apparatus 3 using the communication path | route (port) which can transmit by multicast among the apparatuses 3. FIG. It is preferable that the 2nd transmission part 12 transmits a signal by unicast with respect to the apparatus 3 which uses the communication path (port) among the apparatuses 3 in which transmission by multicast is impossible.

したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合があっても、機器3との間の通信をできるだけ効率よく行うことができる。   Therefore, the control device 1 can perform communication with the device 3 as efficiently as possible even if there is a problem in the multicast signal transfer processing by the relay device 2.

なお、DHCPサーバ4の設置箇所は、通信経路91上に限定されるものではなく、他の通信経路、他のネットワーク上に設置されてもよい。あるいは、DHCPサーバ4は、中継装置2内に実装されることも可能である。すなわち、DHCPサーバ4は、制御装置1、機器3にユニキャストアドレスを割り付けることができれば、その設置箇所は限定されない。   The installation location of the DHCP server 4 is not limited to the communication path 91, and may be installed on another communication path or another network. Alternatively, the DHCP server 4 can be mounted in the relay device 2. That is, if the DHCP server 4 can allocate a unicast address to the control apparatus 1 and the apparatus 3, the installation location is not limited.

(実施形態2)
図12は、本実施形態の制御システムの構成を示す。
(Embodiment 2)
FIG. 12 shows the configuration of the control system of this embodiment.

本実施形態の制御装置1Aは、第3送信部19を備える。第3送信部19は、制御部14によって制御され、ブロードキャストアドレスが付加されたブロードキャスト信号を通信経路91に送出することで、ブロードキャスト送信を行う。なお、他の構成は実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。   The control device 1 </ b> A of the present embodiment includes a third transmission unit 19. The third transmission unit 19 is controlled by the control unit 14 and performs broadcast transmission by sending a broadcast signal to which a broadcast address is added to the communication path 91. The other configurations are the same as those of the first embodiment, and the same configurations are denoted by the same reference numerals and description thereof is omitted.

制御装置1Aは、経路判定部15による図13、図14の処理を定期的に行って、中継装置2によるマルチキャスト信号の転送状況を判定する。   The control device 1A periodically performs the processing of FIGS. 13 and 14 by the route determination unit 15 to determine the forwarding state of the multicast signal by the relay device 2.

ステップS1〜S7の各処理は、実施形態1(図9参照)と同様に、第1応答要求のマルチキャスト、第2応答要求のユニキャストの送信処理を行っており、説明は省略する。   Each process of steps S1 to S7 is a multicast process of the first response request and a unicast process of the second response request, as in the first embodiment (see FIG. 9), and a description thereof will be omitted.

そして、本実施形態の制御装置1Aでは、ステップS2において、マルチキャストされた第1応答要求に対して、1台以上の登録済の機器3から応答信号を受信しなかった場合、制御部14は、応答要求の送信形態を選択する(S31)。すなわち、制御部14は、マルチキャストされた第1応答要求に対する応答がない未応答の機器3が存在する場合、未応答の機器3に対してユニキャストで応答確認を行うか、ブロードキャストで応答確認を行うかを選択する。   And in 1 A of control apparatuses of this embodiment, when the response signal is not received from one or more registered apparatus 3 with respect to the 1st response request multicasted in step S2, the control part 14 is: The transmission form of the response request is selected (S31). That is, when there is an unresponsive device 3 that does not respond to the multicast first response request, the control unit 14 confirms the response to the unresponsive device 3 by unicast or confirms the response by broadcast. Choose what to do.

ユニキャストによる応答確認には、第2応答要求が用いられる。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。   The second response request is used for response confirmation by unicast. The second response request is a unicast signal that requests a response signal to be returned, and the device 3 that has received the second response request via the relay device 2 unicasts the response signal to the control device 1A.

ブロードキャストによる応答確認には、第3応答要求が用いられる。第3応答要求とは、応答信号の返信を要求するブロードキャスト信号であり、中継装置2を介して第3応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。   The third response request is used for response confirmation by broadcasting. The third response request is a broadcast signal that requests a response signal to be returned, and the device 3 that has received the third response request via the relay device 2 unicasts the response signal to the control device 1A.

ブロードキャストによる応答確認は、ブロードキャスト信号が全ての機器3に受信されるという保証がなく、また複数の機器3から一斉に応答信号が返信されるため、制御機器1が全ての応答信号を受信しきれない虞があるという短所がある。しかし、単発の送信で複数の機器3宛に応答要求を届けられるという長所がある。   In response confirmation by broadcasting, there is no guarantee that the broadcast signal is received by all the devices 3, and since the response signals are returned simultaneously from a plurality of devices 3, the control device 1 can receive all the response signals. There is a disadvantage that there is no fear. However, there is an advantage that a response request can be delivered to a plurality of devices 3 by a single transmission.

ユニキャストによる応答確認は、長所および短所がブロードキャストによる応答確認とは逆になる。すなわち、ユニキャスト信号は機器3のそれぞれに確実に送信されるが、送信先の機器3の数のユニキャスト通信を行う必要がある。   The response confirmation by unicast is opposite to the response confirmation by broadcast in terms of advantages and disadvantages. That is, the unicast signal is reliably transmitted to each of the devices 3, but it is necessary to perform unicast communication for the number of destination devices 3.

制御部14は、機器情報記憶部16に登録されている機器3の台数が閾値未満であれば、ユニキャストを選択し、登録されている機器3の台数が閾値以上であれば、ブロードキャストを選択する。または、制御部14は、ユーザ操作によって、ユニキャストまたはブロードキャストを選択してもよい。   The control unit 14 selects unicast if the number of devices 3 registered in the device information storage unit 16 is less than the threshold, and selects broadcast if the number of registered devices 3 is greater than or equal to the threshold. To do. Alternatively, the control unit 14 may select unicast or broadcast by a user operation.

制御部14がユニキャストを選択した場合、ステップS4〜S7の各処理を行う。   When the control part 14 selects unicast, each process of step S4 to S7 is performed.

制御部14がブロードキャストを選択した場合、経路判定部15は、第3送信部19に指示して、ブロードキャストアドレスを付加した第3応答要求を通信経路91に送出させる(S32)。すなわち、第3送信部19は、第3応答要求をブロードキャスト送信する。   When the control unit 14 selects broadcast, the route determination unit 15 instructs the third transmission unit 19 to send the third response request with the broadcast address added to the communication route 91 (S32). That is, the third transmitter 19 broadcasts a third response request.

経路判定部15は、受信部13が中継装置2を介して機器3から第3応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、第1応答要求に未応答の機器3の少なくとも1台から応答信号を受信したか否かを判定する(S33)。経路判定部15は、第1応答要求に未応答の機器3の全てが応答信号を返信しなかった場合、中継装置2における転送処理の不具合の有無を判定しない(S35)。この場合、マルチキャストされた第1応答要求に対して機器3が応答しない要因として、送信先の機器3の不具合(機器3の電源停止、故障、撤去等)等が考えられる。   When the receiving unit 13 receives a response signal for the third response request from the device 3 via the relay device 2, the route determination unit 15 determines the source of the response signal from the transmission source information added to the response signal. The device 3 can be identified. Then, the path determination unit 15 determines whether or not a response signal has been received from at least one of the devices 3 that have not responded to the first response request (S33). When all the devices 3 that have not responded to the first response request have not returned a response signal, the route determination unit 15 does not determine whether there is a defect in transfer processing in the relay device 2 (S35). In this case, as a factor that the device 3 does not respond to the multicasted first response request, a failure of the transmission destination device 3 (power supply stop, failure, removal, etc. of the device 3) can be considered.

一方、経路判定部15は、第1応答要求に未応答の機器3の少なくとも1台でも応答信号を返信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S34)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、ステップS33において応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。   On the other hand, if at least one of the devices 3 not responding to the first response request returns a response signal, the route determination unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2 (S34). Specifically, the failure of the transfer process means that the multicast signal sent on the communication path 91 (port 21) is either the communication paths 92 and 93 (both ports 22 and 23) or the communication paths 92 and 93. It is in a state where it is not transferred to one (one of ports 22 and 23). In other words, the route determination unit 15 can determine that the communication route (port) used by the device 3 that has returned the response signal in step S33 cannot be transmitted by multicast.

また、経路判定部15は、ステップS1,S2、ステップS32,S33の処理を複数回繰り返して、マルチキャスト信号およびブローキャスト信号に対する応答確認を複数回行うことが好ましい。例えば、通信経路92,93が無線の通信経路である場合、電波状況によっては、マルチキャスト信号が受信できない機器3や、応答信号が中継装置2に到達しない機器3が存在する可能性がある。そこで、経路判定部15は、マルチキャスト信号およびブローキャスト信号に対する応答確認を複数回行うことで、応答確認の精度を向上させることができる。   Moreover, it is preferable that the route determination unit 15 repeats the processes of steps S1, S2, and S32, S33 a plurality of times, and performs response confirmation for the multicast signal and the broadcast signal a plurality of times. For example, when the communication paths 92 and 93 are wireless communication paths, there may be a device 3 that cannot receive a multicast signal or a device 3 that does not allow a response signal to reach the relay device 2 depending on radio wave conditions. Therefore, the route determination unit 15 can improve the accuracy of response confirmation by performing response confirmation for the multicast signal and the broadcast signal a plurality of times.

このように、制御装置1Aは、機器情報記憶部16と、第1送信部11と、第3送信部19と、受信部13と、経路判定部15とを備える。機器情報記憶部16は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器3に個別に割り当てられた登録情報を格納する。第1送信部11は、応答信号の返信を要求するマルチキャスト信号である第1応答要求をマルチキャストグループにマルチキャストで送信する。第3送信部19は、応答信号の返信を要求するブロードキャスト信号である第3応答要求を機器3にブロードキャストで送信する。受信部13は、応答信号を受信する。経路判定部15は、受信部13が受信した応答信号に基づいて、機器3が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する。この場合、経路判定部15は、機器3が第1応答要求に対する応答信号を返信せず、第3応答要求に対する応答信号を返信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。   As described above, the control device 1 </ b> A includes the device information storage unit 16, the first transmission unit 11, the third transmission unit 19, the reception unit 13, and the route determination unit 15. The device information storage unit 16 stores registration information individually assigned to control target devices 3 belonging to a multicast group capable of network communication. The 1st transmission part 11 transmits the 1st response request | requirement which is a multicast signal which requests | requires the reply of a response signal to a multicast group by multicast. The third transmission unit 19 transmits a third response request, which is a broadcast signal for requesting a response signal, to the device 3 by broadcast. The receiving unit 13 receives a response signal. The route determination unit 15 determines whether the communication route used by the device 3 can be transmitted by multicast based on the response signal received by the reception unit 13. In this case, when the device 3 does not return a response signal for the first response request but returns a response signal for the third response request, the route determination unit 15 cannot transmit the communication route used by the device 3 by multicast. It is determined that

また、第1送信部11、第2送信部12、第3送信部19、受信部13は、機器3との間で授受される信号を中継する中継装置2を介して機器3との間で通信を行うことが好ましい。   In addition, the first transmission unit 11, the second transmission unit 12, the third transmission unit 19, and the reception unit 13 communicate with the device 3 through the relay device 2 that relays a signal exchanged with the device 3. It is preferable to perform communication.

したがって、制御装置1Aは、マルチキャスト信号が到達しない登録済の機器3があった場合に、このマルチキャストの不通状態が、中継装置2におけるマルチキャスト信号の転送不具合を要因とするのか否かがわかる。すなわち、制御装置1Aは、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、制御装置1Aは、ユニキャストによる応答確認とブロードキャストによる応答確認とを、機器3の台数に応じて切り替えることができるので、応答確認の効率を向上させることができる。   Therefore, when there is a registered device 3 where the multicast signal does not reach, the control device 1A knows whether or not this multicast interruption state is caused by a multicast signal transfer failure in the relay device 2. That is, the control device 1 </ b> A can determine the presence or absence of a multicast signal transfer failure in the relay device 2. Furthermore, since the control device 1A can switch between response confirmation by unicast and response confirmation by broadcast according to the number of devices 3, it is possible to improve the efficiency of response confirmation.

さらに、制御装置1Aは、機器3のうち、マルチキャストによる送信が不可能である通信経路を用いる機器3に対して信号をユニキャストで送信する第2送信部12を備えることが好ましい。そして、第1送信部11は、機器3のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信する。   Furthermore, it is preferable that the control device 1A includes a second transmission unit 12 that transmits a signal by unicast to the device 3 that uses a communication path that cannot be transmitted by multicast among the devices 3. And the 1st transmission part 11 transmits a signal by multicast with respect to the apparatus using the communication path | route which can transmit by multicast among the apparatuses 3. FIG.

したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合があっても、機器3との間の通信をできるだけ効率よく行うことができる。   Therefore, the control device 1 can perform communication with the device 3 as efficiently as possible even if there is a problem in the multicast signal transfer processing by the relay device 2.

また、制御装置1Aは、機器3との間で行われる通常の通信において、通信信号をマルチキャストした後に、補助的に通信信号をユニキャストまたはブロードキャスト送信することで、通信の信頼性を向上させてもよい。   In addition, in the normal communication performed with the device 3, the control device 1A improves communication reliability by multicasting the communication signal and then unicasting or broadcasting the auxiliary communication signal. Also good.

また、制御装置1Aは、機器情報記憶部16に登録情報が格納されていない場合、図15、図16のフローチャートにしたがって中継装置2によるマルチキャスト信号の転送状況を判定することが好ましい。   In addition, when the registration information is not stored in the device information storage unit 16, the control device 1A preferably determines the multicast signal transfer status by the relay device 2 according to the flowcharts of FIGS.

ステップS21〜S29の各処理は、実施形態1(図11参照)と同様に、第1応答要求のマルチキャスト、第2応答要求のユニキャストの送信処理、アドレス推定処理を行っており、説明は省略する。   As in the first embodiment (see FIG. 11), each process of steps S21 to S29 performs a first response request multicast, a second response request unicast transmission process, and an address estimation process, and a description thereof is omitted. To do.

そして、本実施形態の制御装置1Aでは、ステップS23において、第1応答要求に対する応答信号が返信され、この応答信号に付加されている登録情報を機器情報記憶部16に格納した後、制御部14は、応答要求の送信形態を選択する(S41)。   Then, in the control device 1A of the present embodiment, in step S23, a response signal to the first response request is returned, and after the registration information added to the response signal is stored in the device information storage unit 16, the control unit 14 Selects the transmission form of the response request (S41).

ユニキャストによる応答確認には、第2応答要求が用いられる。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。   The second response request is used for response confirmation by unicast. The second response request is a unicast signal that requests a response signal to be returned, and the device 3 that has received the second response request via the relay device 2 unicasts the response signal to the control device 1A.

ブロードキャストによる応答確認には、第3応答要求が用いられる。第3応答要求とは、応答信号の返信を要求するブロードキャスト信号であり、中継装置2を介して第3応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。   The third response request is used for response confirmation by broadcasting. The third response request is a broadcast signal that requests a response signal to be returned, and the device 3 that has received the third response request via the relay device 2 unicasts the response signal to the control device 1A.

制御部14は、機器情報記憶部16に登録されている機器3の台数が閾値未満であれば、ユニキャストを選択し、登録されている機器3の台数が閾値以上であれば、ブロードキャストを選択する。または、制御部14は、ユーザ操作によって、ユニキャストまたはブロードキャストを選択してもよい。   The control unit 14 selects unicast if the number of devices 3 registered in the device information storage unit 16 is less than the threshold, and selects broadcast if the number of registered devices 3 is greater than or equal to the threshold. To do. Alternatively, the control unit 14 may select unicast or broadcast by a user operation.

制御部14がユニキャストを選択した場合、ステップS24〜S29の各処理を行う。   When the control part 14 selects unicast, each process of step S24-S29 is performed.

制御部14がブロードキャストを選択した場合、経路判定部15は、第3送信部19に指示して、ブロードキャストアドレスを付加した第3応答要求を通信経路91に送出させる(S42)。すなわち、第3送信部19は、第3応答要求をブロードキャスト送信する。   When the control unit 14 selects broadcast, the route determination unit 15 instructs the third transmission unit 19 to send the third response request with the broadcast address added to the communication route 91 (S42). That is, the third transmitter 19 broadcasts a third response request.

経路判定部15は、受信部13が第3応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S43)。   When the receiving unit 13 receives a response signal to the third response request from the device 3, the route determination unit 15 stores the registration information added to the response signal in the device information storage unit 16 (S43).

そして、経路判定部15は、機器情報記憶部16を参照して、マルチキャストされた第1応答要求に応答せず、ブロードキャストされた第3応答要求のみに応答した機器3があるか否かを判定する(S44)。経路判定部15は、第3応答要求のみに応答した機器3がなければ、中継装置2における転送処理の不具合の有無を判定しない(S45)。この場合、応答要求に対して応答しない機器3があれば、この機器3の不具合(機器3の電源停止、故障、撤去等)等が応答しない要因として考えられる。   Then, the route determination unit 15 refers to the device information storage unit 16 to determine whether there is a device 3 that does not respond to the multicasted first response request but responds only to the broadcasted third response request. (S44). If there is no device 3 that has responded only to the third response request, the route determination unit 15 does not determine whether there is a defect in the transfer process in the relay device 2 (S45). In this case, if there is a device 3 that does not respond to the response request, a malfunction of the device 3 (power supply stop, failure, removal, etc.) of the device 3 is considered as a factor that does not respond.

一方、第3応答要求のみに応答した機器3があれば、経路判定部15は、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S46)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、第2応答要求に対する応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。   On the other hand, if there is a device 3 that responds only to the third response request, the path determination unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2 (S46). Specifically, the failure of the transfer process means that the multicast signal sent on the communication path 91 (port 21) is either the communication paths 92 and 93 (both ports 22 and 23) or the communication paths 92 and 93. It is in a state where it is not transferred to one (one of ports 22 and 23). In other words, the route determination unit 15 can determine that the communication route (port) used by the device 3 that has returned a response signal to the second response request cannot be transmitted by multicast.

したがって、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合でも、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、制御装置1Aは、ユニキャストによる応答確認とブロードキャストによる応答確認とを、機器3の台数に応じて切り替えることができるので、応答確認の効率を向上させることができる。   Therefore, the path determination unit 15 can determine whether there is a multicast signal transfer failure in the relay device 2 even when the registration information of the device 3 is not stored in the device information storage unit 16. Furthermore, since the control device 1A can switch between response confirmation by unicast and response confirmation by broadcast according to the number of devices 3, it is possible to improve the efficiency of response confirmation.

(実施形態3)
図17は、本実施形態の制御システムの構成を示す。本実施形態の制御装置1Bは、経路判定部15Aを備える。なお、他の構成は実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
(Embodiment 3)
FIG. 17 shows the configuration of the control system of this embodiment. The control device 1B according to the present embodiment includes a route determination unit 15A. The other configurations are the same as those of the first embodiment, and the same configurations are denoted by the same reference numerals and description thereof is omitted.

上述の実施形態1,2は、制御装置1、制御装置1Aから機器3へ送信するマルチキャスト信号に対して、中継装置2での転送不具合の有無を検出するものである。しかしながら、Snooping機能を有する中継装置3は、ポート毎にマルチキャストの転送可否を判断している。したがって、制御装置1Bから送信されたマルチキャスト信号は、機器3を接続したポートに転送されるが、機器3から送信されたマルチキャスト信号は制御装置1Bを接続したポートに転送されない場合が起こりうる。而して、中継装置2がマルチキャスト信号を双方向に転送しているか否かを検出する必要がある。   In the first and second embodiments, the presence or absence of a transfer failure in the relay device 2 is detected with respect to the multicast signal transmitted from the control device 1 and the control device 1A to the device 3. However, the relay device 3 having the Snooping function determines whether or not multicast transfer is possible for each port. Therefore, the multicast signal transmitted from the control device 1B is transferred to the port connected to the device 3, but the multicast signal transmitted from the device 3 may not be transferred to the port connected to the control device 1B. Thus, it is necessary to detect whether or not the relay apparatus 2 is transferring the multicast signal bidirectionally.

そこで、制御装置1Bは、経路判定部15Aによる図18の処理を定期的に行って、機器3から制御装置1Bに送信されるマルチキャスト信号の転送状況を判定する。   Therefore, the control device 1B periodically performs the process of FIG. 18 by the route determination unit 15A to determine the transfer status of the multicast signal transmitted from the device 3 to the control device 1B.

まず、制御装置1Bの経路判定部15Aは、第2送信部12に指示して、機器情報記憶部16に登録情報を格納されている機器3のユニキャストアドレスを付加した第4応答要求を通信経路91に送出させる(S51)。すなわち、第2送信部12は、登録されている機器3のそれぞれに対して第4応答要求をユニキャスト送信する。第4応答要求とは、応答信号のマルチキャストによる返信を要求するユニキャスト信号であり、中継装置2を介して第4応答要求を受信した機器3は、応答信号を制御装置1へマルチキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。   First, the route determination unit 15A of the control device 1B instructs the second transmission unit 12 to communicate a fourth response request in which the unicast address of the device 3 whose registration information is stored in the device information storage unit 16 is added. It is sent to the route 91 (S51). That is, the second transmission unit 12 unicasts the fourth response request to each of the registered devices 3. The fourth response request is a unicast signal that requests a response signal to be returned by multicast, and the device 3 that has received the fourth response request via the relay device 2 multicasts the response signal to the control device 1. At this time, the device 3 adds its own registration information as transmission source information to the response signal.

経路判定部15Aは、受信部13が中継装置2を介して応答信号を受信した場合、この応答信号に付加されている送信元情報(送信元の登録情報)から、応答信号の送信元の機器3を識別できる。そして、経路判定部15Aは、全ての登録済の機器3から応答信号を受信したか否かを判定する(S52)。   When the receiving unit 13 receives a response signal via the relay device 2, the route determination unit 15 </ b> A uses the transmission source information (transmission source registration information) added to the response signal to generate a response signal transmission source device. 3 can be identified. Then, the route determination unit 15A determines whether or not response signals have been received from all registered devices 3 (S52).

経路判定部15Aは、全ての登録済の機器3から応答信号を受信した場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S53)。具体的に、経路判定部15Aは、通信経路92,93(ポート22、23)に送出されたマルチキャスト信号が通信経路91上(ポート21)に転送されていると判定する。言い換えれば、経路判定部15Aは、通信経路91(ポート21)はマルチキャストによる送信が可能であると判定する。   When the response determination signal is received from all registered devices 3, the route determination unit 15A determines that there is no problem in the multicast signal transfer processing by the relay device 2 (S53). Specifically, the path determination unit 15A determines that the multicast signal sent to the communication paths 92 and 93 (ports 22 and 23) is transferred to the communication path 91 (port 21). In other words, the path determination unit 15A determines that the communication path 91 (port 21) can be transmitted by multicast.

一方、経路判定部15Aは、1台以上の登録済の機器3から応答信号を受信しなかった場合、第2送信部12に指示して、応答信号を返信していない(未応答の)機器3のユニキャストアドレスを付加した第5応答要求を通信経路91に送出させる(S54)。すなわち、第2送信部12は、未応答の機器3のそれぞれに対して第5応答要求をユニキャスト送信する。第5応答要求とは、応答信号のユニキャストによる返信を要求するユニキャスト信号であり、中継装置2を介して第5応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。   On the other hand, if the route determination unit 15A does not receive a response signal from one or more registered devices 3, the route determination unit 15A instructs the second transmission unit 12 and does not send back a response signal (not responding). The fifth response request with the unicast address of 3 added is sent to the communication path 91 (S54). That is, the second transmission unit 12 unicasts the fifth response request to each of the devices 3 that have not responded. The fifth response request is a unicast signal for requesting a reply by unicast of the response signal, and the device 3 that has received the fifth response request via the relay device 2 transmits the response signal to the control device 1 by unicast. To do. At this time, the device 3 adds its own registration information as transmission source information to the response signal.

経路判定部15Aは、受信部13が中継装置2を介して機器3から第5応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15Aは、未応答の機器3の少なくとも1台から応答信号を受信したか否かを判定する(S55)。経路判定部15Aは、未応答の機器3の全てが応答信号を返信しなかった場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S56)。   When the receiving unit 13 receives a response signal for the fifth response request from the device 3 via the relay device 2, the route determination unit 15 </ b> A determines the source of the response signal from the transmission source information added to the response signal. The device 3 can be identified. Then, the route determination unit 15A determines whether or not a response signal has been received from at least one of the unresponsive devices 3 (S55). The route determination unit 15A determines that there is no problem in the multicast signal transfer processing by the relay device 2 when all of the unresponsive devices 3 have not returned a response signal (S56).

一方、経路判定部15Aは、未応答の機器3の少なくとも1台でも応答信号を返信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S57)。具体的に転送処理の不具合とは、機器3から送信されたマルチキャスト信号が通信経路91(ポート21)に転送されていない状態である。言い換えれば、経路判定部15Aは、制御装置1Bが用いる通信経路(ポート)に対するマルチキャスト送信が不可能であると判定することができる。   On the other hand, the route determination unit 15A determines that there is a problem in the multicast signal transfer processing by the relay device 2 if at least one of the unresponsive devices 3 returns a response signal (S57). Specifically, the failure of the transfer process is a state in which the multicast signal transmitted from the device 3 is not transferred to the communication path 91 (port 21). In other words, the route determination unit 15A can determine that multicast transmission to the communication route (port) used by the control device 1B is impossible.

このように、第2送信部12は、応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を機器3にユニキャストで送信することが好ましい。この場合、経路判定部15Aは、機器3が第4応答要求に対する応答信号を返信せず、第5応答要求に対する応答信号を返信する場合、受信部13が用いる通信経路はマルチキャストが不可能であると判定する。   In this way, the second transmitter 12 receives the fourth response request that is a unicast signal requesting a response signal by multicast and the fifth response request that is a unicast signal that requests a response signal by unicast. Is preferably transmitted to the device 3 by unicast. In this case, when the device 3 does not return a response signal for the fourth response request but returns a response signal for the fifth response request, the route determination unit 15A cannot multicast the communication route used by the reception unit 13. Is determined.

したがって、制御装置1Bは、機器3から制御装置1Bに送信されるマルチキャスト信号に対して、中継装置2における転送不具合の有無を判定することができる。   Therefore, the control device 1B can determine whether there is a transfer failure in the relay device 2 with respect to the multicast signal transmitted from the device 3 to the control device 1B.

また、経路判定部15Aは、実施形態1または実施形態2の経路判定部15と同様の処理を行うこともできる。   In addition, the route determination unit 15A can perform the same processing as the route determination unit 15 of the first or second embodiment.

また、コンピュータを制御装置1として機能させるプログラムも、制御装置1と同様の効果を奏し得る。プログラムの提供形態としては、コンピュータに読み取り可能なROM(Read Only Memory)、光ディスク等の記録媒体に予め格納されている形態、インターネット等を含む広域通信網を介して記録媒体に供給される形態等がある。   A program that causes a computer to function as the control device 1 can also achieve the same effects as the control device 1. As a program providing form, a computer-readable ROM (Read Only Memory), a form stored in advance in a recording medium such as an optical disk, a form supplied to the recording medium via a wide-area communication network including the Internet, etc. There is.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.

1 制御装置
11 第1送信部
12 第2送信部
13 受信部
14 制御部
15 経路判定部
16 機器情報記憶部
17 推定部
2 中継装置
21〜23 ポート
91〜93 通信経路
3 機器
4 DHCPサーバ
DESCRIPTION OF SYMBOLS 1 Control apparatus 11 1st transmission part 12 2nd transmission part 13 Reception part 14 Control part 15 Path | route determination part 16 Equipment information storage part 17 Estimation part 2 Relay apparatus 21-23 Port 91-93 Communication path 3 Equipment 4 DHCP server

Claims (13)

ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、
応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、
前記応答信号の返信を要求するユニキャスト信号である第2応答要求を前記機器にユニキャストで送信する第2送信部と、
前記応答信号を受信する受信部と、
前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、
前記経路判定部は、前記機器が前記第1応答要求に対する前記応答信号を返信せず、前記第2応答要求に対する前記応答信号を返信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
ことを特徴とする制御装置。
A device information storage unit for storing registration information individually assigned to devices to be controlled belonging to a multicast group capable of network communication;
A first transmitter that multicasts a first response request, which is a multicast signal for requesting a response signal, to the multicast group;
A second transmission unit that unicasts a second response request, which is a unicast signal for requesting a reply of the response signal, to the device;
A receiver for receiving the response signal;
A communication path used by the device based on the response signal received by the receiver includes a path determination unit that determines whether or not transmission by multicast is possible;
When the device does not return the response signal for the first response request and returns the response signal for the second response request, the route determination unit cannot transmit the communication route used by the device by multicast. It is determined that the control device.
前記経路判定部は、
前記第1送信部に前記第1応答要求をマルチキャストで送信させて、前記第1応答要求に対する前記応答信号を、前記機器情報記憶部に登録情報を格納されている前記機器から受信した場合、この機器が用いる通信経路はマルチキャストによる送信が可能であると判定し、
前記機器情報記憶部に登録情報を格納されている前記機器のうち、前記第1応答要求に対する前記応答信号を返信していない前記機器に対して、前記第2送信部に前記第2応答要求をユニキャストで送信させ、前記第2応答要求に対する前記応答信号を前記機器から受信した場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
ことを特徴とする請求項1記載の制御装置。
The route determination unit
When the first transmission unit is caused to transmit the first response request by multicast and the response signal to the first response request is received from the device in which registration information is stored in the device information storage unit, It is determined that the communication path used by the device can be transmitted by multicast,
Among the devices whose registration information is stored in the device information storage unit, the second response request is sent to the second transmission unit to the device that has not returned the response signal to the first response request. The transmission path used by the device is determined to be impossible to transmit by multicast when the response signal for the second response request is received from the device by unicast transmission. Control device.
前記機器情報記憶部は、複数の前記機器のそれぞれの登録情報を格納し、
前記経路判定部は、前記第1応答要求に対する前記応答信号を返信しない第1の機器が用いる通信経路が、前記第1応答要求に対する前記応答信号を返信する第2の機器が用いる通信経路と同じであれば、前記第1の機器が用いる通信経路はマルチキャストによる送信が可能であると判定して、前記第2応答要求の送信の有無を前記通信経路毎に判断する
ことを特徴とする請求項2記載の制御装置。
The device information storage unit stores registration information of each of the plurality of devices,
In the path determination unit, the communication path used by the first device that does not return the response signal to the first response request is the same as the communication path used by the second device that returns the response signal to the first response request. If so, it is determined that the communication path used by the first device can be transmitted by multicast, and the presence / absence of transmission of the second response request is determined for each communication path. 2. The control device according to 2.
前記機器にユニキャストアドレスを割り当てるサーバが存在するか否かを判定し、前記サーバが存在すれば、前記サーバが前記機器へ割り当てるユニキャストアドレスを本制御装置のユニキャストアドレスまたは前記サーバのユニキャストアドレスに基づいて推定する推定部をさらに備え、
前記経路判定部は、
前記機器情報記憶部に前記機器の登録情報が格納されていない場合、前記第1送信部に前記第1応答要求をマルチキャストで送信させ、前記推定部が推定したユニキャストアドレスに対して前記第2送信部に前記第2応答要求をユニキャストで送信させ、前記機器が前記第1応答要求に対する前記応答信号を返信せず、前記第2応答要求に対する前記応答信号を返信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
ことを特徴とする請求項1乃至3いずれか記載の制御装置。
It is determined whether or not there is a server that assigns a unicast address to the device. If the server exists, the unicast address that the server assigns to the device is assigned to the unicast address of the control device or the unicast address of the server. An estimation unit for estimating based on the address;
The route determination unit
When registration information of the device is not stored in the device information storage unit, the first transmission unit is caused to transmit the first response request by multicast, and the second unicast address estimated by the estimation unit is transmitted. When the transmission unit transmits the second response request by unicast and the device does not return the response signal to the first response request but returns the response signal to the second response request, the device uses The control apparatus according to claim 1, wherein the communication path is determined to be unable to transmit by multicast.
前記登録情報は、前記機器のユニキャストアドレスの情報を含み、
前記機器にユニキャストアドレスを割り当てるサーバが存在するか否かを判定し、前記サーバが存在すれば、前記サーバが前記機器へ割り当てるユニキャストアドレスを本制御装置のユニキャストアドレスまたは前記サーバのユニキャストアドレスに基づいて推定する推定部と、
前記機器が用いる通信経路はマルチキャストによる送信が不可能であると前記経路判定部が判定した場合、前記推定部が推定したユニキャストアドレスに対して、応答信号の返信を要求するユニキャスト信号である探索信号を前記第2送信部にユニキャストで送信させ、前記機器が前記探索信号に対する応答信号を返信する場合、この機器のユニキャストアドレスを、返信された応答信号に基づいて取得して前記機器情報記憶部に格納する探索処理を行う探索部とをさらに備える
ことを特徴とする請求項1乃至3いずれか記載の制御装置。
The registration information includes information on the unicast address of the device,
It is determined whether or not there is a server that assigns a unicast address to the device. If the server exists, the unicast address that the server assigns to the device is assigned to the unicast address of the control device or the unicast address of the server. An estimator for estimating based on an address;
The communication path used by the device is a unicast signal that requests a response signal to be returned to the unicast address estimated by the estimation unit when the route determination unit determines that transmission by multicast is impossible. When the search signal is transmitted by unicast to the second transmission unit, and the device returns a response signal to the search signal, a unicast address of the device is acquired based on the returned response signal, and the device The control apparatus according to claim 1, further comprising: a search unit that performs a search process stored in the information storage unit.
前記第1送信部は、前記機器のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信し、前記第2送信部は、前記機器のうち、マルチキャストによる送信が不可能である通信経路を用いる機器に対して信号をユニキャストで送信することを特徴とする請求項1乃至5いずれか記載の制御装置。   The first transmission unit transmits a signal by multicast to a device using a communication path capable of transmission by multicast among the devices, and the second transmission unit performs transmission by multicast among the devices. 6. The control device according to claim 1, wherein a signal is transmitted by unicast to a device using a communication path that is impossible. 前記第1送信部、前記第2送信部、および前記受信部は、前記機器との間で授受される信号を中継する中継装置を介して前記機器との間で通信を行うことを特徴とする請求項1乃至6いずれか記載の制御装置。   The first transmission unit, the second transmission unit, and the reception unit perform communication with the device via a relay device that relays a signal exchanged with the device. The control device according to claim 1. ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、
応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、
前記応答信号の返信を要求するブロードキャスト信号である第3応答要求を前記機器にブロードキャストで送信する第3送信部と、
前記応答信号を受信する受信部と、
前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、
前記経路判定部は、前記機器が前記第1応答要求に対する前記応答信号を返信せず、前記第3応答要求に対する前記応答信号を返信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
ことを特徴とする制御装置。
A device information storage unit for storing registration information individually assigned to devices to be controlled belonging to a multicast group capable of network communication;
A first transmitter that multicasts a first response request, which is a multicast signal for requesting a response signal, to the multicast group;
A third transmitter that broadcasts to the device a third response request that is a broadcast signal that requests a reply of the response signal;
A receiver for receiving the response signal;
A communication path used by the device based on the response signal received by the receiver includes a path determination unit that determines whether or not transmission by multicast is possible;
When the device does not return the response signal for the first response request and returns the response signal for the third response request, the route determination unit cannot transmit the communication route used by the device by multicast. It is determined that the control device.
前記機器のうち、マルチキャストによる送信が不可能である通信経路を用いる機器に対して信号をユニキャストで送信する第2送信部を備え、
前記第1送信部は、前記機器のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信する
ことを特徴とする請求項8記載の制御装置。
A second transmission unit that transmits a signal by unicast to a device that uses a communication path that cannot be transmitted by multicast among the devices,
The control device according to claim 8, wherein the first transmission unit transmits a signal by multicast to a device using a communication path capable of transmission by multicast among the devices.
前記第1送信部、前記第3送信部、および前記受信部は、前記機器との間で授受される信号を中継する中継装置を介して前記機器との間で通信を行うことを特徴とする請求項8または9記載の制御装置。   The first transmission unit, the third transmission unit, and the reception unit communicate with the device via a relay device that relays a signal exchanged with the device. The control device according to claim 8 or 9. 前記第2送信部は、応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を前記機器にユニキャストで送信し、
前記経路判定部は、前記機器が前記第4応答要求に対する前記応答信号を返信せず、前記第5応答要求に対する前記応答信号を返信する場合、前記受信部が用いる通信経路はマルチキャストが不可能であると判定する
ことを特徴とする請求項1乃至7いずれか記載の制御装置。
The second transmission unit sends a fourth response request, which is a unicast signal requesting a response of the response signal by multicast, and a fifth response request, which is a unicast signal of requesting a response by unicast, to the device. Send by unicast,
When the device does not return the response signal for the fourth response request and does not return the response signal for the fifth response request, the route determination unit is not capable of multicasting the communication route used by the reception unit. The control device according to claim 1, wherein the control device is determined to be present.
応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を前記機器にユニキャストで送信する第2送信部を備え、
前記経路判定部は、前記機器が前記第4応答要求に対する前記応答信号を返信せず、前記第5応答要求に対する前記応答信号を返信する場合、前記受信部が用いる通信経路はマルチキャストが不可能であると判定する
ことを特徴とする請求項8乃至10いずれか記載の制御装置。
A second response request, which is a unicast signal requesting a reply by multicast of a response signal, and a fifth response request, a unicast signal requesting a reply by unicast of the response signal, are unicasted to the device. With a transmitter,
When the device does not return the response signal for the fourth response request and does not return the response signal for the fifth response request, the route determination unit is not capable of multicasting the communication route used by the reception unit. The control device according to claim 8, wherein the control device is determined to be present.
コンピュータを、請求項1乃至12いずれか記載の制御装置として機能させることを特徴とするプログラム。   A program causing a computer to function as the control device according to any one of claims 1 to 12.
JP2014185828A 2014-09-12 2014-09-12 Control device, program Active JP6347391B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014185828A JP6347391B2 (en) 2014-09-12 2014-09-12 Control device, program
PCT/IB2015/001581 WO2016038443A1 (en) 2014-09-12 2015-09-11 Control device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014185828A JP6347391B2 (en) 2014-09-12 2014-09-12 Control device, program

Publications (2)

Publication Number Publication Date
JP2016058989A true JP2016058989A (en) 2016-04-21
JP6347391B2 JP6347391B2 (en) 2018-06-27

Family

ID=55458390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014185828A Active JP6347391B2 (en) 2014-09-12 2014-09-12 Control device, program

Country Status (2)

Country Link
JP (1) JP6347391B2 (en)
WO (1) WO2016038443A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (en) * 2005-06-06 2006-12-14 Canon Inc Information communication apparatus, system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5448527B2 (en) * 2009-03-31 2014-03-19 キヤノン株式会社 Information processing apparatus, method thereof, and program
JP5566193B2 (en) * 2010-06-08 2014-08-06 日本電信電話株式会社 Broadcast system for switching distribution method and control method thereof
US10044482B2 (en) * 2011-10-31 2018-08-07 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for transmitting a message to multiple receivers

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (en) * 2005-06-06 2006-12-14 Canon Inc Information communication apparatus, system and method

Also Published As

Publication number Publication date
JP6347391B2 (en) 2018-06-27
WO2016038443A1 (en) 2016-03-17

Similar Documents

Publication Publication Date Title
TWI427991B (en) Method and system for packet transit through ipv4 networks connecting ipv6 nodes and lans in a utility grid using tunneling technique
JP4765973B2 (en) Communication route construction method and communication terminal
JP2008067303A (en) Relay agent apparatus and proxy address lending apparatus
JP2016514385A (en) Method for managing a ZigBee network in the Internet of Things
CN103095749A (en) Method and system used for achieving discovery of cross-network-segment equipment
JP6197468B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP5949035B2 (en) Network device setting device, setting system, setting method and setting program
US11197224B1 (en) Systems and methods for routing messages through wireless networks
CN102185737A (en) Automatic equipment information acquisition method and system
US9768856B2 (en) Method and apparatus for transmitting and receiving service in wireless communication system
US20170034124A1 (en) Terminal and multicast address distribution server
JP5853227B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP6347391B2 (en) Control device, program
JP2009239727A (en) Network system
JP5737367B2 (en) Network mode selection method and apparatus
JP2016058990A (en) Control device and program
JP6344169B2 (en) Control device, program
US7886078B2 (en) Connection support server and communication apparatus
JP5973317B2 (en) Terminal and method
JP3892305B2 (en) A system that gives temporary addresses, etc. by using temporary temporary addresses, etc.
KR101926014B1 (en) A method and apparatus for mamaging engergy by vitualization using grouping unit controllers
US11284476B1 (en) Systems and methods for commissioning nodes of a wireless network
JP2019129395A (en) Relay device, router, communication device, and communication system
JPH05316116A (en) Unified management equipment for server standby system
JP5603764B2 (en) Terminal control system, server device, and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170213

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180518

R151 Written notification of patent or utility model registration

Ref document number: 6347391

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151