WO2016038443A1 - 制御装置、プログラム - Google Patents

制御装置、プログラム Download PDF

Info

Publication number
WO2016038443A1
WO2016038443A1 PCT/IB2015/001581 IB2015001581W WO2016038443A1 WO 2016038443 A1 WO2016038443 A1 WO 2016038443A1 IB 2015001581 W IB2015001581 W IB 2015001581W WO 2016038443 A1 WO2016038443 A1 WO 2016038443A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
multicast
response
unit
unicast
Prior art date
Application number
PCT/IB2015/001581
Other languages
English (en)
French (fr)
Inventor
隆明 青木
大景 聡
上野 喜昭
順一 古川
坂口 敬司
Original Assignee
パナソニックIpマネジメント株式会社
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 パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2016038443A1 publication Critical patent/WO2016038443A1/ja

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]

Definitions

  • 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.
  • a relay device that relays a signal transmitted by a transmission source node and transfers the signal to a transmission destination node may be used.
  • 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.
  • 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. Means for Solving the Problems
  • the control device of the present invention requests 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, and a response signal reply.
  • a first transmission unit that transmits a first response request that is a multicast signal to be transmitted to the multicast group by multicast, and a second response request that is a unicast signal that requests a reply of the response signal to the device by unicast.
  • a second transmission unit a reception unit that receives the response signal, and a path that determines whether the communication path used by the device is capable of multicast transmission based on the response signal received by the reception unit A determination unit, wherein the reception unit receives the response signal to the first response request from the device. Not, when receiving the response signal in response to the second response request, and judging a communication path which this device is used is impossible transmission by multicast.
  • 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
  • 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 reception unit does not receive the response signal for the first response request from the device, and the third response When receiving the response signal to the request, 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 apparatus.
  • FIG. 6 is a sequence diagram for explaining device registration according to the first embodiment. It is a sequence diagram for demonstrating apparatus control of Embodiment 1. FIG. It is a sequence diagram for demonstrating apparatus control of Embodiment 1.
  • FIG. 6 is a sequence diagram for explaining multicast management by IGMP according to Embodiment 1.
  • FIG. 6 is a sequence diagram for explaining multicast management by IGMP according to Embodiment 1.
  • FIG. 6 is a sequence diagram for explaining management of a multicast transfer period according to the first embodiment.
  • 3 is a flowchart illustrating route determination processing according to the first embodiment.
  • 3 is a flowchart illustrating search processing according to the first embodiment.
  • 3 is a flowchart illustrating route determination processing according to the first embodiment.
  • It is a block diagram which shows the structure of the control system of Embodiment 2.
  • 10 is a flowchart illustrating route determination processing according to the second embodiment.
  • 10 is a flowchart illustrating route determination processing according to the second embodiment.
  • 10 is a flowchart illustrating route determination processing according to the second embodiment.
  • 10 is a flowchart illustrating route determination processing according to the second embodiment.
  • It is a block diagram which shows the structure of the control system of Embodiment 3.
  • 10 is a flowchart illustrating route determination processing according to the third embodiment.
  • FIG. 1 shows the configuration of the control system of this embodiment.
  • the control system includes a control device 1, a relay device 2 (router), a device 3, and a DHCP server (Dynamic Host Configuration Protocol) 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.
  • 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.
  • 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. is doing.
  • 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.
  • 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.
  • 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.
  • 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.
  • the control device 1 is preferably composed of, for example, a HEMS (Home Energy Management System) controller.
  • 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.
  • the control device 1 has a function of visualizing power consumption by presenting power data to an appropriate presentation device.
  • the control apparatus 1 has a function which controls the apparatus 3 aiming at power saving based on electric power data.
  • the control device 1 is not limited to the HEMS controller.
  • the control device 1 may be configured with a dedicated controller that controls the device 3 and a general-purpose personal computer.
  • 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.
  • 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.
  • 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. 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 various wireless standards is performed.
  • 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.
  • the devices 3 a, 3 b, and 3 c are denoted with reference numerals in order to distinguish the devices 3.
  • 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. Furthermore, 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.
  • FIG. 3 shows a communication sequence for registering the device 3.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • FIG. 4 shows a communication sequence for controlling the device 3 by the control device 1.
  • 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.
  • 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. 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.
  • 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.
  • 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.
  • 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.
  • the device 3 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.
  • 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.
  • 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.
  • 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).
  • an operating device other than the control device 1 for example, an operation unit, a remote controller, etc. provided in the device 3.
  • a status parameter indicating the state after the operation of the transmission source device 3 is added to the completion notification Y6.
  • 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.
  • 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. 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. 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.
  • 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 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.
  • the relay device 2 there is a multicast-compatible router corresponding to 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).
  • RFC RFC 1112/2236/3376
  • 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
  • a terminal desiring to receive a multicast signal addressed to a specific multicast group displays the multicast group address (multicast address) desired to be received by report Y12 (IGMP Report) is notified to the relay device 2.
  • 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. 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.
  • the control device 1 and the device 3 desiring to receive the multicast signal need to support IGMP (return a report Y12).
  • the relay device 2 performs a Snooping function that determines whether multicast signals can be transferred to each of the ports provided in the relay device 2 by snooping 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.
  • 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.
  • 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.
  • the relay device 2 starts measuring the multicast transfer period T1 (for example, 5 minutes) after receiving the report Y12 from the device 3.
  • the relay device 2 transfers the multicast signal Y13 from the port to which the device 3 is connected.
  • 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.
  • 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.
  • 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.
  • the route determination unit 15 determines 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).
  • 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.
  • 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). 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).
  • transmission source information transmission source registration information
  • the path determination unit 15 determines that the communication paths 92 and 93 (ports 22 and 23) can be transmitted by multicast.
  • 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.
  • 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).
  • 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.
  • the device 3 adds its own registration information as transmission source information to the response signal.
  • 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.
  • 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 the response signals are not received from all of the unresponsive devices 3 (S6).
  • a failure of the transmission destination device 3 power supply stop, failure, removal, etc. of the device 3) can be considered.
  • the receiving unit 13 receives a response signal from at least one of the unresponsive devices 3, the path determining unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2 (S7).
  • 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).
  • 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.
  • 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.
  • 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.
  • 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
  • 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 receiving unit 13 does not receive a response signal to the first response request from the device 3 and receives a response signal to the second response request, the route determination unit 15 uses a multicast communication path. It is determined that transmission is impossible.
  • 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. 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.
  • 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.
  • 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 applies the second to the device 3 whose registration information is stored in the device information storage unit 16 and for which the receiving unit 13 has not received a response signal for the first response request.
  • the transmission unit 12 is caused to transmit the second response request by unicast.
  • 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. 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. 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.
  • 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. 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.
  • the path determination unit 15 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. 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. 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.
  • 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.
  • the relay device 2 determines whether or not multicast transfer is possible for each port.
  • wireless communication one port is prepared for each communication band.
  • wired communication one port is provided for each cable insertion port. It is prepared.
  • 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.
  • the route determination unit 15 uses the device 3 (the communication route used by the device 3 (first device 3) for which the receiving unit 13 does not receive the response signal for the first response request to receive the response signal for the first response request ( It is assumed that the communication path is the same as that used by the second device 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. 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. In the registration information stored in the device information storage unit 16, as shown in FIG.
  • a multicast flag indicating whether or not multicast signal transmission is possible is set.
  • 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.
  • 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.
  • 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.
  • 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.
  • a DHCP server 4 is installed in the home network of FIG. 1.
  • 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.
  • 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.
  • the estimation unit 17 determines whether or not a unicast address is assigned to the control device 1.
  • the estimation unit 17 determines that the DHCP server 4 exists on the home network.
  • 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.
  • 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.
  • 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”.
  • 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. 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 relay device 2 and the device 3. It can be estimated as an assigned unicast address. Further, 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.
  • 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.
  • 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.
  • 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.
  • 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. For example, it is assumed that the unicast address of the DHCP server 4 is “192.168.11.1”.
  • 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. 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.
  • registration information unicast address, MAC address, etc.
  • 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, in the registration information of the new device 3 registered by the search unit 18, the multicast flag of the registration information is set to “0 (multicast disabled)”.
  • 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 responds to the search signal from the address of the transmission destination of the response signal to the search signal.
  • 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. 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.
  • 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.
  • 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.
  • a search signal which is a unicast signal for requesting a response 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. 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.
  • the control device 1 preferably determines the multicast signal transfer status by the relay device 2 according to the flowchart of FIG.
  • 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.
  • the route determination unit 15 instructs the first transmission unit 11 to perform multicast transmission of the first response request (S22).
  • 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).
  • 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.
  • 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.
  • 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.
  • 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).
  • 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).
  • 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.
  • 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.
  • 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.
  • 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. .
  • the route determination unit 15 does not transmit the multicast communication route used by the device 3. Determine that it is possible. 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.
  • 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.
  • the 1st transmission part 11 transmits a signal by multicast with respect to the apparatus 3 using the communication path
  • 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.
  • FIG. 12 shows the configuration of the control system of this embodiment.
  • the control device 1 ⁇ / b> A of this 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.
  • 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.
  • 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.
  • the control part 14 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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. When the control unit 14 selects unicast, each process of steps S4 to S7 is performed.
  • 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.
  • 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 to the third response request has been received from at least one of the devices 3 that have not responded to the first response request (S33).
  • the route determination unit 15 does not determine whether there is a defect in the transfer process in the relay device 2 when the reception unit 13 has not received response signals for the third response request from all of the devices 3 that have not responded to the first response request. (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. On the other hand, if the route determination unit 15 receives a response signal for the third response request from at least one device 3 that has not responded to the first response request, the route determination unit 15 determines that there is a problem in the multicast signal transfer processing by the relay device 2. (S34).
  • 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).
  • the route determination unit 15 can determine that the communication route (port) used by the device 3 that has received the response signal to the third response request in step S33 by the reception unit 13 cannot be transmitted by multicast. .
  • the route determination unit 15 repeats the processes of steps S1, S2, and S32, S33 a plurality of times, and confirms the response to the multicast signal and the broadcast signal a plurality of times.
  • 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.
  • 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
  • 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 receiving unit 13 does not receive the response signal for the first response request from the device 3 and receives the response signal for the third response request, the route determination unit 15 uses the multicast communication path used by the device 3 It is determined that transmission is impossible.
  • 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. 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.
  • 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
  • FIG. 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.
  • the control device 1A improves communication reliability by multicasting the communication signal and then unicasting or broadcasting the auxiliary communication signal. Also good.
  • the control device 1A preferably determines the multicast signal transfer status by the relay device 2 according to the flowcharts of FIGS. 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. To do. 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). 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.
  • 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.
  • 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.
  • each process of steps S24 to S29 is performed.
  • 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.
  • the route determination unit 15 stores the registration information added to the response signal in the device information storage unit 16 (S43). 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).
  • 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 both the first response request and the third response request, a failure of the device 3 (power supply stop, failure, removal, etc.) of the device 3 is considered as a factor that does not respond. . 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).
  • 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).
  • 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 third response request cannot be transmitted by multicast. 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.
  • 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.
  • 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.
  • the relay device 3 having the Snooping function determines whether or not multicast transfer is possible for each port.
  • 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.
  • 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.
  • 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).
  • 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.
  • the device 3 adds its own registration information as transmission source information to the response signal.
  • 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).
  • 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. On the other hand, when the receiving unit 13 does not receive a response signal from one or more registered devices 3, the route determining unit 15A instructs the second transmitting unit 12 to receive no response signal (not yet received).
  • a fifth response request to which the unicast address of the device 3 in response is 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.
  • 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.
  • 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 determining unit 15A determines that there is no problem in the multicast signal transfer processing by the relay device 2 (S56).
  • 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. 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.
  • the route determination unit 15A does not receive a multicast for the communication route used by the device 3. Determine that it is possible. 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.
  • the route determination unit 15A can perform the same processing as the route determination unit 15 of the first or second embodiment.
  • a program that causes a computer to function as the control device 1 can also achieve the same effects as the control device 1.
  • 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.
  • 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.
  • the above-described embodiment is an example of the present invention.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

