WO2023238298A1 - Control device, control system, apparatus control method, and program - Google Patents

Control device, control system, apparatus control method, and program Download PDF

Info

Publication number
WO2023238298A1
WO2023238298A1 PCT/JP2022/023178 JP2022023178W WO2023238298A1 WO 2023238298 A1 WO2023238298 A1 WO 2023238298A1 JP 2022023178 W JP2022023178 W JP 2022023178W WO 2023238298 A1 WO2023238298 A1 WO 2023238298A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
virtual device
virtual
devices
status
Prior art date
Application number
PCT/JP2022/023178
Other languages
French (fr)
Japanese (ja)
Inventor
雄喜 小川
正裕 石原
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2022567654A priority Critical patent/JP7221467B1/en
Priority to PCT/JP2022/023178 priority patent/WO2023238298A1/en
Publication of WO2023238298A1 publication Critical patent/WO2023238298A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the present disclosure relates to a control device, a control system, a device control method, and a program.
  • An electrical equipment status information collection system includes a server computer that acquires the amount of power consumed by the electrical equipment or the status of the power supply through a virtual equipment that is a software object that includes a method for acquiring the status information of the electrical equipment.
  • a server computer has a function of creating an included virtual device that holds state information acquired via a virtual device corresponding to each of at least one electrical device that can communicate with the server computer. Status information of at least one electrical device that can communicate with the device is provided to other server computers via the created included virtual device.
  • the present disclosure has been made in view of the above reasons, and aims to provide a control device, a control method, and a program that allow a user to easily grasp the overall cooperation status of multiple devices or the environment realized by multiple devices. purpose.
  • a control device includes: a device status acquisition unit that acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed; The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the information.
  • the virtual device state information generation unit generates the device state information of each of the plurality of devices based on the method information that defines the processing content to be executed by the virtual device on the device state information of each of the plurality of devices. , generates virtual device state information having properties different from the device state information of each of the plurality of devices.
  • method information it is possible to define a process for generating virtual device state information indicating the cooperation status of the entire plurality of devices or the environmental parameters of the environment in which the plurality of devices are installed from the device state information of each of the plurality of devices.
  • the virtual device state information generation unit can generate virtual device state information indicating the cooperation status of the entire plurality of devices or the environmental parameters of the environment in which the plurality of devices are installed. Therefore, the user can easily grasp the cooperative state of the entire plurality of devices or the environment in which the plurality of devices are installed, which cannot be directly grasped from the device status information of each of the plurality of devices.
  • a diagram illustrating an example of a configuration of a control system according to an embodiment of the present disclosure Block diagram showing the hardware configuration of a control system according to an embodiment
  • Block diagram showing the functional configuration of a control system according to an embodiment A diagram showing an example of information stored in the device state storage unit of the cloud server according to the embodiment.
  • the control device acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices that indicates the environment in which each of the plurality of devices is installed.
  • a device status acquisition unit and method information that defines the processing content to be executed by at least one virtual device on the device status information using the device status acquisition unit and the properties of the device status information of each of the multiple devices.
  • a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the state information.
  • “virtual equipment” refers to a virtual equipment different from actual equipment that has information including environmental parameters such as temperature information of each of multiple actual equipments, and properties of each equipment state such as operation mode. It is defined as a device.
  • the control system includes a cloud server 1 that controls a plurality of devices 3, and a terminal device 5.
  • the device 3 is connected to the local network NW2 via a communication adapter 42.
  • the local network NW2 is configured of a wireless LAN (Local Area Network) or a wired LAN.
  • the local network NW2 is connected to a wide area network NW1 such as the Internet via a broadband router (hereinafter referred to as "BBR") 41.
  • BBR broadband router
  • Cloud server 1 and terminal device 5 are connected to wide area network NW1.
  • the plurality of devices 3 are, for example, an air conditioner 3A, a humidifier 3B, a temperature sensor 3C, and an air cleaner 3D.
  • Each of the communication adapters 42 includes a communication module for communicating with the BBR 41, and communicates with the cloud server 1 using communication protocols such as HTTP(S), MQTT, and WebSocket.
  • Each of the devices 3 is equipped with a storage unit (not shown), and periodically stores information indicating at least one of the device status of the device and environmental parameters indicating the environment in which the device is installed. The information is stored in the storage unit in chronological order in association with time information indicating the time when the information was generated.
  • the information indicating the device state includes information indicating the ON/OFF state of the device 3, set temperature, operation mode, error details, etc.
  • the device 3 may store only information indicating at least one of the most recent device state of the device and environmental parameters in the storage unit in association with the above-mentioned timing information. Further, the information indicating the environmental parameters includes information indicating the temperature inside the room where the device 3 is installed, the outside temperature of the building where the device 3 is installed, the indoor humidity, the CO 2 concentration, etc.
  • the device 3 acquires the device status request information from the cloud server 1, the device 3 generates device status notification information for notifying the cloud server 1 of its own status, and sends the information to the cloud server 1 via the communication adapter 42. Send.
  • the device status request information is information for requesting the above-mentioned device status notification information to be transmitted to the cloud server 1.
  • the device status notification information includes device status information that indicates the most recent device status or environmental parameters stored in the storage unit of the device 3, property information that indicates properties of the device status information, and information that indicates when the device status information was generated. It includes timing information and device identification information for identifying the device 3.
  • the terminal device 5 is, for example, a smartphone, and as shown in FIG. 506, and a bus 509 that connects these to each other.
  • the main storage unit 502 includes volatile memory such as RAM (Random Access Memory), and is used as a work area for the CPU 501.
  • the auxiliary storage unit 503 is a nonvolatile memory such as a semiconductor flash memory, and stores programs for the CPU 501 to execute various processes.
  • the display unit 504 is a display device such as a liquid crystal display or an organic EL (Electro-Luminescence) display.
  • the input unit 505 is, for example, a transparent touch pad placed over the display unit 504.
  • the communication unit 506 is connected to the wide area network NW1, and transmits information transferred from the CPU 501 to the cloud server 1 via the wide area network NW1, and transmits information received from the cloud server 1 via the wide area network NW1 to the CPU 501. or transfer it.
  • the CPU 501 By reading out the program stored in the auxiliary storage unit 503 to the main storage unit 502 and executing it, the CPU 501 acquires the virtual machine status information acquisition unit 511, the display control unit 512, the reception unit 513, and the command notification, as shown in FIG.
  • the registration information management section 514 functions as a registration information management section 515, a registration information notification section 516, and a notification acquisition section 517.
  • the auxiliary storage unit 503 shown in FIG. 2 includes, as shown in FIG. 3, a virtual machine state storage unit 531 that stores virtual machine state information indicating the state of the virtual machine, and a registration information storage unit 532.
  • the registration information storage unit 532 stores model information and device identification information of each of the plurality of devices 3, and authority information indicating the authority to change settings for each virtual device in association with each other.
  • a virtual device for example, an "air conditioner with a humidity sensor” defined using the function of the air conditioner 3A and the humidity detection function of the humidifier 3B
  • the function of the air conditioner 3A and the humidifier 3B "Air conditioner with humidification function” defined using the function of
  • air conditioner with humidification function defined using the function of the temperature sensor 3C and the function of detecting multiple other environmental parameters (for example, the humidity detection function of the humidifier 3B). environmental sensors.
  • the virtual equipment may include, for example, the function of an air purifier 3D and the pollen information acquired from the weather server.
  • Air purifier with pollen sensor can be defined using the information.
  • the cloud server 1 branches the power supplied from the grid power supply to the main power line to each of the plurality of devices 3, and the power conditioner (not shown) connected to the main power line.
  • an "energy management device” is installed as a virtual device using the power information acquired from the power measuring device, for example. can be defined.
  • the virtual device status information acquisition unit 511 acquires the virtual device status information that notifies the status of the virtual device transmitted from the cloud server 1 and the corresponding device identification information
  • the virtual device status information acquisition unit 511 acquires the acquired virtual device status information and device identification information. and are stored in the virtual device state storage unit 531 in association with each other.
  • the reception unit 513 accepts the details of the operation performed by the user on the input unit 505, and notifies the command notification unit 514 or the registered information management unit 515 of operation information indicating the accepted operation details.
  • the reception unit 513 allows a user to input a virtual device addition operation to the input unit 505 to add a new virtual device to the cloud server 1, or to delete a virtual device registered in the cloud server 1.
  • a virtual device deletion operation or a virtual device setting change operation for changing the virtual device settings is performed, the contents of these operations are accepted.
  • the command notification unit 514 When the command notification unit 514 is notified of the operation information indicating that the settings of the virtual device are to be changed from the reception unit 513, the command notification unit 514 generates setting change command information based on the changed settings of the virtual device indicated by the operation information. Send to cloud server 1.
  • the setting change command information includes device identification information of the virtual device whose settings are to be changed, post-change setting information that indicates the settings after the change, and user identification information that identifies the user who changes the settings. , is included.
  • the registration information management unit 515 When the registration information management unit 515 is notified of operation information including device identification information, model information, and authority information of a newly registered virtual device from the reception unit 513, the registration information management unit 515 stores the device identification information, model information, and other information included in the notified operation information.
  • the information and authority information are stored in the registered information storage unit 532 in association with each other.
  • the registration information management unit 515 controls the operation information included in the notified operation information.
  • the device identification information and the corresponding model information and authority information are deleted from the registration information storage section 532, and the device identification information is notified to the registration information notification section 516.
  • the registration information notification section 516 includes the newly stored various information and corresponds to the newly stored various information.
  • Virtual device addition command information is generated and sent to the cloud server 1 to instruct the virtual device registered in the cloud server 1 to be updated by adding a virtual device.
  • the virtual device addition command information includes device identification information and model information of the newly added virtual device, property information indicating the properties to be used in the newly added virtual device, and setting changes for the newly added virtual device. and user identification information that identifies the user who is permitted to do so.
  • the registration information notification section 516 receives the deleted device identification information notified from the registration information management section 515. , and generates virtual device deletion command information that instructs the cloud server 1 to update the virtual device registered in the cloud server 1 by deleting the deleted virtual device from the registration information storage unit 532, and sends it to the cloud server 1.
  • the virtual device deletion command information includes device identification information of the virtual device to be deleted.
  • the notification acquisition unit 517 Upon acquiring the error notification information transmitted from the cloud server 1, the notification acquisition unit 517 extracts error code information indicating the cause of the error included in the acquired error notification information, and sends the extracted error code information to the display control unit 512.
  • the error code information includes error code information indicating that the cause of the error is that the user of the terminal device 5 does not have the authority to change the settings of the virtual device, and the content of the setting change to the virtual device is prohibited by the virtual device whose settings are to be changed. Examples include error code information indicating that the error has occurred.
  • the notification acquisition unit 517 extracts the device identification information and property information of the virtual device to be deleted included in the acquired warning notification information, and The device identification information and property information of the device are notified to the display control unit 512.
  • the display control unit 512 forms a virtual machine state notification image for notifying the user of the state of the virtual machine based on the virtual machine state information stored in the virtual machine state storage unit 531. Then, the display control unit 512 causes the display unit 504 to display the formed virtual device status notification image. Further, when the display control unit 512 is notified of the above-mentioned error code information from the notification acquisition unit 517, the display control unit 512 forms an error notification image including an error message corresponding to the error code information based on the notified error code information. , causes the display unit 504 to display the formed error notification image.
  • the display control unit 512 when the display control unit 512 is notified of the device identification information and property information of the virtual device to be deleted from the notification acquisition unit 517, the display control unit 512 receives the device identification information and property information of the virtual device to be deleted. , a warning notification image containing a warning message warning that the content of virtual device state information of a virtual device that cooperates with the virtual device to be deleted will be affected by the deletion of the virtual device; A warning notification image is displayed on the display unit 504.
  • terminal device 5 may be omitted depending on the user of the terminal device 5.
  • a terminal device 5 owned by a construction contractor who manages the construction of a plurality of devices 3 has all the functions described above, whereas a terminal device 5 owned by a user of a plurality of devices 3 manages registration information.
  • the functions of the registration information notification section 515, the registration information notification section 516, and the registration information storage section 532 may not be provided.
  • the cloud server 1 includes a CPU 101, a main storage section 102, an auxiliary storage section 103, a communication section 106, a timekeeping section 108, and a bus 109 that interconnects them.
  • CPU 101 is, for example, a multi-core processor.
  • the main storage unit 102 has volatile memory such as RAM, and is used as a work area for the CPU 101.
  • the auxiliary storage unit 103 is composed of a large-capacity nonvolatile memory, and stores programs for realizing various functions of the cloud server 1.
  • the communication unit 106 is connected to the wide area network NW1.
  • the clock unit 108 has, for example, an RTC (Real Time Clock), and notifies the CPU 101 of clocked time information.
  • RTC Real Time Clock
  • the CPU 101 By reading the program stored in the auxiliary storage unit 103 into the main storage unit 102 and executing it, the CPU 101 sends the device status acquisition unit 111, the virtual device status information generation unit 112, and the virtual device status information notification as shown in FIG. unit 113, command acquisition unit 114, error determination unit 115, error notification unit 116, control information generation unit 117, control information notification unit 118, virtual device update unit 119, authority registration unit 120, cooperation determination unit 121, warning notification unit 122 It also functions as an operation result notification section 123. Further, the auxiliary storage unit 103 shown in FIG. 2 includes, as shown in FIG.
  • the device state storage unit 131 stores device state information indicating at least one of the device state of each device 3 and an environmental parameter detected by each device 3 that indicates the environment in which each device 3 is installed. and property information indicating properties of the device status information are stored in association with a combination of device identification information and model information of the corresponding device 3.
  • the device state storage unit 131 stores device state information indicating at least one of the device state of each device 3 and an environmental parameter detected by each device 3 that indicates the environment in which each device 3 is installed.
  • property information indicating properties of the device status information are stored in association with a combination of device identification information and model information of the corresponding device 3.
  • the device status storage unit 131 stores property information PAR[0,2] (ON/ON/ OFF state), PAR[0,3] (set temperature), PAR[0,4] (wind direction), PAR[0,5] (wind speed) and the environment in which device 3A is installed. This indicates that property information PAR[0,0] (temperature) indicating the indicated environmental parameter and device status information corresponding to PAR[0,1] (outside temperature) are stored. Further, the device status storage unit 131 stores property information PAR[1,2] (ON/OFF status) indicating the status of the humidifier 3B, PAR[1] for the humidifier 3B identified by the device identification information IDE[1].
  • the virtual device storage unit 132 stores virtual device information including property information indicating properties used in the virtual device, method information, and compatible device information, and stores the corresponding virtual device. It is stored in association with a combination of device identification information to be identified and model information indicating the type of virtual device. Examples of the virtual equipment include the aforementioned "air conditioner with humidification function" and "energy management device.”
  • the method information is information that defines the processing content that at least one virtual device executes on the device status information using the properties of the device status information of each of the devices 3.
  • the method information is information that defines the processing content that at least one virtual device executes on the device status information using the properties of the device status information of each of the devices 3.
  • the property information can be represented by, for example, properties defined in the ECHONET Lite Web API (registered trademark) guidelines.
  • the method information is defined using property information indicating the tank water volume of the humidifier 3B for an "air conditioner with humidification function", and defines a formula for calculating the remaining humidification time from the tank water volume.
  • the method information may define a logical operation on the state of the device 3 indicated by the device state information, or a difference operation between the environmental parameter indicated by the past device state information and the current environmental parameter.
  • the corresponding device information indicates the device identification information of the device 3 corresponding to the virtual device, and corresponds to the device identification information of the device 3 from which the virtual device obtains the device information for obtaining the virtual device status information.
  • the virtual device storage unit 132 stores information such as the ON/OFF state, set temperature, set humidity, and remaining humidification time for the air conditioner VA with a humidifying function identified by the device identification information IDVE[0].
  • the property information VPAR[0,2] indicating the ON/OFF state of the virtual device is the device state information corresponding to the property information PAR[0,2] indicating the ON/OFF state of the air conditioner 3A
  • the humidifier This indicates that it corresponds to the logical sum of the property information PAR [1, 2] indicating the ON/OFF state of the device 3B and the corresponding device state information. That is, both the ON/OFF state of the air conditioner 3A corresponding to the property information PAR[0,2] and the ON/OFF state of the humidifier 3B corresponding to the property information PAR[1,2] are in the ON state. If it is, the ON state is set, and if at least one is in the OFF state, the OFF state is set.
  • the set temperature and set humidity of the virtual equipment corresponding to the property information VPAR[0,3] and VPAR[0,6] are the set temperature of the air conditioner 3A corresponding to the property information PAR[0,3], respectively. This indicates that the set humidity of the humidifier 3B corresponding to the property information PAR[1,6] is to be adopted as is.
  • the comfort indicated by the air conditioner VA with humidification function corresponding to the property information VPAR[0,8] corresponds to the property information PAR[0,0], PAR[0,5], and PAR[1,0]. It is calculated using a function whose arguments are the temperature detected by the air conditioner 3A, the wind speed of the air conditioner 3A, the humidity detected by the humidifier 3B, and the parameter SP indicating the season.
  • the remaining humidification time of the air conditioner VA with humidification function corresponding to the property information VPAR[0,9] is determined by the amount of water in the tank of the humidifier 3B corresponding to the property information PAR[1,7]. , 8] by the product of the operation mode coefficient of the humidifier 3B and a preset coefficient C1.
  • the coefficient C1 for example, the amount of water consumed per unit time of the humidifier 3B when the humidifier 3B is operated in the "weak" operation mode can be adopted.
  • the virtual device master information storage unit 133 stores method template information, which is the source of the method information, for each of a plurality of preset virtual devices, in correspondence with model information indicating the type of virtual device. and remember it.
  • Method information is generated by setting properties of device state information used in a virtual device and instantiating method template information associated with model information of a virtual device that uses the method information.
  • the virtual device state storage unit 134 converts the virtual device state information and property information of each virtual device stored in the virtual device storage unit 132 into a combination of device identification information and model information of the virtual device. Store in association.
  • the authority information storage unit 135 stores authority information indicating the authority to change the settings of the device 3 and the virtual device in association with the device identification information of the device 3 and the virtual device.
  • the authority information includes user identification information that identifies a user who is permitted to change settings for each of the device 3 and the virtual device.
  • the control information storage unit 136 stores control information for controlling the operation of the device 3.
  • the device state acquisition unit 111 receives the device state notification from each of the plurality of devices 3 by transmitting the device state request information described above to each of the plurality of devices 3 each time a preset device state acquisition time arrives. Get information.
  • the device state acquisition unit 111 detects that the above-mentioned device state acquisition time has arrived based on time information measured by the clock unit 108.
  • This device state acquisition timing is set to arrive at, for example, every 30 minutes. Note that the arrival interval of the device status acquisition timing may be set separately for each virtual device, for example.
  • the arrival interval of the device status acquisition time for the corresponding device 3 is set to 30 minutes
  • the device status acquisition time for the corresponding device 3 is set to 30 minutes.
  • the arrival interval may be set to 5 minutes.
  • the device status acquisition unit 111 extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information. In this way, the device state acquisition unit 111 indicates at least one of the device state of each of the plurality of devices 3 and the environmental parameter detected by each of the plurality of devices 3 and indicating the environment in which each of the plurality of devices 3 is installed. Get device status information.
  • the device status acquisition unit 111 stores the acquired device status information and property information in the device status storage unit 131 in association with the combination of device identification information and model information of the device 3 that is the source of the extracted device status notification information. Let Here, if the generation time of the acquired device state information is later than the immediately previous device state acquisition time, the device state acquisition unit 111 uses the acquired device state information to store the device state in the device state storage unit 131. Update information. On the other hand, if the generation time of the acquired device status information is earlier than the previous device status acquisition time, the device status acquisition unit 111 generates the device status information stored in the device status storage unit 131 using the acquired device status information. Avoid updating.
  • the device status acquisition unit 111 responds to a response transmitted from the device 3 identified by the notified device identification information.
  • the device status information is acquired from the device 3 by transmitting a device status request to the device 3 that is the source of the response information.
  • the response information is information for notifying that the device 3 to which the control information is transmitted has acquired the control information transmitted from the cloud server 1.
  • the virtual device state information generation unit 112 generates virtual device state information from the device state information of each of the plurality of devices 3 based on the virtual device method information stored in the virtual device storage unit 132.
  • the virtual device state information generation unit 112 can generate virtual device state information having properties different from the device state information of the device 3.
  • Such virtual device status information includes the device status of the device 3 corresponding to the virtual device, such as the remaining humidification time of the virtual device, comfort, etc., and the environment in which the device 3 corresponding to the virtual device is installed. Examples include information indicating parameters.
  • the virtual device state information generation unit 112 stores the generated virtual device state information in the virtual device state storage unit 134 in association with the combination of device identification information and model information of the virtual device.
  • the virtual device state information notification unit 113 generates virtual device state notification information including the virtual device state information stored in the virtual device state storage unit 134 and the device identification information of the virtual device corresponding to the virtual device state information, and transmits the generated virtual device state notification information to the terminal device 5. do. Further, after starting the operation based on the control information notified from the control information notification unit 118 and the control information transmitted by the control information notification unit 118 stored in the device status storage unit 131, the virtual device status information generation unit 112 Based on the device state information of the devices 3, it is determined whether the settings of each device 3 corresponding to the virtual device as the setting change target have been changed normally.
  • the virtual device state information generation unit 112 determines that the settings of the device 3 have been changed normally, the virtual device state information generation unit 112 generates virtual device state information from the device state information after the setting change and stores it in the virtual device state storage unit 134. On the other hand, if the virtual device status information generation unit 112 determines that the settings of the device 3 have not been changed normally, it avoids generating the virtual device status information.
  • the command acquisition unit 114 Upon acquiring the aforementioned setting change command information transmitted from the terminal device 5, the command acquisition unit 114 extracts the device identification information, post-change setting information, and user identification information of the virtual device included in the acquired setting change command information. do. Then, the command acquisition unit 114 notifies the error determination unit 115 of the device identification information, post-change setting information, and user identification information of the extracted virtual device. Further, when the error determination unit 115 determines that there is no error, the command acquisition unit 114 notifies the control information generation unit 117 of the device identification information and changed setting information of the extracted virtual device.
  • the error determination unit 115 determines whether the user of the terminal device 5 that is the source of the setting change command information is the 3 or determine whether the user has the authority to change the settings of the virtual device.
  • the error determination unit 115 refers to the authority information stored in the authority information storage unit 135 and determines whether the user information notified by the command acquisition unit 114 is the device identification of the virtual device notified from the command acquisition unit 114. It is determined whether the information matches any of the user information included in the authority information corresponding to the information. If the error determination unit 115 does not match any of the user information included in the authority information, the error determination unit 115 determines that the user of the terminal device 5 does not have the authority to change the settings of the virtual device.
  • the error code information indicating the error code is notified to the error notification unit 116. Furthermore, based on the device identification information and post-change setting information of the virtual device notified from the command acquisition unit 114, the error determination unit 115 determines whether the content of the setting change for the virtual device identified by the device identification information is the target of the setting change. If the setting change is prohibited in the virtual device, the error notification unit 116 is notified of error code information indicating that the content of the setting change is prohibited in the virtual device whose settings are to be changed. On the other hand, if the error determination unit 115 determines that the user information notified from the command acquisition unit 114 is included in the authority information and the content of the setting change is permitted, it notifies the command acquisition unit 114 that there is no error. do. When the error notification unit 116 is notified of the error code information from the error determination unit 115 , the error notification unit 116 generates error notification information including the notified error code information and transmits it to the terminal device 5 .
  • the control information generation unit 117 determines whether or not the setting change target based on the setting change command information is a virtual device, and if the setting change target is the actual device 3, controls the operation of the device 3 only for that device 3. Generate control information for On the other hand, when the control information generation unit 117 determines that the setting change target based on the setting change command information is a virtual device, the control information generation unit 117 refers to the corresponding device information of the virtual device whose settings are changed stored in the virtual device storage unit 132, and Identify the device 3 corresponding to the device. Then, the control information generation unit 117 generates control information for controlling the operation of each of the identified devices 3.
  • the control information generation unit 117 stores the generated control information in the control information storage unit 136 in association with the device identification information of the corresponding device 3.
  • the control information notification unit 118 transmits the control information stored in the control information storage unit 136 to each of the devices 3 identified by the device identification information associated with the control information. Furthermore, when the control information notification unit 118 transmits the control information, it notifies the device status acquisition unit 111 of the device identification information associated with the transmitted control information, and also sends the control information and the device identification of the virtual device whose settings are to be changed. information to the operation result notification unit 123.
  • the virtual device update unit 119 acquires the virtual device addition command information that instructs to add a new virtual device transmitted from the terminal device 5
  • the virtual device update unit 119 updates the device identification information, property information, and information included in the acquired virtual device addition command information. Extract model information.
  • the virtual device update unit 119 identifies method template information corresponding to the extracted model information from among the method template information stored in the virtual device master information storage unit 133.
  • the virtual device update unit 119 generates method information by instantiating the specified method template information by setting the property indicated by the extracted property information as a property of the device status information used in the virtual device.
  • the virtual device update unit 119 causes the virtual device storage unit 132 to newly store the property information, the generated method information, and the corresponding device identification information and model information in the virtual device storage unit 132. Update the stored virtual device information.
  • the virtual device update unit 119 acquires virtual device deletion command information sent from the terminal device 5 and instructs to delete various information corresponding to the virtual device already stored in the virtual device storage unit 132
  • the virtual device update unit 119 The virtual device information is updated by deleting the property information, method information, and model information corresponding to the device identification information included in the device deletion command information.
  • the authority registration unit 120 When the authority registration unit 120 acquires virtual device addition command information that instructs to add a new virtual device from the terminal device 5, the authority registration unit 120 transfers the user identification information included in the acquired virtual device addition command information to the acquired virtual device addition command information.
  • the authority information stored in the authority information storage unit 135 is updated in addition to the authority information corresponding to the device identification information included in the command information.
  • the authority registration unit 120 acquires virtual device deletion command information that instructs to delete various information corresponding to the virtual device already stored in the virtual device storage unit 132 from the terminal device 5, the authority registration unit 120 deletes the acquired virtual device.
  • the authority information stored in the authority information storage unit 135 is updated by deleting the authority information corresponding to the device identification information included in the command information.
  • the cooperation determination section 121 determines which virtual device to delete. It is determined whether there is a virtual device that cooperates with the virtual device to be deleted using virtual device information. If there is a virtual device that cooperates with the virtual device to be deleted, the cooperation determination section 121 notifies the warning notification section 122 of the device identification information and property information of the virtual device that cooperates. When the warning notification unit 122 is notified of the device identification information of the virtual device from the cooperation determination unit 121, the warning notification unit 122 generates warning information including the notified device identification information and transmits it to the terminal device 5.
  • the operation result notifying unit 123 determines whether the device 3 has started operating based on the control information notified from the control information notifying unit 118 and the control information transmitted by the control information notifying unit 118 stored in the device state storage unit 131. Based on the device state information, it is determined whether the settings of each of the devices 3 corresponding to the virtual device to be changed have been changed normally. If the operation result notification unit 123 determines that the settings of the device 3 have not been changed normally, the operation result notification unit 123 generates operation result notification information that notifies that the setting change has failed, and sends it to the terminal device 5.
  • the operation result notification unit 123 determines that the settings of the device 3 have been successfully changed, it generates operation result notification information including the virtual device status information after the settings have been changed, and transmits the generated operation result notification information to the terminal device 5 .
  • Step S1 when a preset device status acquisition time arrives, device status request information that requests the device 3 to transmit device status information is transmitted from the cloud server 1 to the device 3.
  • the device 3 upon acquiring the device state request information, the device 3 generates the above-mentioned device state notification information in response to the device state request information (step S2).
  • the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S3).
  • the cloud server 1 upon acquiring the device status notification information, extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information.
  • the cloud server 1 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S4).
  • the cloud server 1 generates virtual device state information from the device state information of each of the plurality of devices 3 stored in the device state storage section 131 based on the method information of the virtual device stored in the virtual device storage section 132. , updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information (step S5).
  • the cloud server 1 stores a virtual device state that includes updated virtual device state information of at least one virtual device stored in the virtual device state storage unit 134, property information indicating its properties, and device identification information of the virtual device. Generate notification information (step S6).
  • the generated virtual device status notification information is transmitted from the cloud server 1 to the terminal device 5 (step S7).
  • the terminal device 5 upon acquiring the virtual device status notification information transmitted from the cloud server 1, the terminal device 5 extracts the virtual device status information, property information, and device identification information included in the acquired virtual device status notification information.
  • the virtual device state information, property information, and device identification information are stored in the virtual device state storage unit 531 in association with each other (step S8).
  • the terminal device 5 generates a virtual device state notification image for notifying the user of the state of the virtual device based on the virtual device state information, property information, and device identification information stored in the virtual device state storage unit 531. is formed, and the formed virtual device status notification image is displayed on the display unit 504 (step S9).
  • the terminal device 5 displays names representing multiple types of virtual devices set in advance on the display unit 504, and the user selects the name of the virtual device that the user wants to add from among the displayed names.
  • the model information and property information corresponding to the selected virtual device may be selected.
  • the terminal device 5 generates the above-mentioned virtual device addition command information that instructs to add a new virtual device based on the operation details of the virtual device addition operation (step S10). .
  • the generated virtual device addition command information is transmitted from the terminal device 5 to the cloud server 1 (step S11).
  • the cloud server 1 extracts device identification information, property information, and model information included in the acquired virtual device addition command information (step S12).
  • the cloud server 1 identifies method template information corresponding to the extracted virtual device model information from among the method template information stored in the virtual device master information storage unit 133 (step S13).
  • the cloud server 1 generates method information for the identified method template information by setting the property indicated by the extracted property information to the property of the device state information used in the virtual device and instantiating it (step S14). ).
  • the cloud server 1 stores the virtual device storage unit 132 in a manner that adds virtual device information consisting of property information indicating the set properties, generated method information, and corresponding device identification information and model information.
  • the stored virtual device information is updated, and the user identification information included in the acquired virtual device addition command information is added to the authority information corresponding to the device identification information included in the acquired virtual device addition command information.
  • the authority information stored in the information storage unit 135 is updated (step S15).
  • the terminal device 5 generates the above-mentioned virtual device deletion command information that instructs to delete the virtual device based on the operation details of the virtual device deletion operation (step S16). Thereafter, the generated virtual device deletion command information is transmitted from the terminal device 5 to the cloud server 1 (step S17). On the other hand, upon acquiring the virtual device deletion command information from the terminal device 5, the cloud server 1 extracts the device identification information of the virtual device to be deleted (step S18).
  • the cloud server 1 refers to the virtual device information stored in the virtual device storage unit 132 and uses the virtual device information of the virtual device identified by the extracted device identification information to create a virtual device that cooperates with the virtual device. Assume that it is determined that there is no device (step S19). In this case, the cloud server 1 updates the virtual device information stored in the virtual device storage unit 132 by deleting the device identification information of the extracted virtual device and the corresponding combination of property information, method information, and model information. At the same time, the authority information stored in the authority information storage unit 135 is updated by deleting the authority information corresponding to the device identification information of the virtual device included in the acquired virtual device deletion command information (step S20).
  • the cloud server 1 determines that there is a virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device identified by the extracted device identification information (Ste S21). In this case, the cloud server 1 generates warning notification information including device identification information and property information of the virtual devices to be linked (step S22). Subsequently, the generated warning notification information is transmitted from the cloud server 1 to the terminal device 5 (step S23). On the other hand, upon acquiring the warning notification information, the terminal device 5 extracts the device identification information and property information included in the acquired warning notification information (step S24).
  • the terminal device 5 issues a warning that the virtual device state information of the virtual device identified by the device identification information will be affected by deleting the virtual device.
  • a notification image is formed and displayed on the display unit 504 (step S25).
  • the terminal device 5 generates the above-mentioned setting change command information based on the operation details of the virtual device setting change operation (step S26).
  • the generated setting change command information is transmitted from the terminal device 5 to the cloud server 1 (step S27).
  • the cloud server 1 extracts the device identification information, user identification information, and post-change setting information of the virtual device included in the acquired setting change command information (step S28).
  • the cloud server 1 refers to the authority information stored in the authority information storage unit 135, determines that the user has change authority based on the extracted user identification information (step S29), and determines that the user has change authority based on the changed setting information. Assume that it is determined that the settings can be changed (step S30). Assume that the cloud server 1 determines that the setting change target is a virtual device, as shown in FIG. 8 (step S31). In this case, the cloud server 1 refers to the corresponding device information stored in the virtual device state storage unit 134, identifies the device 3 corresponding to the virtual device whose settings are to be changed (step S32), and controls the specified connected device. Information is generated (step S33).
  • the generated control information is transmitted from the cloud server 1 to the device 3 (step S34).
  • the device 3 acquires the control information
  • response information for notifying the cloud server 1 that the device 3 has acquired the control information is transmitted from the device 3 to the cloud server 1 (step S35).
  • the cloud server 1 transmits the control information to the device 3 again if the response information is not acquired within a preset period.
  • the device 3 starts operating based on the acquired control information (step S36). Note that, after acquiring the control information, the device 3 may start operating based on the acquired control information, and then transmit the response information to the cloud server 1.
  • the cloud server 1 acquires the response information
  • device status request information is sent from the cloud server 1 to the device 3, requesting the device 3 that is the source of the acquired response information to send the device status information (Ste S37).
  • the device 3 upon acquiring the device status request information, the device 3 generates device status notification information including device status information after starting operation based on the acquired control information (step S38). Subsequently, the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S39).
  • the cloud server 1 upon acquiring the device status notification information, extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information.
  • the cloud server 1 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S40).
  • the cloud server 1 determines that the settings of all the devices 3 corresponding to the virtual device whose settings are to be changed have been changed normally (step S41).
  • the cloud server 1 uses the device status information of all the devices 3 corresponding to the virtual device whose settings are to be changed stored in the device status storage unit 131 based on the method information of the virtual device stored in the virtual device storage unit 132.
  • Virtual device state information is generated, and the virtual device state information stored in the virtual device state storage unit 134 whose settings are to be changed is updated with the generated virtual device state information (step S42).
  • the cloud server 1 generates operation result notification information indicating that the setting change including the virtual device state information after the setting change was successful for the virtual device whose settings are to be changed (step S43), and generates the generated operation result notification.
  • Information is transmitted from the cloud server 1 to the terminal device 5 (step S44).
  • the terminal device 5 forms an operation result notification image indicating that the setting change was successful, based on the virtual device status information after the setting change included in the acquired operation result notification information. and is displayed on the display section 504 (step S45).
  • the cloud server 1 determines that there is no change authority based on the authority information stored in the authority information storage unit 135 and the extracted user identification information (Ste S46). In this case, the cloud server 1 generates error notification information including error code information indicating that the user of the terminal device 5 does not have the authority to change settings of the virtual device (step S47), and the generated error notification information As shown in FIG. 9, the information is transmitted from the cloud server 1 to the terminal device 5 (step S48). On the other hand, upon acquiring the error notification information, the terminal device 5 forms an error notification image based on the error code information included in the acquired error notification information and displays it on the display unit 504 (step S49).
  • step S50 the cloud server 1 generates error notification information including error code information indicating that the content of the setting change is prohibited in the virtual device whose settings are to be changed (step S51), and the generated error notification information , is transmitted from the cloud server 1 to the terminal device 5 (step S52).
  • the terminal device 5 forms an error notification image based on the error code information included in the acquired error notification information and displays it on the display unit 504 (step S53).
  • step S201 determines whether virtual device status notification information transmitted from the cloud server 1 has been acquired.
  • step S201: No determines that virtual device status notification information has not been acquired.
  • step S204 determines that the virtual device status notification information has been acquired.
  • step S201: Yes determines that the virtual device status notification information has been acquired.
  • the extracted virtual device state information, property information, and device identification information are associated with each other and stored in the virtual device state storage unit 531 (step S202).
  • the display control unit 512 generates a virtual device status notification for notifying the user of the status of the virtual device based on the virtual device status information, property information, and device identification information stored in the virtual device status storage unit 531.
  • An image is formed, and the formed virtual device status notification image is displayed on the display unit 504 (step S203).
  • the reception unit 513 determines whether the above-described virtual device addition operation has been received (step S204).
  • the accepting unit 513 determines that the virtual device addition operation is not accepted (step S204: No)
  • the process of step S206 which will be described later, is executed.
  • the reception unit 513 determines that the virtual device addition operation has been accepted (step S204: Yes)
  • it notifies the registration information management unit 515 of operation information indicating the operation details, and the registration information management unit 515 receives the notification.
  • the device identification information, model information, and authority information included in the operation information are associated with each other and stored in the registration information storage unit 532.
  • the registration information notification unit 516 generates the above-mentioned virtual device addition command information including the device identification information, model information, and authority information newly stored in the registration information storage unit 532, and transfers the generated virtual device addition command information to the cloud. It is transmitted to server 1 (step S205).
  • the reception unit 513 determines whether or not the virtual device deletion operation described above has been received (step S206). Here, if the accepting unit 513 determines that the virtual device deletion operation is not accepted (step S206: No), the process of step S208, which will be described later, is executed.
  • the reception unit 513 determines that the virtual device deletion operation has been accepted (step S206: Yes)
  • it notifies the registration information management unit 515 of operation information indicating the operation details
  • the registration information management unit 515 receives the notification.
  • the device type information and authority information corresponding to the device identification information included in the operation information are deleted, and the registered information notification unit 516 is notified of the deleted device identification information.
  • the registration information notification unit 516 generates the above-mentioned virtual device deletion command information including the device identification information notified from the registration information management unit 515, and transmits the generated virtual device deletion command information to the cloud server 1 (step S207).
  • the notification acquisition unit 517 determines whether or not the warning notification information transmitted from the cloud server 1 has been acquired (step S208).
  • the notification acquisition unit 517 determines that the warning notification information has not been acquired (step S208: No)
  • the process of step S211 which will be described later, is executed.
  • the notification acquisition unit 517 determines that the warning notification information has been acquired (step S208: Yes)
  • it extracts the device identification information and property information included in the acquired warning notification information (step S209).
  • the notification acquisition unit 517 notifies the display control unit 512 of the extracted device identification information and property information.
  • the display control unit 512 forms the above-mentioned warning notification image and displays it on the display unit 504 based on the device identification information and property information notified from the notification acquisition unit 517 (step S210).
  • the receiving unit 513 determines whether or not the above-mentioned setting change command operation has been received (step S211).
  • the accepting unit 513 determines that the setting change command operation has not been accepted (step S211: No)
  • the process of step S201 is executed again.
  • the reception unit 513 determines that the setting change command operation has been received (step S211: Yes)
  • the reception unit 513 notifies the command notification unit 514 of operation information indicating the content of the operation.
  • the command notification unit 514 generates the above-mentioned setting change command information, and transmits the generated setting change command information to the cloud server 1 (step S212).
  • the notification acquisition unit 517 determines whether or not the operation result notification information transmitted from the cloud server 1 has been acquired (step S213).
  • the notification acquisition unit 517 determines that the operation result notification information has not been acquired (step S213: No)
  • the process of step S215 which will be described later, is executed.
  • the notification acquisition unit 517 determines that the operation result notification information has been acquired (step S213: Yes)
  • the notification acquisition unit 517 notifies the display control unit 512 of the virtual device state information included in the acquired operation result notification information.
  • the display control unit 512 forms an operation result notification image and displays it on the display unit 504 based on the virtual device status information notified from the notification acquisition unit 517 (step S214).
  • the notification acquisition unit 517 determines whether or not the error notification information transmitted from the cloud server 1 has been acquired (step S215). Here, if the notification acquisition unit 517 determines that the error notification information has not been acquired (step S215: No), the process of step S201 is executed again. On the other hand, if the notification acquisition unit 517 determines that the error notification information has been acquired (step S215: Yes), it notifies the display control unit 512 of the error code information included in the acquired error notification information. Then, the display control unit 512 forms an error notification image and displays it on the display unit 504 based on the error code information notified from the notification acquisition unit 517 (step S216). After that, the process of step S201 is executed again.
  • step S101 determines whether a preset device status acquisition time has arrived, as shown in FIG. 11 (step S101).
  • step S101 determines whether a preset device status acquisition time has arrived, as shown in FIG. 11 (step S101).
  • step S101: No the process of step S107, which will be described later, is executed.
  • step S101: Yes the device status acquisition unit 111 determines that the device status acquisition time has arrived (step S101: Yes)
  • the device status acquisition unit 111 acquires the above-mentioned device status notification information transmitted from the device 3 (step S103), and the device 3 that is the source of the device status notification information included in the acquired device status notification information. Extract device status information, property information, device identification information, and model information. Then, the device status acquisition unit 111 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S104). Next, the virtual device state information generation unit 112 generates virtual device state information from the device state information of each of the plurality of devices 3 based on the virtual device method information stored in the virtual device storage unit 132.
  • the virtual device state information generation unit 112 updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information (step S105).
  • the virtual device state information notification unit 113 generates virtual device state notification information that includes the virtual device state information stored in the virtual device state storage unit 134 and the device identification information of the virtual device corresponding to the virtual device state information. It is transmitted to the terminal device 5 (step S106).
  • the virtual device update unit 119 determines whether or not the above-mentioned virtual device addition command information transmitted from the terminal device 5 has been obtained (step S107). Here, if the virtual device update unit 119 determines that virtual device addition command information has not been acquired (step S107: No), the process of step S112, which will be described later, is executed. On the other hand, if the virtual device update unit 119 determines that the virtual device addition command information has been acquired (step S107: Yes), it extracts the device identification information, property information, and model information included in the acquired virtual device addition command information ( Step S108). Next, the virtual device update unit 119 identifies method template information corresponding to the extracted model information from among the method template information stored in the virtual device master information storage unit 133 (step S109).
  • the virtual device update unit 119 generates method information for the specified method template information by setting the property indicated by the extracted property information to the property of the device status information used in the virtual device and instantiating it (Ste S110). Thereafter, the virtual device update unit 119 updates the virtual device information stored in the virtual device storage unit 132 by adding property information indicating the set property, generated method information, and corresponding device identification information and model information. Update. Further, the authority registration unit 120 stores authority information in a form that adds the user identification information included in the acquired virtual machine addition command information to the authority information corresponding to the device identification information included in the acquired virtual machine addition command information. The authority information stored in the unit 135 is updated (step S111).
  • the virtual device update unit 119 determines whether or not the above-mentioned virtual device deletion command information transmitted from the terminal device 5 has been obtained (step S112). Here, if the virtual device update unit 119 determines that virtual device deletion command information has not been acquired (step S112: No), the process of step S117, which will be described later, is executed. On the other hand, if the virtual device update unit 119 determines that the virtual device deletion command information has been acquired (step S112: Yes), it extracts the device identification information of the virtual device to be deleted included in the virtual device deletion command information (step S113). .
  • the cooperation determining unit 121 determines whether there is a virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device identified by the extracted device identification information (step S114).
  • the warning notification unit 122 sends a warning notification including the device identification information and property information of the virtual device to cooperate with each other.
  • step S115 After generating the information and transmitting it to the terminal device 5 (step S115), the process of step S117, which will be described later, is executed.
  • the cooperation determination unit 121 determines that there is no virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device to be deleted (step S114: No).
  • the virtual device update unit 119 updates the virtual device information stored in the virtual device storage unit 132 by deleting the property information, method information, and model information corresponding to the device identification information included in the virtual device deletion command information.
  • the authority registration unit 120 also updates the authority information stored in the authority information storage unit 135 by deleting the authority information corresponding to the device identification information included in the acquired virtual device deletion command information (step S116).
  • the command acquisition unit 114 determines whether or not the above-mentioned setting change command information transmitted from the terminal device 5 has been acquired (step S117). Here, if the command acquisition unit 114 determines that the setting change command information has not been acquired (step S117: No). The process of step S101 is executed again. On the other hand, if the command acquisition unit 114 determines that the setting change command information has been acquired (step S117: Yes), the device identification information of the device 3 or the virtual device, the changed setting information, and the usage information are included in the acquired setting change command information. The user identification information is extracted (step S118).
  • the error determination unit 115 determines whether the user of the terminal device 5 that is the source of the setting change command information is 3, or it is determined whether the user has the authority to change the settings of the virtual device (step S119).
  • the error determination unit 115 determines that there is no authority to change the settings (step S119: No)
  • the error notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S120), The process of step S101 is executed again.
  • the error determination unit 115 determines that there is authority to change the settings (step S119: Yes)
  • the error determination unit 115 determines whether the extracted device It is determined whether settings can be changed for the device 3 or virtual device identified by the identification information (step S121).
  • step S121 determines that the content of the setting change for the device 3 or the virtual device is prohibited by the virtual device whose settings are to be changed, and that the setting change is impossible (step S121: No).
  • the notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S120), and the process of step S101 is executed again.
  • the control information generation unit 117 determines that the virtual device storage unit 132 Referring to the stored device identification information of the virtual device, it is determined whether the setting change target is a virtual device (step S122).
  • control information generation unit 117 determines that the setting change target is a virtual device (step S122: Yes)
  • the control information generation unit 117 refers to the corresponding device information stored in the virtual device storage unit 132 and specifies the device 3 to be controlled. (Step S123). Thereafter, the control information generation unit 117 generates control information for the specified device 3 and stores it in the control information storage unit 136 in association with the device identification information of the device 3. Then, the control information notification unit 118 transmits the control information stored in the control information storage unit 136 to the device 3 identified by the device identification information corresponding to the control information (step S123). On the other hand, if the control information generation unit 117 determines that the setting change target is not the virtual device but the actual device 3 (step S122: No), the process of step S124 is executed for the setting change target device 3.
  • the device status acquisition unit 111 transmits device status request information to the device 3 that is the source of the response information (step S125). S126). Thereby, the device status acquisition unit 111 acquires the aforementioned device status notification information transmitted from the device 3 that is the source of the response information (step S127), and the device status notification information included in the acquired device status notification information. Device status information, property information, device identification information, and model information of the sending device 3 are extracted. Then, the device status acquisition unit 111 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S128).
  • step S129 determines whether the settings of all the devices 3 corresponding to the virtual device whose settings are to be changed have been changed normally.
  • step S129 determines that the settings of any of the devices 3 corresponding to the virtual device whose settings are to be changed have not been changed normally.
  • step S131 Operation result notification information is generated and sent to the terminal device 5 (step S131).
  • the virtual device state information generation unit 112 determines that the settings have been successfully changed for all devices 3 corresponding to the virtual device whose settings are to be changed (step S129: Yes)
  • the virtual device state information generation unit 112 determines that the virtual device stored in the virtual device storage unit 132 Based on the method information, virtual device state information is generated from the device state information of all the devices 3 corresponding to the virtual device whose settings are to be changed.
  • the virtual machine state information generation unit 112 updates the virtual machine state information stored in the virtual machine state storage unit 134 with the generated virtual machine state information (step S130).
  • step S101 the process of step S101 is executed again.
  • the virtual device state information generation unit 112 generates a plurality of device state information from the device state information of each of the plurality of devices 3 based on the method information of the virtual device. Virtual device state information having properties different from the device state information of each device 3 is generated. As a result, for example, as method information, processing is performed to generate virtual device state information indicating the cooperation status of the entire plurality of devices 3 or the environmental parameters of the environment in which the plurality of devices 3 are installed from the device state information of each of the plurality of devices 3.
  • the virtual device state information generation unit 112 can generate virtual device state information that indicates the cooperation status of the plurality of devices 3 as a whole or the environmental parameters of the environment in which the plurality of devices 3 are installed. Therefore, the user can easily grasp the cooperative state of the plurality of devices 3 as a whole or the environment in which the plurality of devices 3 are installed, which cannot be directly grasped from the device status information of each of the plurality of devices 3.
  • the virtual device has virtual device state information indicating a different state from the device state information corresponding to the actual device 3. Therefore, the user can grasp the state of the virtual device indicated by the virtual device state information through the terminal device 5 without being aware of the actual device 3, which is highly convenient.
  • the virtual device update unit 119 acquires virtual device addition command information including property information and model information of a newly added virtual device
  • the acquired virtual device addition command The virtual device storage unit 132 generates method information for a new virtual device based on the property information and model information included in the information, and stores the virtual device information in a manner that adds the virtual device information including the generated method information and property information. Update the virtual device information. This eliminates the need for an operation to create method information for a virtual device on the terminal device 5, which has the advantage that the user can easily register a new virtual device via the terminal device 5.
  • the cooperation determination unit 121 updates the virtual device information by deleting the virtual device information from the virtual device storage unit 132
  • the virtual device status information of the virtual device to be deleted is Determine whether there is a virtual device that cooperates with the virtual device to be deleted.
  • the warning notification unit 122 issues a warning including device identification information and property information of the virtual device that cooperates with the virtual device to be deleted. Notification information is generated and sent to the terminal device 5. This allows the user to check in advance whether or not the deletion of a virtual device will affect the virtual device state information of the virtual device that cooperates with the virtual device to be deleted.
  • the device status acquisition unit 111 acquires device status information from a plurality of devices 3 every time the device status acquisition time arrives, and when the acquired device status information is generated. If it is later than the previous device status acquisition time, the device status information stored in the device status storage unit 131 is updated using the acquired device status information. On the other hand, if the generation time of the acquired device status information is earlier than the previous device status acquisition time, the device status acquisition unit 111 determines the status of the device stored in the device status storage unit 131 using the acquired device status information. Avoid updating information. Thereby, the update frequency of the device state storage unit 131 can be reduced, and the processing load on the cloud server 1 can be reduced accordingly.
  • the virtual device storage section 132 stores the above-mentioned compatible device information in association with the device identification information of the virtual device
  • the control information generation section 117 stores the above-mentioned compatible device information in association with the device identification information of the virtual device.
  • control information for controlling the operation of each of the plurality of devices 3 indicated by the compatible device information is generated.
  • the control information generation unit 117 generates control information for the plurality of devices 3 corresponding to the virtual device based on the method information of the virtual device, and transmits the generated control information to the plurality of virtual devices. This allows the control information generation unit 117 to efficiently specify the device 3 related to the virtual device whose settings are to be changed, thereby making it possible to smoothly change the settings of the virtual device.
  • the virtual device update unit 119 updates virtual device information by deleting the virtual device information from the virtual device storage unit 132
  • the virtual device that cooperates with the virtual device to be deleted uses the virtual device state information of the virtual device to be deleted. If there is a virtual device that cooperates with the virtual device to be deleted, it may have a function of automatically changing the property information of the virtual device to be deleted to the property information of another device 3 or virtual device.
  • the cloud server 1 associates and stores the property information of each virtual device stored in the virtual device storage unit 132 and the property information of the device 3 or another virtual device that can be replaced with the property information.
  • the virtual device update unit 119 uses the virtual device state information of the virtual device to be deleted. If there is a device, identify the property information of device 3 or another virtual device that corresponds to the property information of the virtual device to be deleted stored in the property-related information storage unit, and delete the virtual device linked to the virtual device to be deleted.
  • the property information of the virtual device may be changed to the specified property information.
  • the device 3 when the device 3 acquires the device status request information from the cloud server 1, the device 3 generates the above-mentioned device status notification information and transmits it to the cloud server 1.
  • the present invention is not limited to this, and the device 3 may spontaneously and periodically generate device status notification information and transmit it to the cloud server 1.
  • the device status acquisition unit 111 of the cloud server 1 determines that device status notification information has been acquired from the device 3, a series of processes from steps S104 to S106 shown in FIG. Bye.
  • the cloud server 1 transmits device state request information to the device 3 every time the device state acquisition time arrives at a constant cycle.
  • the device 3 since the device 3 voluntarily and periodically transmits the device status notification information, there is no need to transmit the device status request information, and there is an advantage that the communication cost can be reduced accordingly.
  • the cloud server 1 generates virtual device state information at the timing when the device state notification information is acquired, and updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information.
  • An example was explained.
  • the present invention is not limited to this, and the cloud server 1 generates virtual device state information at a different update cycle of virtual device state information, without synchronizing with the timing at which the virtual device state information is acquired, and the generated virtual device
  • the virtual device state information stored in the virtual device state storage unit 134 may be updated with the state information.
  • the cloud server 1 when the virtual machine state information stored in the virtual machine state storage unit 134 is updated, the cloud server 1 sends a virtual machine state notification based on the updated virtual machine state information immediately after the update.
  • the present invention is not limited to this, and after the cloud server 1 updates the virtual device state information stored in the virtual device state storage unit 134, the cloud server 1 sends virtual device state notification information to the cloud server 1, which is transmitted from the terminal device 5.
  • the virtual device state notification information may not be transmitted unless the virtual device state request information that requests transmission is obtained.
  • the user updates the virtual device status notification image displayed on the display unit 504 via the input unit 505.
  • the virtual device state information transmitted from the cloud server 1 may be acquired by transmitting virtual device state request information to the cloud server 1.
  • an image update operation for example, an update button image is displayed in the part of the virtual device status notification image that is touched by the user when updating the virtual device status notification image, and the user inputs It may be an operation of touching a portion corresponding to the update button image in the section 505.
  • the cloud server 1 even if the virtual device state information stored in the virtual device state storage unit 134 is updated, unless the terminal device 5 transmits the virtual device state request information to the cloud server 1, the Since the virtual machine state notification information based on the updated virtual machine state information is not transmitted from the server 1 to the terminal device 5, there is an advantage that the communication cost is reduced accordingly.
  • the control information generation unit 117 spontaneously generates control information for the plurality of devices 3 corresponding to the virtual device based on the virtual device state information of the virtual device stored in the virtual device state storage unit 134. It may be something that does. For example, it is assumed that the cloud server 1 can acquire pollen information from a weather server connected to the wide area network NW1, and that an "air conditioner with a pollen sensor" is defined as a virtual device. In this case, the control information generation unit 117 generates a virtual Control information for causing the air conditioner 3A corresponding to the device to perform ventilation operation may be generated and transmitted to the air conditioner 3A.
  • the terminal device 5 displays names representing multiple types of virtual devices set in advance on the display unit 504, and the user selects the name of the virtual device to be added from among the displayed names.
  • An example in which a virtual device addition operation is performed has been described.
  • the present invention is not limited to this, and for example, the user may be able to freely select a combination of property information and model information of the device 3.
  • the various functions of the cloud server 1 and the terminal device 5 according to the present disclosure can be realized using a normal computer system, not a dedicated system.
  • a computer connected to a network stores a program for executing the above operations on a non-temporary recording medium that can be read by the computer system (CD-ROM (Compact Disc Read Only Memory), etc.).
  • CD-ROM Compact Disc Read Only Memory
  • the cloud server 1 and the terminal device 5 that execute the above-described process may be configured.
  • the method of providing the program to the computer is arbitrary.
  • the program may be uploaded to a bulletin board system (BBS) on a communication line and distributed to computers via the communication line.
  • BSS bulletin board system
  • the computer starts this program and executes it like other applications under the control of the OS (Operating System).
  • the computer functions as the cloud server 1 or the terminal device 5 that executes the above-described processing.
  • the present disclosure is suitable as a control device that controls multiple devices that cooperate with each other.
  • 1 Cloud server 3, 3A, 3B, 3C, 3D equipment, 41 BBR, 42 Communication adapter, 5 Terminal device, 101,501 CPU, 102,502 Main storage unit, 103,503 Auxiliary storage unit, 106,506 Communication unit , 108 Time measurement unit, 109,509 Bus, 111 Equipment status acquisition unit, 112 Virtual equipment status information generation unit, 113 Virtual equipment status information notification unit, 114 Command acquisition unit, 115 Error determination unit, 116 Error notification unit, 117 Control information Generation unit, 118 Control information notification unit, 119 Virtual device update unit, 120 Authority registration unit, 121 Cooperation determination unit, 122 Warning notification unit, 123 Operation result notification unit, 131 Device status storage unit, 132 Virtual device storage unit, 133 Virtual Equipment master information storage unit, 134, 531 Virtual equipment status storage unit, 135 Authority information storage unit, 136 Control information storage unit, 504 Display unit, 505 Input unit, 511 Virtual equipment status information acquisition unit, 512 Display control unit, 513 Reception Department, 514

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A cloud server (1) comprises: an apparatus status acquisition unit (111) that acquires apparatus status information indicating at least one of the apparatus status of each of a plurality of apparatus (3) used by a user and environmental parameters indicating the environment in which each of the plurality of apparatus (3) has been installed and which is detected by each of the plurality of apparatus (3); and a virtual apparatus status information generation unit (112) that generates virtual apparatus status information having properties different from the apparatus status information related to each of the plurality of apparatus (3) from the apparatus status information of each of the plurality of apparatus (3) on the basis of method information that defines processing content to be performed by at least one virtual apparatus in response to apparatus status information using the properties of the apparatus status information for each of the plurality of apparatus (3).

