WO2025220180A1 - 機器管理システム、機器管理装置および機器管理方法 - Google Patents
機器管理システム、機器管理装置および機器管理方法Info
- Publication number
- WO2025220180A1 WO2025220180A1 PCT/JP2024/015424 JP2024015424W WO2025220180A1 WO 2025220180 A1 WO2025220180 A1 WO 2025220180A1 JP 2024015424 W JP2024015424 W JP 2024015424W WO 2025220180 A1 WO2025220180 A1 WO 2025220180A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- address
- identification information
- device identification
- devices
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Definitions
- This disclosure relates to a device management system, a device management device, and a device management method.
- a home device management device has been proposed that manages ECHONET devices, which are devices that comply with the ECHONET (registered trademark) standard, via a home network (see, for example, Patent Document 1).
- This home device management device multicasts an identification information acquisition request to the ECHONET devices connected to the home network, requesting the acquisition of properties of the identification information, which is device-specific identification information defined by the ECHONET standard, and receives identification information acquisition responses sent from each ECHONET device.
- the home device management device registers and manages the identification information included in the received identification information acquisition response in a identification information management table, correlating it with the ECHONET address of the sender of the identification information acquisition response.
- the home device management device described in Patent Document 1 if the buffer capacity for temporarily storing individual identification information acquisition responses is insufficient or if the communication bandwidth of the home network is insufficient, there is a risk that the individual identification information acquisition responses will be missed if multiple ECHONET devices connected to the home network simultaneously send individual identification information acquisition responses in response to individual identification information acquisition requests received at the same time. Furthermore, the home device management device may prioritize communication speed and communicate with ECHONET devices using a connectionless communication protocol such as UDP.
- the home device management device does not perform a process to confirm the reception of the individual identification information acquisition response for the ECHONET device that sent the individual identification information acquisition response, and therefore there is a risk that the individual identification information of the ECHONET device whose individual identification information acquisition response was missed will be left unregistered in the individual identification information management table.
- This disclosure has been made in light of the above reasons, and aims to provide a device management system, device management device, and device management method that can properly manage devices.
- the device management system includes: A device management system that manages device identification information that identifies a device and is assigned to the device in a network to which the device belongs, a device information storage unit that stores the device identification information of the devices that belong to the network; a device identification information acquisition unit that repeats, for all of at least one preset class, transmitting device identification information request information to devices belonging to the same class, the device identification information request information requesting the devices to transmit the device identification information, based on the class to which the devices belong when the devices are classified according to preset classification criteria, thereby acquiring device identification information response information including the device identification information transmitted from the devices; and a device information update unit that updates the device identification information stored in the device information storage unit using the device identification information included in the device identification information response information.
- the device identification information acquisition unit transmits the device identification information request information to devices belonging to the same class based on the class to which the device belongs when classifying the devices according to the classification criteria described above, thereby acquiring the device identification information response information transmitted from the device, and repeating this process for at least one pre-set class.
- This allows the device identification information acquisition unit to acquire device identification information response information transmitted from devices on a class-by-class basis, thereby reducing the possibility of missing device identification information response information, which occurs when attempting to acquire a large amount of device identification information response information at the same time. Therefore, consistency can be ensured between the device identification information stored in the device information storage unit and the device identification information of devices actually belonging to the network, enabling appropriate device management.
- FIG. 1 is a schematic configuration diagram of a device management system according to a first embodiment of the present disclosure
- FIG. 1 is a block diagram showing a hardware configuration of a device management system according to a first embodiment.
- FIG. 1 is a block diagram showing a functional configuration of a device management system according to a first embodiment.
- FIG. 1 is a diagram showing an example of information stored in an address storage unit according to the first embodiment;
- FIG. 10 is a diagram showing an example of information stored in a transmission method storage unit according to the first embodiment.
- FIG. 1 is a diagram showing an example of information stored in a device information storage unit according to the first embodiment;
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 1 is a block diagram showing a hardware configuration of a device management system according to a first embodiment.
- FIG. 1 is a block diagram showing a functional configuration of a device management system according to a first embodiment.
- FIG. 1 is a diagram showing
- FIG. 1 is a diagram showing an example of address request information according to the first embodiment
- FIG. 1 is a diagram showing an example of address request information according to the first embodiment
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 1 is a sequence diagram illustrating the operation of the device management system according to the first embodiment.
- FIG. 10 is a block diagram showing a functional configuration of a device management system according to a second embodiment of the present disclosure.
- FIG. 10 is a sequence diagram illustrating the operation of the device management system according to the second embodiment.
- FIG. 10 is a sequence diagram illustrating the operation of the device management system according to the second embodiment.
- FIG. 10 is a sequence diagram illustrating the operation of the device management system according to the second embodiment.
- FIG. 10 is a sequence diagram illustrating the operation of the device management system according to the second embodiment.
- FIG. 10 is a sequence diagram illustrating the operation of the device management system according to the second embodiment.
- 10 is a flowchart showing an example of the flow of a device control process executed by a cloud server according to a second embodiment.
- 10 is a flowchart showing an example of the flow of a device control process executed by a cloud server according to a second embodiment.
- the device management system manages device identification information that identifies devices in a network to which the devices belong.
- the device management system includes: a device information storage unit that stores the device identification information of devices belonging to the network; a device identification information acquisition unit that transmits device identification information request information to devices belonging to the same class based on the class to which the devices belong when classified according to preset classification criteria, and acquires device identification information response information including the device identification information transmitted from the device, repeating this process for at least one preset class; and a device information update unit that updates the device identification information stored in the device information storage unit using the device identification information included in the device identification information response information.
- the device management system comprises a cloud server 2 and a control device 1 that controls the operation of the device 3 by transmitting control information acquired from the cloud server 2 to the device 3.
- the control device 1 is connected to a local network NW2 to which the device 3 and a router 8 are connected, and the device 3 and control device 1 can communicate via the local network NW2.
- the local network NW2 is, for example, a wireless LAN (Local Area Network).
- the cloud server 2 can communicate with the control device 1 and terminal device 4 via a wide area network NW1 such as the Internet and a broadband router (hereinafter referred to as "BBR") 8.
- NW1 such as the Internet
- BBR broadband router
- Device 3 has the function of communicating with the control device 1 using a communication protocol conforming to, for example, the ECHONET Lite (registered trademark) standard.
- Device 3 includes an address acquisition unit (not shown) that acquires IP address information from router 8 by transmitting connection request information to router 8, and an address storage unit (not shown) that stores the IP address information acquired by the address acquisition unit from router 8.
- device 3 includes an address response unit (not shown) that, upon receiving address request information from the control device 1 requesting transmission of device 3's address information, generates address response information including the address information assigned to device 3 in response and transmits it to the control device 1.
- the address information includes IP address information indicating the IP address assigned to device 3 by the DHCP (Dynamic Host Configuration Protocol) function unit 811 of router 8, and MAC address information indicating a MAC address unique to device 3.
- device 3 upon receiving control information transmitted from the control device 1, device 3 begins operation based on the acquired control information and transmits control information acquisition response information to the control device 1 notifying the control device 1 that the control information has been acquired.
- device 3 when the time arrives for device 3 to notify the control device 1 of its preset device status, device 3 generates device status information including parameter information indicating its own device status and host information indicating the host name, name, etc. of the device, and transmits the generated device status information to the control device 1.
- device 3 employs a connectionless protocol, such as UDP (User Datagram Protocol), as the transport layer protocol for transmitting at least address response information to the control device 1.
- UDP User Datagram Protocol
- the router 8 has a DHCP function unit 811, and functions as a DHCP server in addition to functioning as a normal router.
- the DHCP function unit 811 receives connection request information from the device 3 or control device 1 after communication with the device 3 or control device 1 is cut off, or when the device 3 or control device 1 is started up, it identifies an IP address to be assigned to the device 3 or control device 1 that sent the connection request information from an address pool consisting of multiple pre-set IP addresses.
- the DHCP function unit 811 then sends IP address information indicating the identified IP address to the device 3 or control device 1 that sent the connection request information.
- the terminal device 4 is, for example, a smartphone, and has a display unit (not shown) and an input unit (not shown). It communicates with the cloud server 2 via the wide area network NW1.
- NW1 wide area network
- the terminal device 4 When a user operates the input unit to change the settings of the device 3, the terminal device 4 generates operation information including the changed settings of the device 3 and host information for the device 3 in response, and transmits this information to the cloud server 2.
- the terminal device 4 when a user operates the input unit to register device information to newly store the address information and host information of the device 3 in the device information storage unit 231 of the cloud server 2 (described below), the terminal device 4 generates operation information including the host information of the device 3 to be newly stored, and transmits this information to the cloud server 2.
- host information is information indicating the host name, device name, etc. of the device 3.
- the terminal device 4 receives device status notification information indicating the status of the device 3 from the cloud server 2, it forms a device status notification image showing the status of the device 3 based
- the control device 1 comprises a CPU (Central Processing Unit) 101, a main memory unit 102, an auxiliary memory unit 103, a communication unit 107, and a bus 109 connecting each unit.
- the main memory unit 102 is a volatile memory such as RAM (Random Access Memory) and is used as a working area for the CPU 101.
- the auxiliary memory unit 103 has non-volatile memory such as semiconductor memory, functions as ROM (Read Only Memory) and storage, and stores programs for realizing the various functions of the control device 1.
- the communication unit 107 has, for example, a wireless module and performs wireless communication between the device 3 and the router 8.
- the wireless module has a signal generation circuit that generates wireless signals and an antenna, and the data link layer communicates using, for example, the IEEE 802.11 series communication protocol. Furthermore, when the control device 1 is powered on, it shares key information for encrypting messages with the cloud server 2 by executing, for example, the SSL (Secure Sockets Layer) handshake protocol from the control device 1 side, and stores the key information in the main memory unit 102.
- SSL Secure Sockets Layer
- the CPU 101 loads the program stored in the auxiliary memory unit 103 into the main memory unit 102 and executes it, thereby functioning as an encapsulated message acquisition unit 111, a message transmission unit 112, a message acquisition unit 113, an event occurrence detection unit 114, and an encapsulated message transmission unit 116, as shown in FIG. 3.
- the encapsulated message acquisition unit 111 acquires a message encapsulated with wide-area communication header information for communication between the cloud server 2 and the control device 1, it removes the wide-area communication header information from the acquired message and performs a decapsulation process that decrypts the encrypted payload of the encapsulated message using the key information described above.
- the wide-area communication header information includes information for communication based on application layer protocols such as HTTPS (Hypertext Transfer Protocol over SSL) and MQTTS (Message Queuing Telemetry Transport over SSL).
- HTTPS Hypertext Transfer Protocol over SSL
- MQTTS Message Queuing Telemetry Transport over SSL
- the message sending unit 112 When the message sending unit 112 is notified of a decapsulated message by the encapsulated message acquisition unit 111, it transmits the notified message to device 3 based on the destination IP address information and destination MAC address information contained in the notified message. Furthermore, when the message sending unit 112 transmits control information from the message to device 3, it notifies the event occurrence detection unit 114 of control information transmission notification information indicating that the control information has been transmitted.
- the message acquisition unit 113 acquires device status information sent from device 3, it notifies the encapsulated message transmission unit 116 of the acquired device status information. Furthermore, when the message acquisition unit 113 acquires the aforementioned control information acquisition response information sent from device 3, it notifies the event occurrence detection unit 114 of the acquired control information acquisition response information.
- the event occurrence detection unit 114 determines that an address update event has occurred, in which the IP address of the device 3 to which the control information is to be sent is updated. This IP address update event occurs, for example, when the lease period for the IP address issued to the device 3 by the DHCP function unit 811 of the router 8 expires.
- the event occurrence detection unit 114 detects the occurrence of an address update event, it notifies the encapsulated message transmission unit 116 of the event occurrence notification information.
- the encapsulated message sending unit 116 When the encapsulated message sending unit 116 receives device status information from the message acquisition unit 113, it encrypts the received device status information using the key information described above and then performs encapsulation processing to add the wide-area communication header information described above. The encapsulated message sending unit 116 then transmits the encapsulated device status information to the cloud server 2 based on the wide-area communication header information. Furthermore, when the encapsulated message sending unit 116 receives event occurrence notification information from the event occurrence detection unit 114, it encrypts the received address update event occurrence notification information using the key information described above and then performs encapsulation processing to add the wide-area communication header information described above. The encapsulated message sending unit 116 then transmits the encapsulated event occurrence notification information to the cloud server 2 based on the wide-area communication header information.
- the cloud server 2 comprises a CPU 201, a main memory unit 202, an auxiliary memory unit 203, a communication unit 206, and a bus 209 connecting the various units.
- the CPU 201 is, for example, a multi-core processor.
- the main memory unit 202 is composed of volatile memory and is used as a work area for the CPU 201.
- the auxiliary memory unit 203 is composed of large-capacity non-volatile memory and stores programs for implementing the various functions of the cloud server 2.
- the communication unit 206 is connected to the wide area network NW1.
- the cloud server 2 also shares key information for encrypting messages with the control device 1 by, for example, executing an SSL handshake protocol from the control device 1 side, and stores the key information in the main memory unit 102 in association with control device identification information that identifies the control device 1 on the wide area network NW1.
- This control device identification information may be, for example, host name information indicating the host name assigned to the control device 1, identification information including the host name information, IP address information, etc.
- the CPU 201 loads the program stored in the auxiliary memory unit 203 into the main memory unit 202 and executes it, thereby functioning as an operation information acquisition unit 211, a device control unit 212, an encapsulated message transmission unit 213, an encapsulated message acquisition unit 214, a device information update unit 215, a device status update unit 216, a device status notification unit 217, a device information request unit 218, an address acquisition unit 225, and a transmission method setting unit 227, as shown in FIG. 3.
- the auxiliary memory unit 203 shown in FIG. 2 has a device information storage unit 231, a device status storage unit 232, an address storage unit 241, a class information storage unit 242, and a transmission method storage unit 243, as shown in FIG.
- the address storage unit 241 is a device identification information storage unit that stores address information included in address response information acquired from device 3 by multicasting address request information, which will be described later, to device 3 via the control device 1, and address information included in address response information acquired from device 3 by broadcasting the address request information described above to device 3 via the control device 1, in association with class code information indicating the class to which the device belongs when device 3 is classified according to preset classification criteria.
- This class code information indicates, for example, a class code defined in the ECHONET Lite standard. In the example shown in FIG.
- the address response information obtained from device 3 by multicasting address request information to device 3 with class code "0x01” contains address information ADR[0], ADR[1] and host information IDE[0], IDE[1].
- the address response information obtained from device 3 by broadcasting address request information to device 3 with class code "0x01” contains address information ADR[0], ADR[1], ADR[2] and host information IDE[0], IDE[1], IDE[2].
- the class information storage unit 242 stores class code information indicating a class code that identifies at least one preset class.
- the transmission method storage unit 243 stores transmission method information indicating a method for transmitting address request information to device 3, in association with class code information indicating the class to which device 3, the destination of the address request information, belongs.
- the example shown in FIG. 4B indicates that the address request information is to be broadcast to devices 3 that belong to a class identified by class code "0x01" (for example, a class of air conditioning-related devices including "air conditioners").
- the address request information is to be multicast to devices 3 that belong to a class identified by class code "0x02" (for example, a class of home and facility-related devices including "lighting fixtures") and devices 3 that belong to a class identified by class code "0x03" (for example, a class of cooking and housework-related devices including "refrigerators").
- class code "0x02” for example, a class of home and facility-related devices including "lighting fixtures”
- devices 3 that belong to a class identified by class code "0x03” for example, a class of cooking and housework-related devices including "refrigerators”
- the device information storage unit 231 stores MAC address information for multiple devices 3 connected to the local network NW2, in association with network identification information that identifies the local network NW2. Furthermore, for each piece of network identification information, the device information storage unit 231 stores address information and host information for each of the multiple devices 3 connected to the local network NW2 identified by that network identification information, in association with each other.
- the device status storage unit 232 stores parameter information indicating the device status of the device 3, in association with the host information for the device 3.
- the device information storage unit 231 may also store host information in association with host information that identifies the device 3 at the application layer.
- the operation information acquisition unit 211 acquires operation information transmitted from the terminal device 4, if the acquired operation information indicates a setting change operation for the device 3, it notifies the device control unit 212 of the host information and changed setting content information for the target device 3 included in the operation information. On the other hand, if the acquired operation information indicates the aforementioned device information registration operation, the operation information acquisition unit 211 notifies the device information request unit 218 of the host information included in the operation information.
- the device information requesting unit 218 When the device information requesting unit 218 is notified of host information by the operation information acquiring unit 211, it stores the notified host information in the device information storage unit 231. The device information requesting unit 218 then notifies the address acquiring unit 225 of device information request information that requests device 3 to send address information, which is device identification information that identifies device 3 on the local network NW2, and host information.
- This address information includes IP address information and MAC address information.
- the address acquisition unit 225 is a device identification information acquisition unit that, upon receiving device information request information, acquires address response information including address information transmitted from device 3 by transmitting address request information requesting the transmission of the address information to devices 3 belonging to the same class based on the class to which device 3 belongs. The address acquisition unit 225 then repeats the process of transmitting address request information to acquire address response information for at least one class corresponding to the class code information stored in the class information storage unit 242.
- the address acquisition unit 225 selects one piece of class code information from the class code information stored in the class information storage unit 242, generates address request information to be multicast to devices 3 belonging to the class indicated by the selected class code information, and notifies the encapsulated message transmission unit 213 of the generated address request information.
- the address acquisition unit 225 acquires address response information from the encapsulated message acquisition unit 214, generates address request information to be broadcast to devices 3 belonging to the class indicated by the selected class code information, and notifies the encapsulated message transmission unit 213 of the generated address request information.
- address acquisition unit 225 selects one piece of class code information from the class code information stored in class information storage unit 242, generates address request information to be transmitted to device 3 using the transmission method indicated by transmission method information corresponding to the selected class code information stored in transmission method storage unit 243, and notifies encapsulated message transmission unit 213 of the generated address request information.
- address acquisition unit 225 extracts address information and host information contained in the notified address response information, and stores the extracted address information and host information in address storage unit 241 in association with class code information indicating the transmission method of the address request information and the class of device 3 as the destination.
- the device control unit 212 When the device control unit 212 is notified by the operation information acquisition unit 211 of the model information, host information, and changed setting content information of the device 3 to be operated, it generates control information based on the notified host information and setting content information. Furthermore, the device control unit 212 determines whether or not the control content of the device 3 needs to be updated, based on the parameter information of each device 3 stored in the device status storage unit 232. If the device control unit 212 determines that the control content of the device 3 needs to be updated, it generates control information corresponding to the updated control content of the device 3, including the host information corresponding to the controlled device 3 stored in the device information storage unit 231. The device control unit 212 then adds address information corresponding to the host information of the controlled device 3 stored in the device information storage unit 231 to the generated control information, and notifies the encapsulated message transmission unit 213.
- the encapsulated message sending unit 213 When the encapsulated message sending unit 213 receives control information from the device control unit 212, it encrypts the received control information and then performs encapsulation processing to add the wide-area communication header information described above. The encapsulated message sending unit 213 then transmits the encapsulated control information to the control device 1 based on the wide-area communication header information. Furthermore, when the encapsulated message sending unit 213 receives address request information from the address acquisition unit 225, it encrypts the received address request information using the key information described above and then performs encapsulation processing to add the wide-area communication header information described above. The encapsulated message sending unit 213 then transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information.
- the encapsulated message acquisition unit 214 acquires an encapsulated message sent from the control device 1, it performs a decapsulation process in which it removes the wide area communication header information from the acquired encapsulated message and decrypts the encrypted payload of the encapsulated message using the shared key information described above.
- the decapsulated message is address response information
- the encapsulated message acquisition unit 214 notifies the address acquisition unit 225 of the address response information.
- the encapsulated message acquisition unit 214 notifies the device status update unit 216 of the device status information.
- the transmission method setting unit 227 sets the transmission method for the address request information to devices 3 belonging to that class to multicast transmission.
- the transmission method setting unit 227 sets the transmission method for the address request information to devices 3 belonging to the class to broadcast transmission. For example, as shown in Fig.
- the transmission method setting unit 227 stores transmission method information indicating broadcast transmission in association with the class code information indicating the class code "0x01" in the transmission method storage unit 243, as shown in Fig. 4B.
- the transmission method setting unit 227 stores transmission method information indicating multicast transmission in association with the class code information indicating the class code "0x02," as shown in Fig. 4B.
- the transmission method setting unit 227 compares the address information stored in the address memory unit 241 contained in the address response information obtained by multicasting the address request information to devices 3 belonging to the same class with the address information contained in the address response information obtained by broadcasting the address request information to devices 3 belonging to the same class, and if the two match, sets the transmission method information of the corresponding class code information to multicast transmission and stores it in the transmission method memory unit 243 in association with the class code information of the device 3 to which the address request information is to be sent. On the other hand, if the two do not match, the transmission method setting unit 227 stores transmission method information indicating broadcast transmission in the transmission method memory unit 243 in association with the class code information of the device 3 to which the address request information is to be sent.
- the device information update unit 215 references the transmission method information corresponding to each piece of class code information stored in the transmission method memory unit 243, and selects, from the address information and host information corresponding to each of the two types of transmission methods associated with each piece of class code information stored in the address memory unit 241, address information and related information corresponding to the transmission method indicated by the transmission method information corresponding to that class code information.
- the device information update unit 215 uses the selected MAC address information and IP address information to update the IP address information and MAC address information stored in the device information memory unit 231.
- the device status update unit 216 When the device status update unit 216 receives device status information from the encapsulated message acquisition unit 214, it extracts the parameter information, model information, and host information contained in the received device status information, associates this information with each other, and stores it in the device status storage unit 232.
- the device status notification unit 217 generates device status notification information including the parameter information and model-related information stored in the device status storage unit 232 and transmits it to the terminal device 4.
- step S1 the user of device 3 adds new device 3 to the local network NW2 and then performs the device information registration operation described above on the input unit of terminal device 4.
- terminal device 4 generates operation information including the host information of the newly added device 3 entered by the user through the device information registration operation (step S1), and the generated operation information is transmitted from terminal device 4 to cloud server 2 (step S2).
- cloud server 2 selects one class code from the class code information stored in class information storage unit 242 (step S3).
- the class code information indicates the class to which device 3A, an air conditioner, belongs.
- cloud server 2 generates address request information including the selected class code information and in which the destination IP address is set to a multicast address (step S4).
- this address request information has the source IP address set to the IP address of the control device 1 and includes class code information.
- the example shown in FIG. 7A shows a case where the class code information selected is "0x01," which indicates the class of air conditioning-related equipment, including air conditioners.
- the cloud server 2 then encrypts the generated address request information using the key information described above and encapsulates it by adding wide-area communication header information (step S5). The encapsulated address request information is then transmitted from the cloud server 2 to the control device 1 (step S6).
- control device 1 when the control device 1 acquires the encapsulated address request information, it decapsulates it by removing the wide-area communication header information attached to the acquired address request information and then decrypting it using key information (step S7). Next, the decapsulated address request information is multicast from the control device 1 to device 3A, which is an air conditioner (step S8).
- device 3A acquires the address request information, if the class indicated by the class code information included in the address request information matches the class to which the device belongs, it generates address response information including the device's IP address information, MAC address information, and host information (step S9), and the generated address response information is transmitted from device 3A to the control device 1 (step S10).
- control device 1 when the control device 1 acquires the address response information, it encrypts the acquired address response information using the aforementioned key information and then encapsulates it by adding wide-area communication header information (step S11). Next, the encapsulated address response information is transmitted from the control device 1 to the cloud server 2 (step S12). Meanwhile, when the cloud server 2 acquires the encapsulated address response information, it decapsulates it by removing the wide-area communication header information added to the acquired address response information and then decrypting it using key information (step S13). Next, the cloud server 2 extracts the IP address information, MAC address information, and host information contained in the decapsulated address response information, and stores this extracted information in association with each other in the address storage unit 241 (step S14).
- the cloud server 2 generates address request information that includes the selected class code information and has the destination IP address set to the broadcast address (step S15).
- This address request information for example, as shown in FIG. 7B, has the source IP address set to the IP address of the control device 1 and includes class code information.
- the example shown in FIG. 7B shows a case where the class code information selected is "0x01," which indicates the class of air conditioning-related equipment, including air conditioners.
- the cloud server 2 then encrypts the generated address request information using the key information and then encapsulates it by adding wide-area communication header information (step S16). The encapsulated address request information is then transmitted from the cloud server 2 to the control device 1 (step S17). Meanwhile, as shown in FIG.
- the control device 1 upon receiving the encapsulated address request information, decapsulates the address request information by removing the wide-area communication header information added to the address request information and then decrypting it using the key information (step S18).
- the decapsulated address request information is then broadcast from the control device 1 to the air conditioner, device 3A (step S19).
- device 3A receives address request information, if the class indicated by the class code information included in the address request information matches the class to which device 3A belongs, device 3A generates address response information including its own IP address information, MAC address information, and host information (step S20).
- the generated address response information is then transmitted from device 3A to control device 1 (step S21).
- control device 1 encrypts the received address response information using the key information and then encapsulates it by adding wide-area communication header information (step S22).
- the encapsulated address response information is then transmitted from control device 1 to cloud server 2 (step S23).
- cloud server 2 receives the encapsulated address response information, it decapsulates the received address response information by removing the wide-area communication header information added to the received address response information and then decrypting it using the key information (step S24).
- cloud server 2 extracts the IP address information, MAC address information, and host information included in the decapsulated address response information, and stores the extracted information in association with each other in address storage unit 241 (step S25).
- the cloud server 2 compares the address information stored in the address memory unit 241, which is included in the address response information acquired by multicasting the address request information to devices 3 belonging to the same class, with the address information acquired by broadcasting the address request information to devices 3 belonging to the same class. If the two match, the control device stores transmission method information indicating multicast transmission in the transmission method memory unit 243, in association with the class code information of the device 3 to which the address request information is to be sent. On the other hand, if the two do not match, the control device 1 stores transmission method information indicating broadcast transmission in the transmission method memory unit 243, in association with the class code information of the device 3 to which the address request information is to be sent (step S26).
- the cloud server 2 selects another piece of class code information from the class code information stored in the class information storage unit 242 (step S27).
- the class code information indicates the class to which device 3B, a lighting fixture, belongs.
- the cloud server 2 generates address request information that includes the selected class code information and has a destination IP address set to a multicast address (step S28), encrypts the generated address request information using the key information described above, and then encapsulates it by adding wide-area communication header information (step S29). The encapsulated address request information is then transmitted from the cloud server 2 to the control device 1 (step S30).
- the control device 1 decapsulates the address request information by removing the wide-area communication header information added to the acquired address request information and then decrypting it using the key information (step S31).
- the decapsulated address request information is transmitted via multicast from the control device 1 to device 3B, a lighting fixture (step S32).
- device 3B receives the address request information, if the class indicated by the class code information included in the address request information matches the class to which device 3B belongs, device 3B generates address response information including its own IP address information, MAC address information, and host information (step S33). The generated address response information is then transmitted from device 3B to control device 1 (step S34).
- control device 1 encrypts the received address response information using the key information and then encapsulates it by adding wide-area communication header information (step S35).
- the encapsulated address response information is then transmitted from control device 1 to cloud server 2, as shown in FIG. 9 (step S36).
- cloud server 2 receives the encapsulated address response information, it decapsulates the received address response information by removing the wide-area communication header information added to the received address response information and then decrypting it using the key information (step S37).
- Cloud server 2 then extracts the IP address information, MAC address information, and host information included in the decapsulated address response information and stores the extracted information in the address storage unit 241 in association with each other (step S38).
- the cloud server 2 generates address request information that includes the selected class code information and has the destination IP address set to a broadcast address (step S39).
- the generated address request information is encrypted using the key information and then encapsulated by adding wide-area communication header information (step S40).
- the encapsulated address request information is then transmitted from the cloud server 2 to the control device 1 (step S41).
- the control device 1 decapsulates the address request information by removing the wide-area communication header information added to the received address request information and then decrypting it using the key information (step S42).
- the decapsulated address request information is then broadcast from the control device 1 to device 3B, which is a lighting fixture (step S43).
- step S44 upon receiving the address request information, if the class indicated by the class code information included in the address request information matches the class to which device 3B belongs, device 3B generates address response information that includes its own IP address information, MAC address information, and host information (step S44). The generated address response information is then transmitted from device 3B to the control device 1 (step S45). Meanwhile, when the control device 1 acquires the address response information, it encrypts the acquired address response information using the key information and then encapsulates it by adding wide-area communication header information (step S46). Next, the encapsulated address response information is transmitted from the control device 1 to the cloud server 2 (step S47).
- the cloud server 2 acquires the encapsulated address response information, it decapsulates it by removing the wide-area communication header information added to the acquired address response information and then decrypting it using the key information (step S48). Next, the cloud server 2 extracts the IP address information, MAC address information, and host information contained in the decapsulated address response information, and stores the extracted information in association with each other in the address storage unit 241 (step S49).
- the cloud server 2 compares the address information stored in the address memory unit 241, which is included in the address response information acquired by multicasting the address request information to devices 3 belonging to the same class, with the address information acquired by broadcasting the address request information to devices 3 belonging to the same class. If the two match, the control device stores transmission method information indicating multicast transmission in the transmission method memory unit 243, in association with the class code information of the device 3 to which the address request information is to be sent. On the other hand, if the two match, the control device stores transmission method information indicating broadcast transmission in the transmission method memory unit 243, in association with the class code information of the device 3 to which the address request information is to be sent (step S50).
- the cloud server 2 updates the IP address information, MAC address information, and host information stored in the device information storage unit 231 using the MAC address information, IP address information, and host information of devices 3A and 3B stored in the address storage unit 241 (step S51).
- the aforementioned address update event occurs, such as communication interruption with device 3A, 3B, or control device 1, or restart of device 3A, 3B, or control device 1.
- the DHCP function unit 811 of router 8 assigns new IP addresses to each of devices 3A, 3B, and control device 1 connected to network NW1.
- the control device 1 detects the occurrence of an address update event, it generates event occurrence notification information (step S52).
- the control device 1 encrypts the generated event occurrence notification information using the aforementioned key information and then encapsulates it by adding wide-area communication header information (step S53).
- the encapsulated event occurrence notification information is transmitted from the control device 1 to the cloud server 2 (step S54). Meanwhile, upon receiving the encapsulated event occurrence notification information, the cloud server 2 decapsulates the acquired event occurrence notification information by removing the wide-area communication header information added to the event occurrence notification information and then decrypting it using the key information (step S55). Thereafter, the cloud server 2 determines that an address update event has occurred based on the decapsulated event occurrence notification information (step S56). In this case, the cloud server 2 selects one piece of class code information from the class code information stored in the class information storage unit 242 (step S57).
- the cloud server 2 Based on the transmission method information corresponding to the selected class code information stored in the transmission method storage unit 243, the cloud server 2 generates address request information including the selected class code information and setting the destination IP address to an address corresponding to the transmission method indicated by the transmission method information (step S58).
- the transmission method information indicates multicast
- the destination IP address is set to a multicast address
- the transmission method information indicates broadcast
- the destination IP address is set to a broadcast address.
- the cloud server 2 encrypts the generated address request information using the key information and then encapsulates it by adding wide-area communication header information (step S59).
- the encapsulated address request information is transmitted from the cloud server 2 to the control device 1 (step S60).
- the control device 1 decapsulates the address request information by removing the wide-area communication header information added to the address request information and then decrypting it using the key information (step S61).
- the decapsulated address request information is then transmitted from the control device 1 to the device 3A using the transmission method indicated by the transmission method information (step S62).
- the device 3A upon receiving the address request information, if the class indicated by the class code information included in the address request information matches the class to which the device 3A belongs, the device 3A generates address response information including the device's IP address information, MAC address information, and host information (step S63), and the generated address response information is transmitted from the device 3A to the control device 1 (step S64).
- the control device 1 encrypts the address response information using the key information and then encapsulates it by adding wide-area communication header information (step S65).
- the encapsulated address response information is transmitted from the control device 1 to the cloud server 2 (step S66).
- the cloud server 2 decapsulates the address response information by removing the wide-area communication header information added to the address response information and then decrypting it using the key information (step S67).
- the cloud server 2 extracts the IP address information, MAC address information, and host information contained in the decapsulated address response information, and stores this extracted information in association with each other in the address storage unit 241 (step S68).
- the cloud server 2 selects another piece of class code information from the class code information stored in the class information storage unit 242 (step S69). Then, based on the transmission method information corresponding to the selected class code information stored in the transmission method storage unit 243, the cloud server 2 generates address request information that includes the selected class code information and sets the destination IP address to an address corresponding to the transmission method indicated by the transmission method information (step S70). Next, the cloud server 2 encrypts the generated address request information using the key information and then encapsulates it by adding wide-area communication header information (step S71). The encapsulated address request information is then transmitted from the cloud server 2 to the control device 1 (step S72).
- the control device 1 decapsulates the acquired address request information by removing the wide-area communication header information added to the address request information and then decrypting it using the key information (step S73).
- the decapsulated address request information is then transmitted from the control device 1 to device 3B using the transmission method indicated by the transmission method information (step S74).
- device 3B receives the address request information, if the class indicated by the class code information included in the address request information matches the class to which device 3B belongs, device 3B generates address response information including its own IP address information, MAC address information, and host information (step S75), and transmits the generated address response information to device 3B to control device 1 (step S76).
- control device 1 encrypts the received address response information using the key information and then encapsulates it by adding wide-area communication header information (step S77).
- the encapsulated address response information is transmitted from control device 1 to cloud server 2 (step S78).
- cloud server 2 receives the encapsulated address response information, it decapsulates the received address response information by removing the wide-area communication header information added to the received address response information and then decrypting it using the key information (step S79).
- cloud server 2 extracts the IP address information, MAC address information, and host information included in the decapsulated address response information, and stores the extracted information in association with each other in address storage unit 241 (step S80).
- the cloud server 2 references the transmission method information corresponding to each class code information stored in the transmission method storage unit 243, and selects, from the address information and host information corresponding to each of the two types of transmission methods associated with each class code information stored in the address storage unit 241, the address information and related information corresponding to the transmission method indicated by the transmission method information corresponding to that class code information.
- the device information update unit 215 then updates the IP address information, MAC address information, and host information stored in the device information storage unit 231 using the MAC address information, IP address information, and host information of the selected devices 3A and 3B (step S81).
- step S82 device 3A generates the aforementioned device status information (step S82), and the generated device status information is transmitted from device 3A to control device 1 (step S83).
- control device 1 encrypts the acquired device status information using the aforementioned key information and then encapsulates it by adding wide-area communication header information (step S84).
- step S84 the encapsulated device status information is transmitted from control device 1 to cloud server 2 (step S85).
- cloud server 2 decapsulates the acquired device status information by removing the wide-area communication header information and then performing a decryption process using the aforementioned key information (step S86).
- cloud server 2 extracts the parameter information, model information, and host information of device 3A included in the device status information, associates them with each other, and stores them in the device status storage unit 232 (step S87).
- the cloud server 2 determines, based on the device status information stored in the device status storage unit 232, that the control content of device 3A needs to be updated (step S88).
- the cloud server 2 generates control information corresponding to the updated control content of device 3A (step S89), encrypts the generated control information using the key information described above, and encapsulates it by adding wide-area communication header information (step S90).
- the encapsulated control information is then transmitted from the cloud server 2 to the control device 1 (step S91).
- the control device 1 decapsulates the acquired control information by removing the wide-area communication header information and then performing a decryption process using the key information described above (step S92).
- the decapsulated control information is then transmitted from the control device 1 to device 3A based on the destination IP address information and MAC address information included in the control information (step S93). Meanwhile, upon acquiring the control information, device 3A begins operation based on the acquired control information (step S94).
- step S101 determines whether or not operation information indicating a device information registration operation transmitted from the terminal device 4 has been acquired.
- step S101 determines whether or not operation information indicating a device information registration operation transmitted from the terminal device 4 has been acquired.
- step S101 determines that operation information indicating a device information registration operation has not been acquired.
- the operation information acquisition unit 211 determines that operation information indicating a device information registration operation has been acquired (step S101: Yes)
- the operation information acquisition unit 211 notifies the device information request unit 218 of the host information included in the acquired operation information.
- the device information requesting unit 218 receives the host information from the operation information acquiring unit 211, it stores the received host information in the device information storage unit 231 and notifies the address acquiring unit 225 of device information request information.
- the address acquiring unit 225 receives the device information request information, it selects one piece of class code information from the class code information stored in the class information storage unit 242 (step S102).
- the address acquisition unit 225 generates address request information in which the destination IP address is set to a multicast address.
- the encapsulated message transmission unit 213 then encrypts the generated address request information using the key information described above, performs encapsulation processing to add the wide-area communication header information described above, and then transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S103).
- the encapsulated message acquisition unit 214 de-encapsulates the acquired encapsulated message to determine whether address response information has been acquired (step S106). Here, if the encapsulated message acquisition unit 214 determines that address response information has not been acquired (step S104: No), the processing of step S106 described below is executed.
- the address acquisition unit 214 determines that address response information has been acquired (step S104: Yes)
- the address acquisition unit 214 notifies the address acquisition unit 225 of the address response information.
- the address acquisition unit 225 then extracts the address information and host information contained in the notified address response information, and stores this extracted information in the address storage unit 241 in association with class code information indicating the method of transmitting the address request information and the class of the destination device 3 (step S105).
- the address acquisition unit 225 generates address request information in which the destination IP address is set to a broadcast address.
- the encapsulated message transmission unit 213 then encrypts the generated address request information using the key information described above, performs encapsulation processing by adding the wide-area communication header information described above, and transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S106).
- the encapsulated message acquisition unit 214 then decapsulates the acquired encapsulated message to obtain address response information (step S107), and notifies the address acquisition unit 225 of the address response information.
- the address acquisition unit 225 then extracts the address information and host information contained in the notified address response information, and stores the extracted information in the address storage unit 241 in association with class code information indicating the method of transmitting the address request information and the class of the destination device 3 (step S108).
- the address acquisition unit 225 determines whether it has acquired address response information for all classes indicated by all class code information stored in the class information storage unit 242 (step S109). If the address acquisition unit 225 determines that there is a device 3 belonging to a class for which it has not yet acquired address response information (step S109: No), the processing of step S102 is executed again. On the other hand, it is assumed that the address acquisition unit 225 has determined that it has acquired address response information for all classes indicated by all class code information stored in the class information storage unit 242 (step S109: Yes).
- the transmission method setting unit 227 sets transmission method information for each class by comparing the address information contained in the address response information acquired by multicasting the address request information stored in the address storage unit 241 to devices 3 belonging to the same class with the address information contained in the address response information acquired by broadcasting the address request information to devices 3 belonging to the same class, and stores the transmission method information in the transmission method storage unit 243 (step S110).
- the transmission method setting unit 227 sets the transmission method information of the corresponding class code information to multicast transmission and stores it in the transmission method storage unit 243 in association with the class code information of the device 3 to which the address request information is to be sent.
- the transmission method setting unit 227 stores transmission method information indicating broadcast transmission in the transmission method storage unit 243 in association with the class code information of the device 3 to which the address request information is to be sent.
- the device information update unit 215 references the transmission method information corresponding to each piece of class code information stored in the transmission method storage unit 243, and selects, from the address information and host information corresponding to each of the two types of transmission methods associated with each piece of class code information stored in the address storage unit 241, the address information and device identification information corresponding to the transmission method indicated by the transmission method information corresponding to that class code information. Then, the device information update unit 215 uses the selected MAC address information and IP address information to update the IP address information and MAC address information stored in the device information storage unit 231 (step S111).
- the device control unit 212 determines whether a control content update event has occurred (step S112).
- the device control unit 212 determines that a control content update event has occurred if the operation information acquisition unit 211 notifies the device control unit 212 of the host information and changed setting content information of the device 3 to be operated, or if the device control unit 212 determines that an update of the control content of the device 3 is necessary based on the parameter information of each device 3 stored in the device status storage unit 232.
- step S112 No
- the device control unit 212 executes the processing of step S114 described below.
- the device control unit 212 determines that a control content update event has occurred (step S112: Yes)
- it generates control information corresponding to the updated control content of the device 3, including the host information corresponding to the device 3 to be controlled stored in the device information storage unit 231.
- the encapsulated message sending unit 213 then encrypts the generated control information using the key information described above, performs an encapsulation process to add the wide-area communication header information described above, and then transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S113).
- the address acquisition unit 225 determines whether the aforementioned address update event has occurred (step S114). Here, if event occurrence notification information is notified from the encapsulated message acquisition unit 214, the address acquisition unit 225 determines that an address update event has occurred. Here, if the address acquisition unit 225 determines that an address update event has not occurred (step S114: No), the processing of step S122 described below is executed.
- the address acquisition unit 225 determines that an address update event has occurred (step S114: Yes), it selects one piece of class code information from the class code information stored in the class information storage unit 242 (step S115) and identifies the transmission method indicated by the transmission method information corresponding to the selected class code information stored in the transmission method storage unit 243 (step S116). Next, the address acquisition unit 225 generates address request information in which the destination IP address is set to an address corresponding to the identified transmission method.
- the encapsulated message sending unit 213 then encrypts the generated address request information using the key information, performs encapsulation processing by adding the wide-area communication header information, and transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S117).
- the encapsulated message acquiring unit 214 then decapsulates the acquired encapsulated message to acquire address response information (step S118), and notifies the address acquiring unit 225 of the address response information.
- the address acquiring unit 225 then extracts the address information and host information contained in the notified address response information, and stores the extracted information in the address storage unit 241 in association with class code information indicating the method for transmitting the address request information and the class of the destination device 3 (step S119).
- the address acquisition unit 225 determines whether it has acquired address response information for all classes indicated by all class code information stored in the class information storage unit 242 (step S120). If the address acquisition unit 225 determines that there is a device 3 belonging to a class for which it has not yet acquired address response information (step S120: No), the processing of step S115 is executed again. On the other hand, it is assumed that the address acquisition unit 225 has determined that it has acquired address response information for all classes indicated by all class code information stored in the class information storage unit 242 (step S120: Yes).
- the device information update unit 215 references the transmission method information corresponding to each class code information stored in the transmission method storage unit 243, and selects address information and related information corresponding to the transmission method indicated by the transmission method information corresponding to that class code information from the address information and host information corresponding to each of the two types of transmission methods associated with each class code information stored in the address storage unit 241. Then, the device information update unit 215 uses the selected MAC address information and IP address information to update the IP address information and MAC address information stored in the device information storage unit 231 (step S121).
- the encapsulated message acquisition unit 214 determines whether or not device status information has been acquired by de-encapsulating the acquired encapsulated message (step S122). If the encapsulated message acquisition unit 214 determines that device status information has not been acquired (step S122: No), the process of step S101 is executed again. On the other hand, if the encapsulated message acquisition unit 214 determines that device status information has been acquired (step S122: Yes), it notifies the device status update unit 216 of the acquired device status information.
- the device status update unit 216 extracts the parameter information, model information, and host information included in the notified device status information, and stores the extracted information in the device status storage unit 232 in association with each other (step S123). Then, the process of step S101 is executed again.
- the address acquisition unit 225 acquires address response information sent from a device 3 by sending address request information to devices 3 belonging to the same class based on the class to which the device 3 belongs, and repeats this process for all classes indicated by the class code information stored in the class information storage unit 242.
- This allows the address acquisition unit 225 to acquire address response information sent from a device 3 on a class-by-class basis, reducing the possibility of missing address response information that occurs when attempting to acquire a large amount of address response information at the same time. Therefore, consistency can be ensured between the address information and host information stored in the device information storage unit 231 and the address information and host information of devices 3 that actually belong to the local network NW2, allowing the devices 3 to be managed appropriately.
- the router 8 manages the local network NW2, which is made up of multiple physical segments, based on the Internet Group Management Protocol (IGMP).
- IGMP Internet Group Management Protocol
- the address request information multicast to that device may not be delivered.
- the device 3 that does not support IGMP may not be managed properly.
- address request information is broadcast to devices 3 that belong to the same class as the device 3 in question.
- address request information is multicast to a class consisting only of IGMP-compliant devices 3. This reduces traffic on the local network NW2, thereby minimizing communication delays.
- the device management system according to this embodiment differs from the first embodiment in that the content of the address response information is changed depending on the number of devices 3 belonging to the local network NW2.
- the device management system includes a cloud server 2002 and a control device 1 that controls the operation of the device 3 by transmitting control information acquired from the cloud server 2002 to the device 3.
- the same components as in embodiment 1 are assigned the same reference numerals as in FIG. 3.
- the cloud server 2002 has the same hardware configuration as the cloud server 2 described in embodiment 1. Therefore, the hardware configuration according to this embodiment will be described using the same reference numerals as in FIG. 2.
- CPU 201 loads the programs stored in auxiliary memory 203 into main memory 202 and executes them, thereby functioning as operation information acquisition unit 211, device control unit 212, encapsulated message transmission unit 213, encapsulated message acquisition unit 214, device information update unit 215, device status update unit 216, device status notification unit 217, device information request unit 218, address acquisition unit 2225, transmission method setting unit 227, and device number identification unit 2219.
- the address acquisition unit 2225 acquires address response information including address information transmitted from devices 3 by transmitting address request information requesting transmission of address information of devices 3 to devices 3 belonging to the same class based on the class to which the devices 3 belong, and repeats this process for at least all classes corresponding to the class code information stored in the class information storage unit 242.
- the address acquisition unit 2225 transmits address request information to all devices 3 belonging to the local network NW2, thereby simultaneously acquiring address response information from all devices 3.
- the address acquisition unit 2225 If the address acquisition unit 2225 is notified of device information request information by the device information request unit 218 or is notified of event occurrence notification information by the encapsulated message acquisition unit 214, the address acquisition unit 2225 notifies the device number request information to the device number determination unit 2219, thereby acquiring device number information (described below) from the device number determination unit 2219. The address acquisition unit 2225 then determines whether the number of devices indicated by the acquired device count information is equal to or greater than the reference number of devices.
- the address acquisition unit 2225 then extracts the address information and host information included in the address response information notified by the encapsulated message acquisition unit 214, and stores the extracted address information and host information in the address storage unit 241 in association with class code information indicating the method of sending the address request information and the class of the destination device 3.
- the device number determination unit 2219 receives device number request information from the address acquisition unit 2225, it determines the number of devices based on the number of combinations of model information and host information for devices 3 that belong to the local network NW2 together with the control device 1, which are stored in the device information storage unit 231, and notifies the address acquisition unit 2225 of device number information indicating the determined number of devices.
- the cloud server 2002 identifies the number of devices based on the number of combinations of model information and host information of devices 3 belonging to the local network NW2 together with the control device 1, which are stored in the device information storage unit 231 (step S2001).
- the cloud server 2002 determines that the number of devices Ne indicated by the device number information is less than the predetermined reference number of devices Neth (step S2002).
- the cloud server 2002 generates address request information in which the destination IP address is set to a multicast address (step S2003).
- the cloud server 2002 encrypts the generated address request information using the key information and then encapsulates it by adding wide-area communication header information (step S2004).
- the encapsulated address request information is then transmitted from the cloud server 2002 to the control device 1 (step S2005).
- the control device 1 decapsulates the address request information by removing the wide-area communication header information added to the received address request information and then decrypting it using the key information (step S2006).
- the decapsulated address request information is then multicast from the control device 1 to all devices 3A and 3B belonging to the local network NW2 (steps S2007 and S2008).
- the address request information does not specify class code information. Therefore, when all of the devices 3A and 3B belonging to different classes in the local network NW2 receive the address request information, they generate address response information accordingly. Therefore, when device 3A receives the address request information, it generates address response information including its own IP address information, MAC address information, and host information (step S2009), and transmits the generated address response information to control device 1 (step S2010). Meanwhile, when the control device 1 receives the address response information, it encrypts the received address response information using the key information and then encapsulates it by adding wide-area communication header information (step S2011).
- the encapsulated address response information is transmitted from the control device 1 to cloud server 2002 (step S2012). Meanwhile, when the cloud server 2002 receives the encapsulated address response information, it decapsulates the received address response information by decrypting it using the key information (step S2013). Next, the cloud server 2002 extracts the IP address information, MAC address information, and host information contained in the decapsulated address response information and stores the extracted information in the address storage unit 241 in association with each other (step S2014). In response to receiving the address request information, device 3B also generates address response information including its own IP address information, MAC address information, and host information (step S2015), and transmits the generated address response information to control device 2001 (step S2016).
- control device 1 encrypts the received address response information using the key information and then encapsulates it by adding wide-area communication header information, as shown in FIG. 17 (step S2017).
- the encapsulated address response information is then transmitted from control device 1 to cloud server 2002 (step S2018).
- cloud server 2002 decapsulates the received address response information by decrypting it using the key information and then decapsulating it (step S2019).
- cloud server 2002 extracts the IP address information, MAC address information, and host information from the decapsulated address response information and stores the extracted information in address storage unit 241 in association with each other (step S2020).
- the cloud server 2002 generates address request information in which the destination IP address is set to a broadcast address (step S2021).
- the cloud server 2002 then encrypts the generated address request information using the key information described above and encapsulates it by adding wide-area communication header information (step S2022).
- the encapsulated address request information is then transmitted from the cloud server 2002 to the control device 1 (step S2023).
- the control device 1 decapsulates the address request information by removing the wide-area communication header information added to the received address request information and then decrypting it using the key information (step S2024).
- the decapsulated address request information is then broadcast from the control device 1 to all devices 3A and 3B belonging to the local network NW2 (steps S2025 and S2026).
- the device 3A upon receiving the address request information, the device 3A generates address response information including its own IP address information, MAC address information, and host information (step S2027), and transmits the generated address response information from the device 3A to the control device 1 (step S2028).
- the control device 1 encrypts the address response information using the key information and then encapsulates it by adding wide-area communication header information (step S2029).
- the encapsulated address response information is transmitted from the control device 1 to the cloud server 2002 (step S2030).
- the cloud server 2002 decapsulates the address response information by decrypting it using the key information (step S2031).
- the cloud server 2002 extracts the IP address information, MAC address information, and host information contained in the decapsulated address response information and stores the extracted information in the address storage unit 241 in association with each other (step S2032).
- device 3B Upon receiving the address request information, device 3B also generates address response information including its own IP address information, MAC address information, and host information (step S2033), and transmits the generated address response information to control device 1 (step S2034).
- control device 1 encrypts the address response information using the key information and then encapsulates it by adding wide-area communication header information (step S2035).
- the encapsulated address response information is then transmitted from control device 1 to cloud server 2002, as shown in FIG. 18 (step S2036).
- cloud server 2002 decapsulates the address response information by decrypting it using the key information (step S2037).
- cloud server 2002 extracts the IP address information, MAC address information, and host information from the decapsulated address response information and stores the extracted information in association with each other in address storage unit 241 (step S2038).
- the cloud server 2002 compares the address information stored in the address storage unit 241, which is included in the address response information acquired by multicasting the address request information to devices 3A and 3B belonging to the same class, with the address information acquired by broadcasting the address request information to devices 3A and 3B belonging to the same class. If the two match, the control device stores transmission method information indicating multicast transmission in the transmission method storage unit 243, in association with the class code information of the device 3 to which the address request information is to be sent. On the other hand, if the two do not match, the control device 1 stores transmission method information indicating broadcast transmission in the transmission method storage unit 243 (step S2039).
- the cloud server 2002 references the transmission method information stored in the transmission method storage unit 243 and selects address information and host information associated with the transmission method information from the address information and host information stored in the address storage unit 241.
- the device information update unit 215 then updates the IP address information, MAC address information, and host information stored in the device information storage unit 231 using the MAC address information, IP address information, and host information of the selected devices 3A and 3B (step S2040).
- the cloud server 2002 identifies the number of devices based on the number of combinations of model information and host information for devices 3 that belong to the local network NW2 along with the control device 1, as stored in the device information storage unit 231 (step S2041).
- the cloud server 2002 determines that the number of devices Ne indicated by the device number information is less than the preset reference number of devices Neth (step S2042).
- the cloud server 2002 generates address request information in which the destination IP address is set to an address corresponding to the transmission method indicated by the transmission method information, based on the transmission method information stored in the transmission method storage unit 243 (step S2043).
- the cloud server 2002 encrypts the generated address request information using the aforementioned key information and then encapsulates it by adding wide-area communication header information (step S2044).
- the encapsulated address request information is then transmitted from the cloud server 2002 to the control device 1 (step S2045).
- the control device 1 acquires the encapsulated address request information, it decapsulates the address request information by removing the wide-area communication header information added to the acquired address request information and then decrypting it using the key information (step S2046).
- the decapsulated address request information is then transmitted from the control device 1 to both devices 3A and 3B using the transmission method indicated by the transmission method information (steps S2047 and S2048).
- step S2049 when device 3A acquires the address request information, it generates address response information including its own IP address information, MAC address information, and host information (step S2049), and transmits the generated address response information from device 3A to the control device 1 (step S2050).
- the control device 1 when the control device 1 acquires the address response information, it encrypts the acquired address response information using the key information and then encapsulates it by adding the wide-area communication header information (step S2051). Next, the encapsulated address response information is transmitted from the control device 1 to the cloud server 2002 (step S2052).
- the cloud server 2002 acquires the encapsulated address response information, it decapsulates it by removing the wide-area communication header information added to the acquired address response information and then decrypting it using the key information, as shown in FIG. 19 (step S2053).
- the cloud server 2002 extracts the IP address information, MAC address information, and host information included in the decapsulated address response information, associates the extracted information with each other, and stores the associated information in the address storage unit 241 (step S2054).
- the device 3B acquires the address request information, it generates address response information including its own IP address information, MAC address information, and host information (step S2055), and transmits the generated address response information from the device 3B to the control device 1 (step S2056).
- control device 1 when the control device 1 acquires the address response information, it encrypts the acquired address response information using the key information and then encapsulates it by adding the wide-area communication header information (step S2057). The encapsulated address response information is then transmitted from the control device 1 to the cloud server 2002 (step S2058). Meanwhile, when cloud server 2002 acquires the encapsulated address response information, it decapsulates it by removing the wide-area communication header information added to the acquired address response information and then decrypting it using the key information (step S2059). Next, cloud server 2002 extracts the IP address information, MAC address information, and host information included in the decapsulated address response information, and stores the extracted information in association with each other in address storage unit 241 (step S2060). Thereafter, the series of processes from step S80 onwards described in embodiment 1 are executed.
- step S101 the operation information acquisition unit 211 determines that it has acquired operation information indicating a device information registration operation (step S101: Yes) and notifies the device information request unit 218 of the host information included in the acquired operation information.
- the device information request unit 218 Upon receiving the host information from the operation information acquisition unit 211, the device information request unit 218 stores the notified host information in the device information storage unit 231 and notifies the address acquisition unit 225 of device information request information.
- the address acquisition unit 2225 notifies the device number identification unit 2219 of device number request information.
- the device number determination unit 2219 determines the number of devices based on the number of combinations of model information and host information of the devices 3 belonging to the local network NW2 together with the control device 1, which are stored in the device information storage unit 231 (step S2101), and notifies the address acquisition unit 2225 of the device number information indicating the determined number of devices.
- the address acquisition unit 2225 determines whether the number of devices indicated by the notified device number information is equal to or greater than the reference number of devices (step S2102).
- step S2102: Yes the process proceeds to step S102 and subsequent steps.
- step S2102: No the address acquisition unit 2225 sets the destination IP address to a multicast address and generates address request information that is multicast-transmitted to all devices 3 belonging to the local network NW2.
- the encapsulated message sending unit 213 then encrypts the generated address request information using the key information, performs encapsulation processing to add the wide-area communication header information, and transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S2103).
- the encapsulated message acquiring unit 214 then decapsulates the acquired encapsulated message to determine whether address response information has been acquired (step S2104). If the encapsulated message acquiring unit 214 determines that address response information has not been acquired (step S2104: No), the processing of step S2106, which will be described later, is executed.
- the encapsulated message acquiring unit 214 determines that address response information has been acquired (step S2104: Yes)
- the encapsulated message acquiring unit 214 notifies the address acquiring unit 225 of the address response information.
- the address acquisition unit 225 then extracts the address information and host information contained in the notified address response information, associates this extracted information with transmission method information indicating the method for transmitting the address request information, and stores this information in the address storage unit 241 (step S2105).
- the address acquisition unit 2225 generates address request information in which the destination IP address is set to a broadcast address and is broadcast to all devices 3 belonging to the local network NW2.
- the encapsulated message transmission unit 213 then encrypts the generated address request information using the key information described above, performs encapsulation processing to add the wide-area communication header information described above, and then transmits the encapsulated address request information to the control device 1 based on the wide-area communication header information (step S2106).
- the encapsulated message acquisition unit 214 decapsulates the acquired encapsulated message to acquire address response information (step S2107), and notifies the address acquisition unit 2225 of the acquired address response information.
- the address acquisition unit 2225 then extracts the address information and host information included in the notified address response information, associates this extracted information with transmission method information indicating the method of transmitting the address request information, and stores this information in the address storage unit 241 (step S2108). Next, a series of processes from steps S110 to S114 is executed.
- step S114 when the address acquisition unit 2225 determines in step S114 that an address update event has occurred (step S114: Yes), it notifies the device number determination unit 2219 of device number request information.
- the device number determination unit 2219 determines the number of devices based on the number of combinations of model information and host information of devices 3 that belong to the local network NW2 together with the control device 1, which are stored in the device information storage unit 231 (step S2109), and notifies the address acquisition unit 2225 of device number information indicating the determined number of devices.
- the address acquisition unit 2225 determines whether the number of devices indicated by the notified device number information is equal to or greater than the reference device number (step S2110).
- step S2110: Yes when the address acquisition unit 2225 determines that the number of devices indicated by the device number information is equal to or greater than the reference device number (step S2110: Yes), a series of processes from step S115 onwards are executed. On the other hand, if the address acquisition unit 2225 determines that the number of devices indicated by the device count information is less than the reference number of devices (step S2110: No), it identifies the transmission method indicated by the transmission method information stored in the transmission method storage unit 243 for the destination IP address (step S2111) and generates address request information set to the address corresponding to the identified transmission method. The encapsulated message transmission unit 213 then encrypts the generated address request information using the key information and performs an encapsulation process to add the wide-area communication header information.Based on the wide-area communication header information, the encapsulated address request information is transmitted to the control device 1 (step S2112).Then, the encapsulated message acquisition unit 214 decapsulates the acquired encapsulated message to acquire address response information (step
- the address acquisition unit 2225 then extracts the address information and host information contained in the notified address response information, associates this extracted information with transmission method information indicating the method for transmitting the address request information, and stores this information in the address storage unit 241 (step S2114). After that, the series of processes from step S121 onwards are executed.
- the device management system selects a transmission method depending on the number of devices 3 belonging to the local network NW2. Specifically, if the number of devices 3 is small and the control device 2001 is unlikely to miss any address response information even if it receives it from the devices 3 at the same time, it transmits address request information to all devices 3 belonging to the local network NW2, thereby obtaining address response information sent from all devices 3 in a relatively short time.
- This has the advantage that when a new device 3 is added to the local network NW2 or an address update event occurs, the address information and host information stored in the device information storage unit 231 of the cloud server 2002 can be quickly updated.
- the operation information may include flag information indicating whether or not the operation information is associated with the addition of a new device 3 to the local network NW2, and the cloud server 2, 2002 may set the method of transmitting address request information to the device 3 only if the flag information included in the operation information transmitted from the terminal device 4 indicates the addition of a new device 3.
- This configuration reduces the frequency with which the method for sending address request information to device 3 needs to be reset, thereby reducing the time required to update the address information and host information stored in the device information storage unit 231.
- device 3 may monitor whether the IP address assigned to device 3 has changed, and if the IP address assigned to device 3 has changed, generate address change notification information notifying that the IP address has changed and send it to control device 1 as the destination. In this case, when event occurrence detection unit 114 acquires address change notification information from device 3, it may determine that the aforementioned address update event has occurred. Also, in each embodiment, event occurrence detection unit 114 may determine that an address update event has occurred when it determines that the IP address assigned to control device 1 has changed.
- This configuration makes it possible to directly detect the occurrence of an address update event, thereby increasing the accuracy of detecting address update events and, to that extent, reducing unnecessary updates to the address information and host information stored in the device information storage unit 231.
- the control device 1 may also be provided with the device information storage unit.
- the control device 1 may be provided with a device information storage unit that stores address information and host information for devices 3 belonging to the local network NW2; an address acquisition unit that, based on the class to which the device 3 belongs, transmits address request information to devices 3 belonging to the same class and acquires address response information including address information and host information transmitted from the device 3, repeating this process for all classes indicated by the class code information stored in the class information storage unit 242; and a device information update unit that updates the address information and host information stored in the device information storage unit using the address information and host information contained in the address response information.
- IP address has been described as an IPv4 IP address, but this is not limited to this and an IPv6 IP address may also be used.
- control devices 1, 2001 and cloud servers 2, 2002 may be realized by software, firmware, or a combination of software and firmware.
- the software or firmware may be written as a program, and the program may be stored and distributed on a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), or MO (Magneto-Optical Disc).
- a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), or MO (Magneto-Optical Disc).
- a computer capable of realizing each of the aforementioned functions may be constructed.
- each function is realized by sharing the work between an OS (Operating System) and an application, or by collaboration between an OS and an application, only the parts other than the OS may be stored on the recording medium.
- OS Operating System
- each program can be superimposed on a carrier wave and distributed via a communications network.
- the program can be posted on a bulletin board (BBS, Bulletin Board System) on the communications network and distributed via the network.
- BBS Bulletin Board System
- These programs can then be started and run under the control of the OS in the same way as other application programs, thereby enabling the above-mentioned processing to be performed.
- This disclosure is suitable as a control system equipped with a HEMS installed in a home.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
機器管理システムは、局所ネットワーク(NW2)に属する機器(3)のアドレス情報を記憶する機器情報記憶部(231)と、機器(3)をECHONET Lite規格で設定されたクラスで分類したときに機器(3)が属するクラスに基づいて、機器(3)に対してアドレス情報の送信を要求するアドレス要求情報を同一のクラスに属する機器(3)へ送信することにより、機器(3)から送信されるアドレス情報を含むアドレス応答情報を取得することを、予め設定された複数のクラス全てについて繰り返すアドレス取得部(115)と、アドレス応答情報に含まれるアドレス情報を用いて機器情報記憶部(231)が記憶するアドレス情報を更新する機器情報更新部(215)と、を備える。
Description
本開示は、機器管理システム、機器管理装置および機器管理方法に関する。
ECHONET(登録商標)規格に対応した機器であるECHONET機器を、宅内ネットワークを介して管理する宅内機器管理装置が提案されている(例えば特許文献1参照)。この宅内機器管理装置は、宅内ネットワークに接続されたECHONET機器に対してECHONET規格で定める機器固有の識別情報である固体識別情報のプロパティの取得を要求する固体識別情報取得要求を、ECHONET機器へマルチキャスト送信することにより、各ECHONET機器から送信される固体識別情報取得応答を受信する。そして、宅内機器管理装置は、受信した固体識別情報取得応答に含まれる固体識別情報を、当該固体識別情報取得応答の送信元のECHONETアドレスに対応づけて固体識別情報管理テーブルに登録して管理する。
しかしながら、特許文献1に記載された宅内機器管理装置では、個体識別情報取得応答を一時的に蓄積しておくためのバッファの容量が不十分であったり、宅内ネットワークの通信帯域が十分に確保されていなかったりした場合、宅内ネットワークに接続されている複数のECHONET機器が、同時期に受信した固体識別情報取得要求に対して、固体識別情報取得応答を一斉に送信した場合、個体識別情報取得応答のいわゆる取りこぼしが発生する虞がある。また、宅内機器管理装置は、通信速度を優先してECHONET機器との通信をUDPのようなコネクションレス型の通信プロトコルで行う場合がある。この場合、宅内機器管理装置は、個体識別情報取得応答の送信元のECHONET機器に対して固体識別情報取得応答の受信確認処理を実行しないため、固体識別情報取得応答が取りこぼされたECHONET機器について個体識別情報が固体識別情報管理テーブルに登録されることなく放置される虞もある。
本開示は、上記事由に鑑みてなされたものであり、機器を適切に管理できる機器管理システム、機器管理装置および機器管理方法を提供することを目的とする。
上記目的を達成するため、本開示に係る機器管理システムは、
機器が属するネットワークにおいて前記機器に付与される前記機器を識別する機器識別情報を管理する機器管理システムであって、
前記ネットワークに属する前記機器の前記機器識別情報を記憶する機器情報記憶部と、
前記機器を予め設定された分類基準で分類したときに前記機器が属するクラスに基づいて、前記機器に対して前記機器識別情報の送信を要求する機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、
前記機器識別情報応答情報に含まれる前記機器識別情報を用いて前記機器情報記憶部が記憶する前記機器識別情報を更新する機器情報更新部と、を備える。
機器が属するネットワークにおいて前記機器に付与される前記機器を識別する機器識別情報を管理する機器管理システムであって、
前記ネットワークに属する前記機器の前記機器識別情報を記憶する機器情報記憶部と、
前記機器を予め設定された分類基準で分類したときに前記機器が属するクラスに基づいて、前記機器に対して前記機器識別情報の送信を要求する機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、
前記機器識別情報応答情報に含まれる前記機器識別情報を用いて前記機器情報記憶部が記憶する前記機器識別情報を更新する機器情報更新部と、を備える。
本開示によれば、機器識別情報取得部が、機器を前述の分類基準で分類したときに機器が属するクラスに基づいて、同一のクラスに属する機器へ前述の機器識別情報要求情報を送信することにより、機器から送信される前述の機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す。これにより、機器識別情報取得部が、機器から送信される機器識別情報応答情報をクラス単位で取得することができるので、機器識別情報応答情報を同時期に多量に取得しようとする場合に生じるいわゆる機器識別情報応答情報の取りこぼしの可能性を低減できる。従って、機器情報記憶部が記憶する機器識別情報と、実際にネットワークに属する機器の機器識別情報と、の整合性を確保できるので、機器を適切に管理することができる。
(実施の形態1)
以下、本開示の実施の形態に係る機器管理システムについて、添付図面を参照しながら説明する。本実施の形態に係る機器管理システムは、機器が属するネットワークにおいて機器に付与される機器を識別する機器識別情報を管理する。この機器管理システムは、ネットワークに属する機器の機器識別情報を記憶する機器情報記憶部と、機器を予め設定された分類基準で分類したときに機器が属するクラスに基づいて、機器に対して機器識別情報の送信を要求する機器識別情報要求情報を同一のクラスに属する機器へ送信することにより、機器から送信される機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、機器識別情報応答情報に含まれる機器識別情報を用いて機器情報記憶部が記憶する機器識別情報を更新する機器情報更新部と、を備える。
以下、本開示の実施の形態に係る機器管理システムについて、添付図面を参照しながら説明する。本実施の形態に係る機器管理システムは、機器が属するネットワークにおいて機器に付与される機器を識別する機器識別情報を管理する。この機器管理システムは、ネットワークに属する機器の機器識別情報を記憶する機器情報記憶部と、機器を予め設定された分類基準で分類したときに機器が属するクラスに基づいて、機器に対して機器識別情報の送信を要求する機器識別情報要求情報を同一のクラスに属する機器へ送信することにより、機器から送信される機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、機器識別情報応答情報に含まれる機器識別情報を用いて機器情報記憶部が記憶する機器識別情報を更新する機器情報更新部と、を備える。
本実施の形態に係る機器管理システムは、図1に示すように、クラウドサーバ2と、クラウドサーバ2から取得した制御情報を機器3へ送信することにより機器3の動作を制御する制御装置1と、を備える。制御装置1は、機器3と、ルータ8と、が接続された局所ネットワークNW2に接続されており、機器3と制御装置1とが局所ネットワークNW2を介して通信可能となっている。局所ネットワークNW2は、例えば無線LAN(Local Area Network)である。クラウドサーバ2は、インターネットのような広域ネットワークNW1およびブロードバンドルータ(以下、「BBR」と称する。)8を介して制御装置1および端末装置4と通信可能となっている。
機器3は、例えばECHONET Lite(登録商標)規格に適合した通信プロトコルにより制御装置1と通信する機能を有する。機器3は、ルータ8に対して接続要求情報を送信することにより、ルータ8からIPアドレス情報を取得するアドレス取得部(図示せず)と、アドレス取得部がルータ8から取得したIPアドレス情報を記憶するアドレス記憶部(図示せず)と、を備える。更に、機器3は、制御装置1から機器3のアドレス情報の送信を要求するアドレス要求情報を取得すると、これに応じて自機に付与されたアドレス情報を含むアドレス応答情報を生成して制御装置1へ送信するアドレス応答部(図示せず)を備える。ここで、アドレス情報としては、ルータ8のDHCP(Dynamic Host Configuration Protocol)機能部811により機器3に付与されたIPアドレスを示すIPアドレス情報と、機器3に固有のMACアドレスを示すMACアドレス情報と、を含む。また、機器3は、制御装置1から送信される制御情報を取得すると、取得した制御情報に基づいて動作を開始するとともに、制御情報を取得したことを制御装置1へ通知する制御情報取得応答情報を制御装置1へ送信する。更に、機器3は、予め設定された自機の状態を制御装置1へ通知する機器状態通知時期が到来すると、自機の状態を示すパラメータ情報と自機のホスト名、名称等を示すホスト情報を含む機器状態情報を生成し、生成した機器状態情報を制御装置1へ送信する。また、機器3は、少なくともアドレス応答情報を制御装置1へ送信する際のトランスポート層のプロトコルとしてコネクションレス型のプロトコルを採用し、例えばUDP(User Datagram Protocol)を採用している。
ルータ8は、図2に示すように、DHCP機能部811を有し、通常のルータとしての機能とともにDHCPサーバとしても機能する。DHCP機能部811は、機器3または制御装置1との通信遮断後、或いは、機器3または制御装置1の起動時において、機器3または制御装置1から接続要求情報を受信すると、予め設定された複数のIPアドレスから構成されるアドレスプールの中から、接続要求情報の送信元の機器3または制御装置1に付与するIPアドレスを特定する。そして、DHCP機能部811は、特定したIPアドレスを示すIPアドレス情報を送信元の機器3または制御装置1へ送信する。
端末装置4は、例えばスマートフォンであり、表示部(図示せず)と、入力部(図示せず)と、を有し、広域ネットワークNW1を介してクラウドサーバ2と通信する。端末装置4は、利用者が入力部に対して機器3の設定内容を変更するための操作を行うと、これに応じて、機器3の変更後の設定内容、対象とする機器3のホスト情報を含む操作情報を生成してクラウドサーバ2へ送信する。また、端末装置4は、利用者が入力部に対して機器3のアドレス情報およびホスト情報を、後述するクラウドサーバ2の機器情報記憶部231に新たに記憶させるための機器情報登録操作を行うと、これに応じて、新たに記憶させる機器3のホスト情報を含む操作情報を生成してクラウドサーバ2へ送信する。ここで、ホスト情報は、機器3のホスト名、機器名称等を示す情報である。また、端末装置4は、クラウドサーバ2から送信される、機器3の状態を示す機器状態通知情報を取得すると、取得した機器状態通知情報に基づいて、機器3の状態を表示する機器状態通知画像を形成して表示部に表示させる。
制御装置1は、CPU(Central Processing Unit)101と、主記憶部102と、補助記憶部103と、通信部107と、各部を接続するバス109と、を備える。主記憶部102は、RAM(Random Access Memory)のような揮発性メモリであり、CPU101の作業領域として使用される。補助記憶部103は、半導体メモリのような不揮発性メモリを有し、ROM(Read Only Memory)、ストレージとして機能し、制御装置1の各種機能を実現するためのプログラムを記憶する。通信部107は、例えば無線モジュールを有し、機器3、ルータ8との間で無線通信を行う。無線モジュールは、無線信号を生成する信号生成回路とアンテナとを有し、例えばデータリンク層がIEEE802.11シリーズの通信プロトコルで通信する。また、制御装置1は、電源が投入されると、制御装置1側から例えばSSL (Secure Sockets Layer)ハンドシェイクプロトコルを実行することによりクラウドサーバ2との間で電文を暗号化するための鍵情報を共有し、当該鍵情報を主記憶部102に記憶させる。
制御装置1では、CPU101が、補助記憶部103が記憶するプログラムを主記憶部102に読み込んで実行することにより、図3に示すように、カプセル化電文取得部111、電文送信部112、電文取得部113、イベント発生検知部114およびカプセル化電文送信部116として機能する。
図2に戻って、カプセル化電文取得部111は、クラウドサーバ2から送信される、クラウドサーバ2と制御装置1との間での通信を行うための広域通信用ヘッダ情報によりカプセル化された電文を取得すると、取得した電文について広域通信用ヘッダ情報を解除するとともにカプセル化された電文の暗号化されたペイロードについて前述の鍵情報を用いて復号処理を行う非カプセル化処理を実行する。ここで、広域通信用ヘッダ情報は、HTTPS(Hypertext Transfer Protocol over SSL)、MQTTS(Message Queuing Telemetry Transport over SSL)等のアプリケーション層プロトコルに基づいて通信を行うための情報を含む。ここで、カプセル化電文取得部111は、非カプセル化された電文を電文送信部112に通知する。
電文送信部112は、カプセル化電文取得部111から非カプセル化された電文が通知されると、通知された電文に含まれる宛先IPアドレス情報、宛先MACアドレス情報に基づいて、通知された電文を機器3へ送信する。また、電文送信部112は、電文のうち、制御情報を機器3へ送信すると、制御情報を送信したことを示す制御情報送信通知情報をイベント発生検知部114に通知する。
電文取得部113は、機器3から送信される機器状態情報を取得すると、取得した機器状態情報をカプセル化電文送信部116に通知する。また、電文取得部113は、機器3から送信される前述の制御情報取得応答情報を取得すると、取得した制御情報取得応答情報をイベント発生検知部114に通知する。
イベント発生検知部114は、電文送信部112から制御情報送信通知情報が通知された後、予め設定された時間が経過する迄に電文取得部113から制御情報取得応答情報が通知されない場合、制御情報の送信先の機器3のIPアドレスが更新されるアドレス更新イベントが発生したと判定する。このIPアドレス更新イベントは、例えばルータ8のDHCP機能部811が機器3に払い出したIPアドレスのリース期間が切れた場合に発生する。イベント発生検知部114は、アドレス更新イベントの発生を検知すると、イベント発生通知情報をカプセル化電文送信部116に通知する。
カプセル化電文送信部116は、電文取得部113から機器状態情報が通知されると、通知された機器状態情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行する。そして、カプセル化電文送信部116は、広域通信用ヘッダ情報に基づいて、カプセル化された機器状態情報をクラウドサーバ2へ送信する。また、カプセル化電文送信部116は、イベント発生検知部114からイベント発生通知情報が通知されると、通知されたアドレス更新イベント発生通知情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行する。そして、カプセル化電文送信部116は、広域通信用ヘッダ情報に基づいて、カプセル化されたイベント発生通知情報をクラウドサーバ2へ送信する。
クラウドサーバ2は、図2に示すように、CPU201と、主記憶部202と、補助記憶部203と、通信部206と、各部を接続するバス209と、を備える。CPU201は、例えばマルチコアプロセッサである。主記憶部202は、揮発性メモリから構成され、CPU201の作業領域として用いられる。補助記憶部203は、大容量の不揮発性メモリから構成され、クラウドサーバ2の各種機能を実現するためのプログラムを記憶する。通信部206は、広域ネットワークNW1に接続されている。また、クラウドサーバ2は、制御装置1側から例えばSSLハンドシェイクプロトコルが実行されることにより制御装置1との間で電文を暗号化するための鍵情報を共有し、当該鍵情報を、広域ネットワークNW1において制御装置1を識別する制御装置識別情報に対応づけて主記憶部102に記憶させる。この制御装置識別情報としては、例えば制御装置1に付与されたホスト名を示すホスト名情報および当該ホスト名情報を含む識別情報、IPアドレス情報等である。
クラウドサーバ2では、CPU201が、補助記憶部203が記憶するプログラムを主記憶部202に読み込んで実行することにより、図3に示すように、操作情報取得部211、機器制御部212、カプセル化電文送信部213、カプセル化電文取得部214、機器情報更新部215、機器状態更新部216、機器状態通知部217、機器情報要求部218、アドレス取得部225および送信方法設定部227として機能する。また、図2に示す補助記憶部203は、図3に示すように、機器情報記憶部231と、機器状態記憶部232と、アドレス記憶部241と、クラス情報記憶部242と、送信方法記憶部243と、を有する。アドレス記憶部241は、例えば図4Aに示すように、後述のアドレス要求情報を、制御装置1を介して機器3へマルチキャスト送信することにより機器3から取得したアドレス応答情報に含まれるアドレス情報と、前述のアドレス要求情報を、制御装置1を介して機器3へブロードキャスト送信することにより機器3から取得したアドレス応答情報に含まれるアドレス情報と、を、機器3を予め設定された分類基準で分類したときに機器が属するクラスを示すクラスコード情報に対応づけて記憶する機器識別情報記憶部である。このクラスコード情報は、例えばECHONET Lite規格で規定されたクラスコードを示す。図4Aに示す例では、アドレス要求情報を、クラスコード「0x01」の機器3へマルチキャスト送信することにより機器3から取得したアドレス応答情報に含まれるアドレス情報が、ADR[0]、ADR[1]、ホスト情報が、IDE[0]、IDE[1]であり、アドレス要求情報を、クラスコード「0x01」の機器3へブロードキャスト送信することにより機器3から取得したアドレス応答情報に含まれるアドレス情報が、ADR[0]、ADR[1]、ADR[2]、ホスト情報が、IDE[0]、IDE[1]、IDE[2]であることを示している。
図3に戻って、クラス情報記憶部242は、予め設定された少なくとも1つのクラスを識別するクラスコードを示すクラスコード情報を記憶している。送信方法記憶部243は、例えば図4Bに示すように、アドレス要求情報を機器3へ送信する方法を示す送信方法情報を、アドレス要求情報の宛先の機器3の属するクラスを示すクラスコード情報に対応づけて記憶する。図4Bに示す例では、クラスコード「0x01」で識別されるクラス(例えば「空気調和機」を含む空調関連機器のクラス)に属する機器3へは、アドレス要求情報をブロードキャスト送信することを示している。一方、クラスコード「0x02」で識別されるクラス(例えば「照明器具」を含む住宅・設備関連機器のクラス)に属する機器3およびクラスコード「0x03」で識別されるクラス(例えば「冷蔵庫」を含む調理・家事関連機器のクラス)に属する機器3へは、アドレス要求情報をマルチキャスト送信することを示している。
機器情報記憶部231は、例えば図5に示すように、局所ネットワークNW2に接続された複数の機器3のMACアドレス情報を、局所ネットワークNW2を識別するネットワーク識別情報に対応付けて記憶する。また、機器情報記憶部231は、ネットワーク識別情報毎に、当該ネットワーク識別情報で識別される局所ネットワークNW2に接続された複数の機器3それぞれのアドレス情報、およびホスト情報を互いに対応づけて記憶している。図3に戻って、機器状態記憶部232は、機器3の機器状態を示すパラメータ情報を、機器3のホスト情報とホスト情報とに対応づけて記憶している。なお、機器情報記憶部231は、ホスト情報を、機器3をアプリケーション層で識別するホスト情報に対応づけて記憶していてもよい。
操作情報取得部211は、端末装置4から送信される操作情報を取得すると、取得した操作情報が機器3に対する設定変更操作を示す場合、当該操作情報に含まれる対象となる機器3のホスト情報および変更後の設定内容情報を機器制御部212に通知する。一方、操作情報取得部211は、取得した操作情報が前述の機器情報登録操作を示す場合、当該操作情報に含まれるホスト情報を機器情報要求部218に通知する。
機器情報要求部218は、操作情報取得部211からホスト情報が通知されると、通知されたホスト情報を機器情報記憶部231に記憶させる。そして、機器情報要求部218は、機器3に対して機器3を局所ネットワークNW2において識別する機器識別情報であるアドレス情報およびホスト情報の送信を要求する機器情報要求情報をアドレス取得部225に通知する。このアドレス情報は、IPアドレス情報およびMACアドレス情報を含む。
アドレス取得部225は、機器情報要求情報が通知されると、機器3が属するクラスに基づいて、前述のアドレス情報の送信を要求するアドレス要求情報を同一のクラスに属する機器3へ送信することにより、機器3から送信されるアドレス情報を含むアドレス応答情報を取得する機器識別情報取得部である。そして、アドレス取得部225は、アドレス要求情報を送信することによりアドレス応答情報を取得することを、クラス情報記憶部242が記憶するクラスコード情報に対応する少なくとも1つのクラス全てについて繰り返す。ここで、アドレス取得部225は、機器情報要求情報が通知されると、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出し、選出したクラスコード情報が示すクラスに属する機器3へマルチキャスト送信するアドレス要求情報を生成し、生成したアドレス要求情報をカプセル化電文送信部213に通知する。その後、アドレス取得部225は、カプセル化電文取得部214からアドレス応答情報を取得した後、選出したクラスコード情報が示すクラスに属する機器3へブロードキャスト送信するアドレス要求情報を生成し、生成したアドレス要求情報をカプセル化電文送信部213に通知する。一方、アドレス取得部225は、カプセル化電文取得部214からイベント発生通知情報が通知された場合、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出し、送信方法記憶部243が記憶する選出したクラスコード情報に対応する送信方法情報が示す送信方法で機器3へ送信されるアドレス要求情報を生成し、生成したアドレス要求情報をカプセル化電文送信部213に通知する。その後、アドレス取得部225は、カプセル化電文取得部214からアドレス応答情報が通知されると、通知されたアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したアドレス情報およびホスト情報を、アドレス要求情報の送信方法および送信先の機器3のクラスを示すクラスコード情報に対応づけてアドレス記憶部241に記憶させる。
機器制御部212は、操作情報取得部211から操作対象となる機器3の機種情報、ホスト情報および変更後の設定内容情報が通知されると、通知されたホスト情報および設定内容情報に基づいて制御情報を生成する。また、機器制御部212は、機器状態記憶部232が記憶する機器3それぞれのパラメータ情報に基づいて、機器3の制御内容の更新が必要であるか否かを判定する。そして、機器制御部212は、機器3の制御内容の更新が必要であると判定すると、機器情報記憶部231が記憶する制御対象の機器3に対応するホスト情報を含む、更新後の機器3の制御内容に対応する制御情報を生成する。そして、機器制御部212は、生成した制御情報に、機器情報記憶部231が記憶する制御対象の機器3のホスト情報に対応するアドレス情報を付加してからカプセル化電文送信部213に通知する。
カプセル化電文送信部213は、機器制御部212から制御情報が通知されると、通知された制御情報を暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行する。そして、カプセル化電文送信部213は、広域通信用ヘッダ情報に基づいて、カプセル化された制御情報を制御装置1へ送信する。また、カプセル化電文送信部213は、アドレス取得部225からアドレス要求情報が通知されると、通知されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行する。そして、カプセル化電文送信部213は、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する。
カプセル化電文取得部214は、制御装置1から送信されるカプセル化電文を取得すると、取得したカプセル化電文について広域通信用ヘッダ情報を解除するとともにカプセル化された電文の暗号化されたペイロードについて前述の共有鍵の情報を用いて復号処理を行う非カプセル化処理を実行する。ここで、カプセル化電文取得部214は、非カプセル化された電文がアドレス応答情報である場合、当該アドレス応答情報をアドレス取得部225に通知する。一方、カプセル化電文取得部214は、非カプセル化された電文が機器状態情報である場合、当該機器状態情報を機器状態更新部216に通知する。
送信方法設定部227は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、が一致する場合、その後、当該クラスに属する機器3へのアドレス要求情報の送信方法をマルチキャスト送信に設定する。一方、送信方法設定部227は、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、が不一致の場合、その後、当該クラスに属する機器3へのアドレス要求情報の送信方法をブロードキャスト送信に設定する。送信方法設定部227は、例えば図4Aに示すように、クラスコード「0x01」のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス情報と、クラスコード「0x01」のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス情報と、が不一致の場合、図4Bに示すように、ブロードキャスト送信を示す送信方法情報を、クラスコード「0x01」を示すクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、送信方法設定部227は、例えば図4Aに示すように、クラスコード「0x02」のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス情報と、クラスコード「0x02」のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス情報と、が一致する場合、図4Bに示すように、マルチキャスト送信を示す送信方法情報を、クラスコード「0x02」を示すクラスコード情報に対応づけて送信方法記憶部243に記憶させる。つまり、送信方法設定部227は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、を比較し、両者が一致する場合、対応するクラスコード情報の送信方法情報をマルチキャスト送信に設定し、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、送信方法設定部227は、前述の両者が不一致の場合、ブロードキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。
機器情報更新部215は、アドレス記憶部241が記憶する、各ホスト情報に対応する機器3のMACアドレス情報とIPアドレス情報とのいずれかが更新されると、送信方法記憶部243が記憶する各クラスコード情報に対応する送信方法情報を参照し、アドレス記憶部241が記憶する各クラスコード情報に対応づけられた2種類の送信方法それぞれに対応するアドレス情報およびホスト情報の中から、当該クラスコード情報に対応する送信方法情報が示す送信方法に対応するアドレス情報および関連情報を選出する。そして、機器情報更新部215は、選出したMACアドレス情報とIPアドレス情報とを用いて、機器情報記憶部231が記憶するIPアドレス情報とMACアドレス情報とを更新する。
機器状態更新部216は、カプセル化電文取得部214から機器状態情報が通知されると、通知された機器状態情報に含まれるパラメータ情報、機種情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけて機器状態記憶部232に記憶させる。
機器状態通知部217は、機器状態記憶部232が記憶するパラメータ情報および機種関連情報を含む機器状態通知情報を生成して端末装置4へ送信する。
次に、本実施の形態に係る機器管理システムの動作について図6から図10を参照しながら説明する。ここでは、局所ネットワークNW2に、互いに異なるクラスに属する機器3A、3Bが接続されている場合について説明する。まず、機器3の利用者が、新たに機器3を局所ネットワークNW2に加えてから、端末装置4の入力部に対して前述の機器情報登録操作を行ったとする。この場合、端末装置4が、利用者が機器情報登録操作により入力した新たに加えた機器3のホスト情報を含む操作情報を生成し(ステップS1)、生成された操作情報が、端末装置4からクラウドサーバ2へ送信される(ステップS2)。一方、クラウドサーバ2は、操作情報を取得すると、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出する(ステップS3)。ここでは、クラスコード情報が、空気調和機である機器3Aが属するクラスを示すものとする。次に、クラウドサーバ2は、選出したクラスコード情報を含み且つ宛先IPアドレスがマルチキャストアドレスに設定されたアドレス要求情報を生成する(ステップS4)。このアドレス要求情報は、例えば図7Aに示すように、送信元IPアドレスが制御装置1のIPアドレスに設定されるとともに、クラスコード情報を含む。図7Aに示す例では、クラスコード情報として、空気調和機を含む空調関連機器のクラスを示すクラスコード情報「0x01」が選出された場合を示している。図6に戻って、続いて、クラウドサーバ2は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS5)。その後、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS6)。
一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS7)。次に、非カプセル化されたアドレス要求情報が、制御装置1から空気調和機である機器3Aへマルチキャスト送信される(ステップS8)。一方、機器3Aは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS9)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS10)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS11)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2へ送信される(ステップS12)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS13)。続いて、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS14)。
その後、クラウドサーバ2は、選出したクラスコード情報を含み且つ宛先IPアドレスがブロードキャストアドレスに設定されたアドレス要求情報を生成する(ステップS15)。このアドレス要求情報は、例えば図7Bに示すように、送信元IPアドレスが制御装置1のIPアドレスに設定されるとともに、クラスコード情報を含む。図7Bに示す例では、クラスコード情報として、空気調和機を含む空調関連機器のクラスを示すクラスコード情報「0x01」が選出された場合を示している。図6に戻って、次に、クラウドサーバ2は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS16)。続いて、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS17)。一方、制御装置1は、図8に示すように、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS18)。続いて、非カプセル化されたアドレス要求情報が、制御装置1から空気調和機である機器3Aへブロードキャスト送信される(ステップS19)。一方、機器3Aは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS20)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS21)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS22)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2へ送信される(ステップS23)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS24)。続いて、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS25)。
その後、クラウドサーバ2は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、を比較する。そして、制御装置は、両者が一致する場合、マルチキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、制御装置1は、前述の両者が不一致の場合、ブロードキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる(ステップS26)。
次に、クラウドサーバ2は、クラス情報記憶部242が記憶するクラスコード情報の中から他の1つのクラスコード情報を選出する(ステップS27)。ここでは、クラスコード情報が、照明器具である機器3Bが属するクラスを示すものとする。続いて、クラウドサーバ2が、選出したクラスコード情報を含み且つ宛先IPアドレスがマルチキャストアドレスに設定されたアドレス要求情報を生成し(ステップS28)、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS29)。その後、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS30)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS31)。次に、非カプセル化されたアドレス要求情報が、制御装置1から照明器具である機器3Bへマルチキャスト送信される(ステップS32)。一方、機器3Bは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS33)、生成されたアドレス応答情報が、機器3Bから制御装置1へ送信される(ステップS34)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS35)。続いて、カプセル化されたアドレス応答情報が、図9に示すように、制御装置1からクラウドサーバ2へ送信される(ステップS36)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS37)。その後、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS38)。
次に、クラウドサーバ2が、選出したクラスコード情報を含み且つ宛先IPアドレスがブロードキャストアドレスに設定されたアドレス要求情報を生成し(ステップS39)、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS40)。続いて、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS41)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS42)。その後、非カプセル化されたアドレス要求情報が、制御装置1から照明器具である機器3Bへブロードキャスト送信される(ステップS43)。一方、機器3Bは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS44)、生成されたアドレス応答情報が、機器3Bから制御装置1へ送信される(ステップS45)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS46)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2へ送信される(ステップS47)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS48)。続いて、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS49)。
続いて、クラウドサーバ2は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、を比較する。そして、制御装置は、両者が一致する場合、マルチキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、両者が一致する場合、ブロードキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる(ステップS50)。
その後、クラウドサーバ2は、アドレス記憶部241が記憶する機器3A、3BのMACアドレス情報、IPアドレス情報およびホスト情報を用いて機器情報記憶部231が記憶するIPアドレス情報、MACアドレス情報およびホスト情報を更新する(ステップS51)。
次に、図10に示すように、機器3A、3Bまたは制御装置1との通信遮断、或いは、機器3A、3Bまたは制御装置1の再起動等の前述のアドレス更新イベントが発生したとする。この場合、ルータ8のDHCP機能部811が、ネットワークNW1に接続された機器3A、3Bおよび制御装置1それぞれに新たにIPアドレスが付与される。この場合、制御装置1は、アドレス更新イベントが発生したことを検知すると、イベント発生通知情報を生成する(ステップS52)。次に、制御装置1は、生成したイベント発生通知情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS53)。続いて、カプセル化されたイベント発生通知情報が、制御装置1からクラウドサーバ2へ送信される(ステップS54)。一方、クラウドサーバ2は、カプセル化されたイベント発生通知情報を取得すると、取得したイベント発生通知情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS55)。その後、クラウドサーバ2は、非カプセル化されたイベント発生通知情報に基づいて、アドレス更新イベントが発生したと判定する(ステップS56)。この場合、クラウドサーバ2は、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出する(ステップS57)。次に、クラウドサーバ2は、送信方法記憶部243が記憶する、選出したクラスコード情報に対応する送信方法情報に基づいて、選出したクラスコード情報を含み且つ宛先IPアドレスを送信方法情報が示す送信方法に対応したアドレスに設定したアドレス要求情報を生成する(ステップS58)。ここで、送信方法情報がマルチキャストを示す場合、宛先IPアドレスがマルチキャストアドレスに設定され、送信方法情報がブロードキャストを示す場合、宛先IPアドレスがブロードキャストアドレスに設定される。続いて、クラウドサーバ2は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS59)。続いて、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS60)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS61)。その後、非カプセル化されたアドレス要求情報が、制御装置1から機器3Aへ送信方法情報が示す送信方法で送信される(ステップS62)。一方、機器3Aは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS63)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS64)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS65)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2へ送信される(ステップS66)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS67)。次に、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS68)。
続いて、クラウドサーバ2は、図11に示すように、クラス情報記憶部242が記憶するクラスコード情報の中から他の1つのクラスコード情報を選出する(ステップS69)。その後、クラウドサーバ2が、送信方法記憶部243が記憶する、選出したクラスコード情報に対応する送信方法情報に基づいて、選出したクラスコード情報を含み且つ宛先IPアドレスを送信方法情報が示す送信方法に対応したアドレスに設定したアドレス要求情報を生成する(ステップS70)。次に、クラウドサーバ2は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS71)。続いて、カプセル化されたアドレス要求情報が、クラウドサーバ2から制御装置1へ送信される(ステップS72)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS73)。その後、非カプセル化されたアドレス要求情報が、制御装置1から機器3Bへ送信方法情報が示す送信方法で送信される(ステップS74)。一方、機器3Bは、アドレス要求情報を取得すると、アドレス要求情報に含まれるクラスコード情報が示すクラスが自機の属するクラスと一致する場合、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS75)、生成されたアドレス応答情報が、機器3Bから制御装置1へ送信される(ステップS76)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS77)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2へ送信される(ステップS78)。一方、クラウドサーバ2は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS79)。次に、クラウドサーバ2は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS80)。
続いて、クラウドサーバ2は、送信方法記憶部243が記憶する各クラスコード情報に対応する送信方法情報を参照し、アドレス記憶部241が記憶する各クラスコード情報に対応づけられた2種類の送信方法それぞれに対応するアドレス情報およびホスト情報の中から、当該クラスコード情報に対応する送信方法情報が示す送信方法に対応するアドレス情報および関連情報を選出する。そして、機器情報更新部215は、選出した機器3A、3BのMACアドレス情報、IPアドレス情報およびホスト情報を用いて機器情報記憶部231が記憶するIPアドレス情報、MACアドレス情報およびホスト情報を更新する(ステップS81)。
また、前述の機器状態通知時期が到来すると、例えば機器3Aが前述の機器状態情報を生成し(ステップS82)、生成された機器状態情報が、機器3Aから制御装置1へ送信される(ステップS83)。一方、制御装置1は、機器状態情報を取得すると、取得した機器状態情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS84)。その後、図12に示すように、カプセル化された機器状態情報が、制御装置1からクラウドサーバ2へ送信される(ステップS85)。一方、クラウドサーバ2は、機器状態情報を取得すると、取得した機器状態情報について広域通信用ヘッダ情報を解除してから前述の鍵情報を用いて復号処理を行うことで非カプセル化する(ステップS86)。次に、クラウドサーバ2は、機器状態情報に含まれる機器3Aのパラメータ情報と機種情報とホスト情報とを抽出して互いに対応づけて機器状態記憶部232に記憶させる(ステップS87)。
次に、クラウドサーバ2が、機器状態記憶部232が記憶する機器状態情報に基づいて、機器3Aの制御内容の更新が必要であると判定したとする(ステップS88)。この場合、クラウドサーバ2は、更新後の機器3Aの制御内容に対応する制御情報を生成し(ステップS89)、生成した制御情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS90)。続いて、カプセル化された制御情報が、クラウドサーバ2から制御装置1へ送信される(ステップS91)。一方、制御装置1は、カプセル化された制御情報を取得すると、取得した制御情報について広域通信用ヘッダ情報を解除してから前述の鍵情報を用いて復号処理を行うことで非カプセル化する(ステップS92)。その後、非カプセル化された制御情報が、制御情報に含まれる送信先のIPアドレス情報およびMACアドレス情報に基づいて、制御装置1から機器3Aへ送信される(ステップS93)。一方、機器3Aは、制御情報を取得すると、取得した制御情報に基づいて動作を開始する(ステップS94)。
次に、本実施の形態に係るクラウドサーバ2が実行する機器制御処理について図13および図14を参照しながら説明する。この機器制御処理は、例えばクラウドサーバ2において機器制御処理を実行するためのプログラムが起動された後、クラウドサーバ2との間でSSLハンドシェイクプロトコルが実行されクラウドサーバ2との間でコネクションが確立したことを契機として開始される。まず、操作情報取得部211は、端末装置4から送信される、機器情報登録操作を示す操作情報を取得したか否かを判定する(ステップS101)。ここで、操作情報取得部211が、機器情報登録操作を示す操作情報を取得していないと判定すると(ステップS101:No)、後述のステップS114の処理が実行される。一方、操作情報取得部211が、機器情報登録操作を示す操作情報を取得したと判定すると(ステップS101:Yes)、取得した操作情報に含まれるホスト情報を機器情報要求部218に通知する。そうすると、機器情報要求部218は、操作情報取得部211からホスト情報が通知されると、通知されたホスト情報を機器情報記憶部231に記憶させるとともに、機器情報要求情報をアドレス取得部225に通知する。そして、アドレス取得部225は、機器情報要求情報が通知されると、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出する(ステップS102)。
次に、アドレス取得部225は、宛先IPアドレスがマルチキャストアドレスに設定されたアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS103)。続いて、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得したか否かを判定する(ステップS106)。ここで、カプセル化電文取得部214が、アドレス応答情報を取得していないと判定すると(ステップS104:No)、後述のステップS106の処理が実行される。一方、カプセル化電文取得部214が、アドレス応答情報を取得したと判定すると(ステップS104:Yes)、当該アドレス応答情報をアドレス取得部225に通知する。そして、アドレス取得部225は、通知されたアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法および送信先の機器3のクラスを示すクラスコード情報に対応づけてアドレス記憶部241に記憶させる(ステップS105)。
次に、アドレス取得部225は、宛先IPアドレスがブロードキャストアドレスに設定されたアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS106)。続いて、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得すると(ステップS107)、当該アドレス応答情報をアドレス取得部225に通知する。そして、アドレス取得部225は、通知されたアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法および送信先の機器3のクラスを示すクラスコード情報に対応づけてアドレス記憶部241に記憶させる(ステップS108)。
その後、アドレス取得部225は、クラス情報記憶部242が記憶する全てのクラスコード情報それぞれが示すクラス全てについてアドレス応答情報を取得したか否かを判定する(ステップS109)。ここで、アドレス取得部225が、未だアドレス応答情報を取得していないクラスに属する機器3が存在すると判定すると(ステップS109:No)、再びステップS102の処理が実行される。一方、アドレス取得部225が、クラス情報記憶部242が記憶する全てのクラスコード情報それぞれが示すクラス全てについてアドレス応答情報を取得したと判定したとする(ステップS109:Yes)。この場合、送信方法設定部227は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3へマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3へブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、を比較することにより各クラスの送信方法情報を設定して当該送信方法情報を送信方法記憶部243に記憶させる(ステップS110)。ここで、送信方法設定部227は、前述の両者が一致する場合、対応するクラスコード情報の送信方法情報をマルチキャスト送信に設定し、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、送信方法設定部227は、前述の両者が不一致の場合、ブロードキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。
次に、機器情報更新部215は、送信方法記憶部243が記憶する各クラスコード情報に対応する送信方法情報を参照し、アドレス記憶部241が記憶する各クラスコード情報に対応づけられた2種類の送信方法それぞれに対応するアドレス情報およびホスト情報の中から、当該クラスコード情報に対応する送信方法情報が示す送信方法に対応するアドレス情報および機器識別情報を選出する。そして、機器情報更新部215は、選出したMACアドレス情報とIPアドレス情報とを用いて、機器情報記憶部231が記憶するIPアドレス情報とMACアドレス情報とを更新する(ステップS111)。
続いて、機器制御部212は、制御内容更新イベントが発生したか否かを判定する(ステップS112)。ここにおいて、機器制御部212は、操作情報取得部211から操作対象となる機器3のホスト情報および変更後の設定内容情報が通知された場合、或いは、機器状態記憶部232が記憶する機器3それぞれのパラメータ情報に基づいて、機器3の制御内容の更新が必要であると判定した場合、制御内容更新イベントが発生したと判定する。ここで、機器制御部212が、制御内容更新イベントが発生していないと判定すると(ステップS112:No)、後述のステップS114の処理が実行される。一方、機器制御部212は、制御内容更新イベントが発生したと判定すると(ステップS112:Yes)、機器情報記憶部231が記憶する制御対象の機器3に対応するホスト情報を含む、更新後の機器3の制御内容に対応する制御情報を生成する。そして、カプセル化電文送信部213が、生成された制御情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS113)。
その後、図14に示すように、アドレス取得部225は、前述のアドレス更新イベントが発生したか否かを判定する(ステップS114)。ここにおいて、アドレス取得部225は、カプセル化電文取得部214からイベント発生通知情報が通知された場合、アドレス更新イベントが発生したと判定する。ここで、アドレス取得部225が、アドレス更新イベントが発生していないと判定すると(ステップS114:No)、後述のステップS122の処理が実行される。一方、アドレス取得部225は、アドレス更新イベントが発生したと判定したとすると(ステップS114:Yes)、クラス情報記憶部242が記憶するクラスコード情報の中から1つのクラスコード情報を選出し(ステップS115)、送信方法記憶部243が記憶する選出したクラスコード情報に対応する送信方法情報が示す送信方法を特定する(ステップS116)。次に、アドレス取得部225は、宛先IPアドレスが特定した送信方法に対応するアドレスに設定されたアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS117)。続いて、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得すると(ステップS118)、当該アドレス応答情報をアドレス取得部225に通知する。そして、アドレス取得部225は、通知されたアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法および送信先の機器3のクラスを示すクラスコード情報に対応づけてアドレス記憶部241に記憶させる(ステップS119)。
その後、アドレス取得部225は、クラス情報記憶部242が記憶する全てのクラスコード情報それぞれが示すクラス全てについてアドレス応答情報を取得したか否かを判定する(ステップS120)。ここで、アドレス取得部225が、未だアドレス応答情報を取得していないクラスに属する機器3が存在すると判定すると(ステップS120:No)、再びステップS115の処理が実行される。一方、アドレス取得部225が、クラス情報記憶部242が記憶する全てのクラスコード情報それぞれが示すクラス全てについてアドレス応答情報を取得したと判定したとする(ステップS120:Yes)。この場合、機器情報更新部215は、アドレス記憶部241が記憶する、各ホスト情報に対応する機器3のMACアドレス情報とIPアドレス情報とのいずれかが更新されると、送信方法記憶部243が記憶する各クラスコード情報に対応する送信方法情報を参照し、アドレス記憶部241が記憶する各クラスコード情報に対応づけられた2種類の送信方法それぞれに対応するアドレス情報およびホスト情報の中から、当該クラスコード情報に対応する送信方法情報が示す送信方法に対応するアドレス情報および関連情報を選出する。そして、機器情報更新部215は、選出したMACアドレス情報とIPアドレス情報とを用いて、機器情報記憶部231が記憶するIPアドレス情報とMACアドレス情報とを更新する(ステップS121)。
続いて、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、機器状態情報を取得したか否かを判定する(ステップS122)。ここで、カプセル化電文取得部214が、機器状態情報を取得していないと判定すると(ステップS122:No)、再びステップS101の処理が実行される。一方、カプセル化電文取得部214は、機器状態情報を取得したと判定すると(ステップS122:Yes)、取得した機器状態情報を機器状態更新部216に通知する。そして、機器状態更新部216は、カプセル化電文取得部214から機器状態情報が通知されると、通知された機器状態情報に含まれるパラメータ情報、機種情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけて機器状態記憶部232に記憶させる(ステップS123)。その後、再びステップS101の処理が実行される。
以上説明したように、本実施の形態に係る機器管理システムによれば、アドレス取得部225が、機器3を当該機器3が属するクラスに基づいて、同一のクラスに属する機器3へアドレス要求情報を送信することにより、機器3から送信されるアドレス応答情報を取得することを、クラス情報記憶部242が記憶するクラスコード情報が示すクラス全てについて繰り返す。これにより、アドレス取得部225が、機器3から送信されるアドレス応答情報をクラス単位で取得することができるので、アドレス応答情報を同時期に多量に取得しようとする場合に生じるいわゆるアドレス応答情報の取りこぼしの可能性を低減できる。従って、機器情報記憶部231が記憶するアドレス情報およびホスト情報と、実際に局所ネットワークNW2に属する機器3のアドレス情報およびホスト情報と、の整合性を確保できるので、機器3を適切に管理することができる。
ところで、局所ネットワークNW2に属する機器3へアドレス要求情報を送信する場合、アドレス要求情報をマルチキャスト送信してもアドレス要求情報を取得できない機器3が存在する場合がある。例えばルータ8が、IGMP(Internet Group Management Protocol)に基づいて、複数の物理セグメントで構成される局所ネットワークNW2を管理している場合が挙げられる。この場合、局所ネットワークNW2にIGMPに対応していない機器3が存在する場合、当該機器へマルチキャスト送信されたアドレス要求情報が送達されない場合がある。このため、IGMPに対応していない機器3を適切に管理できない虞がある。
これに対して、本実施の形態に係る機器管理システムでは、局所ネットワークNW2内にIGMPに対応していない機器3が存在する場合、当該機器3の属するクラスと同一のクラスに属する機器3へアドレス要求情報をブロードキャスト送信する。これにより、例えばルータ8のIGMPスヌーピング機能が有効な場合であっても、アドレス要求情報を局所ネットワークNW2に属する全ての機器3へ送達させることができるので、局所ネットワークNW2に属する全ての機器3から送信されるアドレス応答情報を取得することができる。従って、機器3を適切に管理することができる。
また、本実施の形態に係る機器管理システムでは、IGMPに対応している機器3のみから構成されるクラスに対しては、アドレス要求情報をマルチキャスト送信する。これにより、局所ネットワークNW2におけるトラフィックを低減することができるので、通信遅延の発生を抑制することができる。
(実施の形態2)
本実施の形態に係る機器管理システムは、局所ネットワークNW2に属する機器3の数に応じてアドレス応答情報の内容を変更する点で、実施の形態1と相違する。
本実施の形態に係る機器管理システムは、局所ネットワークNW2に属する機器3の数に応じてアドレス応答情報の内容を変更する点で、実施の形態1と相違する。
本実施の形態に係る機器管理システムは、図15に示すように、クラウドサーバ2002と、クラウドサーバ2002から取得した制御情報を機器3へ送信することにより機器3の動作を制御する制御装置1と、を備える。なお、図15において、実施の形態1と同様の構成については図3と同一の符号を付している。また、クラウドサーバ2002は、実施の形態1で説明したクラウドサーバ2と同様のハードウェア構成を有する。そこで、本実施の形態に係るハードウェア構成は、図2と同一の符号を用いて説明する。
クラウドサーバ2002では、CPU201が、補助記憶部203が記憶するプログラムを主記憶部202に読み込んで実行することにより、操作情報取得部211、機器制御部212、カプセル化電文送信部213、カプセル化電文取得部214、機器情報更新部215、機器状態更新部216、機器状態通知部217、機器情報要求部218、アドレス取得部2225、送信方法設定部227および機器数特定部2219として機能する。
アドレス取得部2225は、局所ネットワークNW2に属する機器3の機器数が予め設定された基準機器数以上である場合、実施の形態1で説明したように、機器3が属するクラスに基づいて、機器3のアドレス情報の送信を要求するアドレス要求情報を同一のクラスに属する機器3へ送信することにより、機器3から送信されるアドレス情報を含むアドレス応答情報を取得することを、クラス情報記憶部242が記憶するクラスコード情報に対応する少なくとも1つのクラス全てについて繰り返す。一方、アドレス取得部2225は、局所ネットワークNW2に属する機器3の機器数が予め設定された基準機器数未満である場合、アドレス要求情報を、局所ネットワークNW2に属する機器3全てへ送信することにより、全ての機器3から一斉にアドレス応答情報を取得する。アドレス取得部2225は、機器情報要求部218から機器情報要求情報が通知された場合、或いは、カプセル化電文取得部214からイベント発生通知情報が通知された場合、機器数要求情報を機器数特定部2219に通知することにより、機器数特定部2219から後述の機器数情報を取得する。そして、アドレス取得部2225は、取得した機器数情報が示す機器数が基準機器数以上であるか否かを判定する。そして、アドレス取得部2225は、カプセル化電文取得部214から通知されるアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したアドレス情報およびホスト情報を、アドレス要求情報の送信方法および送信先の機器3のクラスを示すクラスコード情報に対応づけてアドレス記憶部241に記憶させる。
機器数特定部2219は、アドレス取得部2225から機器数要求情報が通知されると、機器情報記憶部231が記憶する、制御装置1とともに局所ネットワークNW2に属する機器3の機種情報およびホスト情報の組み合わせの数に基づいて機器数を特定し、特定した機器数を示す機器数情報をアドレス取得部2225に通知する。
次に、本実施の形態に係る制御システムの動作について図16から図19を参照しながら説明する。なお、図16から図19において、実施の形態1と同様の処理については図6、図8から図12と同一の符号を付している。まず、実施の形態1で説明したステップS1、S2の処理が実行されると、クラウドサーバ2002は、機器情報記憶部231が記憶する、制御装置1とともに局所ネットワークNW2に属する機器3の機種情報およびホスト情報の組み合わせの数に基づいて機器数を特定する(ステップS2001)。ここで、クラウドサーバ2002が、機器数情報が示す機器数Neが予め設定された基準機器数Neth未満であると判定したとする(ステップS2002)。この場合、クラウドサーバ2002は、宛先IPアドレスがマルチキャストアドレスに設定されたアドレス要求情報を生成する(ステップS2003)。次に、クラウドサーバ2002は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化し(ステップS2004)、カプセル化されたアドレス要求情報が、クラウドサーバ2002から制御装置1へ送信される(ステップS2005)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2006)。その後、非カプセル化されたアドレス要求情報が、制御装置1から局所ネットワークNW2に属する全ての機器3A、3Bへマルチキャスト送信される(ステップS2007、S2008)。ここで、前述のアドレス要求情報では、クラスコード情報が指定されていない。このため、局所ネットワークNW2に属する互いに属するクラスが異なる機器3A、3Bの全てが、当該アドレス要求情報を取得すると、これに応じて、アドレス応答情報を生成する。従って、機器3Aは、アドレス要求情報を取得すると、これに応じて、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2009)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS2010)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2011)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2002へ送信される(ステップS2012)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2013)。続いて、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2014)。また、機器3Bも、アドレス要求情報を取得すると、これに応じて、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2015)、生成されたアドレス応答情報が、機器3Bから制御装置2001へ送信される(ステップS2016)。一方、制御装置1は、アドレス応答情報を取得すると、図17に示すように、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2017)。その後、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2002へ送信される(ステップS2018)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2019)。次に、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2020)。
続いて、クラウドサーバ2002は、宛先IPアドレスがブロードキャストアドレスに設定されたアドレス要求情報を生成する(ステップS2021)。その後、クラウドサーバ2002は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2022)。次に、カプセル化されたアドレス要求情報が、クラウドサーバ2002から制御装置1へ送信される(ステップS2023)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2024)。その後、非カプセル化されたアドレス要求情報が、制御装置1から局所ネットワークNW2に属する全ての機器3A、3Bへブロードキャスト送信される(ステップS2025、S2026)。一方、機器3Aは、アドレス要求情報を取得すると、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2027)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS2028)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2029)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2002へ送信される(ステップS2030)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2031)。続いて、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2032)。また、機器3Bも、アドレス要求情報を取得すると、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2033)、生成されたアドレス応答情報が、機器3Bから制御装置1へ送信される(ステップS2034)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2035)。その後、カプセル化されたアドレス応答情報が、図18に示すように、制御装置1からクラウドサーバ2002へ送信される(ステップS2036)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2037)。続いて、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2038)。
その後、クラウドサーバ2002は、アドレス記憶部241が記憶する、アドレス要求情報を同一のクラスに属する機器3A、3Bへマルチキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、アドレス要求情報を同一のクラスに属する機器3A、3Bへブロードキャスト送信することにより取得したアドレス応答情報に含まれるアドレス情報と、を比較する。そして、制御装置は、両者が一致する場合、マルチキャスト送信を示す送信方法情報を、アドレス要求情報の送信先の機器3のクラスコード情報に対応づけて送信方法記憶部243に記憶させる。一方、制御装置1は、前述の両者が不一致の場合、ブロードキャスト送信を示す送信方法情報を送信方法記憶部243に記憶させる(ステップS2039)。
次に、クラウドサーバ2002は、送信方法記憶部243が記憶する送信方法情報を参照して、アドレス記憶部241が記憶するアドレス情報およびホスト情報の中から、送信方法情報に対応づけられたアドレス情報およびホスト情報を選出する。そして、機器情報更新部215は、選出した機器3A、3BのMACアドレス情報、IPアドレス情報およびホスト情報を用いて機器情報記憶部231が記憶するIPアドレス情報、MACアドレス情報およびホスト情報を更新する(ステップS2040)。
その後、実施の形態1で説明したアドレス更新イベントが発生したとする。この場合、クラウドサーバ2002は、機器情報記憶部231が記憶する、制御装置1とともに局所ネットワークNW2に属する機器3の機種情報およびホスト情報の組み合わせの数に基づいて機器数を特定する(ステップS2041)。ここで、クラウドサーバ2002が、機器数情報が示す機器数Neが予め設定された基準機器数Neth未満であると判定したとする(ステップS2042)。この場合、クラウドサーバ2002は、送信方法記憶部243が記憶する送信方法情報に基づいて、宛先IPアドレスを送信方法情報が示す送信方法に対応したアドレスに設定したアドレス要求情報を生成する(ステップS2043)。次に、クラウドサーバ2002は、生成したアドレス要求情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2044)。そして、カプセル化されたアドレス要求情報が、クラウドサーバ2002から制御装置1へ送信される(ステップS2045)。一方、制御装置1は、カプセル化されたアドレス要求情報を取得すると、取得したアドレス要求情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2046)。その後、非カプセル化されたアドレス要求情報が、制御装置1から機器3A、3B全てへ送信方法情報が示す送信方法で送信される(ステップS2047、S2048)。一方、機器3Aは、アドレス要求情報を取得すると、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2049)、生成されたアドレス応答情報が、機器3Aから制御装置1へ送信される(ステップS2050)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2051)。次に、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2002へ送信される(ステップS2052)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、図19に示すように、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2053)。続いて、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2054)。また、機器3Bも、アドレス要求情報を取得すると、自機のIPアドレス情報とMACアドレス情報とホスト情報とを含むアドレス応答情報を生成し(ステップS2055)、生成されたアドレス応答情報が、機器3Bから制御装置1へ送信される(ステップS2056)。一方、制御装置1は、アドレス応答情報を取得すると、取得したアドレス応答情報を前述の鍵情報を用いて暗号化してから広域通信用ヘッダ情報を付加する形でカプセル化する(ステップS2057)。その後、カプセル化されたアドレス応答情報が、制御装置1からクラウドサーバ2002へ送信される(ステップS2058)。一方、クラウドサーバ2002は、カプセル化されたアドレス応答情報を取得すると、取得したアドレス応答情報に付加された広域通信用ヘッダ情報を解除してから鍵情報を用いて復号することで非カプセル化する(ステップS2059)。続いて、クラウドサーバ2002は、非カプセル化されたアドレス応答情報に含まれるIPアドレス情報、MACアドレス情報およびホスト情報を抽出し、抽出したこれらの情報を互いに対応づけてアドレス記憶部241に記憶させる(ステップS2060)。その後、実施の形態1で説明したステップS80以降の一連の処理が実行される。
次に、本実施の形態に係るクラウドサーバ2002が実行する機器制御処理について図20および図21を参照しながら説明する。なお、図20および図21において実施の形態1と同様の処理については図13および図14と同一の符号を付している。まず、操作情報取得部211は、ステップS101において、機器情報登録操作を示す操作情報を取得したと判定し(ステップS101:Yes)、取得した操作情報に含まれるホスト情報を機器情報要求部218に通知し、機器情報要求部218が、操作情報取得部211からホスト情報が通知されると、通知されたホスト情報を機器情報記憶部231に記憶させるとともに、機器情報要求情報をアドレス取得部225に通知したとする。この場合、アドレス取得部2225が、機器数要求情報を機器数特定部2219に通知する。そして、機器数特定部2219は、機器情報記憶部231が記憶する、制御装置1とともに局所ネットワークNW2に属する機器3の機種情報およびホスト情報の組み合わせの数に基づいて機器数を特定する(ステップS2101)、特定した機器数を示す機器数情報をアドレス取得部2225に通知する。次に、アドレス取得部2225は、通知された機器数情報が示す機器数が基準機器数以上であるか否かを判定する(ステップS2102)。ここで、アドレス取得部2225は、機器数情報が示す機器数が基準機器数以上であると判定すると(ステップS2102:Yes)、ステップS102以降の一連の処理が実行される。一方、アドレス取得部2225は、機器数情報が示す機器数が基準機器数未満であると判定すると(ステップS2102:No)、宛先IPアドレスがマルチキャストアドレスに設定され、局所ネットワークNW2に属する機器3全てへマルチキャスト送信されるアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS2103)。続いて、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得したか否かを判定する(ステップS2104)。ここで、カプセル化電文取得部214が、アドレス応答情報を取得していないと判定すると(ステップS2104:No)、後述のステップS2106の処理が実行される。一方、カプセル化電文取得部214が、アドレス応答情報を取得したと判定すると(ステップS2104:Yes)、当該アドレス応答情報をアドレス取得部225に通知する。そして、アドレス取得部225は、通知されたアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法を示す送信方法情報に対応づけてアドレス記憶部241に記憶させる(ステップS2105)。
その後、アドレス取得部2225は、宛先IPアドレスがブロードキャストアドレスに設定され、局所ネットワークNW2に属する機器3全てへブロードキャスト送信されるアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS2106)。次に、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得すると(ステップS2107)、取得したアドレス応答情報をアドレス取得部2225に通知する。そして、アドレス取得部2225は、通知されるアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法を示す送信方法情報に対応づけてアドレス記憶部241に記憶させる(ステップS2108)。次に、ステップS110からS114までの一連の処理が実行される。
そして、図21に示すように、アドレス取得部2225は、ステップS114において、アドレス更新イベントが発生したと判定すると(ステップS114:Yes)、機器数要求情報を機器数特定部2219に通知する。そして、機器数特定部2219は、機器情報記憶部231が記憶する、制御装置1とともに局所ネットワークNW2に属する機器3の機種情報およびホスト情報の組み合わせの数に基づいて機器数を特定する(ステップS2109)、特定した機器数を示す機器数情報をアドレス取得部2225に通知する。次に、アドレス取得部2225は、通知された機器数情報が示す機器数が基準機器数以上であるか否かを判定する(ステップS2110)。ここで、アドレス取得部2225は、機器数情報が示す機器数が基準機器数以上であると判定すると(ステップS2110:Yes)、ステップS115以降の一連の処理が実行される。一方、アドレス取得部2225は、機器数情報が示す機器数が基準機器数未満であると判定すると(ステップS2110:No)、宛先IPアドレスが、送信方法記憶部243が記憶する送信方法情報が示す送信方法を特定し(ステップS2111)、特定した送信方法に対応するアドレスに設定されたアドレス要求情報を生成する。そして、カプセル化電文送信部213が、生成されたアドレス要求情報を前述の鍵情報を用いて暗号化してから前述の広域通信用ヘッダ情報を付加するカプセル化処理を実行してから、広域通信用ヘッダ情報に基づいて、カプセル化されたアドレス要求情報を制御装置1へ送信する(ステップS2112)。その後、カプセル化電文取得部214は、取得したカプセル化電文を非カプセル化することにより、アドレス応答情報を取得すると(ステップS2113)、取得したアドレス応答情報をアドレス取得部2225に通知する。そして、アドレス取得部2225は、通知されるアドレス応答情報に含まれるアドレス情報およびホスト情報を抽出し、抽出したこれらの情報をアドレス要求情報の送信方法を示す送信方法情報に対応づけてアドレス記憶部241に記憶させる(ステップS2114)。その後、ステップS121以降の一連の処理が実行される。
以上説明したように、本実施の形態に係る機器管理システムによれば、局所ネットワークNW2に属する機器3の機器数に応じて送信方法を選択する。具体的には、制御装置2001が、機器3の数が少なく機器3から同時期にアドレス応答情報を取得してもいわゆる取りこぼしの可能性が低い場合、アドレス要求情報を局所ネットワークNW2に属する機器3全てへ送信することにより全ての機器3から送信されるアドレス応答情報を比較的短時間で取得する。このため、局所ネットワークNW2に新たな機器3が加わったりアドレス更新イベントが発生したりした場合において、クラウドサーバ2002の機器情報記憶部231が記憶するアドレス情報、ホスト情報を迅速に更新できるという利点がある。
以上、本開示の各実施の形態について説明したが、本開示は前述の各実施の形態によって限定されるものではない。例えば、各実施の形態において、操作情報が、局所ネットワークNW2に新たに機器3が追加されたことに伴うものであるか否かを示すフラグ情報を含み、クラウドサーバ2、2002が、端末装置4から送信される操作情報に含まれるフラグ情報が新たな機器3の追加を示す場合のみ、機器3へのアドレス要求情報の送信方法を設定するものであってもよい。
本構成によれば、機器3へのアドレス要求情報の送信方法が再設定される頻度を低減することができるのでその分、機器情報記憶部231が記憶するアドレス情報、ホスト情報の更新に要する時間を短縮することができる。
各実施の形態において、機器3が、機器3に付与されたIPアドレスが変更されたか否かを監視し、機器3に付与されたIPアドレスが変更された場合、IPアドレスが変更されたことを通知するアドレス変更通知情報を生成して、制御装置1を送信先として送信するものであってもよい。この場合、イベント発生検知部114が、機器3からアドレス変更通知情報を取得すると、前述のアドレス更新イベントが発生したと判定するものであってもよい。また、各実施の形態において、イベント発生検知部114が、制御装置1に付与されたIPアドレスが変更されたと判定されると、アドレス更新イベントが発生したと判定するものであってもよい。
本構成によれば、アドレス更新イベントの発生を直接的に検知することができるので、アドレス更新イベントの検知確度を高めることができ、その分、機器情報記憶部231が記憶するアドレス情報、ホスト情報の無駄な更新を抑制できる。
各実施の形態では、クラウドサーバ2、2002が、機器情報記憶部231を備える例について説明したが、これに限らず、制御装置1が機器情報記憶部を備えるものであってもよい。例えば、制御装置1が、局所ネットワークNW2に属する機器3のアドレス情報およびホスト情報を記憶する機器情報記憶部と、機器3が属するクラスに基づいて、機器3に対してアドレス要求情報を同一のクラスに属する機器3へ送信することにより、機器3から送信されるアドレス情報、ホスト情報を含むアドレス応答情報を取得することを、クラス情報記憶部242が記憶するクラスコード情報が示すクラス全てについて繰り返すアドレス取得部と、アドレス応答情報に含まれるアドレス情報、ホスト情報を用いて機器情報記憶部が記憶するアドレス情報、ホスト情報を更新する機器情報更新部と、を備えるものであってもよい。
各実施の形態では、IPアドレスが、IPv4のIPアドレスとして説明したが、これに限定されるものではなく、IPv6のIPアドレスを採用してもよい。
また、本開示に係る制御装置1、2001、クラウドサーバ2、2002の各種機能は、ソフトウェア、ファームウェア、またはソフトウェアとファームウェアとの組み合わせにより実現されてもよい。この場合、ソフトウェアまたはファームウェアは、プログラムとして記述され、プログラムを、フレキシブルディスク、CD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、MO(Magneto-Optical Disc)等のコンピュータ読み取り可能な記録媒体に格納して配布し、そのプログラムをコンピュータに読み込んでインストールすることにより、前述の各機能を実現することができるコンピュータを構成してもよい。そして、各機能をOS(Operating System)とアプリケーションとの分担、またはOSとアプリケーションとの協働により実現する場合には、OS以外の部分のみを記録媒体に格納してもよい。
さらに、搬送波に各プログラムを重畳し、通信ネットワークを介して配信することも可能である。例えば、通信ネットワーク上の掲示板(BBS,Bulletin Board System)に当該プログラムを掲示し、ネットワークを介して当該プログラムを配信してもよい。そして、これらのプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、前述の処理を実行できるようにしてもよい。
本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の 形態及び変形が可能とされるものである。また、上述した実施の形態は、本 開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示され る。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される 様々な変形が、本開示の範囲内とみなされる。
本開示は、住宅内に設置されたHEMSを備える制御システムとして好適である。
1 制御装置、2,2002 クラウドサーバ、3,3A,3B 機器、4 端末装置、8 ルータ、101,201 CPU、102,202 主記憶部、103,203 補助記憶部、107,206 通信部、109,209 バス、111,2111 カプセル化電文取得部、112 電文送信部、113 電文取得部、114 イベント発生検知部、116 カプセル化電文送信部、211 操作情報取得部、212 機器制御部、213 カプセル化電文送信部、214 カプセル化電文取得部、215 機器情報更新部、216 機器状態更新部、217 機器状態通知部、218 機器情報要求部、225,2225 アドレス取得部、227 送信方法設定部、231 機器情報記憶部、232 機器状態記憶部、241 アドレス記憶部、242 クラス情報記憶部、243 送信方法記憶部、811 DHCP機能部、2219 機器数特定部、NW1 広域ネットワーク、NW2 局所ネットワーク
Claims (6)
- 機器が属するネットワークにおいて前記機器に付与される前記機器を識別する機器識別情報を管理する機器管理システムであって、
前記ネットワークに属する前記機器の前記機器識別情報を記憶する機器情報記憶部と、
前記機器を予め設定された分類基準で分類したときに前記機器が属するクラスに基づいて、前記機器に対して前記機器識別情報の送信を要求する機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、
前記機器識別情報応答情報に含まれる前記機器識別情報を用いて前記機器情報記憶部が記憶する前記機器識別情報を更新する機器情報更新部と、を備える、
機器管理システム。 - 前記機器識別情報取得部は、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へマルチキャスト送信することにより、前記機器から送信される前記機器識別情報応答情報を取得するとともに、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へブロードキャスト送信することにより、前記機器から送信される前記機器識別情報応答情報を取得し、
前記機器識別情報要求情報を同一の前記クラスに属する前記機器へマルチキャスト送信することにより取得した前記機器識別情報応答情報に含まれる前記機器識別情報と、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へブロードキャスト送信することにより取得した前記機器識別情報応答情報に含まれる前記機器識別情報と、が一致する場合、その後、前記クラスに属する前記機器への前記機器識別情報要求情報の送信方法をマルチキャスト送信に設定し、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へマルチキャスト送信することにより取得した前記機器識別情報応答情報に含まれる前記機器識別情報と、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へブロードキャスト送信することにより取得した前記機器識別情報応答情報に含まれる前記機器識別情報と、が不一致の場合、その後、前記クラスに属する前記機器への前記機器識別情報要求情報の送信方法をブロードキャスト送信に設定する送信方法設定部を更に備える、
請求項1に記載の機器管理システム。 - 前記機器識別情報取得部は、前記ネットワークに属する前記機器の数である機器数が予め設定された基準機器数以上である場合、前記機器が属するクラスに基づいて、前記機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、前記少なくとも1つのクラス全てについて繰り返し、前記機器数が前記基準機器数未満である場合、前記機器識別情報要求情報を前記ネットワークに属する前記機器の全てへ送信することにより、前記機器から送信される前記機器識別情報応答情報を取得する、
請求項1または2に記載の機器管理システム。 - 前記機器識別情報要求情報を前記機器へマルチキャスト送信することにより前記機器から取得した前記機器識別情報と、前記機器識別情報要求情報を前記機器へブロードキャスト送信することにより前記機器から取得した前記機器識別情報と、を、前記機器識別情報要求情報の送信方法を示す送信方法情報に対応づけて記憶する機器識別情報記憶部と、
前記送信方法設定部により設定された前記機器識別情報要求情報の送信方法を示す送信方法情報を記憶する送信方法記憶部と、を更に備え、
前記機器情報更新部は、前記機器識別情報記憶部が記憶する前記機器識別情報の中から、前記送信方法記憶部が記憶する送信方法情報に対応づけられた前記機器識別情報を用いて前記機器情報記憶部が記憶する前記機器識別情報を更新する、
請求項2に記載の機器管理システム。 - 機器が属するネットワークにおいて前記機器に付与される前記機器を識別する機器識別情報を管理する機器管理装置であって、
前記ネットワークに属する前記機器の前記機器識別情報を記憶する機器情報記憶部と、
前記機器を予め設定された分類基準で分類したときに前記機器が属するクラスに基づいて、前記機器に対して前記機器識別情報の送信を要求する機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返す機器識別情報取得部と、
前記機器識別情報応答情報に含まれる前記機器識別情報を用いて前記機器情報記憶部が記憶する前記機器識別情報を更新する機器情報更新部と、
を備える機器管理装置。 - 機器が属するネットワークにおいて前記機器に付与される前記機器を識別する機器識別情報を管理する機器管理方法であって、
前記機器を予め設定された分類基準で分類したときに前記機器が属するクラスに基づいて、前記機器に対して前記機器識別情報の送信を要求する機器識別情報要求情報を同一の前記クラスに属する前記機器へ送信することにより、前記機器から送信される前記機器識別情報を含む機器識別情報応答情報を取得することを、予め設定された少なくとも1つのクラス全てについて繰り返すステップと、
前記機器識別情報応答情報に含まれる前記機器識別情報を用いて前記ネットワークに属する前記機器の前記機器識別情報を記憶する機器情報記憶部が記憶する前記機器識別情報を更新するステップと、を含む、
機器管理方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/015424 WO2025220180A1 (ja) | 2024-04-18 | 2024-04-18 | 機器管理システム、機器管理装置および機器管理方法 |
| JP2025542119A JP7745820B1 (ja) | 2024-04-18 | 2024-04-18 | 機器管理システム、機器管理装置および機器管理方法 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2024/015424 WO2025220180A1 (ja) | 2024-04-18 | 2024-04-18 | 機器管理システム、機器管理装置および機器管理方法 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025220180A1 true WO2025220180A1 (ja) | 2025-10-23 |
Family
ID=97214665
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2024/015424 Pending WO2025220180A1 (ja) | 2024-04-18 | 2024-04-18 | 機器管理システム、機器管理装置および機器管理方法 |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7745820B1 (ja) |
| WO (1) | WO2025220180A1 (ja) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019117587A (ja) * | 2017-12-27 | 2019-07-18 | パナソニックIpマネジメント株式会社 | 制御装置およびプログラム |
| JP2022161917A (ja) * | 2017-11-29 | 2022-10-21 | パナソニックIpマネジメント株式会社 | 便座システム |
| JP2023088763A (ja) * | 2021-12-15 | 2023-06-27 | パナソニックIpマネジメント株式会社 | 制御装置、機器 |
-
2024
- 2024-04-18 JP JP2025542119A patent/JP7745820B1/ja active Active
- 2024-04-18 WO PCT/JP2024/015424 patent/WO2025220180A1/ja active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2022161917A (ja) * | 2017-11-29 | 2022-10-21 | パナソニックIpマネジメント株式会社 | 便座システム |
| JP2019117587A (ja) * | 2017-12-27 | 2019-07-18 | パナソニックIpマネジメント株式会社 | 制御装置およびプログラム |
| JP2023088763A (ja) * | 2021-12-15 | 2023-06-27 | パナソニックIpマネジメント株式会社 | 制御装置、機器 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2025220180A1 (ja) | 2025-10-23 |
| JP7745820B1 (ja) | 2025-09-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Hui et al. | Multicast protocol for low-power and lossy networks (MPL) | |
| KR100542341B1 (ko) | 비쥐피 프로토콜을 분산 처리하는 장치 및 그 방법 | |
| US9866522B2 (en) | Method to control dynamic host configuration protocol pool exhaustion in dynamic network environments | |
| US8321586B2 (en) | Distributed storage system, node device, recording medium in which node processing program is recorded, and address information change notifying method | |
| JP2004242063A (ja) | データ生成装置 | |
| US9756148B2 (en) | Dynamic host configuration protocol release on behalf of a user | |
| PT1314331E (pt) | Método e equipamento para efectuar o controlo de cobertura para serviços multidifusão numa rede sem fios | |
| US7203492B2 (en) | Mobile communication method and system | |
| US20070286209A1 (en) | System and method for handling address resolution protocol requests | |
| US7792984B2 (en) | Systems and methods for the distribution of bulk data using multicast routing that mitigates network traffic on subnets | |
| JP2003516034A (ja) | ルート発見機構のトリガとしての同報通信 | |
| CN115695374B (zh) | 一种IPv6子网前缀通告实现方法、装置、设备及存储介质 | |
| US7764683B2 (en) | Reliable multicast operating system (OS) provisioning | |
| JP7745820B1 (ja) | 機器管理システム、機器管理装置および機器管理方法 | |
| CN1327671C (zh) | 用于无线移动自组网络的服务搜索系统及其服务搜索方法 | |
| JP4481499B2 (ja) | 階層マルチキャスティング | |
| WO2023248382A1 (ja) | 制御装置、制御システム、制御方法およびプログラム | |
| KR100356954B1 (ko) | 멀티캐스트 데이터 처리 방법 | |
| JP7362001B1 (ja) | 制御装置、制御システム、制御方法およびプログラム | |
| McAuley et al. | Mobile multicast proxy | |
| JP7612028B1 (ja) | 通信システム、通信制御方法およびプログラム | |
| WO2023181339A1 (ja) | 通信システム、通信制御装置、サーバ、通信制御方法およびプログラム | |
| JP7433559B1 (ja) | 通信制御装置、通信システム、通信制御方法およびプログラム | |
| Li et al. | iCast: dynamic information-centric cross-layer multicast for wireless edge network | |
| JP7475558B1 (ja) | 機器管理システムおよび機器管理方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2025542119 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2025542119 Country of ref document: JP |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24935907 Country of ref document: EP Kind code of ref document: A1 |