中継装置におけるマルチキャスト信号の転送不具合の有無を判別することができる制御装置、プログラムを提供する。 制御装置1の経路判定部15は、受信部13が受信した応答信号に基づいて、機器3が用いる通信経路92,93はマルチキャス卜による送信が可能であるか否かを判定する。経路判定部15は、受信部13が機器3からマルチキャストされた第1応答要求に対する応答信号を受信せず、ユニキャストされた第2応答要求に対する応答信号を受信する場合、この機器3が用いる通信経路はマルチキャス卜による送信が不可能であると判定する。

Description

制御装置、プログラム
 本発明は、一般に制御装置、プログラム、より詳細には機器に対してマルチキャストによって信号を送信する制御装置、プログラムに関するものである。
 従来、マルチキャスト対応のネットワークとマルチキャスト非対応のネットワークとが混在する環境において、可能な限りマルチキャスト通信を使用してノードの処理負荷を軽減させることを目的としたパケット配送制御方法がある(例えば、日本国特開2005−151541号公報参照)。
 具体的には、マルチキャストによる通信が可能なノード間の通信にはマルチキャスト送信が用いられ、マルチキャストによる通信が不可能なノード間の通信にはユニキャスト送信が用いられる。この場合、各ノードは、他のノードとの間でマルチキャスト通信が可能であるか否かを判定する必要がある。そこで、各ノードは、応答要求をマルチキャスト送信し、応答要求に対する応答メッセージを返信したノードをマルチキャスト通信可能なノードとする。
 ノード間の通信には、送信元のノードが送信した信号を中継して、送信先のノードへ転送する中継装置(ルータ)が用いられる場合がある。この中継装置は、ノードが接続するポート毎にマルチキャスト信号を転送する必要の有無を設定される。しかしながら、中継装置の機能、設定等によっては、中継装置がマルチキャスト信号を転送しない状況が発生する可能性がある。
 このように、中継装置の機能、設定等によっては、マルチキャスト信号が到達しないノードが発生する場合がある。しかし、送信元のノードは、マルチキャスト信号が到達しないノードがあったとしても、このマルチキャストの不通状態が、中継装置におけるマルチキャスト信号の転送不具合を要因とするのか否かがわからなかった。
 本発明は、上記事由に鑑みてなされたものであり、その目的は、中継装置におけるマルチキャスト信号の転送不具合の有無を判別することができる制御装置、プログラムを提供することにある。
課題を解決するための手段
 本発明の制御装置は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、前記応答信号の返信を要求するユニキャスト信号である第2応答要求を前記機器にユニキャストで送信する第2送信部と、前記応答信号を受信する受信部と、前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、前記経路判定部は、前記受信部が前記機器から前記第1応答要求に対する前記応答信号を受信せず、前記第2応答要求に対する前記応答信号を受信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定することを特徴とする。
 本発明の制御装置は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、前記応答信号の返信を要求するブロードキャスト信号である第3応答要求を前記機器にブロードキャストで送信する第3送信部と、前記応答信号を受信する受信部と、前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、前記経路判定部は、前記受信部が前記機器から前記第1応答要求に対する前記応答信号を受信せず、前記第3応答要求に対する前記応答信号を受信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定することを特徴とする。
 本発明のプログラムは、コンピュータを、制御装置として機能させることを特徴とする。
発明の効果
 以上説明したように、本発明では、中継装置におけるマルチキャスト信号の転送不具合の有無を判別することができるという効果がある。