Description

制御装置、制御システム、機器制御方法およびプログラムControl devices, control systems, equipment control methods and programs
 本開示は、制御装置、制御システム、機器制御方法およびプログラムに関する。 The present disclosure relates to a control device, a control system, a device control method, and a program.
 電気機器の状態情報を取得するメソッドを含むソフトウェアオブジェクトである仮想機器を介して電気機器で消費される電力量或いは電源の状態を取得するサーバコンピュータを備える電気機器の状態情報収集システムが提案されている(例えば特許文献1参照)。この状態情報収集システムでは、サーバコンピュータが、自装置と通信可能な少なくとも1つの電気機器それぞれに対応する仮想機器を介して取得した状態情報を保持する包含仮想機器を作成する機能を有し、自装置と通信可能な少なくとも1つの電気機器の状態情報を作成した包含仮想機器を介して他のサーバコンピュータへ提供する。 An electrical equipment status information collection system has been proposed that includes a server computer that acquires the amount of power consumed by the electrical equipment or the status of the power supply through a virtual equipment that is a software object that includes a method for acquiring the status information of the electrical equipment. (For example, see Patent Document 1). In this state information collection system, a server computer has a function of creating an included virtual device that holds state information acquired via a virtual device corresponding to each of at least one electrical device that can communicate with the server computer. Status information of at least one electrical device that can communicate with the device is provided to other server computers via the created included virtual device.
特開2002-157178号公報Japanese Patent Application Publication No. 2002-157178
 ところで、複数の電気機器により実現される環境の環境パラメータを、複数の電気機器それぞれが有する機能を複合して実現される仮想的な1つ電気機器が管理する環境パラメータとして利用者に提示することにより、利用者が複数の電気機器全体の連携状況或いは複数の電気機器により実現される環境の状況を容易に把握できるようにすることが要請されている。 By the way, it is possible to present the environmental parameters of an environment realized by a plurality of electrical devices to the user as environmental parameters managed by one virtual electrical device that is realized by combining the functions of each of the plurality of electrical devices. Accordingly, there is a demand for enabling users to easily grasp the overall cooperation status of a plurality of electrical devices or the status of an environment realized by a plurality of electrical devices.
 本開示は、上記事由に鑑みてなされたもので、利用者が複数の機器全体の連携状況或いは複数の機器により実現される環境を容易に把握できる制御装置、制御方法およびプログラムを提供することを目的とする。 The present disclosure has been made in view of the above reasons, and aims to provide a control device, a control method, and a program that allow a user to easily grasp the overall cooperation status of multiple devices or the environment realized by multiple devices. purpose.
 上記目的を達成するため、本開示に係る制御装置は、
 複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、
前記複数の機器それぞれの前記機器状態情報のプロパティを用いて前記機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、前記複数の機器それぞれの前記機器状態情報から、前記複数の機器それぞれの前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、を備える。
In order to achieve the above object, a control device according to the present disclosure includes:
a device status acquisition unit that acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed;
The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the information.
 本開示によれば、仮想機器状態情報生成部が、複数の機器それぞれの機器状態情報に対して仮想機器が実行する処理内容を定義するメソッド情報に基づいて、複数の機器それぞれの機器状態情報から、複数の機器それぞれの機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。これにより、例えばメソッド情報として、複数の機器それぞれの機器状態情報から複数の機器全体の連携状況或いは複数の機器が設置された環境の環境パラメータを示す仮想機器状態情報を生成する処理を定義することで、仮想機器状態情報生成部は、複数の機器全体の連携状況或いは複数の機器が設置された環境の環境パラメータを示す仮想機器状態情報を生成することができる。従って、利用者は、複数の機器それぞれの機器状態情報から直接把握できない複数の機器全体の連携状態或いは複数の機器が設置された環境を容易に把握できるようになる。 According to the present disclosure, the virtual device state information generation unit generates the device state information of each of the plurality of devices based on the method information that defines the processing content to be executed by the virtual device on the device state information of each of the plurality of devices. , generates virtual device state information having properties different from the device state information of each of the plurality of devices. With this, for example, as method information, it is possible to define a process for generating virtual device state information indicating the cooperation status of the entire plurality of devices or the environmental parameters of the environment in which the plurality of devices are installed from the device state information of each of the plurality of devices. The virtual device state information generation unit can generate virtual device state information indicating the cooperation status of the entire plurality of devices or the environmental parameters of the environment in which the plurality of devices are installed. Therefore, the user can easily grasp the cooperative state of the entire plurality of devices or the environment in which the plurality of devices are installed, which cannot be directly grasped from the device status information of each of the plurality of devices.