実施形態1の制御システムの構成を示すブロック図である。 実施形態1の登録情報の構成を示すテーブル図である。 実施形態1の機器登録を説明するためのシーケンス図である。 実施形態1の機器制御を説明するためのシーケンス図である。 実施形態1の機器制御を説明するためのシーケンス図である。 実施形態1のIGMPによるマルチキャスト管理を説明するためのシーケンス図である。 実施形態1のIGMPによるマルチキャスト管理を説明するためのシーケンス図である。 実施形態1のマルチキャスト転送期間の管理を説明するためのシーケンス図である。 実施形態1の経路判定処理を示すフローチャートである。 実施形態1の探索処理を示すフローチャートである。 実施形態1の経路判定処理を示すフローチャートである。 実施形態2の制御システムの構成を示すブロック図である。 実施形態2の経路判定処理を示すフローチャートである。 実施形態2の経路判定処理を示すフローチャートである。 実施形態2の経路判定処理を示すフローチャートである。 実施形態2の経路判定処理を示すフローチャートである。 実施形態3の制御システムの構成を示すブロック図である。 実施形態3の経路判定処理を示すフローチャートである。
 以下、本発明の実施の形態を図面に基づいて説明する。
 (実施形態1)
 図1は、本実施形態の制御システムの構成を示す。
 制御システムは、制御装置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間を伝送される信号を中継する。
 なお、通信経路91~93は、有線の通信経路(例えば、イーサネット(登録商標))、無線の通信経路(例えば、無線LAN)のいずれでもよいが、図1においては、通信経路91~93を有線の通信経路としている。
 また、通信経路91に接続する制御装置1およびDHCPサーバ4は、ハブ等の集線装置を介して同一の通信経路91に接続している。通信経路92に接続する複数の機器3は、集線装置を介して同一の通信経路92に接続し、通信経路93に接続する複数の機器3は、集線装置を介して同一の通信経路93に接続している。
 そして制御装置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であれば、その種類は限定されない。
 制御装置1は、第1送信部11、第2送信部12、受信部13、制御部14、経路判定部15、機器情報記憶部16を備える。制御装置1は、さらに推定部17、探索部18を備えることが好ましい。この制御装置1は、マイクロコンピュータ等で構成されたコンピュータを搭載しており、このコンピュータがプログラムを実行することによって、制御装置1の各機能が実現されている。すなわち、このプログラムは、コンピュータを制御装置1として機能させることを特徴とする。
 この制御装置1は、例えばHEMS(Home Energy Management System)コントローラで構成されることが好ましい。この場合、制御装置1は、監視対象の電力データ(消費電力、発電電力、蓄電電力等)を取得し、これらの電力データを用いてHEMSを構築する。HEMSにおいて、制御装置1は、電力データを適宜の提示装置に提示することによって、電力消費量を見える化する機能を有する。またHEMSにおいて、制御装置1は、電力データに基づいて、省電力化を目的とした機器3の制御を行う機能を有する。なお、制御装置1は、HEMSコントローラに限定されるものではない。
 あるいは、制御装置1は、機器3を制御する専用コントローラ、汎用のパーソナルコンピュータで構成されてもよい。
 制御部14は、第1送信部11、第2送信部12、受信部13の各動作を制御する。第1送信部11、第2送信部12、受信部13は、中継装置2との間で通信経路91を介して通信を行う。
 第1送信部11は、マルチキャスト信号を通信経路91に送出することで、マルチキャスト送信を行う。制御装置1、機器3は、同一のマルチキャストグループを構成している。同一のマルチキャストグループを構成している制御装置1、機器3等の端末は、マルチキャストグループに共通のIPアドレスであるマルチキャストアドレスを送信先に設定されたマルチキャスト信号を受信する。すなわち、マルチキャストアドレスが信号に付加されることによって、マルチキャストグループに対するマルチキャスト送信が行われる。
 第2送信部12は、ユニキャスト信号を通信経路91に送出することで、ユニキャスト送信を行う。制御装置1、機器3は、個別のIPアドレスであるユニキャストアドレスが割り付けられている。そして、ユニキャストアドレスが信号に付加されることによって、1対1のユニキャスト通信が行われる。
 通信経路91は、有線の通信経路であればイーサネット(登録商標)の規格に沿った通信が行われ、無線の通信経路であれば各種無線規格に沿った通信が行なわれる。
 機器情報記憶部16は、制御装置1の制御対象となる機器3のそれぞれのユニキャストアドレス、MACアドレス等の登録情報が格納される。図2は、機器情報記憶部16に格納されているデータテーブルであり、機器3のそれぞれに、ユニキャストアドレス、MACアドレスが互いに対応付けられている。なお、図2では、機器3を区別するために、機器3a,3b,3cの符号を付している。
 次に、制御システムにおける一般的な通信シーケンスについて説明する。なお、通信経路91上の制御装置1、通信経路92上の機器3、通信経路93上の機器3は、同一のマルチキャストグループに属している。さらに、制御装置1および機器3は、例えばECHONET(Energy Conservation& Homecare Network)規格またはECHONET Lite規格に沿った仕様となっている。なお、本システムで用いられる通信規格は、上述の規格に限定されるものではなく、他の通信規格を用いてもよい。
 図3は、機器3を登録する通信シーケンスを示す。
 制御装置1の制御部14は、機器3の登録時に第1送信部11に指示して、マルチキャストアドレスを付加したGet要求Y1を通信経路91に送出させることによって、Get要求Y1をマルチキャスト送信する。
 中継装置2は、Get要求Y1を受信すると、Get要求Y1に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する機器3が存在する通信経路92,93へGet要求Y1を転送する。
 機器3は、Get要求Y1に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じ(マルチキャストグループが同じ)であるので、Get要求Y1を受信する。Get要求Y1には、送信元の制御装置1のユニキャストアドレスが付加されており、機器3は、制御装置1のユニキャストアドレスを取得することができる。
 Get要求Y1を受信した機器3は、制御装置1のユニキャストアドレスを付加したGet応答Y2を通信経路92,93に送出することによって、Get応答Y2を制御装置1へユニキャスト送信する。
 中継装置2は、Get応答Y2を受信すると、Get応答Y2に付加されたユニキャストアドレスからユニキャスト信号であると認識して、制御装置1が存在する通信経路91へGet応答Y2を転送する。
 制御装置1の受信部13は、Get応答Y2に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであるので、Get応答Y2を受信する。Get応答Y2には、送信元の機器3のユニキャストアドレス、MACアドレス等の登録情報が付加されており、制御部14は、応答した機器3の登録情報を機器情報記憶部16に格納する。したがって制御装置1は、Get要求Y1をマルチキャスト送信することで、システム内に存在する機器3の登録情報を取得することができる。以降、制御装置1は、機器情報記憶部16に登録情報が格納されている機器3(登録済の機器3)に対して制御信号を送信して、機器3の動作を制御することができる。
 次に、図4は、制御装置1による機器3の制御を行う通信シーケンスを示す。
 制御装置1の制御部14は、第2送信部12に指示して、通信経路92上に存在する制御対象の機器3のユニキャストアドレスを付加したSet要求Y3を通信経路91に送出させることによって、Set要求Y3をユニキャスト送信する。
 中継装置2は、Set要求Y3を受信すると、Set要求Y3に付加されたユニキャストアドレスからユニキャスト信号であると認識して、送信先の機器3が存在する通信経路92へSet要求Y3を転送する。
 機器3は、Set要求Y3に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであれば、Set要求Y3を受信する。Set要求Y3には制御装置1が指示した制御内容も付加されており、機器3は、指示された制御内容に基づいて動作する。
 Set要求Y3を受信した機器3は、制御装置1のユニキャストアドレスを付加したSet応答Y4を通信経路92に送出することによって、Set応答Y4を制御装置1へユニキャスト送信する。
 中継装置2は、Set応答Y4を受信すると、Set応答Y4に付加されたユニキャストアドレスからユニキャスト信号であると認識して、制御装置1が存在する通信経路91へSet応答Y4を転送する。
 制御装置1の受信部13は、Set応答Y4に付加されたユニキャストアドレスが自己のユニキャストアドレスと同じであるので、Set応答Y4を受信する。Set応答Y4を受信した制御装置1は、Set要求Y3の送信が完了したことを認識できる。
 さらに、機器3は、Set要求Y3によって指示された動作を完了した場合、マルチキャストアドレスを付加した完了通知Y5を通信経路92に送出することによって、完了通知Y5をマルチキャスト送信する。完了通知Y5には、送信元の機器3の動作後の状態を示す状態パラメータが付加されている。
 中継装置2は、完了通知Y5を受信すると、完了通知Y5に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する制御装置1が存在する通信経路91へ完了通知Y5を転送する。このとき、中継装置2は、同一のマルチキャストグループに属する機器3が存在する通信経路93へも完了通知Y5を転送する。
 制御装置1の受信部13は、完了通知Y5に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じであるので、完了通知Y5を受信する。完了通知Y5を受信した制御装置1は、完了通知Y5の状態パラメータに基づいて、送信元の機器3の動作後の状態を把握することができる。
 次に、図5は、制御装置1以外の操作機器(例えば、機器3が備える操作部、リモコン等)によって機器3が制御された場合の通信シーケンスを示す。
 通信経路92上の機器3は、操作機器によって指示された動作を完了した場合、マルチキャストアドレスを付加した完了通知Y6を通信経路92に送出することによって、完了通知Y6をマルチキャスト送信する。完了通知Y6には、送信元の機器3の動作後の状態を示す状態パラメータが付加されている。
 中継装置2は、完了通知Y6を受信すると、完了通知Y6に付加されたマルチキャストアドレスからマルチキャスト信号であると認識して、同一のマルチキャストグループに属する制御装置1が存在する通信経路91へ完了通知Y6を転送する。このとき、中継装置2は、同一のマルチキャストグループに属する機器3が存在する通信経路93へも完了通知Y6を転送する。
 制御装置1の受信部13は、完了通知Y6に付加されたマルチキャストアドレスが自己のマルチキャストアドレスと同じであるので、完了通知Y6を受信する。完了通知Y6を受信した制御装置1は、完了通知Y6の状態パラメータに基づいて、送信元の機器3の動作後の状態を把握することができる。
 したがって、機器3が制御装置1以外の操作機器によって制御された場合でも、制御装置1は機器3の動作後の状態を把握することができる。すなわち、制御装置1が把握している機器3の状態と、機器3が把握している自己の状態とに乖離がなくなる。
 上述のように、制御装置1−機器3間の通信においてマルチキャストは重要な役割を担っている。制御装置1が送信したマルチキャスト信号を中継装置2が転送しなければ、制御装置1は、機器登録時に機器3からGet応答Y2が返信されないため、機器登録が不可能となる。また、機器3が送信したマルチキャスト信号を中継装置2が転送しなければ、制御装置1は、機器3の制御完了時に完了通知Y5,Y6を機器3から受信できないため、制御装置1が保有する情報と機器3が保有する情報との間に乖離が発生する可能性がある。
 中継装置2は、ポート21~23(ネットワーク・インタフェース)を備えている。そして、中継装置2は、通信経路91(制御装置1の通信経路)が通信接続するポート21、通信経路92,93(機器3の通信経路)が通信接続するポート22,23のそれぞれにおいて、マルチキャスト信号を転送する必要の有無をポート毎に判別している。すなわち、中継装置2は、転送する必要がないと判断したポートにはマルチキャスト信号を転送しない。
 例えば中継装置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の転送を行う。
 また図7に示すように、中継装置2は、送信したクエリY11に対するレポートY12の返信がないポートに対してはマルチキャスト信号Y13の転送を行わない。
 よって、マルチキャスト信号の受信を希望する制御装置1、機器3は、IGMPに対応する(レポートY12を返信する)必要がある。
 また、中継装置2は、IGMPを応用して、レポートY12を盗聴(Snooping)することで、中継装置2に具備されたポートのそれぞれへのマルチキャスト信号の転送可否を判断するSnooping機能を実行することができる。Snooping機能はIGMPの規格外であり、必要なポートのみにマルチキャスト信号が転送されることで、通信トラフィックを抑制することを目的としている。この中継装置2は、ポート毎にマルチキャスト信号の転送可否を設定したSnoopingテーブルを保持している。
 中継装置2は、さらにマルチキャスト信号の転送期間(マルチキャスト転送期間)を管理することができる。中継装置2は、タイマを用いたマルチキャスト転送期間の計時をポート毎に行い、転送期間を超過したポートがある場合、このポートは、Snoopingテーブルにおいて転送否の設定がなされる。中継装置2は、Snoopingテーブルにおいて転送否の設定がなされたポートには、マルチキャスト信号を転送しない。
 そして、中継装置2は、レポートY12を受信したポートに対してはタイマの計時動作をリセットすることによって、マルチキャスト転送期間を延長することができる。この場合、制御装置1、機器3は、中継装置2からクエリY11を受信しなくとも、一定周期でレポートY12を送信する必要がある。すなわち、制御装置1、機器3は、一定周期でレポートY12を送信しなければ、自己が接続する中継装置2からマルチキャスト信号が転送されなくなる。
 例えば、図8に示すように、中継装置2は、機器3からレポートY12を受信してからマルチキャスト転送期間T1(例えば、5分)の計時を開始する。中継装置2は、マルチキャスト転送期間T1において制御装置1からマルチキャスト信号Y13を受信すると、機器3が接続されたポートからマルチキャスト信号Y13を転送する。しかし、中継装置2は、マルチキャスト転送期間T1を超過すると、制御装置1からマルチキャスト信号Y13を受信しても、機器3が接続されたポートからマルチキャスト信号Y13を転送しない。
 上述のように、中継装置2の機能、設定によっては、中継装置2がマルチキャスト信号の転送を行わず、制御装置1が送信したマルチキャスト信号が到達しない機器3が発生する場合がある。例えば、ある時点では制御装置1から送信されたマルチキャスト信号が機器3に到達していたが、マルチキャスト転送期間の終了後には、制御装置1から送信されたマルチキャスト信号が機器3に到達しなくなる場合も考えられる。そこで、本実施形態の制御装置1は、経路判定部15による図9の処理を定期的に行って、中継装置2によるマルチキャスト信号の転送状況(中継装置2によるマルチキャスト信号の転送に不具合があるか否か)を判定する。
 まず、制御装置1の経路判定部15は、判定処理を開始すると第1送信部11に指示して、マルチキャストアドレスを付加した第1応答要求を通信経路91に送出させることによって、第1応答要求をマルチキャスト送信する(S1)。第1応答要求とは、応答信号の返信を要求するマルチキャスト信号であり、中継装置2を介して第1応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。
 経路判定部15は、受信部13が中継装置2を介して応答信号を受信した場合、この応答信号に付加されている送信元情報(送信元の登録情報)から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、第1応答要求をマルチキャスト送信してから所定時間が経過するまでに、全ての登録済の機器3から応答信号を受信したか否かを判定する(S2)。
 経路判定部15は、全ての登録済の機器3から応答信号を受信した場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S3)。具体的に、経路判定部15は、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93(ポート22、23)に転送されていると判定する。言い換えれば、経路判定部15は、通信経路92,93(ポート22、23)はマルチキャストによる送信が可能であると判定する。
 また、経路判定部15は、機器情報記憶部16に登録情報を格納されていない機器3から、第1応答要求に対する応答信号を受信した場合、この応答信号に付加されている登録情報(新規の機器3の登録情報)を機器情報記憶部16に格納する。なお、この新規の機器3の登録情報は、上述のステップS2における登録済の機器3には含まれない。
 一方、経路判定部15は、1台以上の登録済の機器3から応答信号を受信しなかった場合、第2送信部12に指示して、応答信号を返信していない(未応答の)機器3のユニキャストアドレスを付加した第2応答要求を通信経路91に送出させる(S4)。すなわち、第2送信部12は、未応答の機器3のそれぞれに対して第2応答要求をユニキャスト送信する。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。
 経路判定部15は、受信部13が中継装置2を介して機器3から第2応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、未応答の機器3の少なくとも1台から応答信号を受信したか否かを判定する(S5)。経路判定部15は、未応答の機器3の全てから応答信号を受信しなかった場合、中継装置2における転送処理の不具合の有無を判定しない(S6)。この場合、マルチキャストされた第1応答要求に対して機器3が応答しない要因として、送信先の機器3の不具合(機器3の電源停止、故障、撤去等)等が考えられる。
 一方、経路判定部15は、受信部13が未応答の機器3の少なくとも1台から応答信号を受信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S7)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、ステップS5において応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。
 また、経路判定部15は、ステップS1,S2の処理を複数回繰り返して、マルチキャスト信号に対する応答確認を複数回行うことが好ましい。例えば、通信経路92,93が無線の通信経路である場合、電波状況によっては、マルチキャスト信号が受信できない機器3や、応答信号が中継装置2に到達しない機器3が存在する可能性がある。そこで、経路判定部15は、マルチキャスト信号に対する応答確認を複数回行うことで、応答確認の精度を向上させることができる。
 このように、制御装置1は、機器情報記憶部16と、第1送信部11と、第2送信部12と、受信部13と、経路判定部15とを備える。機器情報記憶部16は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器3に個別に割り当てられた登録情報を格納する。第1送信部11は、応答信号の返信を要求するマルチキャスト信号である第1応答要求をマルチキャストグループにマルチキャストで送信する。第2送信部12は、応答信号の返信を要求するユニキャスト信号である第2応答要求を機器3にユニキャストで送信する。受信部13は、応答信号を受信する。経路判定部15は、受信部13が受信した応答信号に基づいて、機器3が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する。この場合、経路判定部15は、受信部13が機器3から第1応答要求に対する応答信号を受信せず、第2応答要求に対する応答信号を受信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。
 また、第1送信部11、第2送信部12、受信部13は、機器3との間で授受される信号を中継する中継装置2を介して機器3との間で通信を行うことが好ましい。
 したがって、制御装置1は、マルチキャスト信号が到達しない登録済の機器3があった場合に、このマルチキャストの不通状態が、中継装置2におけるマルチキャスト信号の転送不具合を要因とするのか否かがわかる。すなわち、制御装置1は、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。
 また、経路判定部15は、以下の判定処理を行うことが好ましい。経路判定部15は、第1送信部11に第1応答要求をマルチキャストで送信させて、第1応答要求に対する応答信号を、機器情報記憶部16に登録情報を格納されている機器3から受信した場合、この機器3が用いる通信経路92,93(ポート22,23)はマルチキャストによる送信が可能であると判定する。そして、経路判定部15は、機器情報記憶部16に登録情報を格納されている機器3のうち、受信部13が第1応答要求に対する応答信号を受信していない機器3に対して、第2送信部12に第2応答要求をユニキャストで送信させる。経路判定部15は、第2応答要求に対する応答信号を機器3から受信した場合、この機器3が用いる通信経路92または93(ポート22または23)はマルチキャストによる送信が不可能であると判定する。
 したがって、経路判定部15は、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、第1応答要求に応答していない未応答の機器3にのみ第2応答要求をユニキャストするので、第2応答要求の送信処理に必要な通信トラフィックを抑制できる。
 また、経路判定部15は、ステップS5において応答信号を返信した機器3のポート情報に基づいて、中継装置2がマルチキャスト信号の転送処理を行わない通信経路(ポート)を判別することができる。すなわち、経路判定部15は、ステップS5において応答信号を返信した機器3が接続している通信経路(中継装置2のポート)に、マルチキャスト不通の不具合が発生していると判定できる。言い換えれば、経路判定部15は、ステップS5において応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。
 具体的に、通信経路92(ポート22)に接続している機器3からは、第1応答要求に対する応答信号の返信があり、通信経路93(ポート23)に接続している機器3からは、第1応答要求に対する応答信号の返信がないとする。そして、通信経路93(ポート23)に接続している機器3から第2応答要求に対する応答信号の返信があった場合、経路判定部15は、通信経路93(ポート23)にマルチキャスト不通の不具合が発生していると判定できる。
 また、制御装置1の機器情報記憶部16は、複数の機器3のそれぞれの登録情報を格納している。そして、経路判定部15は、以下の判定処理を行うことが好ましい。
 例えば、機器情報記憶部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は、ポート毎にマルチキャストの転送可否を判断しており、無線通信では、通信帯域毎に一つのポートが用意され、有線通信では、ケーブルの挿入口毎に一つのポートが用意されている。
 そして、経路判定部15は、同一ポートに接続する機器3に、応答済の機器3と未応答の機器3とが混在している場合、この未応答の機器3に対してはステップS4において第2応答要求をユニキャスト送信させない。すなわち、経路判定部15は、同一ポートに接続している全ての登録済の機器3が第1応答要求に対して未応答である場合にのみ、このポートに接続している登録済の機器3へ、第2応答要求をユニキャスト送信させる。この場合、経路判定部15は、第2応答要求の送信の有無(送信する/送信しない)を通信経路毎に判断している。
 すなわち、経路判定部15は、受信部13が第1応答要求に対する応答信号を受信しない機器3(第1の機器3)が用いる通信経路が、第1応答要求に対する応答信号を受信する機器3(第2の機器3)が用いる通信経路と同じであるとする。このとき、経路判定部15は、第1の機器3が用いる通信経路はマルチキャストによる送信が可能であると判定して、第2応答要求の送信の有無を通信経路毎に判断することが好ましい。
 この場合、制御装置1は、無駄な第2応答要求のユニキャスト送信を行うことがないので、経路判定部15の判定処理における通信トラフィックを抑制することができる。
 そして、機器情報記憶部16に格納されている登録情報には、図2に示すように、マルチキャストによる信号送信が可能か否かを示すマルチキャストフラグが設定されている。経路判定部15は、判定結果に基づいて、機器3毎にマルチキャストによる信号送信の可否をマルチキャストフラグに設定する(1:マルチキャスト可、0:マルチキャスト不可)。制御装置1では、機器情報記憶部16を参照して、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。
 しかしながら、上述の経路判定部15による判定処理は、登録済の機器3のみを対象にしており、制御装置1は、機器情報記憶部16に登録情報が格納されていない機器3と通信を行うことができない。
 そこで、経路判定部15が図9の処理を実行して、中継装置2によるマルチキャスト信号の転送処理に不具合ありと判定したとする。この場合、制御装置1は、機器情報記憶部16に登録情報が格納されておらず、且つマルチキャスト不可能である機器3の登録情報を収集するために、図10の探索処理を実行する。
 図1の宅内ネットワークには、DHCPサーバ4が設置されている。DHCPサーバ4は、宅内ネットワーク上の端末にユニキャストアドレスを割り付ける機能を有しており、制御装置1、機器3のそれぞれのユニキャストアドレスは、DHCPサーバ4によって割り付けられる。
 まず、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在するか否かを判定する(S11)。この判定方法は、制御装置1に割り付けられたユニキャストアドレスの有無を用いる方法と、DHCPディスカバーコマンドを用いる方法とがある。
 前者の方法では、推定部17は、制御装置1にユニキャストアドレスが割り付けられているか否かを判別する。そして、制御装置1にユニキャストアドレスが割り付けられている場合、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在すると判定する。後者の方法では、推定部17は、DHCPディスカバーコマンドをブロードキャスト送信し、DHCPディスカバーコマンドに対する応答があれば、宅内ネットワーク上にDHCPサーバ4が存在すると判定する。
 推定部17は、宅内ネットワーク上にDHCPサーバ4が存在すると判定した場合、制御装置1に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定する(S12)。DHCPサーバ4は、宅内ネットワーク上の端末に割り付けるユニキャストアドレスの範囲(ユニキャストアドレスのリース範囲)が予め決まっており、このリース範囲内のユニキャストアドレスを昇順で順次割り付ける。DHCPサーバ4が中継装置2に格納されている場合、ユニキャストアドレスのリース範囲には、中継装置2のメーカ毎に傾向がある。ユニキャストアドレスのリース範囲は、例えば「192.168.11.1」~「192.168.11.254」に設定されている。そして、推定部17は、制御装置1に割り付けられたユニキャストアドレスの前後を、機器3に割り付けられたユニキャストアドレスとして推定する。
 例えば、制御装置1のユニキャストアドレスが「192.168.11.5」であるとする。この場合、推定部17は、「192.168.11.5」より前のユニキャストアドレス「192.168.11.1」~「192.168.11.4」を中継装置2および機器3に割り付けられたユニキャストアドレスとして推定できる。さらに、推定部17は、「192.168.11.5」より後の10個のユニキャストアドレス「192.168.11.6」~「192.168.11.15」を機器3に割り付けられたユニキャストアドレスとして推定できる。すなわち、推定部17は、制御装置1に割り付けられたユニキャストアドレスの前の全ユニキャストアドレス、制御装置1に割り付けられたユニキャストアドレスの後の10個のユニキャストアドレスを推定範囲とすることができる。なお、推定部17の推定範囲は、上述の例に限定されない。
 次に探索部18は、第2送信部12に指示して、推定範囲内のユニキャストアドレスのそれぞれを付加した探索信号を通信経路91に送出させる(S13)。このとき、探索部18は、推定範囲内のユニキャストアドレスから、登録情報に含まれているユニキャストアドレスは除いて探索信号を送信させることが好ましい。この場合、探索部18は、不必要な探索信号を送信することがなく、探索信号による通信トラフィックを抑制できる。すなわち、第2送信部12は、推定範囲内のユニキャストアドレスのそれぞれ(但し、登録情報に含まれているユニキャストアドレスは除く)に対して探索信号をユニキャスト送信する。探索信号とは、応答信号の返信を要求する機器探索用のユニキャスト信号であり、中継装置2を介して探索信号を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。
 また、推定部17は、DHCPサーバ4に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定することもできる。
 例えば、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の推定範囲は、上述の例に限定されない。
 そして、探索部18は、受信部13が探索信号に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報(ユニキャストアドレス、MACアドレス等)を抽出する。探索部18は、抽出した登録情報のうち、機器情報記憶部16に格納されていない新規の登録情報を、機器情報記憶部16に新たに格納する(S14)。この新たに格納された登録情報は、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる新たな機器3の登録情報である。すなわち、探索部18によって登録された新たな機器3の登録情報は、登録情報のマルチキャストフラグが「0(マルチキャスト不可)」に設定される。
 推定部17が推定したユニキャストアドレスは、制御装置1−機器3間の通信規格とは異なる他の通信規格を用いる他の端末に割り付けられた可能性もあるが、この場合は他の端末から応答信号が返信されない。なお、探索部18は、探索信号に対する応答信号の送信先のアドレスから、探索信号に対して応答した機器3のユニキャストアドレスを機器情報記憶部16に格納することもできる。
 制御部14は、機器情報記憶部16を参照して、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。
 そこで、制御部14は、以降の通信において、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3に対しては、マルチキャスト送信を行う。また制御部14は、以降の通信において、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3に対しては、ユニキャスト送信を行う。
 このように、登録情報は、機器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に格納する。
 したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合がある場合でも、機器3のユニキャストアドレス(または、ユニキャストアドレスを含む登録情報)を収集できる。
 また、制御装置1は機器情報記憶部16に登録情報が格納されていない場合、図11のフローチャートにしたがって中継装置2によるマルチキャスト信号の転送状況を判定することが好ましい。
 まず、推定部17は、宅内ネットワーク上にDHCPサーバ4が存在するか否かを判定する(S21)。この判定方法は、制御装置1に割り付けられたユニキャストアドレスの有無を用いる方法と、DHCPディスカバーコマンドを用いる方法とがある。
 宅内ネットワーク上にDHCPサーバ4が存在すると推定部17が判定した場合、経路判定部15は、第1送信部11に指示して、第1応答要求をマルチキャスト送信する(S22)。
 経路判定部15は、受信部13が第1応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S23)。
 次に、推定部17は、制御装置1に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定する(S24)。推定部17は、制御装置1に割り付けられたユニキャストアドレスの前後を、機器3に割り付けられたユニキャストアドレスとして推定する。
 次に経路判定部15は、第2送信部12に指示して、推定範囲内のユニキャストアドレスのそれぞれを付加した第2応答要求を通信経路91に送出させる(S25)。すなわち、第2送信部12は、推定範囲内のユニキャストアドレスのそれぞれに対して第2応答要求をユニキャスト送信する。
 経路判定部15は、受信部13が第2応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S26)。推定部17が推定したユニキャストアドレスは、制御装置1−機器3間の通信規格とは異なる他の通信規格を用いる他の端末に割り付けられた可能性もあるが、この場合は他の端末から応答信号が返信されない。
 そして、経路判定部15は、機器情報記憶部16を参照して、マルチキャストされた第1応答要求に応答せず、ユニキャストされた第2応答要求のみに応答した機器3があるか否かを判定する(S27)。経路判定部15は、第2応答要求のみに応答した機器3がなければ、中継装置2における転送処理の不具合の有無を判定しない(S28)。この場合、第1応答要求および第2応答要求の両方に対して応答しない機器3があれば、この機器3の不具合(機器3の電源停止、故障、撤去等)等が応答しない要因として考えられる。
 一方、第2応答要求のみに応答した機器3があれば、経路判定部15は、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S29)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、第2応答要求に対する応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。
 また、推定部17は、DHCPサーバ4に割り付けられたユニキャストアドレスから、機器3に割り付けられたユニキャストアドレスを推定することもできる。
 このように、制御装置1は、推定部17をさらに備えることが好ましい。推定部17は、機器3にユニキャストアドレスを割り当てるDHCPサーバ4が存在するか否かを判定する。そして、推定部17は、DHCPサーバ4が存在すれば、DHCPサーバ4が機器3へ割り当てるユニキャストアドレスを本制御装置1のユニキャストアドレスまたはDHCPサーバ4のユニキャストアドレスに基づいて推定する。
 そして、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合、以下の処理を行う。経路判定部15は、第1送信部11に第1応答要求をマルチキャストで送信させ、推定部17が推定したユニキャストアドレスに対して第2送信部12に第2応答要求をユニキャストで送信させる。経路判定部15は、受信部13が機器3から第1応答要求に対する応答信号を受信せず、第2応答要求に対する応答信号を受信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。
 したがって、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合でも、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。
 そして、制御部14は、経路判定部15の判定結果、探索部18の探索結果に基づいて、機器情報記憶部16の登録情報を追加、更新する。制御部14は、機器情報記憶部16の登録情報に基づいて、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3と、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3とを識別できる。そこで、制御部14は、以降の通信において、マルチキャストによる信号送信が可能である通信経路(ポート)を用いる機器3に対しては、信号をマルチキャストで送信させる。また制御部14は、以降の通信において、マルチキャストによる信号送信が不可能である通信経路(ポート)を用いる機器3に対しては、信号をユニキャストで送信させる。
 すなわち、第1送信部11は、機器3のうち、マルチキャストによる送信が可能である通信経路(ポート)を用いる機器3に対して信号をマルチキャストで送信することが好ましい。第2送信部12は、機器3のうち、マルチキャストによる送信が不可能である通信経路(ポート)を用いる機器3に対して信号をユニキャストで送信することが好ましい。
 したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合があっても、機器3との間の通信をできるだけ効率よく行うことができる。
 なお、DHCPサーバ4の設置箇所は、通信経路91上に限定されるものではなく、他の通信経路、他のネットワーク上に設置されてもよい。あるいは、DHCPサーバ4は、中継装置2内に実装されることも可能である。すなわち、DHCPサーバ4は、制御装置1、機器3にユニキャストアドレスを割り付けることができれば、その設置箇所は限定されない。
 (実施形態2)
 図12は、本実施形態の制御システムの構成を示す。
 本実施形態の制御装置1Aは、第3送信部19を備える。第3送信部19は、制御部14によって制御され、ブロードキャストアドレスが付加されたブロードキャスト信号を通信経路91に送出することで、ブロードキャスト送信を行う。なお、他の構成は実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
 制御装置1Aは、経路判定部15による図13、図14の処理を定期的に行って、中継装置2によるマルチキャスト信号の転送状況を判定する。
 ステップS1~S7の各処理は、実施形態1(図9参照)と同様に、第1応答要求のマルチキャスト、第2応答要求のユニキャストの送信処理を行っており、説明は省略する。
 そして、本実施形態の制御装置1Aでは、ステップS2において、マルチキャストされた第1応答要求に対して、1台以上の登録済の機器3から応答信号を受信しなかった場合、制御部14は、応答要求の送信形態を選択する(S31)。すなわち、制御部14は、マルチキャストされた第1応答要求に対する応答がない未応答の機器3が存在する場合、未応答の機器3に対してユニキャストで応答確認を行うか、ブロードキャストで応答確認を行うかを選択する。
 ユニキャストによる応答確認には、第2応答要求が用いられる。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。
 ブロードキャストによる応答確認には、第3応答要求が用いられる。第3応答要求とは、応答信号の返信を要求するブロードキャスト信号であり、中継装置2を介して第3応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。
 ブロードキャストによる応答確認は、ブロードキャスト信号が全ての機器3に受信されるという保証がなく、また複数の機器3から一斉に応答信号が返信されるため、制御機器1が全ての応答信号を受信しきれない虞があるという短所がある。しかし、単発の送信で複数の機器3宛に応答要求を届けられるという長所がある。
 ユニキャストによる応答確認は、長所および短所がブロードキャストによる応答確認とは逆になる。すなわち、ユニキャスト信号は機器3のそれぞれに確実に送信されるが、送信先の機器3の数のユニキャスト通信を行う必要がある。
 制御部14は、機器情報記憶部16に登録されている機器3の台数が閾値未満であれば、ユニキャストを選択し、登録されている機器3の台数が閾値以上であれば、ブロードキャストを選択する。または、制御部14は、ユーザ操作によって、ユニキャストまたはブロードキャストを選択してもよい。
 制御部14がユニキャストを選択した場合、ステップS4~S7の各処理を行う。
 制御部14がブロードキャストを選択した場合、経路判定部15は、第3送信部19に指示して、ブロードキャストアドレスを付加した第3応答要求を通信経路91に送出させる(S32)。すなわち、第3送信部19は、第3応答要求をブロードキャスト送信する。
 経路判定部15は、受信部13が中継装置2を介して機器3から第3応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15は、第1応答要求に未応答の機器3の少なくとも1台から第3応答要求に対する応答信号を受信したか否かを判定する(S33)。経路判定部15は、受信部13が第1応答要求に未応答の機器3の全てから第3応答要求に対する応答信号を受信しなかった場合、中継装置2における転送処理の不具合の有無を判定しない(S35)。この場合、マルチキャストされた第1応答要求に対して機器3が応答しない要因として、送信先の機器3の不具合(機器3の電源停止、故障、撤去等)等が考えられる。
 一方、経路判定部15は、第1応答要求に未応答の機器3の少なくとも1台から第3応答要求に対する応答信号を受信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S34)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、受信部13がステップS33において第3応答要求に対する応答信号を受信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。
 また、経路判定部15は、ステップS1,S2、ステップS32,S33の処理を複数回繰り返して、マルチキャスト信号およびブロードキャスト信号に対する応答確認を複数回行うことが好ましい。例えば、通信経路92,93が無線の通信経路である場合、電波状況によっては、マルチキャスト信号が受信できない機器3や、応答信号が中継装置2に到達しない機器3が存在する可能性がある。そこで、経路判定部15は、マルチキャスト信号およびブロードキャスト信号に対する応答確認を複数回行うことで、応答確認の精度を向上させることができる。
 このように、制御装置1Aは、機器情報記憶部16と、第1送信部11と、第3送信部19と、受信部13と、経路判定部15とを備える。機器情報記憶部16は、ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器3に個別に割り当てられた登録情報を格納する。第1送信部11は、応答信号の返信を要求するマルチキャスト信号である第1応答要求をマルチキャストグループにマルチキャストで送信する。第3送信部19は、応答信号の返信を要求するブロードキャスト信号である第3応答要求を機器3にブロードキャストで送信する。受信部13は、応答信号を受信する。経路判定部15は、受信部13が受信した応答信号に基づいて、機器3が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する。この場合、経路判定部15は、受信部13が機器3から第1応答要求に対する応答信号を受信せず、第3応答要求に対する応答信号を受信する場合、この機器3が用いる通信経路はマルチキャストによる送信が不可能であると判定する。
 また、第1送信部11、第2送信部12、第3送信部19、受信部13は、機器3との間で授受される信号を中継する中継装置2を介して機器3との間で通信を行うことが好ましい。
 したがって、制御装置1Aは、マルチキャスト信号が到達しない登録済の機器3があった場合に、このマルチキャストの不通状態が、中継装置2におけるマルチキャスト信号の転送不具合を要因とするのか否かがわかる。すなわち、制御装置1Aは、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、制御装置1Aは、ユニキャストによる応答確認とブロードキャストによる応答確認とを、機器3の台数に応じて切り替えることができるので、応答確認の効率を向上させることができる。
 さらに、制御装置1Aは、機器3のうち、マルチキャストによる送信が不可能である通信経路を用いる機器3に対して信号をユニキャストで送信する第2送信部12を備えることが好ましい。そして、第1送信部11は、機器3のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信する。
 したがって、制御装置1は、中継装置2によるマルチキャスト信号の転送処理に不具合があっても、機器3との間の通信をできるだけ効率よく行うことができる。
 また、制御装置1Aは、機器3との間で行われる通常の通信において、通信信号をマルチキャストした後に、補助的に通信信号をユニキャストまたはブロードキャスト送信することで、通信の信頼性を向上させてもよい。
 また、制御装置1Aは、機器情報記憶部16に登録情報が格納されていない場合、図15、図16のフローチャートにしたがって中継装置2によるマルチキャスト信号の転送状況を判定することが好ましい。
 ステップS21~S29の各処理は、実施形態1(図11参照)と同様に、第1応答要求のマルチキャスト、第2応答要求のユニキャストの送信処理、アドレス推定処理を行っており、説明は省略する。
 そして、本実施形態の制御装置1Aでは、ステップS23において、第1応答要求に対する応答信号が返信され、この応答信号に付加されている登録情報を機器情報記憶部16に格納した後、制御部14は、応答要求の送信形態を選択する(S41)。
 ユニキャストによる応答確認には、第2応答要求が用いられる。第2応答要求とは、応答信号の返信を要求するユニキャスト信号であり、中継装置2を介して第2応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。
 ブロードキャストによる応答確認には、第3応答要求が用いられる。第3応答要求とは、応答信号の返信を要求するブロードキャスト信号であり、中継装置2を介して第3応答要求を受信した機器3は、応答信号を制御装置1Aへユニキャスト送信する。
 制御部14は、機器情報記憶部16に登録されている機器3の台数が閾値未満であれば、ユニキャストを選択し、登録されている機器3の台数が閾値以上であれば、ブロードキャストを選択する。または、制御部14は、ユーザ操作によって、ユニキャストまたはブロードキャストを選択してもよい。
 制御部14がユニキャストを選択した場合、ステップS24~S29の各処理を行う。
 制御部14がブロードキャストを選択した場合、経路判定部15は、第3送信部19に指示して、ブロードキャストアドレスを付加した第3応答要求を通信経路91に送出させる(S42)。すなわち、第3送信部19は、第3応答要求をブロードキャスト送信する。
 経路判定部15は、受信部13が第3応答要求に対する応答信号を機器3から受信した場合、この応答信号に付加されている登録情報を機器情報記憶部16に格納する(S43)。
 そして、経路判定部15は、機器情報記憶部16を参照して、マルチキャストされた第1応答要求に応答せず、ブロードキャストされた第3応答要求のみに応答した機器3があるか否かを判定する(S44)。経路判定部15は、第3応答要求のみに応答した機器3がなければ、中継装置2における転送処理の不具合の有無を判定しない(S45)。この場合、第1応答要求および第3応答要求の両方に対して応答しない機器3があれば、この機器3の不具合(機器3の電源停止、故障、撤去等)等が応答しない要因として考えられる。
 一方、第3応答要求のみに応答した機器3があれば、経路判定部15は、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S46)。具体的に転送処理の不具合とは、通信経路91上(ポート21)に送出されたマルチキャスト信号が通信経路92,93の両方(ポート22、23の両方)、または通信経路92,93のいずれか一方(ポート22、23のいずれか一方)に転送されていない状態である。言い換えれば、経路判定部15は、第3応答要求に対する応答信号を返信した機器3が用いる通信経路(ポート)はマルチキャストによる送信が不可能であると判定することができる。
 したがって、経路判定部15は、機器情報記憶部16に機器3の登録情報が格納されていない場合でも、中継装置2におけるマルチキャスト信号の転送不具合の有無を判別することができる。さらに、制御装置1Aは、ユニキャストによる応答確認とブロードキャストによる応答確認とを、機器3の台数に応じて切り替えることができるので、応答確認の効率を向上させることができる。
 (実施形態3)
 図17は、本実施形態の制御システムの構成を示す。本実施形態の制御装置1Bは、経路判定部15Aを備える。なお、他の構成は実施形態1と同様であり、同様の構成には同一の符号を付して説明は省略する。
 上述の実施形態1,2は、制御装置1、制御装置1Aから機器3へ送信するマルチキャスト信号に対して、中継装置2での転送不具合の有無を検出するものである。しかしながら、Snooping機能を有する中継装置3は、ポート毎にマルチキャストの転送可否を判断している。したがって、制御装置1Bから送信されたマルチキャスト信号は、機器3を接続したポートに転送されるが、機器3から送信されたマルチキャスト信号は制御装置1Bを接続したポートに転送されない場合が起こりうる。而して、中継装置2がマルチキャスト信号を双方向に転送しているか否かを検出する必要がある。
 そこで、制御装置1Bは、経路判定部15Aによる図18の処理を定期的に行って、機器3から制御装置1Bに送信されるマルチキャスト信号の転送状況を判定する。
 まず、制御装置1Bの経路判定部15Aは、第2送信部12に指示して、機器情報記憶部16に登録情報を格納されている機器3のユニキャストアドレスを付加した第4応答要求を通信経路91に送出させる(S51)。すなわち、第2送信部12は、登録されている機器3のそれぞれに対して第4応答要求をユニキャスト送信する。第4応答要求とは、応答信号のマルチキャストによる返信を要求するユニキャスト信号であり、中継装置2を介して第4応答要求を受信した機器3は、応答信号を制御装置1へマルチキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。
 経路判定部15Aは、受信部13が中継装置2を介して応答信号を受信した場合、この応答信号に付加されている送信元情報(送信元の登録情報)から、応答信号の送信元の機器3を識別できる。そして、経路判定部15Aは、全ての登録済の機器3から応答信号を受信したか否かを判定する(S52)。
 経路判定部15Aは、全ての登録済の機器3から応答信号を受信した場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S53)。具体的に、経路判定部15Aは、通信経路92,93(ポート22、23)に送出されたマルチキャスト信号が通信経路91上(ポート21)に転送されていると判定する。言い換えれば、経路判定部15Aは、通信経路91(ポート21)はマルチキャストによる送信が可能であると判定する。
 一方、経路判定部15Aは、受信部13が1台以上の登録済の機器3から応答信号を受信しなかった場合、第2送信部12に指示して、応答信号を受信していない(未応答の)機器3のユニキャストアドレスを付加した第5応答要求を通信経路91に送出させる(S54)。すなわち、第2送信部12は、未応答の機器3のそれぞれに対して第5応答要求をユニキャスト送信する。第5応答要求とは、応答信号のユニキャストによる返信を要求するユニキャスト信号であり、中継装置2を介して第5応答要求を受信した機器3は、応答信号を制御装置1へユニキャスト送信する。このとき、機器3は、自己の登録情報を送信元情報として応答信号に付加する。
 経路判定部15Aは、受信部13が中継装置2を介して機器3から第5応答要求に対する応答信号を受信した場合、この応答信号に付加されている送信元情報から、応答信号の送信元の機器3を識別できる。そして、経路判定部15Aは、未応答の機器3の少なくとも1台から応答信号を受信したか否かを判定する(S55)。経路判定部15Aは、受信部13が未応答の機器3の全てから応答信号を受信しなかった場合、中継装置2によるマルチキャスト信号の転送処理に不具合がないと判定する(S56)。
 一方、経路判定部15Aは、未応答の機器3の少なくとも1台でも応答信号を返信すれば、中継装置2によるマルチキャスト信号の転送処理に不具合があると判定する(S57)。具体的に転送処理の不具合とは、機器3から送信されたマルチキャスト信号が通信経路91(ポート21)に転送されていない状態である。言い換えれば、経路判定部15Aは、制御装置1Bが用いる通信経路(ポート)に対するマルチキャスト送信が不可能であると判定することができる。
 このように、第2送信部12は、応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を機器3にユニキャストで送信することが好ましい。この場合、経路判定部15Aは、受信部13が機器3から第4応答要求に対する応答信号を受信せず、第5応答要求に対する応答信号を受信する場合、機器3が用いる通信経路はマルチキャストが不可能であると判定する。
 したがって、制御装置1Bは、機器3から制御装置1Bに送信されるマルチキャスト信号に対して、中継装置2における転送不具合の有無を判定することができる。
 また、経路判定部15Aは、実施形態1または実施形態2の経路判定部15と同様の処理を行うこともできる。
 また、コンピュータを制御装置1として機能させるプログラムも、制御装置1と同様の効果を奏し得る。プログラムの提供形態としては、コンピュータに読み取り可能なROM(Read Only Memory)、光ディスク等の記録媒体に予め格納されている形態、インターネット等を含む広域通信網を介して記録媒体に供給される形態等がある。
 なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。