本開示の実施の形態に係る制御システムの構成の一例を示す図A diagram illustrating an example of a configuration of a control system according to an embodiment of the present disclosure 実施の形態に係る制御システムのハードウェア構成を示すブロック図Block diagram showing the hardware configuration of a control system according to an embodiment 実施の形態に係る制御システムの機能構成を示すブロック図Block diagram showing the functional configuration of a control system according to an embodiment 実施の形態に係るクラウドサーバの機器状態記憶部が記憶する情報の一例を示す図A diagram showing an example of information stored in the device state storage unit of the cloud server according to the embodiment. 実施の形態に係るクラウドサーバの仮想機器記憶部が記憶する情報の一例を示す図A diagram illustrating an example of information stored in a virtual device storage unit of a cloud server according to an embodiment. 実施の形態に係るクラウドサーバの仮想機器状態記憶部が記憶する情報の一例を示す図A diagram illustrating an example of information stored in a virtual device state storage unit of a cloud server according to an embodiment. 実施の形態に係る制御システムの動作を説明するためのシーケンス図Sequence diagram for explaining the operation of the control system according to the embodiment 実施の形態に係る制御システムの動作を説明するためのシーケンス図Sequence diagram for explaining the operation of the control system according to the embodiment 実施の形態に係る制御システムの動作を説明するためのシーケンス図Sequence diagram for explaining the operation of the control system according to the embodiment 実施の形態に係る制御システムの動作を説明するためのシーケンス図Sequence diagram for explaining the operation of the control system according to the embodiment 実施の形態に係る端末装置が実行する端末装置制御処理の流れの一例を示すフローチャートFlowchart showing an example of the flow of terminal device control processing executed by the terminal device according to the embodiment 実施の形態に係るクラウドサーバが実行する機器制御処理の流れの一例を示すフローチャートFlowchart showing an example of the flow of device control processing executed by the cloud server according to the embodiment 実施の形態に係るクラウドサーバが実行する機器制御処理の流れの一例を示すフローチャートFlowchart showing an example of the flow of device control processing executed by the cloud server according to the embodiment
 以下、本開示の実施の形態に係る制御装置について図面を参照しながら説明する。実施の形態に係る制御装置は、複数の機器それぞれの機器状態と複数の機器それぞれで検出される複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、複数の機器それぞれの機器状態情報のプロパティを用いて機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、複数の機器それぞれの機器状態情報から、複数の機器それぞれの機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、を備える。ここで、「仮想機器」とは、複数の実際の機器それぞれの温度情報のような環境パラメータ、運転モードのような機器状態それぞれのプロパティを有する情報を持った実際の機器とは異なる仮想的な機器として定義されたものである。 Hereinafter, a control device according to an embodiment of the present disclosure will be described with reference to the drawings. The control device according to the embodiment acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices that indicates the environment in which each of the plurality of devices is installed. A device status acquisition unit and method information that defines the processing content to be executed by at least one virtual device on the device status information using the device status acquisition unit and the properties of the device status information of each of the multiple devices. A virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the state information. Here, "virtual equipment" refers to a virtual equipment different from actual equipment that has information including environmental parameters such as temperature information of each of multiple actual equipments, and properties of each equipment state such as operation mode. It is defined as a device.
 本実施の形態に係る制御システムは、図1に示すように、複数の機器3を制御するクラウドサーバ1と、端末装置5と、を備える。ここで、機器3は、局所ネットワークNW2に通信アダプタ42を介して接続されている。局所ネットワークNW2は、無線LAN(Local Area Network)または有線LANで構成される。また、局所ネットワークNW2は、ブロードバンドルータ(以下、「BBR」と称する。)41を介してインターネットのような広域ネットワークNW1に接続されている。クラウドサーバ1および端末装置5は、広域ネットワークNW1に接続されている。複数の機器3は、例えば空気調和機3A、加湿器3B、温度センサ3C、空気清浄機3Dである。なお、機器3としては、他に冷蔵庫、COセンサ等であってもよい。通信アダプタ42は、いずれもBBR41と通信するための通信モジュールを備え、HTTP(S)、MQTT、WebSocket等の通信プロトコルを用いてクラウドサーバ1と通信する。機器3は、それぞれ、記憶部(図示せず)を備えており、定期的に、自機の機器状態と、自機が設置された環境を示す環境パラメータと、の少なくとも一方を示す情報を、その情報を生成した時期を示す時期情報に対応づけて記憶部に時系列で記憶させている。ここで、機器状態を示す情報としては、機器3のON/OFF状態、設定温度、運転モード、エラー内容等を示す情報が挙げられる。なお、機器3は、直近の自機の機器状態、環境パラメータとの少なくとも一方を示す情報のみを前述の時期情報に対応づけて記憶部に記憶させるものであってもよい。また、環境パラメータを示す情報としては、機器3が設置された室内の温度、機器3が設置された建物の外気温、室内の湿度またはCO濃度等を示す情報が挙げられる。そして、機器3は、クラウドサーバ1から機器状態要求情報を取得すると、自機の状態をクラウドサーバ1へ通知するための機器状態通知情報を生成して、通信アダプタ42を介してクラウドサーバ1へ送信する。ここで、機器状態要求情報は、前述の機器状態通知情報のクラウドサーバ1への送信を要求するための情報である。また、機器状態通知情報は、機器3の記憶部が記憶する直近の機器状態または環境パラメータを示す機器状態情報と、機器状態情報のプロパティを示すプロパティ情報と、機器状態情報を生成した時期を示す時期情報と、機器3を識別する機器識別情報と、を含む。 As shown in FIG. 1, the control system according to this embodiment includes a cloud server 1 that controls a plurality of devices 3, and a terminal device 5. Here, the device 3 is connected to the local network NW2 via a communication adapter 42. The local network NW2 is configured of a wireless LAN (Local Area Network) or a wired LAN. Further, the local network NW2 is connected to a wide area network NW1 such as the Internet via a broadband router (hereinafter referred to as "BBR") 41. Cloud server 1 and terminal device 5 are connected to wide area network NW1. The plurality of devices 3 are, for example, an air conditioner 3A, a humidifier 3B, a temperature sensor 3C, and an air cleaner 3D. Note that the device 3 may also be a refrigerator, a CO 2 sensor, or the like. Each of the communication adapters 42 includes a communication module for communicating with the BBR 41, and communicates with the cloud server 1 using communication protocols such as HTTP(S), MQTT, and WebSocket. Each of the devices 3 is equipped with a storage unit (not shown), and periodically stores information indicating at least one of the device status of the device and environmental parameters indicating the environment in which the device is installed. The information is stored in the storage unit in chronological order in association with time information indicating the time when the information was generated. Here, the information indicating the device state includes information indicating the ON/OFF state of the device 3, set temperature, operation mode, error details, etc. Note that the device 3 may store only information indicating at least one of the most recent device state of the device and environmental parameters in the storage unit in association with the above-mentioned timing information. Further, the information indicating the environmental parameters includes information indicating the temperature inside the room where the device 3 is installed, the outside temperature of the building where the device 3 is installed, the indoor humidity, the CO 2 concentration, etc. When the device 3 acquires the device status request information from the cloud server 1, the device 3 generates device status notification information for notifying the cloud server 1 of its own status, and sends the information to the cloud server 1 via the communication adapter 42. Send. Here, the device status request information is information for requesting the above-mentioned device status notification information to be transmitted to the cloud server 1. Additionally, the device status notification information includes device status information that indicates the most recent device status or environmental parameters stored in the storage unit of the device 3, property information that indicates properties of the device status information, and information that indicates when the device status information was generated. It includes timing information and device identification information for identifying the device 3.
 端末装置5は、例えばスマートフォンであり、図2に示すように、CPU(Central Processing Unit)501と、主記憶部502と、補助記憶部503と、表示部504と、入力部505と、通信部506と、これらを互いに接続するバス509と、を備える。主記憶部502は、RAM(Random Access Memory)のような揮発性メモリを有し、CPU501の作業領域として使用される。補助記憶部503は、半導体フラッシュメモリのような不揮発性メモリであり、CPU501が各種処理を実行するためのプログラムを記憶する。表示部504は、液晶ディスプレイ、有機EL(Electro-Luminescence)ディスプレイ等の表示装置である。入力部505は、例えば表示部504に重ねて配置される透明なタッチパッドである。通信部506は、広域ネットワークNW1に接続され、CPU501から転送される情報を、広域ネットワークNW1を介してクラウドサーバ1へ送信したり、クラウドサーバ1から広域ネットワークNW1を介して受信した情報をCPU501へ転送したりする。 The terminal device 5 is, for example, a smartphone, and as shown in FIG. 506, and a bus 509 that connects these to each other. The main storage unit 502 includes volatile memory such as RAM (Random Access Memory), and is used as a work area for the CPU 501. The auxiliary storage unit 503 is a nonvolatile memory such as a semiconductor flash memory, and stores programs for the CPU 501 to execute various processes. The display unit 504 is a display device such as a liquid crystal display or an organic EL (Electro-Luminescence) display. The input unit 505 is, for example, a transparent touch pad placed over the display unit 504. The communication unit 506 is connected to the wide area network NW1, and transmits information transferred from the CPU 501 to the cloud server 1 via the wide area network NW1, and transmits information received from the cloud server 1 via the wide area network NW1 to the CPU 501. or transfer it.
 CPU501は、補助記憶部503が記憶するプログラムを主記憶部502に読み出して実行することにより、図3に示すように、仮想機器状態情報取得部511、表示制御部512、受付部513、指令通知部514、登録情報管理部515、登録情報通知部516および通知取得部517として機能する。また、図2に示す補助記憶部503は、図3に示すように、仮想機器の状態を示す仮想機器状態情報を記憶する仮想機器状態記憶部531と、登録情報記憶部532と、を有する。登録情報記憶部532は、複数の機器3それぞれの機種情報と機器識別情報と、仮想機器それぞれに対する設定変更の権限を示す権限情報と、を互いに対応づけて記憶する。ここで、仮想機器としては、例えば、空気調和機3Aの機能と加湿器3Bの湿度検出機能とを用いて定義される「湿度センサ付き空気調和機」、空気調和機3Aの機能と加湿器3Bの機能とを用いて定義される「加湿機能付き空気調和機」、温度センサ3Cの機能並びにその他複数の環境パラメータを検出する機能(例えば加湿器3Bの湿度検出機能)を用いて定義される「環境センサ」が挙げられる。また、クラウドサーバ1が、広域ネットワークNW1に接続された気象サーバ(図示せず)から花粉情報を取得する機能を備える場合、仮想機器として、例えば空気清浄機3Dの機能と気象サーバから取得した花粉情報とを用いて「花粉センサ付き空気清浄機」を定義することができる。更に、クラウドサーバ1が、系統電源から主電力線へ供給される電力を複数の機器3それぞれへ分岐させる分電盤の分岐線それぞれの電力、主電力線に接続されたパワーコンディショナ(図示せず)の充電電力または放電電力等を計測する電力計測装置(図示せず)から電力情報を取得する機能を備える場合、仮想機器として、例えば電力計測装置から取得した電力情報を用いて「エネルギマネジメント装置」を定義することができる。 By reading out the program stored in the auxiliary storage unit 503 to the main storage unit 502 and executing it, the CPU 501 acquires the virtual machine status information acquisition unit 511, the display control unit 512, the reception unit 513, and the command notification, as shown in FIG. The registration information management section 514 functions as a registration information management section 515, a registration information notification section 516, and a notification acquisition section 517. Further, the auxiliary storage unit 503 shown in FIG. 2 includes, as shown in FIG. 3, a virtual machine state storage unit 531 that stores virtual machine state information indicating the state of the virtual machine, and a registration information storage unit 532. The registration information storage unit 532 stores model information and device identification information of each of the plurality of devices 3, and authority information indicating the authority to change settings for each virtual device in association with each other. Here, as a virtual device, for example, an "air conditioner with a humidity sensor" defined using the function of the air conditioner 3A and the humidity detection function of the humidifier 3B, the function of the air conditioner 3A and the humidifier 3B "Air conditioner with humidification function" defined using the function of , and "air conditioner with humidification function" defined using the function of the temperature sensor 3C and the function of detecting multiple other environmental parameters (for example, the humidity detection function of the humidifier 3B). environmental sensors. In addition, if the cloud server 1 has a function of acquiring pollen information from a weather server (not shown) connected to the wide area network NW1, the virtual equipment may include, for example, the function of an air purifier 3D and the pollen information acquired from the weather server. "Air purifier with pollen sensor" can be defined using the information. Furthermore, the cloud server 1 branches the power supplied from the grid power supply to the main power line to each of the plurality of devices 3, and the power conditioner (not shown) connected to the main power line. When equipped with a function to acquire power information from a power measuring device (not shown) that measures charging power or discharging power, etc., an "energy management device" is installed as a virtual device using the power information acquired from the power measuring device, for example. can be defined.
 仮想機器状態情報取得部511は、クラウドサーバ1から送信される仮想機器の状態を通知する仮想機器状態情報とこれに対応する機器識別情報とを取得すると、取得した仮想機器状態情報と機器識別情報とを互いに対応づけて仮想機器状態記憶部531に記憶させる。受付部513は、利用者が入力部505に対して行った操作内容を受け付け、受け付けた操作内容を示す操作情報を指令通知部514または登録情報管理部515に通知する。受付部513は、例えば利用者が入力部505に対して、クラウドサーバ1に新たに仮想機器の登録を追加するための仮想機器追加操作、クラウドサーバ1に登録されている仮想機器を削除するための仮想機器削除操作、或いは、仮想機器の設定を変更するための仮想機器設定変更操作を行うと、これらの操作内容を受け付ける。 When the virtual device status information acquisition unit 511 acquires the virtual device status information that notifies the status of the virtual device transmitted from the cloud server 1 and the corresponding device identification information, the virtual device status information acquisition unit 511 acquires the acquired virtual device status information and device identification information. and are stored in the virtual device state storage unit 531 in association with each other. The reception unit 513 accepts the details of the operation performed by the user on the input unit 505, and notifies the command notification unit 514 or the registered information management unit 515 of operation information indicating the accepted operation details. For example, the reception unit 513 allows a user to input a virtual device addition operation to the input unit 505 to add a new virtual device to the cloud server 1, or to delete a virtual device registered in the cloud server 1. When a virtual device deletion operation or a virtual device setting change operation for changing the virtual device settings is performed, the contents of these operations are accepted.
 指令通知部514は、受付部513から仮想機器について設定を変更することを示す操作情報が通知されると、操作情報が示す仮想機器の変更後の設定に基づいて設定変更指令情報を生成してクラウドサーバ1へ送信する。ここで、設定変更指令情報には、設定変更の対象となる仮想機器の機器識別情報と、変更後の設定を示す変更後設定情報と、設定変更を行う利用者を識別する利用者識別情報と、が含まれる。登録情報管理部515は、受付部513から新たに登録する仮想機器の機器識別情報、機種情報および権限情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報、機種情報および権限情報を互いに対応づけて登録情報記憶部532に記憶させる。一方、登録情報管理部515は、受付部513から既に登録されている仮想機器のうち登録を削除する仮想機器の機器識別情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報と、これに対応する機種情報および権限情報とを登録情報記憶部532から削除するとともに、機器識別情報を登録情報通知部516に通知する。 When the command notification unit 514 is notified of the operation information indicating that the settings of the virtual device are to be changed from the reception unit 513, the command notification unit 514 generates setting change command information based on the changed settings of the virtual device indicated by the operation information. Send to cloud server 1. Here, the setting change command information includes device identification information of the virtual device whose settings are to be changed, post-change setting information that indicates the settings after the change, and user identification information that identifies the user who changes the settings. , is included. When the registration information management unit 515 is notified of operation information including device identification information, model information, and authority information of a newly registered virtual device from the reception unit 513, the registration information management unit 515 stores the device identification information, model information, and other information included in the notified operation information. The information and authority information are stored in the registered information storage unit 532 in association with each other. On the other hand, when the registration information management unit 515 is notified from the reception unit 513 of operation information including the device identification information of the virtual device whose registration is to be deleted from among the already registered virtual devices, the registration information management unit 515 controls the operation information included in the notified operation information. The device identification information and the corresponding model information and authority information are deleted from the registration information storage section 532, and the device identification information is notified to the registration information notification section 516.
 登録情報通知部516は、登録情報記憶部532に仮想機器に対応する前述の各種情報が新たに記憶されると、新たに記憶された各種情報を含み、新たに記憶された各種情報に対応する仮想機器を追加する形でクラウドサーバ1に登録された仮想機器を更新するよう指令する仮想機器追加指令情報を生成してクラウドサーバ1へ送信する。ここで、仮想機器追加指令情報は、新たに追加する仮想機器の機器識別情報および機種情報と、新たに追加する仮想機器で使用するプロパティを示すプロパティ情報と、新たに追加する仮想機器の設定変更が許可される利用者を識別する利用者識別情報と、を含む。一方、登録情報通知部516は、登録情報記憶部532から互いに対応づけられた機器識別情報、機種情報および権限情報が削除されると、登録情報管理部515から通知される削除された機器識別情報を含み、登録情報記憶部532から削除された仮想機器を削除する形でクラウドサーバ1に登録された仮想機器を更新するよう指令する仮想機器削除指令情報を生成してクラウドサーバ1へ送信する。ここで、仮想機器削除指令情報は、削除する仮想機器の機器識別情報を含む。 When the aforementioned various information corresponding to the virtual device is newly stored in the registration information storage section 532, the registration information notification section 516 includes the newly stored various information and corresponds to the newly stored various information. Virtual device addition command information is generated and sent to the cloud server 1 to instruct the virtual device registered in the cloud server 1 to be updated by adding a virtual device. Here, the virtual device addition command information includes device identification information and model information of the newly added virtual device, property information indicating the properties to be used in the newly added virtual device, and setting changes for the newly added virtual device. and user identification information that identifies the user who is permitted to do so. On the other hand, when the device identification information, model information, and authority information that are associated with each other are deleted from the registration information storage section 532, the registration information notification section 516 receives the deleted device identification information notified from the registration information management section 515. , and generates virtual device deletion command information that instructs the cloud server 1 to update the virtual device registered in the cloud server 1 by deleting the deleted virtual device from the registration information storage unit 532, and sends it to the cloud server 1. Here, the virtual device deletion command information includes device identification information of the virtual device to be deleted.
 通知取得部517は、クラウドサーバ1から送信されるエラー通知情報を取得すると、取得したエラー通知情報に含まれるエラー原因を示すエラーコード情報を抽出し、抽出したエラーコード情報を表示制御部512に通知する。ここで、エラーコード情報としては、エラー原因が端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報、仮想機器に対する設定変更の内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報等が挙げられる。また、通知取得部517は、クラウドサーバ1から送信される警告通知情報を取得すると、取得した警告通知情報に含まれる削除される仮想機器の機器識別情報とプロパティ情報とを抽出し、抽出した仮想機器の機器識別情報とプロパティ情報とを表示制御部512に通知する。 Upon acquiring the error notification information transmitted from the cloud server 1, the notification acquisition unit 517 extracts error code information indicating the cause of the error included in the acquired error notification information, and sends the extracted error code information to the display control unit 512. Notice. Here, the error code information includes error code information indicating that the cause of the error is that the user of the terminal device 5 does not have the authority to change the settings of the virtual device, and the content of the setting change to the virtual device is prohibited by the virtual device whose settings are to be changed. Examples include error code information indicating that the error has occurred. Further, upon acquiring the warning notification information transmitted from the cloud server 1, the notification acquisition unit 517 extracts the device identification information and property information of the virtual device to be deleted included in the acquired warning notification information, and The device identification information and property information of the device are notified to the display control unit 512.
 表示制御部512は、仮想機器状態記憶部531が記憶する仮想機器状態情報に基づいて、仮想機器の状態を利用者に通知するための仮想機器状態通知画像を形成する。そして、表示制御部512は、形成した仮想機器状態通知画像を表示部504に表示させる。また、表示制御部512は、通知取得部517から前述のエラーコード情報が通知されると、通知されたエラーコード情報に基づいて、エラーコード情報に対応するエラーメッセージを含むエラー通知画像を形成し、形成したエラー通知画像を表示部504に表示させる。また、表示制御部512は、通知取得部517から前述の削除される仮想機器の機器識別情報とプロパティ情報とが通知されると、通知された削除される仮想機器の機器識別情報とプロパティ情報とに基づいて、仮想機器が削除されることにより削除される仮想機器と連携する仮想機器の仮想機器状態情報の内容が影響を受けることを警告する警告メッセージを含む警告通知画像を形成し、形成した警告通知画像を表示部504に表示させる。 The display control unit 512 forms a virtual machine state notification image for notifying the user of the state of the virtual machine based on the virtual machine state information stored in the virtual machine state storage unit 531. Then, the display control unit 512 causes the display unit 504 to display the formed virtual device status notification image. Further, when the display control unit 512 is notified of the above-mentioned error code information from the notification acquisition unit 517, the display control unit 512 forms an error notification image including an error message corresponding to the error code information based on the notified error code information. , causes the display unit 504 to display the formed error notification image. Further, when the display control unit 512 is notified of the device identification information and property information of the virtual device to be deleted from the notification acquisition unit 517, the display control unit 512 receives the device identification information and property information of the virtual device to be deleted. , a warning notification image containing a warning message warning that the content of virtual device state information of a virtual device that cooperates with the virtual device to be deleted will be affected by the deletion of the virtual device; A warning notification image is displayed on the display unit 504.
 なお、端末装置5の各機能は、端末装置5の利用者によって一部を省略してもよい。例えば、複数の機器3の施工を管理する施工業者が所持する端末装置5は、前述の全ての機能を有し、一方、複数の機器3の利用者が所持する端末装置5は、登録情報管理部515、登録情報通知部516および登録情報記憶部532の機能を備えていないものとしてもよい。 Note that some of the functions of the terminal device 5 may be omitted depending on the user of the terminal device 5. For example, a terminal device 5 owned by a construction contractor who manages the construction of a plurality of devices 3 has all the functions described above, whereas a terminal device 5 owned by a user of a plurality of devices 3 manages registration information. The functions of the registration information notification section 515, the registration information notification section 516, and the registration information storage section 532 may not be provided.
 クラウドサーバ1は、図2に示すように、CPU101と、主記憶部102と、補助記憶部103と、通信部106と、計時部108と、これらを相互に接続するバス109と、を備える。CPU101は、例えばマルチコアプロセッサである。主記憶部102は、RAMのような揮発性メモリを有し、CPU101の作業領域として使用される。補助記憶部103は、大容量の不揮発性メモリから構成され、クラウドサーバ1の各種機能を実現するためのプログラムを記憶する。通信部106は、広域ネットワークNW1に接続されている。計時部108は、例えばRTC(Real Time Clock)を有し、計時した時刻情報をCPU101へ通知する。 As shown in FIG. 2, the cloud server 1 includes a CPU 101, a main storage section 102, an auxiliary storage section 103, a communication section 106, a timekeeping section 108, and a bus 109 that interconnects them. CPU 101 is, for example, a multi-core processor. The main storage unit 102 has volatile memory such as RAM, and is used as a work area for the CPU 101. The auxiliary storage unit 103 is composed of a large-capacity nonvolatile memory, and stores programs for realizing various functions of the cloud server 1. The communication unit 106 is connected to the wide area network NW1. The clock unit 108 has, for example, an RTC (Real Time Clock), and notifies the CPU 101 of clocked time information.
 CPU101は、補助記憶部103が記憶するプログラムを主記憶部102に読み出して実行することにより、図3に示すように、機器状態取得部111、仮想機器状態情報生成部112、仮想機器状態情報通知部113、指令取得部114、エラー判定部115、エラー通知部116、制御情報生成部117、制御情報通知部118、仮想機器更新部119、権限登録部120、連携判定部121、警告通知部122および操作結果通知部123として機能する。また、図2に示す補助記憶部103は、図3に示すように、機器状態記憶部131と、仮想機器記憶部132と、仮想機器マスタ情報記憶部133と、仮想機器状態記憶部134と、権限情報記憶部135と、制御情報記憶部136と、を有する。機器状態記憶部131は、例えば図4に示すように、機器3それぞれの機器状態と機器3それぞれで検出される機器3それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報と機器状態情報のプロパティを示すプロパティ情報とを、対応する機器3の機器識別情報および機種情報の組み合わせに対応づけて記憶する。図4に示す例では、機器状態記憶部131が、機器識別情報IDE[0]で識別される空気調和機3Aについて、空気調和機3Aの状態を示すプロパティ情報PAR[0,2](ON/OFF状態)、PAR[0,3](設定温度)、PAR[0,4](風向)、PAR[0,5](風速)に対応する機器状態情報と、機器3Aが設置された環境を示す環境パラメータを示すプロパティ情報PAR[0,0](温度)、PAR[0,1](外気温)に対応する機器状態情報と、を記憶していることを示している。また、機器状態記憶部131は、機器識別情報IDE[1]で識別される加湿器3Bについて、加湿器3Bの状態を示すプロパティ情報PAR[1,2](ON/OFF状態)、PAR[1,6](設定湿度)、PAR[1,7](タンク水量)、PAR[1,8](運転モード係数)に対応する機器状態情報と、加湿器3Bが設置された環境を示す環境パラメータを示すプロパティ情報PAR[1,0](湿度)と、を記憶していることを示している。ここで、運転モード係数は、例えば加湿器3Bの運転モードとして「強」、「中」、「弱」が存在する場合、それぞれの運転モードに対応する係数を「3.0」、「2.0」、「1.0」に設定することができる。図4に示す例では、「弱」即ち「1.0」に設定されていることを示している。 By reading the program stored in the auxiliary storage unit 103 into the main storage unit 102 and executing it, the CPU 101 sends the device status acquisition unit 111, the virtual device status information generation unit 112, and the virtual device status information notification as shown in FIG. unit 113, command acquisition unit 114, error determination unit 115, error notification unit 116, control information generation unit 117, control information notification unit 118, virtual device update unit 119, authority registration unit 120, cooperation determination unit 121, warning notification unit 122 It also functions as an operation result notification section 123. Further, the auxiliary storage unit 103 shown in FIG. 2 includes, as shown in FIG. 3, a device status storage unit 131, a virtual device storage unit 132, a virtual device master information storage unit 133, a virtual device status storage unit 134, It has an authority information storage section 135 and a control information storage section 136. For example, as shown in FIG. 4, the device state storage unit 131 stores device state information indicating at least one of the device state of each device 3 and an environmental parameter detected by each device 3 that indicates the environment in which each device 3 is installed. and property information indicating properties of the device status information are stored in association with a combination of device identification information and model information of the corresponding device 3. In the example shown in FIG. 4, the device status storage unit 131 stores property information PAR[0,2] (ON/ON/ OFF state), PAR[0,3] (set temperature), PAR[0,4] (wind direction), PAR[0,5] (wind speed) and the environment in which device 3A is installed. This indicates that property information PAR[0,0] (temperature) indicating the indicated environmental parameter and device status information corresponding to PAR[0,1] (outside temperature) are stored. Further, the device status storage unit 131 stores property information PAR[1,2] (ON/OFF status) indicating the status of the humidifier 3B, PAR[1] for the humidifier 3B identified by the device identification information IDE[1]. , 6] (set humidity), PAR [1, 7] (tank water amount), PAR [1, 8] (operation mode coefficient), and environmental parameters indicating the environment in which the humidifier 3B is installed. This indicates that property information PAR[1,0] (humidity) is stored. Here, when the operation mode coefficient of the humidifier 3B is "strong", "medium", and "weak", for example, the coefficient corresponding to each operation mode is "3.0", "2.0", "2.0", etc. It can be set to "0" or "1.0". The example shown in FIG. 4 shows that it is set to "weak", that is, "1.0".
 仮想機器記憶部132は、例えば図5Aに示すように、仮想機器で使用するプロパティを示すプロパティ情報と、メソッド情報と、対応機器情報と、から構成される仮想機器情報を、対応する仮想機器を識別する機器識別情報と仮想機器の種別を示す機種情報との組み合わせに対応づけて記憶する。仮想機器としては、前述の「加湿機能つき空気調和機」、「エネルギマネジメント装置」等が挙げられる。ここで、メソッド情報は、機器3それぞれの機器状態情報のプロパティを用いて機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義する情報であり、即ち、プロパティ情報が示すプロパティを有する機器状態情報を用いて仮想機器状態情報を算出する方法を表す。プロパティ情報は、例えばECHONET Lite Web API(登録商標)ガイドラインで規定されているプロパティで表すことができる。メソッド情報としては、例えば「加湿機能つき空気調和機」について、加湿器3Bのタンク水量を示すプロパティ情報を用いて定義され、タンク水量から加湿残時間を算出する数式を定義するもの、仮想機器に対応する機器3の機器状態情報をそのままコピーするいわゆる情報同期メソッドを定義するものがある。また、メソッド情報としては、機器状態情報が示す機器3の状態の論理演算、過去の機器状態情報が示す環境パラメータと現在の環境パラメータとの差分演算を定義するものであってもよい。また、対応機器情報は、仮想機器に対応する機器3の機器識別情報を示し、仮想機器が仮想機器状態情報を得るための機器情報の取得先の機器3の機器識別情報に相当する。 For example, as shown in FIG. 5A, the virtual device storage unit 132 stores virtual device information including property information indicating properties used in the virtual device, method information, and compatible device information, and stores the corresponding virtual device. It is stored in association with a combination of device identification information to be identified and model information indicating the type of virtual device. Examples of the virtual equipment include the aforementioned "air conditioner with humidification function" and "energy management device." Here, the method information is information that defines the processing content that at least one virtual device executes on the device status information using the properties of the device status information of each of the devices 3. In other words, the method information is information that defines the processing content that at least one virtual device executes on the device status information using the properties of the device status information of each of the devices 3. This represents a method of calculating virtual device state information using device state information that has. The property information can be represented by, for example, properties defined in the ECHONET Lite Web API (registered trademark) guidelines. For example, the method information is defined using property information indicating the tank water volume of the humidifier 3B for an "air conditioner with humidification function", and defines a formula for calculating the remaining humidification time from the tank water volume. There is a method that defines a so-called information synchronization method that copies the device state information of the corresponding device 3 as it is. Further, the method information may define a logical operation on the state of the device 3 indicated by the device state information, or a difference operation between the environmental parameter indicated by the past device state information and the current environmental parameter. Further, the corresponding device information indicates the device identification information of the device 3 corresponding to the virtual device, and corresponds to the device identification information of the device 3 from which the virtual device obtains the device information for obtaining the virtual device status information.
 図5Aに示す例では、仮想機器記憶部132が、機器識別情報IDVE[0]で識別される加湿機能付き空気調和機VAについて、ON/OFF状態、設定温度、設定湿度、加湿残時間のような仮想機器の機器状態を示すプロパティ情報VPAR[0,2]、VPAR[0,3]、VPAR[0,6]、VPAR[0,9]と、仮想機器に対応する機器3が設置された環境を示す環境パラメータである快適性を示すプロパティ情報VPAR[0,8]と、各プロパティ情報に対応するメソッド情報と、を記憶していることを示している。ここで、仮想機器のON/OFF状態を示すプロパティ情報VPAR[0,2]は、空気調和機3AのON/OFF状態を示すプロパティ情報PAR[0,2]に対応する機器状態情報と、加湿器3BのON/OFF状態を示すプロパティ情報PAR[1,2]に対応する機器状態情報と、の論理和に相当することを示している。即ち、プロパティ情報PAR[0,2]に対応する空気調和機3AのON/OFF状態と、プロパティ情報PAR[1,2]に対応する加湿器3BのON/OFF状態と、の両方がON状態であればON状態に設定され、少なくとも一方がOFF状態であればOFF状態に設定されることを示している。また、プロパティ情報VPAR[0,3]、VPAR[0,6]に対応する仮想機器の設定温度、設定湿度は、それぞれ、プロパティ情報PAR[0,3]に対応する空気調和機3Aの設定温度と、プロパティ情報PAR[1,6]に対応する加湿器3Bの設定湿度と、をそのまま採用することを示している。更に、プロパティ情報VPAR[0,8]に対応する加湿機能付き空気調和機VAが示す快適性は、プロパティ情報PAR[0,0]、PAR[0,5]、PAR[1,0]に対応する空気調和機3Aで検出される温度と、空気調和機3Aの風速と、加湿器3Bで検出される湿度と、季節を示すパラメータSPと、を引数とする関数で算出されることを示している。また、プロパティ情報VPAR[0,9]に対応する加湿機能付き空気調和機VAの加湿残時間は、プロパティ情報PAR[1,7]に対応する加湿器3Bのタンク水量を、プロパティ情報PAR[1,8]に対応する加湿器3Bの運転モード係数と予め設定された係数C1との積で除することにより算出されることを示している。ここで、係数C1としては、例えば加湿器3Bを運転モード「弱」で運転させた場合の加湿器3Bの単位時間当たりの消費水量を採用することができる。 In the example shown in FIG. 5A, the virtual device storage unit 132 stores information such as the ON/OFF state, set temperature, set humidity, and remaining humidification time for the air conditioner VA with a humidifying function identified by the device identification information IDVE[0]. The property information VPAR[0,2], VPAR[0,3], VPAR[0,6], VPAR[0,9] indicating the device status of the virtual device and the device 3 corresponding to the virtual device installed. This indicates that property information VPAR[0,8] indicating comfort, which is an environmental parameter indicating the environment, and method information corresponding to each property information are stored. Here, the property information VPAR[0,2] indicating the ON/OFF state of the virtual device is the device state information corresponding to the property information PAR[0,2] indicating the ON/OFF state of the air conditioner 3A, and the humidifier This indicates that it corresponds to the logical sum of the property information PAR [1, 2] indicating the ON/OFF state of the device 3B and the corresponding device state information. That is, both the ON/OFF state of the air conditioner 3A corresponding to the property information PAR[0,2] and the ON/OFF state of the humidifier 3B corresponding to the property information PAR[1,2] are in the ON state. If it is, the ON state is set, and if at least one is in the OFF state, the OFF state is set. In addition, the set temperature and set humidity of the virtual equipment corresponding to the property information VPAR[0,3] and VPAR[0,6] are the set temperature of the air conditioner 3A corresponding to the property information PAR[0,3], respectively. This indicates that the set humidity of the humidifier 3B corresponding to the property information PAR[1,6] is to be adopted as is. Furthermore, the comfort indicated by the air conditioner VA with humidification function corresponding to the property information VPAR[0,8] corresponds to the property information PAR[0,0], PAR[0,5], and PAR[1,0]. It is calculated using a function whose arguments are the temperature detected by the air conditioner 3A, the wind speed of the air conditioner 3A, the humidity detected by the humidifier 3B, and the parameter SP indicating the season. There is. In addition, the remaining humidification time of the air conditioner VA with humidification function corresponding to the property information VPAR[0,9] is determined by the amount of water in the tank of the humidifier 3B corresponding to the property information PAR[1,7]. , 8] by the product of the operation mode coefficient of the humidifier 3B and a preset coefficient C1. Here, as the coefficient C1, for example, the amount of water consumed per unit time of the humidifier 3B when the humidifier 3B is operated in the "weak" operation mode can be adopted.
 図3に戻って、仮想機器マスタ情報記憶部133は、予め設定された複数種類の仮想機器それぞれについて、前述のメソッド情報の元となるメソッドテンプレート情報を、仮想機器の種別を示す機種情報に対応づけて記憶する。メソッド情報は、そのメソッド情報を用いる仮想機器の機種情報に対応づけられたメソッドテンプレート情報について、仮想機器で使用する機器状態情報のプロパティを設定してインスタンス化することにより生成される。 Returning to FIG. 3, the virtual device master information storage unit 133 stores method template information, which is the source of the method information, for each of a plurality of preset virtual devices, in correspondence with model information indicating the type of virtual device. and remember it. Method information is generated by setting properties of device state information used in a virtual device and instantiating method template information associated with model information of a virtual device that uses the method information.
 仮想機器状態記憶部134は、例えば図5Bに示すように、仮想機器記憶部132が記憶する仮想機器それぞれの仮想機器状態情報とプロパティ情報とを、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて記憶する。 For example, as shown in FIG. 5B, the virtual device state storage unit 134 converts the virtual device state information and property information of each virtual device stored in the virtual device storage unit 132 into a combination of device identification information and model information of the virtual device. Store in association.
 図3に戻って、権限情報記憶部135は、機器3、仮想機器それぞれの設定を変更する権限を示す権限情報を、機器3、仮想機器の機器識別情報に対応づけて記憶する。ここで、権限情報は、機器3、仮想機器それぞれについて、設定変更を許可する利用者を識別する利用者識別情報を含む。制御情報記憶部136は、機器3の動作を制御するための制御情報を記憶する。 Returning to FIG. 3, the authority information storage unit 135 stores authority information indicating the authority to change the settings of the device 3 and the virtual device in association with the device identification information of the device 3 and the virtual device. Here, the authority information includes user identification information that identifies a user who is permitted to change settings for each of the device 3 and the virtual device. The control information storage unit 136 stores control information for controlling the operation of the device 3.
 機器状態取得部111は、予め設定された機器状態取得時期が到来する毎に、前述の機器状態要求情報を複数の機器3それぞれへ送信することにより、複数の機器3それぞれから前述の機器状態通知情報を取得する。ここで、機器状態取得部111は、計時部108により計時される時刻情報に基づいて、前述の機器状態取得時期が到来したことを検知する。この機器状態取得時期は、例えば30分間隔で到来するように設定される。なお、機器状態取得時期の到来間隔は、例えば仮想機器毎に各別に設定されてもよい。例えば仮想機器「エネルギマネジメント装置」については、対応する機器3についての機器状態取得時期の到来間隔が30分に設定され、仮想機器「環境センサ」については、対応する機器3についての機器状態取得時期の到来間隔が5分に設定されていてもよい。また、機器状態取得部111は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。このようにして、機器状態取得部111は、複数の機器3それぞれの機器状態と複数の機器3それぞれで検出される複数の機器3それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する。機器状態取得部111は、取得した機器状態情報とプロパティ情報とを、抽出した機器状態通知情報の送信元の機器3の機器識別情報および機種情報の組み合わせに対応づけて機器状態記憶部131に記憶させる。ここで、機器状態取得部111は、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも後である場合、取得した機器状態情報を用いて機器状態記憶部131が記憶する機器状態情報を更新する。一方、機器状態取得部111は、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも前である場合、取得した機器状態情報を用いた機器状態記憶部131が記憶する機器状態情報の更新を回避する。また、機器状態取得部111は、制御情報通知部118から制御情報の送信先の機器3の機器識別情報が通知された後、通知された機器識別情報で識別される機器3から送信される応答情報を取得すると、機器状態要求を応答情報の送信元の機器3へ送信することにより、当該機器3から機器状態情報を取得する。ここで、応答情報は、制御情報の送信先の機器3がクラウドサーバ1から送信された制御情報を取得したことを通知するための情報である。 The device state acquisition unit 111 receives the device state notification from each of the plurality of devices 3 by transmitting the device state request information described above to each of the plurality of devices 3 each time a preset device state acquisition time arrives. Get information. Here, the device state acquisition unit 111 detects that the above-mentioned device state acquisition time has arrived based on time information measured by the clock unit 108. This device state acquisition timing is set to arrive at, for example, every 30 minutes. Note that the arrival interval of the device status acquisition timing may be set separately for each virtual device, for example. For example, for the virtual device "Energy Management Device", the arrival interval of the device status acquisition time for the corresponding device 3 is set to 30 minutes, and for the virtual device "Environmental Sensor", the device status acquisition time for the corresponding device 3 is set to 30 minutes. The arrival interval may be set to 5 minutes. Furthermore, upon acquiring the device status notification information, the device status acquisition unit 111 extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information. In this way, the device state acquisition unit 111 indicates at least one of the device state of each of the plurality of devices 3 and the environmental parameter detected by each of the plurality of devices 3 and indicating the environment in which each of the plurality of devices 3 is installed. Get device status information. The device status acquisition unit 111 stores the acquired device status information and property information in the device status storage unit 131 in association with the combination of device identification information and model information of the device 3 that is the source of the extracted device status notification information. let Here, if the generation time of the acquired device state information is later than the immediately previous device state acquisition time, the device state acquisition unit 111 uses the acquired device state information to store the device state in the device state storage unit 131. Update information. On the other hand, if the generation time of the acquired device status information is earlier than the previous device status acquisition time, the device status acquisition unit 111 generates the device status information stored in the device status storage unit 131 using the acquired device status information. Avoid updating. In addition, after being notified of the device identification information of the device 3 to which the control information is to be transmitted from the control information notification unit 118, the device status acquisition unit 111 responds to a response transmitted from the device 3 identified by the notified device identification information. Once the information is acquired, the device status information is acquired from the device 3 by transmitting a device status request to the device 3 that is the source of the response information. Here, the response information is information for notifying that the device 3 to which the control information is transmitted has acquired the control information transmitted from the cloud server 1.
 仮想機器状態情報生成部112は、仮想機器記憶部132が記憶する仮想機器のメソッド情報に基づいて、複数の機器3それぞれの機器状態情報から仮想機器状態情報を生成する。ここで、仮想機器状態情報生成部112は、機器3の機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成しうる。このような仮想機器状態情報としては、前述の仮想機器の加湿残時間、快適性等のような仮想機器に対応する機器3の機器状態、仮想機器に対応する機器3が設置された環境の環境パラメータを示す情報が挙げられる。仮想機器状態情報生成部112は、生成した仮想機器状態情報を、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて仮想機器状態記憶部134に記憶させる。仮想機器状態情報通知部113は、仮想機器状態記憶部134が記憶する仮想機器状態情報とこれに対応する仮想機器の機器識別情報とを含む仮想機器状態通知情報を生成して端末装置5へ送信する。また、仮想機器状態情報生成部112は、制御情報通知部118から通知される制御情報と、機器状態記憶部131が記憶する制御情報通知部118が送信した制御情報に基づいて動作を開始した後の機器3の機器状態情報とに基づいて、設定変更対象に仮想機器に対応する機器3それぞれの設定が正常に変更されたか否かを判定する。そして、仮想機器状態情報生成部112は、機器3の設定が正常に変更されたと判定すると、設定変更後の機器状態情報から仮想機器状態情報を生成して仮想機器状態記憶部134に記憶させる。一方、仮想機器状態情報生成部112は、機器3の設定が正常に変更されていないと判定すると、仮想機器状態情報の生成を回避する。 The virtual device state information generation unit 112 generates virtual device state information from the device state information of each of the plurality of devices 3 based on the virtual device method information stored in the virtual device storage unit 132. Here, the virtual device state information generation unit 112 can generate virtual device state information having properties different from the device state information of the device 3. Such virtual device status information includes the device status of the device 3 corresponding to the virtual device, such as the remaining humidification time of the virtual device, comfort, etc., and the environment in which the device 3 corresponding to the virtual device is installed. Examples include information indicating parameters. The virtual device state information generation unit 112 stores the generated virtual device state information in the virtual device state storage unit 134 in association with the combination of device identification information and model information of the virtual device. The virtual device state information notification unit 113 generates virtual device state notification information including the virtual device state information stored in the virtual device state storage unit 134 and the device identification information of the virtual device corresponding to the virtual device state information, and transmits the generated virtual device state notification information to the terminal device 5. do. Further, after starting the operation based on the control information notified from the control information notification unit 118 and the control information transmitted by the control information notification unit 118 stored in the device status storage unit 131, the virtual device status information generation unit 112 Based on the device state information of the devices 3, it is determined whether the settings of each device 3 corresponding to the virtual device as the setting change target have been changed normally. When the virtual device state information generation unit 112 determines that the settings of the device 3 have been changed normally, the virtual device state information generation unit 112 generates virtual device state information from the device state information after the setting change and stores it in the virtual device state storage unit 134. On the other hand, if the virtual device status information generation unit 112 determines that the settings of the device 3 have not been changed normally, it avoids generating the virtual device status information.
 指令取得部114は、端末装置5から送信される前述の設定変更指令情報を取得すると、取得した設定変更指令情報に含まれる仮想機器の機器識別情報、変更後設定情報および利用者識別情報を抽出する。そして、指令取得部114は、抽出した仮想機器の機器識別情報、変更後設定情報および利用者識別情報をエラー判定部115に通知する。また、指令取得部114は、エラー判定部115によりエラーが無いと判定されると、抽出した仮想機器の機器識別情報および変更後設定情報を、制御情報生成部117に通知する。 Upon acquiring the aforementioned setting change command information transmitted from the terminal device 5, the command acquisition unit 114 extracts the device identification information, post-change setting information, and user identification information of the virtual device included in the acquired setting change command information. do. Then, the command acquisition unit 114 notifies the error determination unit 115 of the device identification information, post-change setting information, and user identification information of the extracted virtual device. Further, when the error determination unit 115 determines that there is no error, the command acquisition unit 114 notifies the control information generation unit 117 of the device identification information and changed setting information of the extracted virtual device.
 エラー判定部115は、権限情報記憶部135が記憶する権限情報と指令取得部114から通知される利用者識別情報とに基づいて、設定変更指令情報の送信元の端末装置5の利用者が機器3または仮想機器の設定変更の権限を有するか否かを判定する。ここで、エラー判定部115は、権限情報記憶部135が記憶する権限情報を参照して、指令取得部114が通知された利用者情報が、指令取得部114から通知された仮想機器の機器識別情報に対応する権限情報に含まれる利用者情報のいずれかと一致するか否かを判定する。そして、エラー判定部115は、権限情報に含まれる利用者情報のいずれとも一致しない場合、設定変更の権限が無いと判定して、端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報をエラー通知部116に通知する。また、エラー判定部115は、指令取得部114から通知された仮想機器の機器識別情報と変更後設定情報とに基づいて、機器識別情報で識別される仮想機器に対する設定変更の内容が設定変更対象の仮想機器で禁止されている場合、当該設定変更の内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報をエラー通知部116に通知する。一方、エラー判定部115は、指令取得部114から通知された利用者情報が権限情報に含まれ且つ設定変更の内容が許容されていると判定すると、エラーが無いことを指令取得部114に通知する。エラー通知部116は、エラー判定部115からエラーコード情報が通知されると、通知されたエラーコード情報を含むエラー通知情報を生成して端末装置5へ送信する。 The error determination unit 115 determines whether the user of the terminal device 5 that is the source of the setting change command information is the 3 or determine whether the user has the authority to change the settings of the virtual device. Here, the error determination unit 115 refers to the authority information stored in the authority information storage unit 135 and determines whether the user information notified by the command acquisition unit 114 is the device identification of the virtual device notified from the command acquisition unit 114. It is determined whether the information matches any of the user information included in the authority information corresponding to the information. If the error determination unit 115 does not match any of the user information included in the authority information, the error determination unit 115 determines that the user of the terminal device 5 does not have the authority to change the settings of the virtual device. The error code information indicating the error code is notified to the error notification unit 116. Furthermore, based on the device identification information and post-change setting information of the virtual device notified from the command acquisition unit 114, the error determination unit 115 determines whether the content of the setting change for the virtual device identified by the device identification information is the target of the setting change. If the setting change is prohibited in the virtual device, the error notification unit 116 is notified of error code information indicating that the content of the setting change is prohibited in the virtual device whose settings are to be changed. On the other hand, if the error determination unit 115 determines that the user information notified from the command acquisition unit 114 is included in the authority information and the content of the setting change is permitted, it notifies the command acquisition unit 114 that there is no error. do. When the error notification unit 116 is notified of the error code information from the error determination unit 115 , the error notification unit 116 generates error notification information including the notified error code information and transmits it to the terminal device 5 .
 制御情報生成部117は、設定変更指令情報による設定変更対象が仮想機器であるか否かを判定し、設定変更対象が実際の機器3である場合、その機器3のみについて機器3の動作を制御するための制御情報を生成する。一方、制御情報生成部117は、設定変更指令情報による設定変更対象が仮想機器であると判定すると、仮想機器記憶部132が記憶する設定変更対象の仮想機器の対応機器情報を参照して、仮想機器に対応する機器3を特定する。そして、制御情報生成部117は、特定した機器3それぞれの動作を制御する制御情報を生成する。制御情報生成部117は、生成した制御情報を、それに対応する機器3の機器識別情報に対応づけて制御情報記憶部136に記憶させる。制御情報通知部118は、制御情報記憶部136が記憶する制御情報を、制御情報に対応づけられた機器識別情報で識別される機器3それぞれへ送信する。また、制御情報通知部118は、制御情報を送信すると、送信した制御情報に対応づけられた機器識別情報を機器状態取得部111に通知するとともに、制御情報と設定変更対象の仮想機器の機器識別情報とを操作結果通知部123に通知する。 The control information generation unit 117 determines whether or not the setting change target based on the setting change command information is a virtual device, and if the setting change target is the actual device 3, controls the operation of the device 3 only for that device 3. Generate control information for On the other hand, when the control information generation unit 117 determines that the setting change target based on the setting change command information is a virtual device, the control information generation unit 117 refers to the corresponding device information of the virtual device whose settings are changed stored in the virtual device storage unit 132, and Identify the device 3 corresponding to the device. Then, the control information generation unit 117 generates control information for controlling the operation of each of the identified devices 3. The control information generation unit 117 stores the generated control information in the control information storage unit 136 in association with the device identification information of the corresponding device 3. The control information notification unit 118 transmits the control information stored in the control information storage unit 136 to each of the devices 3 identified by the device identification information associated with the control information. Furthermore, when the control information notification unit 118 transmits the control information, it notifies the device status acquisition unit 111 of the device identification information associated with the transmitted control information, and also sends the control information and the device identification of the virtual device whose settings are to be changed. information to the operation result notification unit 123.
 仮想機器更新部119は、端末装置5から送信される仮想機器を新たに追加するよう指令する仮想機器追加指令情報を取得すると、取得した仮想機器追加指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する。そして、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、抽出した機種情報に対応するメソッドテンプレート情報を特定する。次に、仮想機器更新部119は、特定したメソッドテンプレート情報について、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報のプロパティに設定してインスタンス化することによりメソッド情報を生成する。そして、仮想機器更新部119は、前述のプロパティ情報と生成したメソッド情報とこれらに対応する機器識別情報および機種情報とを、仮想機器記憶部132に新たに記憶させることで仮想機器記憶部132が記憶する仮想機器情報を更新する。一方、仮想機器更新部119は、端末装置5から送信される既に仮想機器記憶部132が記憶している仮想機器に対応する各種情報を削除するよう指令する仮想機器削除指令情報を取得すると、仮想機器削除指令情報に含まれる機器識別情報に対応するプロパティ情報とメソッド情報と機種情報とを削除する形で仮想機器情報を更新する。 When the virtual device update unit 119 acquires the virtual device addition command information that instructs to add a new virtual device transmitted from the terminal device 5, the virtual device update unit 119 updates the device identification information, property information, and information included in the acquired virtual device addition command information. Extract model information. Then, the virtual device update unit 119 identifies method template information corresponding to the extracted model information from among the method template information stored in the virtual device master information storage unit 133. Next, the virtual device update unit 119 generates method information by instantiating the specified method template information by setting the property indicated by the extracted property information as a property of the device status information used in the virtual device. Then, the virtual device update unit 119 causes the virtual device storage unit 132 to newly store the property information, the generated method information, and the corresponding device identification information and model information in the virtual device storage unit 132. Update the stored virtual device information. On the other hand, when the virtual device update unit 119 acquires virtual device deletion command information sent from the terminal device 5 and instructs to delete various information corresponding to the virtual device already stored in the virtual device storage unit 132, the virtual device update unit 119 The virtual device information is updated by deleting the property information, method information, and model information corresponding to the device identification information included in the device deletion command information.
 権限登録部120は、端末装置5から仮想機器を新たに追加するよう指令する仮想機器追加指令情報を取得すると、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する。一方、権限登録部120は、端末装置5から既に仮想機器記憶部132が記憶している仮想機器に対応する各種情報を削除するよう指令する仮想機器削除指令情報を取得すると、取得した仮想機器削除指令情報に含まれる機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する。 When the authority registration unit 120 acquires virtual device addition command information that instructs to add a new virtual device from the terminal device 5, the authority registration unit 120 transfers the user identification information included in the acquired virtual device addition command information to the acquired virtual device addition command information. The authority information stored in the authority information storage unit 135 is updated in addition to the authority information corresponding to the device identification information included in the command information. On the other hand, when the authority registration unit 120 acquires virtual device deletion command information that instructs to delete various information corresponding to the virtual device already stored in the virtual device storage unit 132 from the terminal device 5, the authority registration unit 120 deletes the acquired virtual device. The authority information stored in the authority information storage unit 135 is updated by deleting the authority information corresponding to the device identification information included in the command information.
 連携判定部121は、仮想機器記憶部132が記憶している仮想機器情報のうちのいずれか1つを仮想機器記憶部132から削除する形で仮想機器情報を更新する際、削除する仮想機器の仮想機器情報を用いる削除される仮想機器と連携する仮想機器が有るか否かを判定する。連携判定部121は、削除される仮想機器と連携する仮想機器が存在する場合、連携する仮想機器の機器識別情報とプロパティ情報とを警告通知部122に通知する。警告通知部122は、連携判定部121から仮想機器の機器識別情報が通知されると、通知された機器識別情報を含む警告情報を生成して端末装置5へ送信する。 When updating virtual device information by deleting any one of the virtual device information stored in the virtual device storage section 132 from the virtual device storage section 132, the cooperation determination section 121 determines which virtual device to delete. It is determined whether there is a virtual device that cooperates with the virtual device to be deleted using virtual device information. If there is a virtual device that cooperates with the virtual device to be deleted, the cooperation determination section 121 notifies the warning notification section 122 of the device identification information and property information of the virtual device that cooperates. When the warning notification unit 122 is notified of the device identification information of the virtual device from the cooperation determination unit 121, the warning notification unit 122 generates warning information including the notified device identification information and transmits it to the terminal device 5.
 操作結果通知部123は、制御情報通知部118から通知される制御情報と、機器状態記憶部131が記憶する制御情報通知部118が送信した制御情報に基づいて動作を開始した後の機器3の機器状態情報とに基づいて、設定変更対象に仮想機器に対応する機器3それぞれの設定が正常に変更されたか否かを判定する。そして、操作結果通知部123は、機器3の設定が正常に変更されていないと判定すると、設定変更が失敗したことを通知する操作結果通知情報を生成して端末装置5へ送信する。一方、操作結果通知部123は、機器3の設定が正常に変更されたと判定すると、設定変更後の仮想機器状態情報を含む操作結果通知情報を生成して端末装置5へ送信する。 The operation result notifying unit 123 determines whether the device 3 has started operating based on the control information notified from the control information notifying unit 118 and the control information transmitted by the control information notifying unit 118 stored in the device state storage unit 131. Based on the device state information, it is determined whether the settings of each of the devices 3 corresponding to the virtual device to be changed have been changed normally. If the operation result notification unit 123 determines that the settings of the device 3 have not been changed normally, the operation result notification unit 123 generates operation result notification information that notifies that the setting change has failed, and sends it to the terminal device 5. On the other hand, if the operation result notification unit 123 determines that the settings of the device 3 have been successfully changed, it generates operation result notification information including the virtual device status information after the settings have been changed, and transmits the generated operation result notification information to the terminal device 5 .
 次に、本実施の形態に係る制御システムの動作について、図6から図8を参照しながら説明する。まず、図6に示すように、予め設定された機器状態取得時期が到来すると、機器3に対して機器状態情報の送信を要求する機器状態要求情報が、クラウドサーバ1から機器3へ送信される(ステップS1)。一方、機器3は、機器状態要求情報を取得すると、これに応じて前述の機器状態通知情報を生成する(ステップS2)。次に、生成された機器状態通知情報が、機器3からクラウドサーバ1へ送信される(ステップS3)。一方、クラウドサーバ1は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。そして、クラウドサーバ1は、抽出した機器状態情報とプロパティ情報と機器識別情報と機種情報とを用いて、機器状態記憶部131が記憶する機器状態情報を更新する(ステップS4)。続いて、クラウドサーバ1は、仮想機器記憶部132が記憶する仮想機器のメソッド情報に基づいて、機器状態記憶部131が記憶する複数の機器3それぞれの機器状態情報から仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS5)。その後、クラウドサーバ1は、仮想機器状態記憶部134が記憶する少なくとも1つの仮想機器の更新後の仮想機器状態情報とそのプロパティを示すプロパティ情報とその仮想機器の機器識別情報とを含む仮想機器状態通知情報を生成する(ステップS6)。次に、生成された仮想機器状態通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS7)。一方、端末装置5は、クラウドサーバ1から送信される仮想機器状態通知情報を取得すると、取得した仮想機器状態通知情報に含まれる仮想機器状態情報とプロパティ情報と機器識別情報とを抽出し、抽出した仮想機器状態情報とプロパティ情報と機器識別情報とを互いに対応づけて仮想機器状態記憶部531に記憶させる(ステップS8)。続いて、端末装置5は、仮想機器状態記憶部531が記憶する仮想機器状態情報とプロパティ情報と機器識別情報とに基づいて、仮想機器の状態を利用者に通知するための仮想機器状態通知画像を形成し、形成した仮想機器状態通知画像を表示部504に表示させる(ステップS9)。 Next, the operation of the control system according to this embodiment will be explained with reference to FIGS. 6 to 8. First, as shown in FIG. 6, when a preset device status acquisition time arrives, device status request information that requests the device 3 to transmit device status information is transmitted from the cloud server 1 to the device 3. (Step S1). On the other hand, upon acquiring the device state request information, the device 3 generates the above-mentioned device state notification information in response to the device state request information (step S2). Next, the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S3). On the other hand, upon acquiring the device status notification information, the cloud server 1 extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information. Then, the cloud server 1 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S4). Next, the cloud server 1 generates virtual device state information from the device state information of each of the plurality of devices 3 stored in the device state storage section 131 based on the method information of the virtual device stored in the virtual device storage section 132. , updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information (step S5). Thereafter, the cloud server 1 stores a virtual device state that includes updated virtual device state information of at least one virtual device stored in the virtual device state storage unit 134, property information indicating its properties, and device identification information of the virtual device. Generate notification information (step S6). Next, the generated virtual device status notification information is transmitted from the cloud server 1 to the terminal device 5 (step S7). On the other hand, upon acquiring the virtual device status notification information transmitted from the cloud server 1, the terminal device 5 extracts the virtual device status information, property information, and device identification information included in the acquired virtual device status notification information. The virtual device state information, property information, and device identification information are stored in the virtual device state storage unit 531 in association with each other (step S8). Next, the terminal device 5 generates a virtual device state notification image for notifying the user of the state of the virtual device based on the virtual device state information, property information, and device identification information stored in the virtual device state storage unit 531. is formed, and the formed virtual device status notification image is displayed on the display unit 504 (step S9).
 また、利用者が端末装置5の入力部505に対して、クラウドサーバ1に新たに仮想機器の登録を追加するための仮想機器追加操作を行ったとする。ここで、仮想機器追加操作は、例えば端末装置5が表示部504に予め設定された複数種類の仮想機器を表す名称を表示し、利用者が表示された名称の中から追加したい仮想機器の名称を選択すると、選択された仮想機器に対応する機種情報とプロパティ情報とが選択されるようにしてもよい。この仮想機器追加操作が行われると、端末装置5は、仮想機器追加操作の操作内容に基づいて、仮想機器を新たに追加するよう指令する前述の仮想機器追加指令情報を生成する(ステップS10)。その後、生成された仮想機器追加指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS11)。一方、クラウドサーバ1は、端末装置5から仮想機器追加指令情報を取得すると、取得した仮想機器追加指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する(ステップS12)。その後、クラウドサーバ1は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、抽出した仮想機器の機種情報に対応するメソッドテンプレート情報を特定する(ステップS13)。次に、クラウドサーバ1は、特定したメソッドテンプレート情報について、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報のプロパティに設定してインスタンス化することによりメソッド情報を生成する(ステップS14)。続いて、クラウドサーバ1は、設定したプロパティを示すプロパティ情報と生成したメソッド情報と、これらに対応する機器識別情報および機種情報から構成される仮想機器情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新するとともに、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS15)。 It is also assumed that the user performs a virtual device addition operation on the input unit 505 of the terminal device 5 to add a new virtual device to the cloud server 1. Here, in the virtual device addition operation, for example, the terminal device 5 displays names representing multiple types of virtual devices set in advance on the display unit 504, and the user selects the name of the virtual device that the user wants to add from among the displayed names. When , the model information and property information corresponding to the selected virtual device may be selected. When this virtual device addition operation is performed, the terminal device 5 generates the above-mentioned virtual device addition command information that instructs to add a new virtual device based on the operation details of the virtual device addition operation (step S10). . Thereafter, the generated virtual device addition command information is transmitted from the terminal device 5 to the cloud server 1 (step S11). On the other hand, upon acquiring the virtual device addition command information from the terminal device 5, the cloud server 1 extracts device identification information, property information, and model information included in the acquired virtual device addition command information (step S12). Thereafter, the cloud server 1 identifies method template information corresponding to the extracted virtual device model information from among the method template information stored in the virtual device master information storage unit 133 (step S13). Next, the cloud server 1 generates method information for the identified method template information by setting the property indicated by the extracted property information to the property of the device state information used in the virtual device and instantiating it (step S14). ). Next, the cloud server 1 stores the virtual device storage unit 132 in a manner that adds virtual device information consisting of property information indicating the set properties, generated method information, and corresponding device identification information and model information. The stored virtual device information is updated, and the user identification information included in the acquired virtual device addition command information is added to the authority information corresponding to the device identification information included in the acquired virtual device addition command information. The authority information stored in the information storage unit 135 is updated (step S15).
 また、図7に示すように、利用者が端末装置5の入力部505に対して、クラウドサーバ1に登録されている仮想機器を削除するための仮想機器削除操作を行ったとする。この場合、端末装置5は、仮想機器削除操作の操作内容に基づいて、仮想機器を削除するよう指令する前述の仮想機器削除指令情報を生成する(ステップS16)。その後、生成された仮想機器削除指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS17)。一方、クラウドサーバ1は、端末装置5から仮想機器削除指令情報を取得すると、削除する仮想機器の機器識別情報を抽出する(ステップS18)。次に、クラウドサーバ1が、仮想機器記憶部132が記憶している仮想機器情報を参照して、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する仮想機器が無いと判定したとする(ステップS19)。この場合、クラウドサーバ1は、抽出した仮想機器の機器識別情報と、これに対応するプロパティ情報、メソッド情報および機種情報の組み合わせを削除する形で仮想機器記憶部132が記憶する仮想機器情報を更新するとともに、取得した仮想機器削除指令情報に含まれる仮想機器の機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS20)。 Further, as shown in FIG. 7, assume that the user performs a virtual device deletion operation on the input unit 505 of the terminal device 5 to delete a virtual device registered in the cloud server 1. In this case, the terminal device 5 generates the above-mentioned virtual device deletion command information that instructs to delete the virtual device based on the operation details of the virtual device deletion operation (step S16). Thereafter, the generated virtual device deletion command information is transmitted from the terminal device 5 to the cloud server 1 (step S17). On the other hand, upon acquiring the virtual device deletion command information from the terminal device 5, the cloud server 1 extracts the device identification information of the virtual device to be deleted (step S18). Next, the cloud server 1 refers to the virtual device information stored in the virtual device storage unit 132 and uses the virtual device information of the virtual device identified by the extracted device identification information to create a virtual device that cooperates with the virtual device. Assume that it is determined that there is no device (step S19). In this case, the cloud server 1 updates the virtual device information stored in the virtual device storage unit 132 by deleting the device identification information of the extracted virtual device and the corresponding combination of property information, method information, and model information. At the same time, the authority information stored in the authority information storage unit 135 is updated by deleting the authority information corresponding to the device identification information of the virtual device included in the acquired virtual device deletion command information (step S20).
 また、ステップS17およびS18が実行された後、クラウドサーバ1が、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する仮想機器が有ると判定したとする(ステップS21)。この場合、クラウドサーバ1は、連携する仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成する(ステップS22)。続いて、生成された警告通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS23)。一方、端末装置5は、警告通知情報を取得すると、取得した警告通知情報に含まれる機器識別情報とプロパティ情報とを抽出する(ステップS24)。その後、端末装置5は、抽出した機器識別情報とプロパティ情報とに基づいて、仮想機器を削除することにより機器識別情報で識別される仮想機器の仮想機器状態情報が影響を受けることを警告する警告通知画像を形成して表示部504に表示させる(ステップS25)。 Further, suppose that after steps S17 and S18 are executed, the cloud server 1 determines that there is a virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device identified by the extracted device identification information ( Step S21). In this case, the cloud server 1 generates warning notification information including device identification information and property information of the virtual devices to be linked (step S22). Subsequently, the generated warning notification information is transmitted from the cloud server 1 to the terminal device 5 (step S23). On the other hand, upon acquiring the warning notification information, the terminal device 5 extracts the device identification information and property information included in the acquired warning notification information (step S24). Thereafter, based on the extracted device identification information and property information, the terminal device 5 issues a warning that the virtual device state information of the virtual device identified by the device identification information will be affected by deleting the virtual device. A notification image is formed and displayed on the display unit 504 (step S25).
 また、利用者が、端末装置5の入力部505に対して仮想機器の設定を変更するための仮想機器設定変更操作を行ったとする。この場合、端末装置5は、仮想機器設定変更操作の操作内容に基づいて、前述の設定変更指令情報を生成する(ステップS26)。次に、生成された設定変更指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS27)。一方、クラウドサーバ1は、設定変更指令情報を取得すると、取得した設定変更指令情報に含まれる仮想機器の機器識別情報、利用者識別情報および変更後設定情報を抽出する(ステップS28)。続いて、クラウドサーバ1は、権限情報記憶部135が記憶する権限情報を参照して、抽出した利用者識別情報に基づいて、変更権限有りと判定し(ステップS29)、変更後設定情報に基づいて、設定変更可と判定したとする(ステップS30)。そして、クラウドサーバ1が、図8に示すように、設定変更対象が仮想機器であると判定したとする(ステップS31)。この場合、クラウドサーバ1は、仮想機器状態記憶部134が記憶する対応機器情報を参照して、設定変更対象の仮想機器に対応する機器3を特定し(ステップS32)、特定した接続機器について制御情報を生成する(ステップS33)。その後、生成された制御情報が、クラウドサーバ1から機器3へ送信される(ステップS34)。そして、機器3が制御情報を取得すると、機器3が制御情報を取得したことをクラウドサーバ1へ通知するための応答情報が、機器3からクラウドサーバ1へ送信される(ステップS35)。ここで、クラウドサーバ1は、制御情報を機器3へ送信した後、予め設定された期間内に応答情報を取得しない場合、再度制御情報を機器3へ送信する。次に、機器3は、取得した制御情報に基づいて動作を開始する(ステップS36)。なお、機器3は、制御情報を取得した後、取得した制御情報に基づいて動作を開始した後、応答情報をクラウドサーバ1へ送信するものであってもよい。 Further, assume that the user performs a virtual device setting change operation on the input unit 505 of the terminal device 5 to change the settings of the virtual device. In this case, the terminal device 5 generates the above-mentioned setting change command information based on the operation details of the virtual device setting change operation (step S26). Next, the generated setting change command information is transmitted from the terminal device 5 to the cloud server 1 (step S27). On the other hand, upon acquiring the setting change command information, the cloud server 1 extracts the device identification information, user identification information, and post-change setting information of the virtual device included in the acquired setting change command information (step S28). Next, the cloud server 1 refers to the authority information stored in the authority information storage unit 135, determines that the user has change authority based on the extracted user identification information (step S29), and determines that the user has change authority based on the changed setting information. Assume that it is determined that the settings can be changed (step S30). Assume that the cloud server 1 determines that the setting change target is a virtual device, as shown in FIG. 8 (step S31). In this case, the cloud server 1 refers to the corresponding device information stored in the virtual device state storage unit 134, identifies the device 3 corresponding to the virtual device whose settings are to be changed (step S32), and controls the specified connected device. Information is generated (step S33). Thereafter, the generated control information is transmitted from the cloud server 1 to the device 3 (step S34). Then, when the device 3 acquires the control information, response information for notifying the cloud server 1 that the device 3 has acquired the control information is transmitted from the device 3 to the cloud server 1 (step S35). Here, after transmitting the control information to the device 3, the cloud server 1 transmits the control information to the device 3 again if the response information is not acquired within a preset period. Next, the device 3 starts operating based on the acquired control information (step S36). Note that, after acquiring the control information, the device 3 may start operating based on the acquired control information, and then transmit the response information to the cloud server 1.
 一方、クラウドサーバ1が応答情報を取得すると、取得した応答情報の送信元の機器3に対して機器状態情報の送信を要求する機器状態要求情報が、クラウドサーバ1から機器3へ送信される(ステップS37)。一方、機器3は、機器状態要求情報を取得すると、これに応じて、取得した制御情報に基づいて動作を開始した後における機器状態情報を含む機器状態通知情報を生成する(ステップS38)。続いて、生成された機器状態通知情報が、機器3からクラウドサーバ1へ送信される(ステップS39)。一方、クラウドサーバ1は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。そして、クラウドサーバ1は、抽出した機器状態情報とプロパティ情報と機器識別情報と機種情報とを用いて、機器状態記憶部131が記憶する機器状態情報を更新する(ステップS40)。続いて、クラウドサーバ1は、設定変更対象の仮想機器に対応する機器3の全てについて設定が正常に変更されたと判定したとする(ステップS41)。この場合、クラウドサーバ1は、仮想機器記憶部132が記憶する仮想機器のメソッド情報に基づいて、機器状態記憶部131が記憶する設定変更対象の仮想機器に対応する機器3全ての機器状態情報から仮想機器状態情報を生成し、生成した仮想機器状態情報で設定変更対象の仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS42)。その後、クラウドサーバ1が、設定変更対象の仮想機器について設定変更後の仮想機器状態情報を含む設定変更が成功したことを示す操作結果通知情報を生成し(ステップS43)、生成された操作結果通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS44)。一方、端末装置5は、操作結果通知情報を取得すると、取得した操作結果通知情報に含まれる設定変更後の仮想機器状態情報に基づいて、設定変更が成功したことを示す操作結果通知画像を形成して表示部504に表示させる(ステップS45)。 On the other hand, when the cloud server 1 acquires the response information, device status request information is sent from the cloud server 1 to the device 3, requesting the device 3 that is the source of the acquired response information to send the device status information ( Step S37). On the other hand, upon acquiring the device status request information, the device 3 generates device status notification information including device status information after starting operation based on the acquired control information (step S38). Subsequently, the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S39). On the other hand, upon acquiring the device status notification information, the cloud server 1 extracts the device status information, property information, device identification information, and model information of the device 3 included in the acquired device status notification information. Then, the cloud server 1 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S40). Next, it is assumed that the cloud server 1 determines that the settings of all the devices 3 corresponding to the virtual device whose settings are to be changed have been changed normally (step S41). In this case, the cloud server 1 uses the device status information of all the devices 3 corresponding to the virtual device whose settings are to be changed stored in the device status storage unit 131 based on the method information of the virtual device stored in the virtual device storage unit 132. Virtual device state information is generated, and the virtual device state information stored in the virtual device state storage unit 134 whose settings are to be changed is updated with the generated virtual device state information (step S42). Thereafter, the cloud server 1 generates operation result notification information indicating that the setting change including the virtual device state information after the setting change was successful for the virtual device whose settings are to be changed (step S43), and generates the generated operation result notification. Information is transmitted from the cloud server 1 to the terminal device 5 (step S44). On the other hand, upon acquiring the operation result notification information, the terminal device 5 forms an operation result notification image indicating that the setting change was successful, based on the virtual device status information after the setting change included in the acquired operation result notification information. and is displayed on the display section 504 (step S45).
 また、ステップS27およびS28の処理が実行された後、クラウドサーバ1が、権限情報記憶部135が記憶する権限情報と抽出した利用者識別情報とに基づいて、変更権限無しと判定したとする(ステップS46)。この場合、クラウドサーバ1が、端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報を含むエラー通知情報を生成し(ステップS47)、生成されたエラー通知情報が、図9に示すように、クラウドサーバ1から端末装置5へ送信される(ステップS48)。一方、端末装置5は、エラー通知情報を取得すると、取得したエラー通知情報に含まれるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS49)。 Further, suppose that after the processes of steps S27 and S28 are executed, the cloud server 1 determines that there is no change authority based on the authority information stored in the authority information storage unit 135 and the extracted user identification information ( Step S46). In this case, the cloud server 1 generates error notification information including error code information indicating that the user of the terminal device 5 does not have the authority to change settings of the virtual device (step S47), and the generated error notification information As shown in FIG. 9, the information is transmitted from the cloud server 1 to the terminal device 5 (step S48). On the other hand, upon acquiring the error notification information, the terminal device 5 forms an error notification image based on the error code information included in the acquired error notification information and displays it on the display unit 504 (step S49).
 また、ステップS27およびS28の処理が実行された後、クラウドサーバ1が、前述のように変更権限有りと判定した後(ステップS29)、抽出した仮想機器の機器識別情報および変更後設定情報に基づいて、設定変更不可と判定したとする(ステップS50)。この場合、クラウドサーバ1が、設定変更の内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報を含むエラー通知情報を生成し(ステップS51)、生成されたエラー通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS52)。一方、端末装置5は、エラー通知情報を取得すると、取得したエラー通知情報に含まれるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS53)。 Further, after the processes of steps S27 and S28 are executed, and after determining that the cloud server 1 has change authority as described above (step S29), based on the device identification information and post-change setting information of the extracted virtual device, Assume that it is determined that the settings cannot be changed (step S50). In this case, the cloud server 1 generates error notification information including error code information indicating that the content of the setting change is prohibited in the virtual device whose settings are to be changed (step S51), and the generated error notification information , is transmitted from the cloud server 1 to the terminal device 5 (step S52). On the other hand, upon acquiring the error notification information, the terminal device 5 forms an error notification image based on the error code information included in the acquired error notification information and displays it on the display unit 504 (step S53).
 次に、本実施の形態に係る端末装置5が実行する端末装置制御処理について、図10を参照しながら説明する。なお、この端末装置制御処理は、例えば端末装置5へ電源が投入されたことを契機として開始される。まず、仮想機器状態情報取得部511は、クラウドサーバ1から送信される仮想機器状態通知情報を取得したか否かを判定する(ステップS201)。ここで、仮想機器状態情報取得部511が、仮想機器状態通知情報を取得していないと判定すると(ステップS201:No)、後述のステップS204の処理が実行される。一方、仮想機器状態情報取得部511は、仮想機器状態通知情報を取得したと判定すると(ステップS201:Yes)、取得した仮想機器状態通知情報に含まれる仮想機器状態情報とプロパティ情報と機器識別情報とを抽出し、抽出した仮想機器状態情報とプロパティ情報と機器識別情報とを互いに対応づけて仮想機器状態記憶部531に記憶させる(ステップS202)。続いて、表示制御部512は、仮想機器状態記憶部531が記憶する仮想機器状態情報とプロパティ情報と機器識別情報とに基づいて、仮想機器の状態を利用者に通知するための仮想機器状態通知画像を形成し、形成した仮想機器状態通知画像を表示部504に表示させる(ステップS203)。 Next, the terminal device control process executed by the terminal device 5 according to the present embodiment will be described with reference to FIG. 10. Note that this terminal device control process is started, for example, when the terminal device 5 is powered on. First, the virtual device status information acquisition unit 511 determines whether virtual device status notification information transmitted from the cloud server 1 has been acquired (step S201). Here, if the virtual device status information acquisition unit 511 determines that virtual device status notification information has not been acquired (step S201: No), the process of step S204, which will be described later, is executed. On the other hand, if the virtual device status information acquisition unit 511 determines that the virtual device status notification information has been acquired (step S201: Yes), the virtual device status information, property information, and device identification information included in the acquired virtual device status notification information. The extracted virtual device state information, property information, and device identification information are associated with each other and stored in the virtual device state storage unit 531 (step S202). Next, the display control unit 512 generates a virtual device status notification for notifying the user of the status of the virtual device based on the virtual device status information, property information, and device identification information stored in the virtual device status storage unit 531. An image is formed, and the formed virtual device status notification image is displayed on the display unit 504 (step S203).
 その後、受付部513は、前述の仮想機器追加操作を受け付けたか否かを判定する(ステップS204)。ここで、受付部513が、仮想機器追加操作を受け付けていないと判定すると(ステップS204:No)、後述のステップS206の処理が実行される。一方、受付部513は、仮想機器追加操作を受け付けたと判定すると(ステップS204:Yes)、その操作内容を示す操作情報を登録情報管理部515に通知し、登録情報管理部515が、通知された操作情報に含まれる機器識別情報、機種情報および権限情報を互いに対応づけて登録情報記憶部532に記憶させる。そして、登録情報通知部516は、登録情報記憶部532が新たに記憶した機器識別情報、機種情報および権限情報を含む前述の仮想機器追加指令情報を生成し、生成した仮想機器追加指令情報をクラウドサーバ1へ送信する(ステップS205)。次に、受付部513は、前述の仮想機器削除操作を受け付けたか否かを判定する(ステップS206)。ここで、受付部513が、仮想機器削除操作を受け付けていないと判定すると(ステップS206:No)、後述のステップS208の処理が実行される。一方、受付部513は、仮想機器削除操作を受け付けたと判定すると(ステップS206:Yes)、その操作内容を示す操作情報を登録情報管理部515に通知し、登録情報管理部515が、通知された操作情報に含まれる機器識別情報に対応する機種情報および権限情報を削除し、削除した機器識別情報を登録情報通知部516に通知する。そして、登録情報通知部516は、登録情報管理部515から通知される機器識別情報を含む前述の仮想機器削除指令情報を生成し、生成した仮想機器削除指令情報をクラウドサーバ1へ送信する(ステップS207)。 Thereafter, the reception unit 513 determines whether the above-described virtual device addition operation has been received (step S204). Here, if the accepting unit 513 determines that the virtual device addition operation is not accepted (step S204: No), the process of step S206, which will be described later, is executed. On the other hand, when the reception unit 513 determines that the virtual device addition operation has been accepted (step S204: Yes), it notifies the registration information management unit 515 of operation information indicating the operation details, and the registration information management unit 515 receives the notification. The device identification information, model information, and authority information included in the operation information are associated with each other and stored in the registration information storage unit 532. Then, the registration information notification unit 516 generates the above-mentioned virtual device addition command information including the device identification information, model information, and authority information newly stored in the registration information storage unit 532, and transfers the generated virtual device addition command information to the cloud. It is transmitted to server 1 (step S205). Next, the reception unit 513 determines whether or not the virtual device deletion operation described above has been received (step S206). Here, if the accepting unit 513 determines that the virtual device deletion operation is not accepted (step S206: No), the process of step S208, which will be described later, is executed. On the other hand, when the reception unit 513 determines that the virtual device deletion operation has been accepted (step S206: Yes), it notifies the registration information management unit 515 of operation information indicating the operation details, and the registration information management unit 515 receives the notification. The device type information and authority information corresponding to the device identification information included in the operation information are deleted, and the registered information notification unit 516 is notified of the deleted device identification information. Then, the registration information notification unit 516 generates the above-mentioned virtual device deletion command information including the device identification information notified from the registration information management unit 515, and transmits the generated virtual device deletion command information to the cloud server 1 (step S207).
 続いて、通知取得部517は、クラウドサーバ1から送信される警告通知情報を取得したか否かを判定する(ステップS208)。ここで、通知取得部517が、警告通知情報を取得していないと判定すると(ステップS208:No)、後述のステップS211の処理が実行される。一方、通知取得部517は、警告通知情報を取得したと判定すると(ステップS208:Yes)、取得した警告通知情報に含まれる機器識別情報とプロパティ情報とを抽出する(ステップS209)。そして、通知取得部517は、抽出した機器識別情報とプロパティ情報とを表示制御部512に通知する。その後、表示制御部512は、通知取得部517から通知される機器識別情報とプロパティ情報とに基づいて、前述の警告通知画像を形成して表示部504に表示させる(ステップS210)。 Subsequently, the notification acquisition unit 517 determines whether or not the warning notification information transmitted from the cloud server 1 has been acquired (step S208). Here, if the notification acquisition unit 517 determines that the warning notification information has not been acquired (step S208: No), the process of step S211, which will be described later, is executed. On the other hand, if the notification acquisition unit 517 determines that the warning notification information has been acquired (step S208: Yes), it extracts the device identification information and property information included in the acquired warning notification information (step S209). Then, the notification acquisition unit 517 notifies the display control unit 512 of the extracted device identification information and property information. Thereafter, the display control unit 512 forms the above-mentioned warning notification image and displays it on the display unit 504 based on the device identification information and property information notified from the notification acquisition unit 517 (step S210).
 次に、受付部513は、前述の設定変更指令操作を受け付けたか否かを判定する(ステップS211)。ここで、受付部513が、設定変更指令操作を受け付けていないと判定すると(ステップS211:No)、再びステップS201の処理が実行される。一方、受付部513は、設定変更指令操作を受け付けたと判定すると(ステップS211:Yes)、その操作内容を示す操作情報を指令通知部514に通知する。そして、指令通知部514は、前述の設定変更指令情報を生成し、生成した設定変更指令情報をクラウドサーバ1へ送信する(ステップS212)。続いて、通知取得部517は、クラウドサーバ1から送信される操作結果通知情報を取得したか否かを判定する(ステップS213)。ここで、通知取得部517が、操作結果通知情報を取得していないと判定すると(ステップS213:No)、後述するステップS215の処理が実行される。一方、通知取得部517は、操作結果通知情報を取得したと判定すると(ステップS213:Yes)、取得した操作結果通知情報に含まれる仮想機器状態情報を表示制御部512に通知する。そして、表示制御部512は、通知取得部517から通知される仮想機器状態情報に基づいて、操作結果通知画像を形成して表示部504に表示させる(ステップS214)。 Next, the receiving unit 513 determines whether or not the above-mentioned setting change command operation has been received (step S211). Here, if the accepting unit 513 determines that the setting change command operation has not been accepted (step S211: No), the process of step S201 is executed again. On the other hand, when the reception unit 513 determines that the setting change command operation has been received (step S211: Yes), the reception unit 513 notifies the command notification unit 514 of operation information indicating the content of the operation. Then, the command notification unit 514 generates the above-mentioned setting change command information, and transmits the generated setting change command information to the cloud server 1 (step S212). Subsequently, the notification acquisition unit 517 determines whether or not the operation result notification information transmitted from the cloud server 1 has been acquired (step S213). Here, if the notification acquisition unit 517 determines that the operation result notification information has not been acquired (step S213: No), the process of step S215, which will be described later, is executed. On the other hand, when the notification acquisition unit 517 determines that the operation result notification information has been acquired (step S213: Yes), the notification acquisition unit 517 notifies the display control unit 512 of the virtual device state information included in the acquired operation result notification information. Then, the display control unit 512 forms an operation result notification image and displays it on the display unit 504 based on the virtual device status information notified from the notification acquisition unit 517 (step S214).
 その後、通知取得部517は、クラウドサーバ1から送信されるエラー通知情報を取得したか否かを判定する(ステップS215)。ここで、通知取得部517が、エラー通知情報を取得していないと判定すると(ステップS215:No)、再びステップS201の処理が実行される。一方、通知取得部517は、エラー通知情報を取得したと判定すると(ステップS215:Yes)、取得したエラー通知情報に含まれるエラーコード情報を表示制御部512に通知する。そして、表示制御部512は、通知取得部517から通知されるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS216)。その後、再びステップS201の処理が実行される。 Thereafter, the notification acquisition unit 517 determines whether or not the error notification information transmitted from the cloud server 1 has been acquired (step S215). Here, if the notification acquisition unit 517 determines that the error notification information has not been acquired (step S215: No), the process of step S201 is executed again. On the other hand, if the notification acquisition unit 517 determines that the error notification information has been acquired (step S215: Yes), it notifies the display control unit 512 of the error code information included in the acquired error notification information. Then, the display control unit 512 forms an error notification image and displays it on the display unit 504 based on the error code information notified from the notification acquisition unit 517 (step S216). After that, the process of step S201 is executed again.
 次に、本実施の形態に係るクラウドサーバ1が実行する機器制御処理について、図11および図12を参照しながら説明する。なお、この機器制御処理は、クラウドサーバ1において機器制御処理を実行するためのプログラムが起動されたことを契機として開始される。まず、機器状態取得部111は、図11に示すように、予め設定された機器状態取得時期が到来したか否かを判定する(ステップS101)。ここで、機器状態取得部111が、未だ機器状態取得時期が到来していないと判定すると(ステップS101:No)、後述のステップS107の処理が実行される。一方、機器状態取得部111は、機器状態取得時期が到来したと判定すると(ステップS101:Yes)、機器状態要求情報を機器3へ送信する(ステップS102)。これにより、機器状態取得部111は、機器3から送信される前述の機器状態通知情報を取得し(ステップS103)、取得した機器状態通知情報に含まれる機器状態通知情報の送信元の機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。そして、機器状態取得部111は、抽出した機器状態情報、プロパティ情報、機器識別情報および機種情報を用いて機器状態記憶部131が記憶する機器状態情報を更新する(ステップS104)。次に、仮想機器状態情報生成部112は、仮想機器記憶部132が記憶する仮想機器のメソッド情報に基づいて、複数の機器3それぞれの機器状態情報から仮想機器状態情報を生成する。そして、仮想機器状態情報生成部112は、生成した仮想機器状態情報で、仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS105)。続いて、仮想機器状態情報通知部113は、仮想機器状態記憶部134が記憶する仮想機器状態情報と、これに対応する仮想機器の機器識別情報と、を含む仮想機器状態通知情報を生成して端末装置5へ送信する(ステップS106)。 Next, the device control process executed by the cloud server 1 according to the present embodiment will be described with reference to FIGS. 11 and 12. Note that this device control process is started when a program for executing the device control process is started in the cloud server 1. First, the device status acquisition unit 111 determines whether a preset device status acquisition time has arrived, as shown in FIG. 11 (step S101). Here, if the device status acquisition unit 111 determines that the device status acquisition time has not yet arrived (step S101: No), the process of step S107, which will be described later, is executed. On the other hand, when the device status acquisition unit 111 determines that the device status acquisition time has arrived (step S101: Yes), it transmits device status request information to the device 3 (step S102). As a result, the device status acquisition unit 111 acquires the above-mentioned device status notification information transmitted from the device 3 (step S103), and the device 3 that is the source of the device status notification information included in the acquired device status notification information. Extract device status information, property information, device identification information, and model information. Then, the device status acquisition unit 111 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S104). Next, the virtual device state information generation unit 112 generates virtual device state information from the device state information of each of the plurality of devices 3 based on the virtual device method information stored in the virtual device storage unit 132. Then, the virtual device state information generation unit 112 updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information (step S105). Next, the virtual device state information notification unit 113 generates virtual device state notification information that includes the virtual device state information stored in the virtual device state storage unit 134 and the device identification information of the virtual device corresponding to the virtual device state information. It is transmitted to the terminal device 5 (step S106).
 その後、仮想機器更新部119は、端末装置5から送信される前述の仮想機器追加指令情報を取得したか否かを判定する(ステップS107)。ここで、仮想機器更新部119が、仮想機器追加指令情報を取得していないと判定すると(ステップS107:No)、後述のステップS112の処理が実行される。一方、仮想機器更新部119は、仮想機器追加指令情報を取得したと判定すると(ステップS107:Yes)、取得した仮想機器追加指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する(ステップS108)。次に、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、抽出した機種情報に対応するメソッドテンプレート情報を特定する(ステップS109)。続いて、仮想機器更新部119は、特定したメソッドテンプレート情報について、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報のプロパティに設定してインスタンス化することによりメソッド情報を生成する(ステップS110)。その後、仮想機器更新部119は、設定したプロパティを示すプロパティ情報と生成したメソッド情報と、これらに対応する機器識別情報および機種情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。また、権限登録部120は、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS111)。 Thereafter, the virtual device update unit 119 determines whether or not the above-mentioned virtual device addition command information transmitted from the terminal device 5 has been obtained (step S107). Here, if the virtual device update unit 119 determines that virtual device addition command information has not been acquired (step S107: No), the process of step S112, which will be described later, is executed. On the other hand, if the virtual device update unit 119 determines that the virtual device addition command information has been acquired (step S107: Yes), it extracts the device identification information, property information, and model information included in the acquired virtual device addition command information ( Step S108). Next, the virtual device update unit 119 identifies method template information corresponding to the extracted model information from among the method template information stored in the virtual device master information storage unit 133 (step S109). Next, the virtual device update unit 119 generates method information for the specified method template information by setting the property indicated by the extracted property information to the property of the device status information used in the virtual device and instantiating it ( Step S110). Thereafter, the virtual device update unit 119 updates the virtual device information stored in the virtual device storage unit 132 by adding property information indicating the set property, generated method information, and corresponding device identification information and model information. Update. Further, the authority registration unit 120 stores authority information in a form that adds the user identification information included in the acquired virtual machine addition command information to the authority information corresponding to the device identification information included in the acquired virtual machine addition command information. The authority information stored in the unit 135 is updated (step S111).
 次に、仮想機器更新部119は、端末装置5から送信される前述の仮想機器削除指令情報を取得したか否かを判定する(ステップS112)。ここで、仮想機器更新部119が、仮想機器削除指令情報を取得していないと判定すると(ステップS112:No)、後述のステップS117の処理が実行される。一方、仮想機器更新部119は、仮想機器削除指令情報を取得したと判定すると(ステップS112:Yes)、仮想機器削除指令情報に含まれる削除する仮想機器の機器識別情報を抽出する(ステップS113)。続いて、連携判定部121は、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する仮想機器が有るか否かを判定する(ステップS114)。ここで、連携判定部121により連携する仮想機器が存在すると判定されると(ステップS114:Yes)、警告通知部122が、前述の連携する仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成して端末装置5へ送信した後(ステップS115)、後述のステップS117の処理が実行される。一方、連携判定部121が、削除する仮想機器の仮想機器情報を用いる当該仮想機器と連携する仮想機器が存在しないと判定したとする(ステップS114:No)。この場合、仮想機器更新部119が、仮想機器削除指令情報に含まれる機器識別情報に対応するプロパティ情報とメソッド情報と機種情報とを削除する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。また、権限登録部120は、取得した仮想機器削除指令情報に含まれる機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS116)。 Next, the virtual device update unit 119 determines whether or not the above-mentioned virtual device deletion command information transmitted from the terminal device 5 has been obtained (step S112). Here, if the virtual device update unit 119 determines that virtual device deletion command information has not been acquired (step S112: No), the process of step S117, which will be described later, is executed. On the other hand, if the virtual device update unit 119 determines that the virtual device deletion command information has been acquired (step S112: Yes), it extracts the device identification information of the virtual device to be deleted included in the virtual device deletion command information (step S113). . Subsequently, the cooperation determining unit 121 determines whether there is a virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device identified by the extracted device identification information (step S114). Here, when the cooperation determination unit 121 determines that there is a virtual device to cooperate with (step S114: Yes), the warning notification unit 122 sends a warning notification including the device identification information and property information of the virtual device to cooperate with each other. After generating the information and transmitting it to the terminal device 5 (step S115), the process of step S117, which will be described later, is executed. On the other hand, it is assumed that the cooperation determination unit 121 determines that there is no virtual device that cooperates with the virtual device that uses the virtual device information of the virtual device to be deleted (step S114: No). In this case, the virtual device update unit 119 updates the virtual device information stored in the virtual device storage unit 132 by deleting the property information, method information, and model information corresponding to the device identification information included in the virtual device deletion command information. Update. The authority registration unit 120 also updates the authority information stored in the authority information storage unit 135 by deleting the authority information corresponding to the device identification information included in the acquired virtual device deletion command information (step S116).
 次に、指令取得部114は、図12に示すように、端末装置5から送信される前述の設定変更指令情報を取得したか否かを判定する(ステップS117)。ここで、指令取得部114が、設定変更指令情報を取得していないと判定すると(ステップS117:No)。再びステップS101の処理が実行される。一方、指令取得部114が、設定変更指令情報を取得したと判定すると(ステップS117:Yes)、取得した設定変更指令情報に含まれる機器3または仮想機器の機器識別情報、変更後設定情報および利用者識別情報を抽出する(ステップS118)。続いて、エラー判定部115は、権限情報記憶部135が記憶する権限情報と、抽出された利用者識別情報と、に基づいて、設定変更指令情報の送信元の端末装置5の利用者が機器3または仮想機器の設定変更の権限を有するか否かを判定する(ステップS119)。ここで、エラー判定部115が、設定変更の権限が無いと判定した場合(ステップS119:No)、エラー通知部116が、エラー通知情報を生成して端末装置5へ送信し(ステップS120)、再びステップS101の処理が実行される。一方、エラー判定部115は、設定変更の権限が有ると判定すると(ステップS119:Yes)、抽出された機器3または仮想機器の機器識別情報と変更後設定情報とに基づいて、抽出された機器識別情報で識別される機器3または仮想機器に対する設定変更が可能であるか否かを判定する(ステップS121)。ここで、エラー判定部115が、機器3または仮想機器に対する設定変更の内容が設定変更対象の仮想機器で禁止されており設定変更が不可能であると判定した場合(ステップS121:No)、エラー通知部116が、エラー通知情報を生成して端末装置5へ送信し(ステップS120)、再びステップS101の処理が実行される。一方、エラー判定部115が、抽出された機器識別情報で識別される仮想機器に対する設定変更が可能であると判定すると(ステップS121:Yes)、制御情報生成部117は、仮想機器記憶部132が記憶する仮想機器の機器識別情報を参照して、設定変更対象が仮想機器であるか否かを判定する(ステップS122)。制御情報生成部117は、設定変更対象が仮想機器であると判定すると(ステップS122:Yes)、仮想機器記憶部132が記憶する対応機器情報を参照して、制御対象となる機器3を特定する(ステップS123)。その後、制御情報生成部117は、特定した機器3についての制御情報を生成して機器3の機器識別情報に対応づけて制御情報記憶部136に記憶させる。そして、制御情報通知部118が、制御情報記憶部136が記憶する制御情報を、当該制御情報に対応する機器識別情報で識別される機器3へ送信する(ステップS123)。一方、制御情報生成部117が、設定変更対象が仮想機器ではなく実際の機器3であると判定すると(ステップS122:No)、設定変更対象の機器3についてステップS124の処理が実行される。 Next, as shown in FIG. 12, the command acquisition unit 114 determines whether or not the above-mentioned setting change command information transmitted from the terminal device 5 has been acquired (step S117). Here, if the command acquisition unit 114 determines that the setting change command information has not been acquired (step S117: No). The process of step S101 is executed again. On the other hand, if the command acquisition unit 114 determines that the setting change command information has been acquired (step S117: Yes), the device identification information of the device 3 or the virtual device, the changed setting information, and the usage information are included in the acquired setting change command information. The user identification information is extracted (step S118). Next, the error determination unit 115 determines whether the user of the terminal device 5 that is the source of the setting change command information is 3, or it is determined whether the user has the authority to change the settings of the virtual device (step S119). Here, if the error determination unit 115 determines that there is no authority to change the settings (step S119: No), the error notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S120), The process of step S101 is executed again. On the other hand, if the error determination unit 115 determines that there is authority to change the settings (step S119: Yes), the error determination unit 115 determines whether the extracted device It is determined whether settings can be changed for the device 3 or virtual device identified by the identification information (step S121). Here, if the error determination unit 115 determines that the content of the setting change for the device 3 or the virtual device is prohibited by the virtual device whose settings are to be changed, and that the setting change is impossible (step S121: No), an error occurs. The notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S120), and the process of step S101 is executed again. On the other hand, if the error determination unit 115 determines that the settings of the virtual device identified by the extracted device identification information can be changed (step S121: Yes), the control information generation unit 117 determines that the virtual device storage unit 132 Referring to the stored device identification information of the virtual device, it is determined whether the setting change target is a virtual device (step S122). When the control information generation unit 117 determines that the setting change target is a virtual device (step S122: Yes), the control information generation unit 117 refers to the corresponding device information stored in the virtual device storage unit 132 and specifies the device 3 to be controlled. (Step S123). Thereafter, the control information generation unit 117 generates control information for the specified device 3 and stores it in the control information storage unit 136 in association with the device identification information of the device 3. Then, the control information notification unit 118 transmits the control information stored in the control information storage unit 136 to the device 3 identified by the device identification information corresponding to the control information (step S123). On the other hand, if the control information generation unit 117 determines that the setting change target is not the virtual device but the actual device 3 (step S122: No), the process of step S124 is executed for the setting change target device 3.
 次に、機器状態取得部111は、制御情報の送信先の機器3から送信される応答情報を取得すると(ステップS125)、機器状態要求情報を応答情報の送信元の機器3へ送信する(ステップS126)。これにより、機器状態取得部111は、応答情報の送信元の機器3から送信される前述の機器状態通知情報を取得し(ステップS127)、取得した機器状態通知情報に含まれる機器状態通知情報の送信元の機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。そして、機器状態取得部111は、抽出した機器状態情報、プロパティ情報、機器識別情報および機種情報を用いて機器状態記憶部131が記憶する機器状態情報を更新する(ステップS128)。続いて、仮想機器状態情報生成部112および操作結果通知部123は、設定変更対象の仮想機器に対応する機器3全てについて設定が正常に変更されたか否かを判定する(ステップS129)。ここで、操作結果通知部123は、設定変更対象の仮想機器に対応する機器3のいずれかについて設定が正常に変更されなかったと判定すると(ステップS129:No)、仮想機器についての設定変更が失敗したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS131)。一方、仮想機器状態情報生成部112は、設定変更対象の仮想機器に対応する機器3全てについて設定が正常に変更されたと判定すると(ステップS129:Yes)、仮想機器記憶部132が記憶する仮想機器のメソッド情報に基づいて、設定変更対象の仮想機器に対応する機器3全ての機器状態情報から仮想機器状態情報を生成する。そして、仮想機器状態情報生成部112は、生成した仮想機器状態情報で、仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS130)。その後、操作結果通知部123は、仮想機器状態記憶部134が記憶する仮想機器状態情報と、これに対応する仮想機器の機器識別情報と、含む仮想機器の設定変更が成功したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS131)。次に、再びステップS101の処理が実行される。 Next, upon acquiring the response information transmitted from the device 3 that is the destination of the control information (step S125), the device status acquisition unit 111 transmits device status request information to the device 3 that is the source of the response information (step S125). S126). Thereby, the device status acquisition unit 111 acquires the aforementioned device status notification information transmitted from the device 3 that is the source of the response information (step S127), and the device status notification information included in the acquired device status notification information. Device status information, property information, device identification information, and model information of the sending device 3 are extracted. Then, the device status acquisition unit 111 updates the device status information stored in the device status storage unit 131 using the extracted device status information, property information, device identification information, and model information (step S128). Subsequently, the virtual device status information generation unit 112 and the operation result notification unit 123 determine whether the settings of all the devices 3 corresponding to the virtual device whose settings are to be changed have been changed normally (step S129). Here, if the operation result notification unit 123 determines that the settings of any of the devices 3 corresponding to the virtual device whose settings are to be changed have not been changed normally (step S129: No), the setting change of the virtual device has failed. Operation result notification information is generated and sent to the terminal device 5 (step S131). On the other hand, if the virtual device state information generation unit 112 determines that the settings have been successfully changed for all devices 3 corresponding to the virtual device whose settings are to be changed (step S129: Yes), the virtual device state information generation unit 112 determines that the virtual device stored in the virtual device storage unit 132 Based on the method information, virtual device state information is generated from the device state information of all the devices 3 corresponding to the virtual device whose settings are to be changed. Then, the virtual machine state information generation unit 112 updates the virtual machine state information stored in the virtual machine state storage unit 134 with the generated virtual machine state information (step S130). Thereafter, the operation result notification unit 123 performs an operation to notify that the virtual device status information stored in the virtual device status storage unit 134, the device identification information of the corresponding virtual device, and the settings of the included virtual device have been successfully changed. Result notification information is generated and transmitted to the terminal device 5 (step S131). Next, the process of step S101 is executed again.
 以上説明したように、本実施の形態に係るクラウドサーバ1によれば、仮想機器状態情報生成部112が、仮想機器のメソッド情報に基づいて、複数の機器3それぞれの機器状態情報から、複数の機器3それぞれの機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。これにより、例えばメソッド情報として、複数の機器3それぞれの機器状態情報から複数の機器3全体の連携状況或いは複数の機器3が設置された環境の環境パラメータを示す仮想機器状態情報を生成する処理を定義することで、仮想機器状態情報生成部112は、複数の機器3全体の連携状況或いは複数の機器3が設置された環境の環境パラメータを示す仮想機器状態情報を生成することができる。従って、利用者は、複数の機器3それぞれの機器状態情報から直接把握できない複数の機器3全体の連携状態或いは複数の機器3が設置された環境を容易に把握できるようになる。ここで、仮想機器としては、実際の機器3に対応する機器状態情報とは異なる別の状態を示す仮想機器状態情報を持つ。このため、利用者は、端末装置5を介して実際の機器3を意識することなく、仮想機器状態情報が示す仮想機器の状態を把握することができるので、利便性が高い。 As described above, according to the cloud server 1 according to the present embodiment, the virtual device state information generation unit 112 generates a plurality of device state information from the device state information of each of the plurality of devices 3 based on the method information of the virtual device. Virtual device state information having properties different from the device state information of each device 3 is generated. As a result, for example, as method information, processing is performed to generate virtual device state information indicating the cooperation status of the entire plurality of devices 3 or the environmental parameters of the environment in which the plurality of devices 3 are installed from the device state information of each of the plurality of devices 3. With the definition, the virtual device state information generation unit 112 can generate virtual device state information that indicates the cooperation status of the plurality of devices 3 as a whole or the environmental parameters of the environment in which the plurality of devices 3 are installed. Therefore, the user can easily grasp the cooperative state of the plurality of devices 3 as a whole or the environment in which the plurality of devices 3 are installed, which cannot be directly grasped from the device status information of each of the plurality of devices 3. Here, the virtual device has virtual device state information indicating a different state from the device state information corresponding to the actual device 3. Therefore, the user can grasp the state of the virtual device indicated by the virtual device state information through the terminal device 5 without being aware of the actual device 3, which is highly convenient.
 また、本実施の形態に係るクラウドサーバ1では、仮想機器更新部119が、新たに追加する仮想機器のプロパティ情報と機種情報とを含む仮想機器追加指令情報を取得すると、取得した仮想機器追加指令情報に含まれるプロパティ情報と機種情報とに基づいて、新たな仮想機器のメソッド情報を生成し、生成したメソッド情報とプロパティ情報とを含む仮想機器情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。これにより、端末装置5において仮想機器のメソッド情報を作成するための操作が不要となるので、利用者が端末装置5を介して新たな仮想機器を登録する作業が容易になるという利点がある。 Further, in the cloud server 1 according to the present embodiment, when the virtual device update unit 119 acquires virtual device addition command information including property information and model information of a newly added virtual device, the acquired virtual device addition command The virtual device storage unit 132 generates method information for a new virtual device based on the property information and model information included in the information, and stores the virtual device information in a manner that adds the virtual device information including the generated method information and property information. Update the virtual device information. This eliminates the need for an operation to create method information for a virtual device on the terminal device 5, which has the advantage that the user can easily register a new virtual device via the terminal device 5.
 更に、本実施の形態に係るクラウドサーバ1では、連携判定部121が、仮想機器記憶部132から仮想機器情報を削除する形で仮想機器情報を更新する際、削除する仮想機器の仮想機器状態情報を用いる削除する仮想機器と連携する仮想機器が有るか否かを判定する。そして、警告通知部122は、連携判定部121により削除する仮想機器と連携する仮想機器が有ると判定されると、削除する仮想機器と連携する仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成して端末装置5へ送信する。これにより、利用者は、削除する仮想機器と連携する仮想機器において、仮想機器が削除されることによる当該仮想機器の仮想機器状態情報への影響の有無を未然に確認することができる。 Furthermore, in the cloud server 1 according to the present embodiment, when the cooperation determination unit 121 updates the virtual device information by deleting the virtual device information from the virtual device storage unit 132, the virtual device status information of the virtual device to be deleted is Determine whether there is a virtual device that cooperates with the virtual device to be deleted. Then, when the cooperation determining unit 121 determines that there is a virtual device that cooperates with the virtual device to be deleted, the warning notification unit 122 issues a warning including device identification information and property information of the virtual device that cooperates with the virtual device to be deleted. Notification information is generated and sent to the terminal device 5. This allows the user to check in advance whether or not the deletion of a virtual device will affect the virtual device state information of the virtual device that cooperates with the virtual device to be deleted.
 また、本実施の形態に係るクラウドサーバ1では、機器状態取得部111が、機器状態取得時期が到来する毎に、複数の機器3から機器状態情報を取得し、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも後である場合、取得した機器状態情報を用いて機器状態記憶部131が記憶する前記機器状態情報を更新する。一方、機器状態取得部111は、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも前である場合、取得した機器状態情報を用いた、機器状態記憶部131が記憶する機器状態情報の更新を回避する。これにより、機器状態記憶部131の更新頻度を低減することができるので、その分、クラウドサーバ1における処理負荷を軽減できる。 In addition, in the cloud server 1 according to the present embodiment, the device status acquisition unit 111 acquires device status information from a plurality of devices 3 every time the device status acquisition time arrives, and when the acquired device status information is generated. If it is later than the previous device status acquisition time, the device status information stored in the device status storage unit 131 is updated using the acquired device status information. On the other hand, if the generation time of the acquired device status information is earlier than the previous device status acquisition time, the device status acquisition unit 111 determines the status of the device stored in the device status storage unit 131 using the acquired device status information. Avoid updating information. Thereby, the update frequency of the device state storage unit 131 can be reduced, and the processing load on the cloud server 1 can be reduced accordingly.
 更に、本実施の形態に係るクラウドサーバ1では、仮想機器記憶部132が、前述の対応機器情報を仮想機器の機器識別情報に対応づけて記憶し、制御情報生成部117が、仮想機器記憶部132が記憶する対応機器情報に基づいて、対応機器情報が示す複数の機器3それぞれの動作を制御する制御情報を生成する。ここで、制御情報生成部117は、仮想機器に対応する複数の機器3に対する制御情報を、仮想機器のメソッド情報に基づいて生成し、生成した制御情報を複数の仮想機器へ送信する。これにより、制御情報生成部117が、設定変更が行われる仮想機器に関連する機器3を効率的に特定することができるので、仮想機器の設定変更を円滑に実行することが可能となる。 Furthermore, in the cloud server 1 according to the present embodiment, the virtual device storage section 132 stores the above-mentioned compatible device information in association with the device identification information of the virtual device, and the control information generation section 117 stores the above-mentioned compatible device information in association with the device identification information of the virtual device. Based on the compatible device information stored in the device 132, control information for controlling the operation of each of the plurality of devices 3 indicated by the compatible device information is generated. Here, the control information generation unit 117 generates control information for the plurality of devices 3 corresponding to the virtual device based on the method information of the virtual device, and transmits the generated control information to the plurality of virtual devices. This allows the control information generation unit 117 to efficiently specify the device 3 related to the virtual device whose settings are to be changed, thereby making it possible to smoothly change the settings of the virtual device.
 以上、本開示の実施の形態について説明したが、本開示は前述の実施の形態によって限定されるものではない。例えば仮想機器更新部119が、仮想機器記憶部132から仮想機器情報を削除する形で仮想機器情報を更新する際、削除する仮想機器の仮想機器状態情報を用いる削除する仮想機器と連携する仮想機器が有る場合、削除する仮想機器に連携する仮想機器について、削除する仮想機器のプロパティ情報を、他の機器3または仮想機器のプロパティ情報に自動的に変更する機能を有するものであってもよい。この場合、クラウドサーバ1が、仮想機器記憶部132が記憶する仮想機器それぞれのプロパティ情報と、当該プロパティ情報との置き換えが可能な機器3または他の仮想機器のプロパティ情報と、を対応づけて記憶するプロパティ関係情報記憶部(図示せす)を備えるようにすればよい。そして、仮想機器更新部119は、仮想機器記憶部132から仮想機器情報を削除する形で仮想機器情報を更新する際、削除する仮想機器の仮想機器状態情報を用いる削除する仮想機器と連携する仮想機器が有る場合、プロパティ関係情報記憶部が記憶する削除する仮想機器のプロパティ情報に対応する機器3または他の仮想機器のプロパティ情報を特定し、削除する仮想機器に連携する仮想機器について、削除する仮想機器のプロパティ情報を特定したプロパティ情報に変更するようにすればよい。 Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments. For example, when the virtual device update unit 119 updates virtual device information by deleting the virtual device information from the virtual device storage unit 132, the virtual device that cooperates with the virtual device to be deleted uses the virtual device state information of the virtual device to be deleted. If there is a virtual device that cooperates with the virtual device to be deleted, it may have a function of automatically changing the property information of the virtual device to be deleted to the property information of another device 3 or virtual device. In this case, the cloud server 1 associates and stores the property information of each virtual device stored in the virtual device storage unit 132 and the property information of the device 3 or another virtual device that can be replaced with the property information. What is necessary is to include a property relationship information storage unit (not shown) that stores the property information. Then, when updating the virtual device information by deleting the virtual device information from the virtual device storage section 132, the virtual device update unit 119 uses the virtual device state information of the virtual device to be deleted. If there is a device, identify the property information of device 3 or another virtual device that corresponds to the property information of the virtual device to be deleted stored in the property-related information storage unit, and delete the virtual device linked to the virtual device to be deleted. The property information of the virtual device may be changed to the specified property information.
 本構成によれば、仮想機器を削除した場合に、仮想機器を削除したことが、削除する仮想機器と連携する仮想機器の仮想機器状態情報に与える影響を小さくすることができる。従って、利用者にとって仮想機器の追加または削除する操作を円滑に行うことができるという利点がある。 According to this configuration, when a virtual device is deleted, the effect of deleting the virtual device on the virtual device state information of a virtual device that cooperates with the virtual device to be deleted can be reduced. Therefore, there is an advantage that the user can smoothly perform operations to add or delete virtual devices.
 実施の形態では、機器3が、クラウドサーバ1から機器状態要求情報を取得すると、前述の機器状態通知情報を生成してクラウドサーバ1へ送信する例について説明した。但し、これに限らず、機器3が、自発的且つ定期的に機器状態通知情報を生成してクラウドサーバ1へ送信するものであってもよい。この場合、クラウドサーバ1の機器状態取得部111が、機器3から機器状態通知情報を取得したと判定する毎に、図10に示すステップS104からS106までの一連の処理が実行されるようにすればよい。 In the embodiment, an example has been described in which, when the device 3 acquires the device status request information from the cloud server 1, the device 3 generates the above-mentioned device status notification information and transmits it to the cloud server 1. However, the present invention is not limited to this, and the device 3 may spontaneously and periodically generate device status notification information and transmit it to the cloud server 1. In this case, each time the device status acquisition unit 111 of the cloud server 1 determines that device status notification information has been acquired from the device 3, a series of processes from steps S104 to S106 shown in FIG. Bye.
 実施の形態に係る制御システムでは、一定の周期で到来する機器状態取得時期が到来する毎に、クラウドサーバ1が、機器3に対して機器状態要求情報を送信する。但し、この場合、通信コストが高くなる虞がある。これに対して、本変形例では、機器3が自発的且つ定期的に機器状態通知情報を送信するため、機器状態要求情報の送信が不要となり、その分、通信コストを低減できるという利点がある。 In the control system according to the embodiment, the cloud server 1 transmits device state request information to the device 3 every time the device state acquisition time arrives at a constant cycle. However, in this case, there is a risk that communication costs will increase. On the other hand, in this modification, since the device 3 voluntarily and periodically transmits the device status notification information, there is no need to transmit the device status request information, and there is an advantage that the communication cost can be reduced accordingly. .
 実施の形態では、クラウドサーバ1が、機器状態通知情報を取得したタイミングで、仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する例について説明した。但し、これに限らず、クラウドサーバ1が、仮想機器状態情報を取得したタイミングとは同期せずに、別の仮想機器状態情報の更新周期で、仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新するものであってもよい。 In the embodiment, the cloud server 1 generates virtual device state information at the timing when the device state notification information is acquired, and updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information. An example was explained. However, the present invention is not limited to this, and the cloud server 1 generates virtual device state information at a different update cycle of virtual device state information, without synchronizing with the timing at which the virtual device state information is acquired, and the generated virtual device The virtual device state information stored in the virtual device state storage unit 134 may be updated with the state information.
 実施の形態では、クラウドサーバ1が、仮想機器状態記憶部134が記憶する仮想機器状態情報が更新されると、更新された直後に、更新後の仮想機器状態情報に基づいて、仮想機器状態通知情報を生成して端末装置5へ送信する例について説明した。但し、これに限らず、クラウドサーバ1が、仮想機器状態記憶部134が記憶する仮想機器状態情報を更新した後、端末装置5から送信される、クラウドサーバ1に対して仮想機器状態通知情報の送信を要求する仮想機器状態要求情報を取得しない限り、仮想機器状態通知情報の送信を行わないものであってもよい。ここで、端末装置5は、例えば仮想機器状態通知画像を表示部504に表示させた状態で、利用者が入力部505を介して表示部504に表示されている仮想機器状態通知画像を更新するための画像更新操作を行ったときに、仮想機器状態要求情報をクラウドサーバ1へ送信することにより、クラウドサーバ1から送信される仮想機器状態情報を取得するようにすればよい。ここで、画像更新操作としては、例えば、仮想機器状態通知画像における仮想機器状態通知画像の更新を行う際に利用者にタッチされる部分に更新釦画像が表示されており、利用者が、入力部505における更新釦画像に対応する部分をタッチする操作であってもよい。 In the embodiment, when the virtual machine state information stored in the virtual machine state storage unit 134 is updated, the cloud server 1 sends a virtual machine state notification based on the updated virtual machine state information immediately after the update. An example in which information is generated and transmitted to the terminal device 5 has been described. However, the present invention is not limited to this, and after the cloud server 1 updates the virtual device state information stored in the virtual device state storage unit 134, the cloud server 1 sends virtual device state notification information to the cloud server 1, which is transmitted from the terminal device 5. The virtual device state notification information may not be transmitted unless the virtual device state request information that requests transmission is obtained. Here, in the terminal device 5, for example, with the virtual device status notification image displayed on the display unit 504, the user updates the virtual device status notification image displayed on the display unit 504 via the input unit 505. When performing an image update operation for this purpose, the virtual device state information transmitted from the cloud server 1 may be acquired by transmitting virtual device state request information to the cloud server 1. Here, as an image update operation, for example, an update button image is displayed in the part of the virtual device status notification image that is touched by the user when updating the virtual device status notification image, and the user inputs It may be an operation of touching a portion corresponding to the update button image in the section 505.
 本構成によれば、クラウドサーバ1において、仮想機器状態記憶部134が記憶する仮想機器状態情報が更新された場合でも、端末装置5からクラウドサーバ1へ仮想機器状態要求情報を送信しない限り、クラウドサーバ1から端末装置5へ更新後の仮想機器状態情報に基づく仮想機器状態通知情報が送信されないので、その分、通信コストが低減されるという利点がある。 According to this configuration, in the cloud server 1, even if the virtual device state information stored in the virtual device state storage unit 134 is updated, unless the terminal device 5 transmits the virtual device state request information to the cloud server 1, the Since the virtual machine state notification information based on the updated virtual machine state information is not transmitted from the server 1 to the terminal device 5, there is an advantage that the communication cost is reduced accordingly.
 実施の形態において、制御情報生成部117が、仮想機器状態記憶部134が記憶する仮想機器の仮想機器状態情報に基づいて、自発的に当該仮想機器に対応する複数の機器3に対する制御情報を生成するものであってもよい。例えば、クラウドサーバ1が、広域ネットワークNW1に接続された気象サーバから花粉情報を取得でき、仮想機器として「花粉センサ付き空気調和機」が定義されているとする。この場合、制御情報生成部117が、仮想機器状態記憶部134が記憶する「花粉センサ付き空気調和機」の花粉情報が示す花粉飛散量が予め設定された花粉飛散量基準値を超えると、仮想機器に対応する空気調和機3Aを換気運転させるための制御情報を生成して空気調和機3Aへ送信するようにしてもよい。 In the embodiment, the control information generation unit 117 spontaneously generates control information for the plurality of devices 3 corresponding to the virtual device based on the virtual device state information of the virtual device stored in the virtual device state storage unit 134. It may be something that does. For example, it is assumed that the cloud server 1 can acquire pollen information from a weather server connected to the wide area network NW1, and that an "air conditioner with a pollen sensor" is defined as a virtual device. In this case, the control information generation unit 117 generates a virtual Control information for causing the air conditioner 3A corresponding to the device to perform ventilation operation may be generated and transmitted to the air conditioner 3A.
 実施の形態では、端末装置5が表示部504に予め設定された複数種類の仮想機器を表す名称を表示し、利用者が表示された名称の中から追加したい仮想機器の名称を選択することで仮想機器追加操作が行われる例について説明した。但し、これに限らず、例えば利用者が、機器3のプロパティ情報と機種情報との組み合わせを自由に選択できるものであってもよい。 In the embodiment, the terminal device 5 displays names representing multiple types of virtual devices set in advance on the display unit 504, and the user selects the name of the virtual device to be added from among the displayed names. An example in which a virtual device addition operation is performed has been described. However, the present invention is not limited to this, and for example, the user may be able to freely select a combination of property information and model information of the device 3.
 また、本開示に係るクラウドサーバ1、端末装置5の各種機能は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。例えば、ネットワークに接続されているコンピュータに、上記動作を実行するためのプログラムを、コンピュータシステムが読み取り可能な非一時的な記録媒体(CD-ROM(Compact Disc Read Only Memory)等)に格納して配布し、当該プログラムをコンピュータシステムにインストールすることにより、上述の処理を実行するクラウドサーバ1、端末装置5を構成してもよい。 Furthermore, the various functions of the cloud server 1 and the terminal device 5 according to the present disclosure can be realized using a normal computer system, not a dedicated system. For example, a computer connected to a network stores a program for executing the above operations on a non-temporary recording medium that can be read by the computer system (CD-ROM (Compact Disc Read Only Memory), etc.). By distributing the program and installing the program on a computer system, the cloud server 1 and the terminal device 5 that execute the above-described process may be configured.
 また、コンピュータにプログラムを提供する方法は任意である。例えば、プログラムは、通信回線の掲示版(BBS(Bulletin Board System))にアップロードされ、通信回線を介してコンピュータに配信されてもよい。そして、コンピュータは、このプログラムを起動して、OS(Operating System)の制御の下、他のアプリケーションと同様に実行する。これにより、コンピュータは、上述の処理を実行するクラウドサーバ1または端末装置5として機能する。 Furthermore, the method of providing the program to the computer is arbitrary. For example, the program may be uploaded to a bulletin board system (BBS) on a communication line and distributed to computers via the communication line. Then, the computer starts this program and executes it like other applications under the control of the OS (Operating System). Thereby, the computer functions as the cloud server 1 or the terminal device 5 that executes the above-described processing.
 本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、この開示を説明するためのものであり、本開示の範囲を限定するものではない。すなわち、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、この開示の範囲内とみなされる。
れに適宜変更が加えられたものを含む。
The present disclosure is capable of various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Moreover, the embodiments described above are for explaining this disclosure, and do not limit the scope of this disclosure. That is, the scope of the present disclosure is indicated by the claims rather than the embodiments. Various modifications made within the scope of the claims and the meaning of the disclosure equivalent thereto are considered to be within the scope of this disclosure.
This includes any changes made thereto as appropriate.
 本開示は、互いに連携する複数の機器を制御する制御装置として好適である。 The present disclosure is suitable as a control device that controls multiple devices that cooperate with each other.
1 クラウドサーバ、3,3A,3B,3C,3D 機器、41 BBR、42 通信アダプタ、5 端末装置、101,501 CPU、102,502 主記憶部、103,503 補助記憶部、106,506 通信部、108 計時部、109,509 バス、111 機器状態取得部、112 仮想機器状態情報生成部、113 仮想機器状態情報通知部、114 指令取得部、115 エラー判定部、116 エラー通知部、117 制御情報生成部、118 制御情報通知部、119 仮想機器更新部、120 権限登録部、121 連携判定部、122 警告通知部、123 操作結果通知部、131 機器状態記憶部、132 仮想機器記憶部、133 仮想機器マスタ情報記憶部、134,531 仮想機器状態記憶部、135 権限情報記憶部、136 制御情報記憶部、504 表示部、505 入力部、511 仮想機器状態情報取得部、512 表示制御部、513 受付部、514 指令通知部、515 登録情報管理部、516 登録情報通知部、517 通知取得部、532 登録情報記憶部、NW1 広域ネットワーク、NW2 局所ネットワーク 1 Cloud server, 3, 3A, 3B, 3C, 3D equipment, 41 BBR, 42 Communication adapter, 5 Terminal device, 101,501 CPU, 102,502 Main storage unit, 103,503 Auxiliary storage unit, 106,506 Communication unit , 108 Time measurement unit, 109,509 Bus, 111 Equipment status acquisition unit, 112 Virtual equipment status information generation unit, 113 Virtual equipment status information notification unit, 114 Command acquisition unit, 115 Error determination unit, 116 Error notification unit, 117 Control information Generation unit, 118 Control information notification unit, 119 Virtual device update unit, 120 Authority registration unit, 121 Cooperation determination unit, 122 Warning notification unit, 123 Operation result notification unit, 131 Device status storage unit, 132 Virtual device storage unit, 133 Virtual Equipment master information storage unit, 134, 531 Virtual equipment status storage unit, 135 Authority information storage unit, 136 Control information storage unit, 504 Display unit, 505 Input unit, 511 Virtual equipment status information acquisition unit, 512 Display control unit, 513 Reception Department, 514 Command Notification Department, 515 Registration Information Management Department, 516 Registration Information Notification Department, 517 Notification Acquisition Department, 532 Registration Information Storage Department, NW1 Wide Area Network, NW2 Local Network