Claims (14)

  1.  ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、
     応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、
     前記応答信号の返信を要求するユニキャスト信号である第2応答要求を前記機器にユニキャストで送信する第2送信部と、
     前記応答信号を受信する受信部と、
     前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、
     前記経路判定部は、前記受信部が前記機器から前記第1応答要求に対する前記応答信号を受信せず、前記第2応答要求に対する前記応答信号を受信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
     ことを特徴とする制御装置。
  2.  前記経路判定部は、
     前記第1送信部に前記第1応答要求をマルチキャストで送信させて、前記受信部が前記第1応答要求に対する前記応答信号を、前記機器情報記憶部に登録情報を格納されている前記機器から受信した場合、この機器が用いる通信経路はマルチキャストによる送信が可能であると判定し、
     前記機器情報記憶部に登録情報を格納されている前記機器のうち、前記受信部が前記第1応答要求に対する前記応答信号を受信していない前記機器に対して、前記第2送信部に前記第2応答要求をユニキャストで送信させ、前記受信部が前記第2応答要求に対する前記応答信号を前記機器から受信した場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
     ことを特徴とする請求項1記載の制御装置。
  3.  前記機器情報記憶部は、複数の前記機器のそれぞれの登録情報を格納し、
     前記経路判定部は、前記受信部が前記第1応答要求に対する前記応答信号を受信しない第1の機器が用いる通信経路が、前記第1応答要求に対する前記応答信号を受信する第2の機器が用いる通信経路と同じであれば、前記第1の機器が用いる通信経路はマルチキャストによる送信が可能であると判定して、前記第2応答要求の送信の有無を前記通信経路毎に判断する
     ことを特徴とする請求項2記載の制御装置。
  4.  前記機器にユニキャストアドレスを割り当てるサーバが存在するか否かを判定し、前記サーバが存在すれば、前記サーバが前記機器へ割り当てるユニキャストアドレスを前記制御装置のユニキャストアドレスまたは前記サーバのユニキャストアドレスに基づいて推定する推定部をさらに備え、
     前記経路判定部は、
     前記機器情報記憶部に前記機器の登録情報が格納されていない場合、前記第1送信部に前記第1応答要求をマルチキャストで送信させ、前記推定部が推定したユニキャストアドレスに対して前記第2送信部に前記第2応答要求をユニキャストで送信させ、前記受信部が前記機器から前記第1応答要求に対する前記応答信号を受信せず、前記第2応答要求に対する前記応答信号を受信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
     ことを特徴とする請求項1乃至3いずれか記載の制御装置。
  5.  前記登録情報は、前記機器のユニキャストアドレスの情報を含み、
     前記機器にユニキャストアドレスを割り当てるサーバが存在するか否かを判定し、前記サーバが存在すれば、前記サーバが前記機器へ割り当てるユニキャストアドレスを前記制御装置のユニキャストアドレスまたは前記サーバのユニキャストアドレスに基づいて推定する推定部と、
     前記機器が用いる通信経路はマルチキャストによる送信が不可能であると前記経路判定部が判定した場合、前記推定部が推定したユニキャストアドレスに対して、応答信号の返信を要求するユニキャスト信号である探索信号を前記第2送信部にユニキャストで送信させ、前記受信部が前記機器から前記探索信号に対する応答信号を受信する場合、この機器のユニキャストアドレスを、受信した応答信号に基づいて取得して前記機器情報記憶部に格納する探索処理を行う探索部とをさらに備える
     ことを特徴とする請求項1乃至3いずれか記載の制御装置。
  6.  前記第1送信部は、前記機器のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信し、前記第2送信部は、前記機器のうち、マルチキャストによる送信が不可能である通信経路を用いる機器に対して信号をユニキャストで送信することを特徴とする請求項1乃至5いずれか記載の制御装置。
  7.  前記第1送信部、前記第2送信部、および前記受信部は、前記機器との間で授受される信号を中継する中継装置を介して前記機器との間で通信を行うことを特徴とする請求項1乃至6いずれか記載の制御装置。
  8.  ネットワーク通信が可能なマルチキャストグループに属する制御対象の機器に個別に割り当てられた登録情報を格納する機器情報記憶部と、
     応答信号の返信を要求するマルチキャスト信号である第1応答要求を前記マルチキャストグループにマルチキャストで送信する第1送信部と、
     前記応答信号の返信を要求するブロードキャスト信号である第3応答要求を前記機器にブロードキャストで送信する第3送信部と、
     前記応答信号を受信する受信部と、
     前記受信部が受信した前記応答信号に基づいて、前記機器が用いる通信経路はマルチキャストによる送信が可能であるか否かを判定する経路判定部とを備え、
     前記経路判定部は、前記受信部が前記機器から前記第1応答要求に対する前記応答信号を受信せず、前記第3応答要求に対する前記応答信号を受信する場合、この機器が用いる通信経路はマルチキャストによる送信が不可能であると判定する
     ことを特徴とする制御装置。
  9.  前記機器のうち、マルチキャストによる送信が不可能である通信経路を用いる機器に対して信号をユニキャストで送信する第2送信部を備え、
     前記第1送信部は、前記機器のうち、マルチキャストによる送信が可能である通信経路を用いる機器に対して信号をマルチキャストで送信する
     ことを特徴とする請求項8記載の制御装置。
  10.  前記第1送信部、前記第3送信部、および前記受信部は、前記機器との間で授受される信号を中継する中継装置を介して前記機器との間で通信を行うことを特徴とする請求項8または9記載の制御装置。
  11.  前記第2送信部は、応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を前記機器にユニキャストで送信し、
     前記経路判定部は、前記受信部が前記機器から前記第4応答要求に対する前記応答信号を受信せず、前記第5応答要求に対する前記応答信号を受信する場合、前記受信部が用いる通信経路はマルチキャストが不可能であると判定する
     ことを特徴とする請求項1乃至7、及び9いずれか記載の制御装置。
  12.  応答信号のマルチキャストによる返信を要求するユニキャスト信号である第4応答要求、および応答信号のユニキャストによる返信を要求するユニキャスト信号である第5応答要求を前記機器にユニキャストで送信する第2送信部を備え、
     前記経路判定部は、前記機器が前記第4応答要求に対する前記応答信号を返信せず、前記第5応答要求に対する前記応答信号を返信する場合、前記受信部が用いる通信経路はマルチキャストが不可能であると判定する
     ことを特徴とする請求項8記載の制御装置。
  13.  前記機器情報記憶部に登録されている機器の台数が閾値未満であれば、ユニキャストで送信し、登録されている機器の台数が前記閾値以上であれば、ブロードキャストで送信する制御部を更に備える
     ことを特徴とする請求項9記載の制御装置。
  14.  コンピュータを、請求項1乃至13いずれか記載の制御装置として機能させることを特徴とするプログラム。
PCT/IB2015/001581 2014-09-12 2015-09-11 制御装置、プログラム WO2016038443A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-185828 2014-09-12
JP2014185828A JP6347391B2 (ja) 2014-09-12 2014-09-12 制御装置、プログラム

Publications (1)

Publication Number Publication Date
WO2016038443A1 true WO2016038443A1 (ja) 2016-03-17

Family

ID=55458390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2015/001581 WO2016038443A1 (ja) 2014-09-12 2015-09-11 制御装置、プログラム

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (ja) * 2005-06-06 2006-12-14 Canon Inc 情報通信装置、システム、および方法
JP2010238020A (ja) * 2009-03-31 2010-10-21 Canon Inc 情報処理装置、その方法、及びプログラム
JP2011259160A (ja) * 2010-06-08 2011-12-22 Nippon Telegr & Teleph Corp <Ntt> 配信方式の切り替えを行う同報システム及びその制御方法
WO2013064175A1 (en) * 2011-10-31 2013-05-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for transmitting a message to multiple receivers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (ja) * 2005-06-06 2006-12-14 Canon Inc 情報通信装置、システム、および方法
JP2010238020A (ja) * 2009-03-31 2010-10-21 Canon Inc 情報処理装置、その方法、及びプログラム
JP2011259160A (ja) * 2010-06-08 2011-12-22 Nippon Telegr & Teleph Corp <Ntt> 配信方式の切り替えを行う同報システム及びその制御方法
WO2013064175A1 (en) * 2011-10-31 2013-05-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for transmitting a message to multiple receivers