Claims (8)

  1.  複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、
    前記複数の機器それぞれの前記機器状態情報のプロパティを用いて前記機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、前記複数の機器それぞれの前記機器状態情報から、前記複数の機器それぞれの前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、を備える、
     制御装置。
    a device status acquisition unit that acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed;
    The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the information;
    Control device.
  2.  前記少なくとも1つの仮想機器それぞれに対応するメソッド情報を含む仮想機器情報を記憶する仮想機器記憶部と、
     前記仮想機器で用いられるプロパティを示すプロパティ情報と前記仮想機器の種別を示す機種情報とを含み前記仮想機器を新たに追加するよう指令する仮想機器追加指令情報を取得すると、取得した前記仮想機器追加指令情報に含まれる前記プロパティ情報と前記機種情報とに基づいて、新たな前記仮想機器の前記メソッド情報を生成し、前記プロパティ情報と生成した前記メソッド情報とを含む前記仮想機器情報を追加する形で前記仮想機器記憶部が記憶する前記仮想機器情報を更新する仮想機器更新部と、を更に備える、
     請求項1に記載の制御装置。
    a virtual device storage unit that stores virtual device information including method information corresponding to each of the at least one virtual device;
    When virtual device addition command information that includes property information indicating properties used in the virtual device and model information indicating the type of the virtual device and instructs to newly add the virtual device is acquired, the acquired virtual device addition The method information of the new virtual device is generated based on the property information and the model information included in the command information, and the virtual device information including the property information and the generated method information is added. further comprising: a virtual device updating unit that updates the virtual device information stored in the virtual device storage unit;
    The control device according to claim 1.
  3.  前記少なくとも1つの仮想機器それぞれの仮想機器情報のうちのいずれか1つを前記仮想機器記憶部から削除する形で前記仮想機器情報を更新する際、削除する仮想機器の前記仮想機器状態情報を用いる削除する仮想機器と連携する仮想機器が存在するか否かを判定する連携判定部を更に備える、
     請求項2に記載の制御装置。
    When updating the virtual device information in such a way that any one of the virtual device information of each of the at least one virtual device is deleted from the virtual device storage unit, the virtual device state information of the virtual device to be deleted is used. further comprising a cooperation determination unit that determines whether there is a virtual device that cooperates with the virtual device to be deleted;
    The control device according to claim 2.
  4.  前記複数の機器それぞれの前記機器状態情報を記憶する機器状態記憶部と、
     定期的に到来する予め設定された前記機器状態情報を前記複数の機器から取得する機器状態取得時期が到来する毎に、前記複数の機器から前記機器状態情報を取得し、取得した前記機器状態情報の生成時期が直前の前記機器状態取得時期よりも後である場合、取得した前記機器状態情報を用いて前記機器状態記憶部が記憶する前記機器状態情報を更新し、取得した前記機器状態情報の生成時期が直前の前記機器状態取得時期よりも前である場合、取得した前記機器状態情報を用いた前記機器状態記憶部が記憶する前記機器状態情報の更新を回避する、
     請求項1から3のいずれか1項に記載の制御装置。
    an equipment status storage unit that stores the equipment status information of each of the plurality of equipment;
    Acquire the device status information from the plurality of devices, which is set in advance and that periodically arrives, from the plurality of devices. Each time a device status acquisition time arrives, the device status information is acquired from the plurality of devices, and the obtained device status information is obtained. If the generation time is later than the previous equipment status acquisition time, the equipment status information stored in the equipment status storage unit is updated using the acquired equipment status information, and the acquired equipment status information is updated. If the generation time is earlier than the immediately preceding equipment state acquisition time, avoiding updating of the equipment state information stored in the equipment state storage unit using the acquired equipment state information;
    The control device according to any one of claims 1 to 3.
  5.  前記仮想機器情報は、前記仮想機器情報を生成するために用いる前記機器状態情報に対応する前記複数の機器を示す前記仮想機器に対応する対応機器情報を含み、
     前記仮想機器情報に含まれる前記対応機器情報に基づいて、前記複数の機器それぞれの動作を制御する制御情報を生成する制御情報生成部を更に備える、
     請求項1から3のいずれか1項に記載の制御装置。
    The virtual device information includes corresponding device information corresponding to the virtual device indicating the plurality of devices corresponding to the device state information used to generate the virtual device information,
    further comprising a control information generation unit that generates control information for controlling operations of each of the plurality of devices based on the corresponding device information included in the virtual device information;
    The control device according to any one of claims 1 to 3.
  6.  端末装置と、
     前記端末装置と通信可能であり、複数の機器を制御する制御装置と、を備え、
     前記制御装置は、
     複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、
    前記複数の機器それぞれの前記機器状態情報のプロパティを用いて前記機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、前記複数の機器それぞれの前記機器状態情報から、前記複数の機器それぞれの前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、
     前記仮想機器状態情報を前記端末装置へ送信する仮想機器状態情報通知部と、を有する、
     制御システム。
    a terminal device;
    A control device capable of communicating with the terminal device and controlling a plurality of devices,
    The control device includes:
    a device status acquisition unit that acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed;
    The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the information;
    a virtual device status information notification unit that transmits the virtual device status information to the terminal device;
    control system.
  7.  複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得するステップと、
    前記複数の機器それぞれの前記機器状態情報のプロパティを用いて前記機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、前記複数の機器それぞれの前記機器状態情報から、前記複数の機器それぞれの前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成するステップと、を含む、
     機器制御方法。
    acquiring device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed;
    The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. generating from the information virtual device state information having properties different from the device state information of each of the plurality of devices;
    Equipment control method.
  8.  コンピュータを、
     複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部、
     前記複数の機器それぞれの前記機器状態情報のプロパティを用いて前記機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義するメソッド情報に基づいて、前記複数の機器それぞれの前記機器状態情報から、前記複数の機器それぞれの前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部、
     として機能させるためのプログラム。
    computer,
    a device status acquisition unit that acquires device status information indicating at least one of the device status of each of the plurality of devices and an environmental parameter detected by each of the plurality of devices indicating an environment in which each of the plurality of devices is installed;
    The device state of each of the plurality of devices is determined based on method information that defines processing content to be executed by at least one virtual device on the device state information using the property of the device state information of each of the plurality of devices. a virtual device state information generation unit that generates virtual device state information having properties different from the device state information of each of the plurality of devices from the information;
    A program to function as
PCT/JP2022/023178 2022-06-08 2022-06-08 Control device, control system, apparatus control method, and program WO2023238298A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022567654A JP7221467B1 (en) 2022-06-08 2022-06-08 Control device, control system, equipment control method and program
PCT/JP2022/023178 WO2023238298A1 (en) 2022-06-08 2022-06-08 Control device, control system, apparatus control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/023178 WO2023238298A1 (en) 2022-06-08 2022-06-08 Control device, control system, apparatus control method, and program

Publications (1)

Publication Number Publication Date
WO2023238298A1 true WO2023238298A1 (en) 2023-12-14

Family

ID=85197948

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/023178 WO2023238298A1 (en) 2022-06-08 2022-06-08 Control device, control system, apparatus control method, and program

Country Status (2)

Country Link
JP (1) JP7221467B1 (en)
WO (1) WO2023238298A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256951A (en) * 2002-02-26 2003-09-12 Shikoku Electric Power Co Inc Method for making living condition into data and server computer
WO2013024673A1 (en) * 2011-08-12 2013-02-21 オムロン株式会社 Information management device, network system, information management program, and information management method
WO2018235152A1 (en) * 2017-06-20 2018-12-27 三菱電機株式会社 Sensor management device, sensor management method and sensor management program
JP2019220893A (en) * 2018-06-21 2019-12-26 岩崎電気株式会社 Illumination control system
JP2020112923A (en) * 2019-01-09 2020-07-27 日本電気株式会社 Data processing apparatus, data processing method and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256951A (en) * 2002-02-26 2003-09-12 Shikoku Electric Power Co Inc Method for making living condition into data and server computer
WO2013024673A1 (en) * 2011-08-12 2013-02-21 オムロン株式会社 Information management device, network system, information management program, and information management method
WO2018235152A1 (en) * 2017-06-20 2018-12-27 三菱電機株式会社 Sensor management device, sensor management method and sensor management program
JP2019220893A (en) * 2018-06-21 2019-12-26 岩崎電気株式会社 Illumination control system
JP2020112923A (en) * 2019-01-09 2020-07-27 日本電気株式会社 Data processing apparatus, data processing method and program