Also Published As

Publication number Publication date
JP2016058989A (ja) 2016-04-21
JP6347391B2 (ja) 2018-06-27

Similar Documents

Publication Publication Date Title
JP4727537B2 (ja) リレーエージェント装置及び代行アドレス貸与装置
CN103095749A (zh) 用于实现跨网段设备发现的方法和系统
JP6085962B2 (ja) 管理装置及びアドレス管理方法
US9768856B2 (en) Method and apparatus for transmitting and receiving service in wireless communication system
JP6347391B2 (ja) 制御装置、プログラム
JP2009239727A (ja) ネットワークシステム
JP5737367B2 (ja) ネットワークモード選択方法及び装置
JP2012070369A (ja) マルチホップ通信方法、マルチホップ通信システム、および通信端末
WO2008032014A1 (en) Devices, systems and methods relating to management of a building&#39; s internal environment
JP2016058990A (ja) 制御装置、プログラム
JP6344169B2 (ja) 制御装置、プログラム
US7886078B2 (en) Connection support server and communication apparatus
JP3892305B2 (ja) 一時的な仮のアドレス等を活用して正式のアドレス等を付与するシステム
KR101415978B1 (ko) 가상랜을 이용한 데이터전송장치에서의 서브넷 디에이치씨피 서버 설정 및 운영 시스템 및 방법
JP2008244822A (ja) アドレス重複回避方法、システム、ルータ
US11284476B1 (en) Systems and methods for commissioning nodes of a wireless network
JP2019129395A (ja) 中継装置、ルータ、通信装置および通信システム
JP6913774B2 (ja) 通信システム
JP5603764B2 (ja) 端末制御システム、サーバ装置及びプログラム
JPH05316116A (ja) サーバの予備系の一元管理装置
US10978907B1 (en) Management system, management method, apparatus and control device
WO2017008096A1 (en) Controlling a plurality of networked building technology devices
JP6489837B2 (ja) 制御装置およびシステム
JP2020096337A (ja) Dhcpサーバ、ネットワークシステム、固定ipアドレスの割り当て方法
KR100597593B1 (ko) 집단 주택 환경에서의 네트워크 품질 측정 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15839891

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15839891

Country of ref document: EP

Kind code of ref document: A1