Also Published As

Publication number Publication date
JP7221467B1 (en) 2023-02-13
JPWO2023238298A1 (en) 2023-12-14

Similar Documents

Publication Publication Date Title
JP5724498B2 (en) Allocation device, communication device, mediation device, mediation system, allocation method, program, and recording medium
JP5703207B2 (en) Energy management system and management device
JP6012727B2 (en) Equipment management system, equipment management apparatus, equipment management method and program
JP5976210B2 (en) Monitoring system, facility management apparatus, monitoring method and program
JP2015105795A (en) Air conditioning system and air conditioning management program
CN101351779B (en) Network system
JP6119792B2 (en) Air conditioning system and air conditioning management program
JP2012147325A (en) Data collection device, data collection program, and data collection system
JP2005149379A (en) Control system
JP6726560B2 (en) Air conditioning system
WO2023238298A1 (en) Control device, control system, apparatus control method, and program
JP2018048774A (en) Information providing system, information providing method and control program
JP7138800B2 (en) Control system, server, device, control method and program
WO2017150029A1 (en) Management device, management system, management method, and management program
US8665464B2 (en) Information processing system, image forming apparatus, management apparatus, management method, and computer program for searching an address information of management in a case when an error notification is received
JP7438465B1 (en) Control devices, control systems, equipment control methods and programs
WO2012026525A1 (en) Electric power management system and management server
JP6309809B2 (en) Controller, control system, and control system control method
JP5404943B2 (en) Data collection device, data collection program, and data collection system
JP5689041B2 (en) Resident occupancy confirmation device and method
KR101754210B1 (en) Module based energy storage system that can extend dynamic function in real time and method thereof
JP2018163401A (en) Image forming apparatus, information processing device, information processing system and program
JP2007257137A (en) User interface control apparatus and user interface control system
JP2010033279A (en) Device for monitoring operation of air conditioner, operation-monitoring system, and operation-monitoring method
WO2021095241A1 (en) Edge device linking system, edge device linking method, and program

Legal Events

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

Ref document number: 22945801

Country of ref document: EP

Kind code of ref document: A1