JP7438465B1 - Control devices, control systems, equipment control methods and programs - Google Patents

Control devices, control systems, equipment control methods and programs Download PDF

Info

Publication number
JP7438465B1
JP7438465B1 JP2023527667A JP2023527667A JP7438465B1 JP 7438465 B1 JP7438465 B1 JP 7438465B1 JP 2023527667 A JP2023527667 A JP 2023527667A JP 2023527667 A JP2023527667 A JP 2023527667A JP 7438465 B1 JP7438465 B1 JP 7438465B1
Authority
JP
Japan
Prior art keywords
information
virtual device
control
virtual
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023527667A
Other languages
Japanese (ja)
Inventor
雄喜 小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP7438465B1 publication Critical patent/JP7438465B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

クラウドサーバ(1)は、複数の機器(3)を連携して動作させることにより実現される仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部(114)と、仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、仮想機器制御情報とは異なるプロパティを有する機器(3)を制御するための機器制御情報と、他の異なる仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部(117)と、を備える。これにより、利用者が複数の機器(3)を連携して動作させる際の操作性を高めることができる。The cloud server (1) includes a control information acquisition unit (114) that acquires virtual device control information for controlling a virtual device realized by operating a plurality of devices (3) in cooperation, and Based on control method information that defines the control content to be executed, device control information for controlling a device (3) that has properties different from the virtual device control information, and virtual devices for controlling other different virtual devices. and a control information generation unit (117) that generates at least one of the control information and the control information. Thereby, it is possible to improve the operability when the user operates the plurality of devices (3) in cooperation with each other.

Description

本開示は、制御装置、制御システム、機器制御方法およびプログラムに関する。 The present disclosure relates to a control device, a control system, a device control method, and a program.

複数の家電機器とサーバコンピュータとが相互に通信可能に接続され、複数の家電機器が、それぞれ、他の家電機器の機能を利用することができる家電機器ネットワークシステムが提案されている(例えば特許文献1参照)。この家電機器ネットワークシステムでは、複数の機器それぞれが、自機の属性、制御プログラムが記述された被制御機能記述部を有し、サーバコンピュータが、複数の機器それぞれの属性および制御プログラムが登録された被制御機能一覧記述部1を有する。そして、複数の家電機器のうちのいずれかが他の家電機器の機能を利用する場合、サーバコンピュータの被制御機能一覧記述部から他の機器の属性と制御プログラムとを取得し、当該他の機器の機能を呼び出して利用する。 A home appliance network system has been proposed in which a plurality of home appliances and a server computer are connected so as to be able to communicate with each other, and each of the plurality of home appliances can utilize the functions of other home appliances (for example, Patent Document (see 1). In this home appliance network system, each of the multiple devices has a controlled function description section in which its own attributes and control programs are written, and the server computer registers the attributes and control programs of each of the multiple devices. It has a controlled function list description section 1. When one of the plurality of home appliances uses the functions of another home appliance, the attributes and control program of the other appliance are acquired from the controlled function list description section of the server computer, and the other appliance is used. Call and use the functions of.

特開2006-65871号公報Japanese Patent Application Publication No. 2006-65871

ところで、複数の電気機器それぞれが有する機能を複合して実現される1つのいわゆる仮想機器を利用者に提示して、利用者が仮想機器に対して操作することにより、仮想機器を実現している複数の機能それぞれに対応する複数の電気機器が連携して動作させることにより、利用者が複数の電気機器を連携して動作させる際の操作性を高めることが要請されている。 By the way, a virtual device is realized by presenting a so-called virtual device to a user, which is realized by combining the functions of multiple electrical devices, and allowing the user to operate the virtual device. There is a demand for improving the operability when a user operates a plurality of electrical devices in a coordinated manner by operating a plurality of electrical devices corresponding to a plurality of functions in a coordinated manner.

本開示は、上記事由に鑑みてなされたもので、利用者が複数の機器を連携して動作させる際の操作性を高めることができる制御装置、制御システム、機器制御方法およびプログラムを提供することを目的とする。 The present disclosure has been made in view of the above reasons, and an object thereof is to provide a control device, a control system, a device control method, and a program that can improve operability when a user operates multiple devices in cooperation. With the goal.

上記目的を達成するため、本開示に係る制御装置は、
複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部と、
前記仮想機器制御情報が前記第1仮想機器で禁止されている制御内容であるか否かが判定された結果、前記第1仮想機器で許容されている場合、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記仮想機器制御情報とは異なるプロパティを有する前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と、前記第1仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部と、を備える。
In order to achieve the above object, a control device according to the present disclosure includes:
a control information acquisition unit that acquires virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation;
Control executed by the first virtual device if the virtual device control information is permitted by the first virtual device as a result of determining whether or not the control content is prohibited by the first virtual device; Device control information for controlling at least one of the plurality of devices, which has properties different from the virtual device control information, based on control method information defining contents, and which are different from the first virtual device. , virtual device control information for controlling a second virtual device realized by operating at least two of the plurality of devices in cooperation, and a control information generation unit that generates at least one of: Be prepared.

本開示によれば、制御情報生成部が、第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、仮想機器制御情報とは異なるプロパティを有する機器を制御するための機器制御情報と、第1仮想機器とは異なる第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。これにより、第1仮想機器に対する操作を行うだけで、前述の複数の機器または第2仮想機器に対して操作を行うことなく、第1仮想機器に対する操作内容に対応する複数の機器または第2仮想機器に対する制御を実行することができる。従って、利用者は、複数の機器または第2仮想機器それぞれに対する操作が不要となるので、その分、複数の機器を連携して動作させる際の操作性を高めることができる。 According to the present disclosure, the control information generation unit generates device control information for controlling a device having properties different from the virtual device control information, based on control method information that defines control content to be executed by the first virtual device. and virtual device control information for controlling a second virtual device different from the first virtual device. As a result, by simply performing an operation on the first virtual device, without performing an operation on the aforementioned multiple devices or the second virtual device, it is possible to perform an operation on the plurality of devices or the second virtual device corresponding to the operation content on the first virtual device. Control over equipment can be executed. Therefore, since the user does not need to operate each of the plurality of devices or the second virtual device, it is possible to improve the operability when operating the plurality of devices in cooperation with each other.

本開示の実施の形態に係る制御システムの構成の一例を示す図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 status 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 the concept of a higher-level device and a lower-level device according to an embodiment. 実施の形態に係る上位機器、下位機器の概念を示す図A diagram illustrating the concept of a higher-level device and a lower-level device 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 status update processing executed by the cloud server according to the embodiment 実施の形態に係るクラウドサーバが実行する仮想機器情報生成処理の流れの一例を示すフローチャートFlowchart showing an example of the flow of virtual device information generation 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 実施の形態に係るクラウドサーバが実行する制御情報生成処理の流れの一例を示すフローチャートFlowchart showing an example of the flow of control information generation processing executed by the cloud server according to the embodiment

以下、本開示の実施の形態に係る制御装置について図面を参照しながら説明する。実施の形態に係る制御装置は、複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部と、第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、仮想機器制御情報とは異なるプロパティを有する機器を制御するための機器制御情報と、第1仮想機器とは異なる第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部と、を備える。ここで、「仮想機器」とは、複数の実際の機器それぞれの温度情報のような環境パラメータ、運転モードのような機器状態それぞれのプロパティを有する情報を持った実際の機器とは異なる仮想的な機器として定義されたものである。また、制御情報生成部は、第2仮想機器を制御するための仮想機器制御情報を生成した場合、第2仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、機器制御情報と、第2仮想機器とは異なる第3仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成し、第3仮想機器を制御するための仮想機器制御情報を生成した場合、第3仮想機器を第2仮想機器として、制御メソッド情報に基づいて機器制御情報と仮想機器制御情報との少なくとも一方を生成することを繰り返す。更に、制御装置は、複数の機器それぞれの機器状態と複数の機器それぞれで検出される複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、機器状態情報のプロパティを用いて機器状態情報に対して実行する第1仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、第1仮想機器の機器状態を示し且つ機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成し、生成した第1仮想機器の仮想機器状態情報を用いて機器状態が決定される第1仮想機器とは異なる第2仮想機器が存在する場合、第2仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、第2仮想機器の機器状態を示し且つ第1仮想機器の仮想機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、を備える。 Hereinafter, a control device according to an embodiment of the present disclosure will be described with reference to the drawings. A control device according to an embodiment includes a control information acquisition unit that acquires virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation; Device control information for controlling a device having properties different from the virtual device control information, and controlling a second virtual device different from the first virtual device, based on control method information that defines control content to be executed. and a control information generation unit that generates at least one of the virtual device control information and the virtual device control information. Here, "virtual equipment" is 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. In addition, when the control information generation unit generates virtual device control information for controlling the second virtual device, the control information generation unit generates device control information based on control method information that defines control content to be executed by the second virtual device. When at least one of virtual device control information for controlling a third virtual device different from the second virtual device is generated, and virtual device control information for controlling the third virtual device is generated, the third virtual device Using the device as a second virtual device, generating at least one of the device control information and the virtual device control information based on the control method information is repeated. Further, the control device performs device status acquisition for 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 that indicates the environment in which each of the plurality of devices is installed. and state determination method information that defines the processing content for determining the device state of the first virtual device to be executed on the device state information using the properties of the device state information. A second virtual device different from the first virtual device whose device state is determined using the virtual device state information of the generated first virtual device; If a virtual device exists, the device state of the second virtual device is indicated and the virtual device state of the first virtual device is determined based on state determination method information that defines the processing content for determining the device state of the second virtual device. and a virtual device state information generation unit that generates virtual device state information having properties different from the virtual device state information.

本実施の形態に係る制御システムは、図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へ通知するための機器状態通知情報を生成して、通信アダプタ42を介してクラウドサーバ1へ送信する。ここで、機器状態通知時期は、例えば30分間隔で到来するように設定することができる。なお、機器状態通知時期の到来間隔は、例えば機器3毎に各別に設定されてもよい。また、機器3は、クラウドサーバ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. Then, each time a preset device status notification time arrives, 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 via the communication adapter 42. Send to 1. Here, the device status notification timing can be set to arrive at 30 minute intervals, for example. Note that the arrival interval of the device status notification timing may be set separately for each device 3, for example. Also, when the device 3 acquires device status request information from the cloud server 1 , it generates the device status notification information described above and transmits it to the cloud server 1 via the communication adapter 42 . 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 section 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.

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に登録されている仮想機器を削除するための仮想機器削除操作、或いは、仮想機器または機器3の制御内容を変更するための制御内容変更操作を行うと、これらの操作内容を受け付ける。 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 registration 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 control contents changing operation for changing the control contents of the virtual device or device 3 is performed, these operation contents are accepted.

指令通知部514は、受付部513から仮想機器について制御内容を変更することを示す操作情報が通知されると、操作情報が示す仮想機器の変更後の仮想機器制御情報を含む制御指令情報を生成してクラウドサーバ1へ送信する。ここで、制御指令情報には、制御内容の変更の対象となる仮想機器の機器識別情報と、変更後の仮想機器の制御内容を示す仮想機器制御情報と、制御内容の変更を行う利用者を識別する利用者識別情報と、が含まれる。 When the command notification unit 514 is notified of the operation information indicating that the control content for the virtual device is to be changed from the reception unit 513, the command notification unit 514 generates control command information including changed virtual device control information for the virtual device indicated by the operation information. and sends it to cloud server 1. Here, the control command information includes device identification information of the virtual device whose control contents are to be changed, virtual device control information indicating the control contents of the virtual device after the change, and information about the user who changes the control contents. and user identification information for identifying the user.

登録情報管理部515は、受付部513から新たに登録する仮想機器の機器識別情報、機種情報および権限情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報、機種情報および権限情報を互いに対応づけて登録情報記憶部532に記憶させる。一方、登録情報管理部515は、受付部513から既に登録されている仮想機器のうち登録を削除する仮想機器の機器識別情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報と、これに対応する機種情報および権限情報とを登録情報記憶部532から削除するとともに、機器識別情報を登録情報通知部516に通知する。 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 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 registration command information is generated and sent to the cloud server 1 to instruct the cloud server 1 to update the virtual device registered in the form of registering the virtual device. Here, the virtual device registration command information includes device identification information and model information of the newly added virtual device, property information indicating properties to be used in the newly added virtual device, and control details of the newly registered virtual device. and user identification information that identifies users who are permitted to change the information. 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の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報、仮想機器制御情報または仮想機器状態情報のプロパティについてバリデーションチェック処理を実行した結果、NGであることを示すエラーコード情報、仮想機器に対する制御の変更内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報等が挙げられる。また、通知取得部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 settings of the virtual device, validation check processing for the properties of virtual device control information or virtual device state information. The execution results include error code information indicating that the execution result is NG, error code information indicating that the change in control of the virtual device is prohibited in the virtual device whose settings are to be changed, and the like. 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と、これらを相互に接続するバス109と、を備える。CPU101は、例えばマルチコアプロセッサである。主記憶部102は、RAMのような揮発性メモリを有し、CPU101の作業領域として使用される。補助記憶部103は、大容量の不揮発性メモリから構成され、クラウドサーバ1の各種機能を実現するためのプログラムを記憶する。通信部106は、広域ネットワークNW1に接続されている。 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, and a bus 109 that interconnects these. 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.

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, control information 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 and 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は、例えば図5に示すように、仮想機器で使用するプロパティを示すプロパティ情報と、状態決定メソッド情報または制御メソッド情報と、下位機器情報と、上位機器情報と、から構成される仮想機器情報を、対応する仮想機器を識別する機器識別情報と仮想機器の種別を示す機種情報との組み合わせに対応づけて記憶する。仮想機器としては、前述の「加湿機能つき空気調和機」、「エネルギマネジメント装置」、「最適環境システム」等が挙げられる。ここで、状態決定メソッド情報は、機器3または仮想機器それぞれの機器状態情報のプロパティを用いて機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義する情報であり、プロパティ情報が示すプロパティを有する機器状態情報を用いて仮想機器状態情報を算出する方法を表す。また、制御メソッド情報は、仮想機器に対する仮想機器制御情報のプロパティを用いて、仮想機器と機器3との少なくとも一方が実行する制御内容を定義する情報であり、プロパティ情報が示すプロパティを有する仮想機器制御情報を用いて機器3を制御するための制御情報と仮想機器を制御するための仮想機器制御情報との少なくとも一方を生成する方法を表す。プロパティ情報は、例えばECHONET Lite(登録商標)Web APIガイドラインで規定されているプロパティで表すことができる。状態決定メソッド情報としては、例えば「加湿機能つき空気調和機」について、加湿器3Bのタンク水量を示すプロパティ情報を用いて定義され、タンク水量から加湿残時間を算出する数式を定義するもの、仮想機器に対応する機器3の機器状態情報をそのままコピーするいわゆる情報同期メソッドを定義するものがある。また、状態決定メソッド情報としては、機器状態情報が示す機器3の状態の論理演算、過去の機器状態情報が示す環境パラメータと現在の環境パラメータとの差分演算を定義するものであってもよい。 For example, as shown in FIG. 5, the virtual device storage unit 132 includes property information indicating properties used in the virtual device, state determination method information or control method information, lower-level device information, and higher-level device information. virtual device information is stored in association with a combination of device identification information that identifies the corresponding virtual device and model information that indicates the type of the virtual device. Examples of virtual equipment include the aforementioned "air conditioner with humidification function," "energy management device," and "optimal environment system." Here, the state determination method information is information that defines the processing content to be executed by at least one virtual device on the device state information using the properties of the device state information of the device 3 or the virtual device, and the property information is This represents a method of calculating virtual device state information using device state information having properties shown in FIG. Further, the control method information is information that defines the control content to be executed by at least one of the virtual device and the device 3 using the properties of the virtual device control information for the virtual device, and the control method information is information that defines the control content to be executed by at least one of the virtual device and the device 3, and the control method information is information that defines the control content to be executed by at least one of the virtual device and the device 3. This represents a method of generating at least one of control information for controlling the device 3 and virtual device control information for controlling the virtual device using control information. The property information can be represented by, for example, properties defined in the ECHONET Lite (registered trademark) Web API guidelines. For example, the state determination 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, and a virtual method. There is a method that defines a so-called information synchronization method that copies the device status information of the device 3 corresponding to the device as it is. Further, the state determination 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.

図5に示す例では、仮想機器記憶部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. 5, 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または仮想機器の機器識別情報に相当する。上位機器情報は、仮想機器状態情報または仮想機器制御情報が他の仮想機器で使用されている場合における他の仮想機器の仮想機器識別情報に相当する。例えば図6に示すように、機器識別情報IDVE[0]で識別される仮想機器は、機器識別情報IDE[0]、IDE[1]で識別される機器3から取得するプロパティ情報PAR[0,2]、PAR[1,2]の機器状態情報が示す値を引数として、状態決定メソッド情報が示す状態決定メソッドを実行したときに得られる戻り値を、プロパティ情報VPAR[0,2]の仮想機器状態情報として生成する。この場合、機器識別情報IDVE[0]で識別される仮想機器が、機器識別情報IDE[0]、IDE[1]で識別される機器3の上位機器となる。また、機器識別情報IDVE[j]で識別される仮想機器は、機器識別情報IDVE[0]、IDVE[1]で識別される仮想機器から取得するプロパティ情報VPAR[0,2]、VPAR[1,2]の仮想機器状態情報が示す値を引数として、状態決定メソッド情報が示す状態決定メソッドを実行したときに得られる戻り値を、プロパティ情報VPAR[j,1]の仮想機器状態情報として生成する。この場合、機器識別情報IDVE[j]で識別される仮想機器が、機器識別情報IDVE[0]、IDVE[1]で識別される仮想機器の上位機器となる。 Furthermore, the lower device information corresponds to device identification information of the device 3 or virtual device from which device status information, device control information, virtual device status information, or virtual device identification information used in the virtual device is acquired. The upper-level device information corresponds to virtual device identification information of another virtual device when the virtual device state information or virtual device control information is used by another virtual device. For example, as shown in FIG. 6, the virtual device identified by device identification information IDVE[0] has property information PAR[0, 2], the return value obtained when the state determination method indicated by the state determination method information is executed using the value indicated by the device state information of PAR[1, 2] as an argument is returned to the virtual value of the property information VPAR[0, 2]. Generate as device status information. In this case, the virtual device identified by the device identification information IDVE[0] becomes a higher-level device of the device 3 identified by the device identification information IDE[0] and IDE[1]. Furthermore, the virtual device identified by the device identification information IDVE[j] has property information VPAR[0,2], VPAR[1] acquired from the virtual device identified by the device identification information IDVE[0], IDVE[1]. , 2], the return value obtained when the state determination method indicated by the state determination method information is executed using the value indicated by the virtual machine state information of property information VPAR[j, 1] as an argument. do. In this case, the virtual device identified by the device identification information IDVE[j] becomes a higher-level device of the virtual devices identified by the device identification information IDVE[0] and IDVE[1].

また、例えば図7に示すように、機器識別情報IDVE[m]で識別される仮想機器は、端末装置5から取得するプロパティ情報VCPAR[m,1]の仮想機器制御情報が示す値を引数として、制御メソッド情報が示す制御メソッドを実行したときに得られる戻り値を、プロパティ情報VCPAR[0,1]の仮想機器制御情報およびプロパティ情報CPAR[0,1]、CPAR[1,1]の機器制御情報として生成する。この場合、機器識別情報IDVE[0]で識別される仮想機器および機器識別情報IDE[0]、IDE[1]で識別される機器3が、機器識別情報IDVE[m]で識別される仮想機器の下位機器となる。また、機器識別情報IDVE[0]で識別される仮想機器は、機器識別情報IDVE[m]で識別される仮想機器から取得するプロパティ情報VCPAR[0,1]の仮想機器制御情報が示す値を引数として、制御メソッド情報が示す制御メソッドを実行したときに得られる戻り値を、プロパティ情報CPAR[n,1]、CPAR[n,2]、CPAR[n+1,1]の機器制御情報として生成する。この場合、機器識別情報IDE[n]、IDE[n+1]で識別される機器3が、機器識別情報IDVE[0]で識別される仮想機器の下位機器となる。 For example, as shown in FIG. 7, the virtual device identified by the device identification information IDVE[m] uses the value indicated by the virtual device control information of the property information VCPAR[m, 1] acquired from the terminal device 5 as an argument. , the return value obtained when the control method indicated by the control method information is executed is transferred to the virtual device control information of the property information VCPAR[0,1] and the device of the property information CPAR[0,1], CPAR[1,1]. Generate as control information. In this case, the virtual device identified by the device identification information IDVE[0] and the device 3 identified by the device identification information IDE[0] and IDE[1] are the virtual device identified by the device identification information IDVE[m]. It becomes a lower-level device. In addition, the virtual device identified by the device identification information IDVE[0] uses the value indicated by the virtual device control information of the property information VCPAR[0,1] obtained from the virtual device identified by the device identification information IDVE[m]. As an argument, the return value obtained when the control method indicated by the control method information is executed is generated as device control information of the property information CPAR[n,1], CPAR[n,2], and CPAR[n+1,1]. . In this case, the device 3 identified by the device identification information IDE[n] and IDE[n+1] becomes a subordinate device of the virtual device identified by the device identification information IDVE[0].

図3に戻って、仮想機器マスタ情報記憶部133は、予め設定された複数種類の仮想機器それぞれについて、前述の制御メソッド情報および状態決定メソッド情報の元となるメソッドテンプレート情報を、仮想機器の種別を示す機種情報に対応づけて記憶する。メソッド情報は、その制御メソッド情報および状態決定メソッド情報を用いる仮想機器の機種情報に対応づけられたメソッドテンプレート情報について、仮想機器で使用する機器状態情報のプロパティを設定してインスタンス化することにより生成される。仮想機器状態記憶部134は、例えば図8に示すように、仮想機器記憶部132が記憶する仮想機器それぞれの仮想機器状態情報とプロパティ情報とを、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて記憶する。 Returning to FIG. 3, the virtual device master information storage unit 133 stores method template information, which is the source of the above-mentioned control method information and state determination method information, for each of the plurality of types of virtual devices set in advance. It is stored in association with model information indicating. Method information is generated by instantiating the method template information associated with the model information of the virtual device that uses the control method information and state determination method information by setting the properties of the device state information used in the virtual device. be done. For example, as shown in FIG. 8, 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それぞれから前述の機器状態通知情報を取得する。機器状態取得部111は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する。このようにして、機器状態取得部111は、複数の機器3それぞれの機器状態と複数の機器3それぞれで検出される複数の機器3それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する。機器状態取得部111は、取得した機器状態情報とプロパティ情報とを、抽出した機器状態通知情報の送信元の機器3の機器識別情報および機種情報の組み合わせに対応づけて機器状態記憶部131に記憶させる。ここで、機器状態取得部111は、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも後である場合、取得した機器状態情報を用いて機器状態記憶部131が記憶する機器状態情報を更新する。一方、機器状態取得部111は、取得した機器状態情報の生成時期が直前の機器状態取得時期よりも前である場合、取得した機器状態情報を用いた機器状態記憶部131が記憶する機器状態情報の更新を回避する。また、機器状態取得部111は、制御情報通知部118から制御情報の送信先の機器3の機器識別情報が通知された後、通知された機器識別情報で識別される機器3から送信される応答情報を取得すると、機器状態要求を応答情報の送信元の機器3へ送信することにより、当該機器3から機器状態情報を取得する。ここで、応答情報は、制御情報の送信先の機器3がクラウドサーバ1から送信された制御情報を取得したことを通知するための情報である。 The device status acquisition unit 111 acquires the above-mentioned device status notification information from each of the plurality of devices 3. 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 notifying 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が記憶する状態決定メソッド情報に基づいて、仮想機器の機器状態を示し且つ機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。また、仮想機器状態情報生成部112は、生成した仮想機器の仮想機器状態情報を用いて機器状態が決定される仮想機器とは異なる他の仮想機器が存在する場合、当該他の仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、他の仮想機器の機器状態を示し且つ他の仮想機器の仮想機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。更に、仮想機器状態情報生成部112は、生成した仮想機器の仮想機器状態情報を用いて機器状態が決定される更に他の仮想機器が存在する場合、当該他の仮想機器の状態決定メソッド情報に基づいて、他の仮想機器の仮想機器状態情報を生成することを繰り返す。このような仮想機器状態情報としては、前述の仮想機器の加湿残時間、快適性等のような仮想機器に対応する機器3の機器状態、仮想機器に対応する機器3が設置された環境の環境パラメータを示す情報が挙げられる。仮想機器状態情報生成部112は、生成した仮想機器状態情報を、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて仮想機器状態記憶部134に記憶させる。また、仮想機器状態情報生成部112は、制御情報通知部118から通知される制御情報と、機器状態記憶部131が記憶する制御情報通知部118が送信した制御情報に基づいて動作を開始した後の機器3の機器状態情報とに基づいて、設定変更対象に仮想機器に対応する機器3それぞれの設定が正常に変更されたか否かを判定する。そして、仮想機器状態情報生成部112は、機器3の設定が正常に変更されたと判定すると、設定変更後の機器状態情報から仮想機器状態情報を生成して仮想機器状態記憶部134に記憶させる。一方、仮想機器状態情報生成部112は、機器3の設定が正常に変更されていないと判定すると、仮想機器状態情報の生成を回避する。 The virtual device state information generation unit 112 generates virtual device state information that indicates the device state of the virtual device and has properties different from the device state information, based on the state determination method information stored in the virtual device storage unit 132. In addition, if there is another virtual device whose device state is different from the virtual device whose device state is determined using the virtual device state information of the generated virtual device, the virtual device state information generation unit 112 Generate virtual device state information that indicates the device state of other virtual devices and has properties different from virtual device state information of other virtual devices, based on state determination method information that defines the processing content for determining the state. do. Furthermore, if there is another virtual device whose device state is determined using the virtual device state information of the generated virtual device, the virtual device state information generation unit 112 generates state determination method information of the other virtual device. Based on this, generation of virtual device status information for other virtual devices is repeated. 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. 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.

仮想機器状態情報通知部113は、仮想機器状態記憶部134が記憶する仮想機器状態情報とこれに対応する仮想機器の機器識別情報とを含む仮想機器状態通知情報を生成して端末装置5へ送信する。 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.

制御情報取得部114は、端末装置5から送信される前述の制御変更指令情報を取得すると、取得した制御変更指令情報に含まれる変更後の仮想機器制御情報と、これに対応する仮想機器の機器識別情報および利用者識別情報と、を抽出する。そして、制御情報取得部114は、抽出した仮想機器制御情報、仮想機器の機器識別情報および利用者識別情報をエラー判定部115に通知する。また、制御情報取得部114は、エラー判定部115によりエラーが無いと判定されると、抽出した仮想機器制御情報および仮想機器の機器識別情報を、制御情報生成部117に通知する。 When the control information acquisition unit 114 acquires the above-mentioned control change command information transmitted from the terminal device 5, the control information acquisition unit 114 acquires the changed virtual device control information included in the acquired control change command information and the device of the virtual device corresponding to the changed virtual device control information. Extract identification information and user identification information. Then, the control information acquisition unit 114 notifies the error determination unit 115 of the extracted virtual device control information, device identification information of the virtual device, and user identification information. Further, when the error determination unit 115 determines that there is no error, the control information acquisition unit 114 notifies the control information generation unit 117 of the extracted virtual device control information and the device identification information of the virtual device.

エラー判定部115は、権限情報記憶部135が記憶する権限情報と制御情報取得部114から通知される利用者識別情報とに基づいて、設定変更指令情報の送信元の端末装置5の利用者が機器3または仮想機器の設定変更の権限を有するか否かを判定する。ここで、エラー判定部115は、権限情報記憶部135が記憶する権限情報を参照して、制御情報取得部114が通知された利用者情報が、制御情報取得部114から通知された仮想機器の機器識別情報に対応する権限情報に含まれる利用者情報のいずれかと一致するか否かを判定する。そして、エラー判定部115は、権限情報に含まれる利用者情報のいずれとも一致しない場合、設定変更の権限が無いと判定して、端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報をエラー通知部116に通知する。また、エラー判定部115は、制御情報取得部114から通知された仮想機器の機器識別情報と変更後設定情報とに基づいて、機器識別情報で識別される仮想機器に対する設定変更の内容が設定変更対象の仮想機器で禁止されている場合、当該設定変更の内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報をエラー通知部116に通知する。一方、エラー判定部115は、制御情報取得部114から通知された利用者情報が権限情報に含まれ且つ設定変更の内容が許容されていると判定すると、エラーが無いことを制御情報取得部114に通知する。また、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、仮想機器制御情報、機器制御情報または機器状態情報に対応するプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する。そして、エラー判定部115は、プロパティが不適切である場合、プロパティが不適切であることを示すエラーコード情報をエラー通知部116に通知する。 The error determination unit 115 determines whether the user of the terminal device 5 who is the source of the setting change command information is based on the authority information stored in the authority information storage unit 135 and the user identification information notified from the control information acquisition unit 114. It is determined whether the user has the authority to change the settings of the device 3 or 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 control information acquisition unit 114 corresponds to the virtual device notified from the control information acquisition unit 114. It is determined whether the device identification information matches any of the user information included in the authority information corresponding to the device identification 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. Further, the error determination unit 115 determines whether the content of the setting change for the virtual device identified by the device identification information is a setting change based on the device identification information of the virtual device and the changed setting information notified from the control information acquisition unit 114. If the setting change is prohibited in the target virtual device, error code information indicating that the content of the setting change is prohibited in the target virtual device is notified to the error notification unit 116. On the other hand, if the error determination unit 115 determines that the user information notified from the control information acquisition unit 114 is included in the authority information and the content of the setting change is permitted, the control information acquisition unit 115 determines that there is no error. to be notified. Further, the error determination unit 115 determines that the property indicated by the property information corresponding to the virtual device control information, device control information, or device state information is appropriate based on the virtual device master information stored in the virtual device master information storage unit 133. A validation check process is executed to determine whether the property is appropriate. If the property is inappropriate, the error determining unit 115 notifies the error notification unit 116 of error code information indicating that the property is inappropriate.

エラー通知部116は、エラー判定部115からエラーコード情報が通知されると、通知されたエラーコード情報を含むエラー通知情報を生成して端末装置5へ送信する。 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の動作を制御するための制御情報を生成する。一方、制御情報生成部117は、制御内容を変更する対象が仮想機器であると判定すると、仮想機器記憶部132が記憶する制御内容を変更する対象の仮想機器の下位機器情報を参照して、仮想機器に対応する機器3と仮想機器との少なくとも一方を特定する。そして、制御情報生成部117は、仮想機器記憶部132が記憶する、制御内容を変更する対象の仮想機器の制御メソッド情報に基づいて、特定した機器3を制御するための機器制御情報と、特定した仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。また、制御情報生成部117は、特定した仮想機器を制御するための仮想機器制御情報を生成した場合、当該仮想機器の制御メソッド情報に基づいて、機器制御情報と、更に他の仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。そして、制御情報生成部117は、更に他の仮想機器を制御するための仮想機器制御情報を生成した場合、当該仮想機器の制御メソッド情報に基づいて機器制御情報と仮想機器制御情報との少なくとも一方を生成することを繰り返す。また、制御情報生成部117は、生成した機器制御情報を、それに対応する機器3の機器識別情報に対応づけて制御情報記憶部136に記憶させる。 The control information generation unit 117 determines whether the target to change the control content is a virtual device or not, and if the target to change the control content is the actual device 3, the control information generation unit 117 determines whether the target to change the control content is a virtual device, and if the target to change the control content is the actual device 3, the control information generation unit 117 determines whether or not the target to change the control content is a virtual device. Generate control information. On the other hand, when the control information generation unit 117 determines that the target to change the control content is a virtual device, the control information generation unit 117 refers to the lower-level device information of the virtual device to change the control content stored in the virtual device storage unit 132. At least one of the device 3 and the virtual device corresponding to the virtual device is specified. Then, the control information generation unit 117 generates device control information for controlling the specified device 3 and the specified and virtual device control information for controlling the virtual device that has been created. In addition, when the control information generation unit 117 generates virtual device control information for controlling the identified virtual device, the control information generation unit 117 controls the device control information and further other virtual devices based on the control method information of the virtual device. At least one of the following is generated: When the control information generation unit 117 further generates virtual device control information for controlling another virtual device, the control information generation unit 117 generates at least one of the device control information and the virtual device control information based on the control method information of the virtual device. Repeat to generate . Further, the control information generation section 117 stores the generated device control information in the control information storage section 136 in association with the device identification information of the corresponding device 3.

制御情報通知部118は、制御情報記憶部136が記憶する制御情報を、制御情報に対応づけられた機器識別情報で識別される機器3それぞれへ送信する。また、制御情報通知部118は、制御情報を送信すると、送信した制御情報に対応づけられた機器識別情報を機器状態取得部111に通知するとともに、制御情報と制御内容の変更の対象となる仮想機器の機器識別情報とを操作結果通知部123に通知する。 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. Further, 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 The device identification information of the device is notified to the operation result notification unit 123.

仮想機器更新部119は、端末装置5から送信される仮想機器を新たに追加するよう指令する仮想機器登録指令情報を取得すると、取得した仮想機器登録指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する。そして、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、取得した仮想機器登録指令情報に含まれる機種情報に基づいて、新たな仮想機器に対応するメソッド情報の基となる少なくとも1つのメソッドテンプレート情報を特定する。また、仮想機器更新部119は、特定した少なくとも1つのメソッドテンプレート情報の中から、クラウドサーバ1により制御可能な機器3それぞれの機器制御情報、機器状態情報のプロパティおよび仮想機器記憶部132が既に記憶している仮想機器制御情報、仮想機器状態情報のプロパティに基づいて、少なくとも1つのメソッドテンプレート情報を特定する。そして、仮想機器更新部119は、特定したメソッドテンプレート情報を用いて制御メソッド情報と状態決定メソッドとの少なくとも一方を生成する。ここで、仮想機器更新部119は、特定したメソッドテンプレート情報について、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報と仮想機器状態情報との少なくとも一方のプロパティ、或いは、仮想機器で使用する機器制御情報と仮想機器制御情報との少なくとも一方のプロパティに設定してインスタンス化することにより状態決定メソッド情報、制御メソッド情報を生成する。また、仮想機器更新部119は、前述のプロパティ情報と生成した状態決定メソッド情報、制御メソッド情報とこれらに対応する機器識別情報および機種情報とを、仮想機器記憶部132に新たに記憶させることで仮想機器記憶部132が記憶する仮想機器情報を更新する。一方、仮想機器更新部119は、端末装置5から送信される既に仮想機器記憶部132が記憶している仮想機器に対応する各種情報を削除するよう指令する仮想機器削除指令情報を取得すると、仮想機器削除指令情報に含まれる機器識別情報に対応するプロパティ情報と状態決定メソッド情報、制御メソッド情報と機種情報とを削除する形で仮想機器情報を更新する。 When the virtual device update unit 119 acquires virtual device registration command information transmitted from the terminal device 5 that instructs to add a new virtual device, the virtual device update unit 119 updates the device identification information, property information, and information included in the acquired virtual device registration command information. Extract model information. Then, the virtual device update unit 119 updates a method corresponding to the new virtual device based on the model information included in the acquired virtual device registration command information from among the method template information stored in the virtual device master information storage unit 133. Identify at least one method template information that is the basis of the information. In addition, the virtual device update unit 119 selects, from among the identified at least one method template information, the device control information and device status information properties of each of the devices 3 that can be controlled by the cloud server 1, and the virtual device storage unit 132 that has already stored At least one piece of method template information is specified based on the properties of virtual device control information and virtual device state information. The virtual device update unit 119 then generates at least one of the control method information and the state determination method using the specified method template information. Here, for the identified method template information, the virtual device update unit 119 updates the property indicated by the extracted property information to the property of at least one of the device state information and the virtual device state information used in the virtual device, or State determination method information and control method information are generated by setting and instantiating the property of at least one of the device control information to be used and the virtual device control information. Further, the virtual device update unit 119 newly stores the above-mentioned property information, the generated state determination method information, control method information, and the corresponding device identification information and model information in the virtual device storage unit 132. The virtual device information stored in the virtual device storage unit 132 is updated. 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, state determination method information, control method information, and model information that correspond 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 registration command information that instructs to newly add a virtual device from the terminal device 5, the authority registration unit 120 transfers the user identification information included in the acquired virtual device registration command information to the acquired virtual device registration. 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 whether the virtual device to be deleted is It is determined whether there is the above-mentioned higher-level virtual device that cooperates with the virtual device to be deleted using virtual device information. If there is a higher-level virtual device that cooperates with the virtual device to be deleted, the cooperation determination unit 121 notifies the warning notification unit 122 of the device identification information and property information of the higher-level virtual device. 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 notification unit 123 determines whether the device 3 has started operating 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. Based on the device status 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 transmits 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 state information after the settings have been changed, and transmits the generated operation result notification information to the terminal device 5 .

次に、本実施の形態に係る制御システムの動作について、図9から図12を参照しながら説明する。まず、図9に示すように、機器3は、前述の機器状態通知時期が到来すると、前述の機器状態通知情報を生成する(ステップS1)。次に、生成された機器状態通知情報が、機器3からクラウドサーバ1へ送信される(ステップS2)。一方、クラウドサーバ1は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する(ステップS3)。ここで、クラウドサーバ1が、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出したプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、バリデーションチェック処理の結果、プロパティが適切であると判定したとする(ステップS4)。この場合、クラウドサーバ1は、抽出した機器状態情報とプロパティ情報と機器識別情報と機種情報とを用いて、機器状態記憶部131が記憶する機器状態情報を更新する(ステップS5)。 Next, the operation of the control system according to this embodiment will be explained with reference to FIGS. 9 to 12. First, as shown in FIG. 9, when the above-mentioned device state notification time arrives, the device 3 generates the above-mentioned device state notification information (step S1). Next, the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S2). 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 (step S3). Here, the cloud server 1 executes a validation check process to determine whether the property indicated by the extracted property information is appropriate based on the virtual device master information stored in the virtual device master information storage unit 133, Assume that the property is determined to be appropriate as a result of the validation check process (step S4). In this case, 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 S5).

続いて、クラウドサーバ1は、仮想機器記憶部132が記憶する上位機器情報を参照して、機器状態記憶部131が記憶する機器状態情報に対応する機器3の上位の仮想機器が有ると判定したとする(ステップS6)。この場合、クラウドサーバ1は、仮想機器記憶部132が記憶する仮想機器の状態決定メソッド情報に基づいて、機器状態記憶部131が記憶する複数の機器3それぞれの機器状態情報から仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS7)。その後、クラウドサーバ1は、仮想機器記憶部132が記憶する上位機器情報を参照して、生成した仮想機器状態情報に対応する仮想機器の上位の仮想機器が無いと判定したとする(ステップS8)。この場合、クラウドサーバ1は、仮想機器状態記憶部134が記憶する更新後の仮想機器状態情報とそのプロパティを示すプロパティ情報とその仮想機器の機器識別情報とを含む仮想機器状態通知情報を生成する(ステップS9)。次に、生成された仮想機器状態通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS10)。一方、端末装置5は、クラウドサーバ1から送信される仮想機器状態通知情報を取得すると、取得した仮想機器状態通知情報に含まれる仮想機器状態情報とプロパティ情報と機器識別情報とを抽出し、抽出した仮想機器状態情報とプロパティ情報と機器識別情報とを互いに対応づけて仮想機器状態記憶部531に記憶させる(ステップS11)。続いて、端末装置5は、仮想機器状態記憶部531が記憶する仮想機器状態情報とプロパティ情報と機器識別情報とに基づいて、仮想機器の状態を利用者に通知するための仮想機器状態通知画像を形成し、形成した仮想機器状態通知画像を表示部504に表示させる(ステップS12)。 Subsequently, the cloud server 1 refers to the higher-level device information stored in the virtual device storage unit 132 and determines that there is a higher-level virtual device than the device 3 that corresponds to the device status information stored in the device status storage unit 131. (Step S6). In this case, the cloud server 1 extracts 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 virtual device state determination method information stored in the virtual device storage section 132. The virtual machine state information stored in the virtual machine state storage unit 134 is updated with the generated virtual machine state information (step S7). After that, assume that the cloud server 1 refers to the higher-level device information stored in the virtual device storage unit 132 and determines that there is no higher-level virtual device of the virtual device corresponding to the generated virtual device status information (step S8). . In this case, the cloud server 1 generates virtual device state notification information that includes the updated virtual device state information stored in the virtual device state storage unit 134, property information indicating its properties, and device identification information of the virtual device. (Step S9). Next, the generated virtual device status notification information is transmitted from the cloud server 1 to the terminal device 5 (step S10). 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 S11). 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 S12).

また、利用者が端末装置5の入力部505に対して、クラウドサーバ1に新たに仮想機器の登録を追加するための仮想機器登録操作を行ったとする。ここで、仮想機器登録操作は、例えば端末装置5が表示部504に予め設定された複数種類の仮想機器を表す名称を表示し、利用者が表示された名称の中から追加したい仮想機器の名称を選択すると、選択された仮想機器に対応する機種情報とプロパティ情報とが選択されるようにしてもよい。この仮想機器登録操作が行われると、端末装置5は、仮想機器登録操作の操作内容に基づいて、仮想機器を新たに追加するよう指令する前述の仮想機器登録指令情報を生成する(ステップS13)。その後、生成された仮想機器登録指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS14)。一方、クラウドサーバ1は、端末装置5から仮想機器登録指令情報を取得すると、取得した仮想機器登録指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する(ステップS15)。次に、クラウドサーバ1は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、クラウドサーバ1により制御可能な機器3それぞれの機器制御情報、機器状態情報のプロパティに基づいて、少なくとも1つのメソッドテンプレート情報を特定する(ステップS16)。続いて、図10に示すように、クラウドサーバ1は、特定したメソッドテンプレート情報のうちの少なくとも1つについて、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報のプロパティに設定してインスタンス化することにより状態決定メソッド情報、制御メソッド情報を生成し、設定したプロパティを示すプロパティ情報と生成した状態決定メソッド情報、制御メソッド情報と、これらに対応する機器識別情報および機種情報から構成される仮想機器情報を生成する(ステップS17)。その後、クラウドサーバ1は、生成した仮想機器情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新するとともに、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS18)。 Further, assume that the user performs a virtual device registration 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 registration 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 registration operation is performed, the terminal device 5 generates the above-mentioned virtual device registration command information that instructs to add a new virtual device based on the operation contents of the virtual device registration operation (step S13). . Thereafter, the generated virtual device registration command information is transmitted from the terminal device 5 to the cloud server 1 (step S14). On the other hand, upon acquiring the virtual device registration 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 registration command information (step S15). Next, the cloud server 1 selects at least one of the properties of the device control information and device state information of each of the devices 3 that can be controlled by the cloud server 1 from among the method template information stored in the virtual device master information storage unit 133. One method template information is specified (step S16). Next, as shown in FIG. 10, the cloud server 1 sets the property indicated by the extracted property information to the property of the device status information used in the virtual device for at least one of the identified method template information. By instantiating it, state determination method information and control method information are generated, and the information is composed of property information indicating the set properties, the generated state determination method information, control method information, and corresponding device identification information and model information. virtual device information is generated (step S17). Thereafter, the cloud server 1 updates the virtual device information stored in the virtual device storage unit 132 by adding the generated virtual device information, and acquires the user identification information included in the acquired virtual device addition command information. The authority information stored in the authority information storage unit 135 is updated by adding it to the authority information corresponding to the device identification information included in the virtual device addition command information (step S18).

また、利用者が端末装置5の入力部505に対して、クラウドサーバ1に登録されている仮想機器を削除するための仮想機器削除操作を行ったとする。この場合、端末装置5は、仮想機器削除操作の操作内容に基づいて、仮想機器を削除するよう指令する前述の仮想機器削除指令情報を生成する(ステップS19)。次に、生成された仮想機器削除指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS20)。一方、クラウドサーバ1は、端末装置5から仮想機器削除指令情報を取得すると、削除する仮想機器の機器識別情報を抽出する(ステップS21)。続いて、クラウドサーバ1が、仮想機器記憶部132が記憶している上位機器情報を参照して、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する上位の仮想機器が無いと判定したとする(ステップS22)。この場合、クラウドサーバ1は、抽出した仮想機器の機器識別情報と、これに対応するプロパティ情報、状態決定メソッド情報、制御メソッド情報および機種情報の組み合わせを削除する形で仮想機器記憶部132が記憶する仮想機器情報を更新するとともに、取得した仮想機器削除指令情報に含まれる仮想機器の機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS23)。 Further, 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 S19). Next, the generated virtual device deletion command information is transmitted from the terminal device 5 to the cloud server 1 (step S20). 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 S21). Next, the cloud server 1 refers to the higher-level 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 higher-level device that cooperates with the virtual device. Suppose that it is determined that there is no virtual device (step S22). In this case, the cloud server 1 stores the extracted device identification information of the virtual device in the virtual device storage unit 132 in such a way that the combination of property information, state determination method information, control method information, and model information is deleted. 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 S23).

また、ステップS19およびS20が実行された後、クラウドサーバ1が、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する上位の仮想機器が有ると判定したとする(ステップS24)。この場合、クラウドサーバ1は、上位の仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成する(ステップS25)。その後、生成された警告通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS26)。一方、端末装置5は、警告通知情報を取得すると、取得した警告通知情報に含まれる機器識別情報とプロパティ情報とを抽出する(ステップS27)。次に、端末装置5は、抽出した機器識別情報とプロパティ情報とに基づいて、仮想機器を削除することにより機器識別情報で識別される仮想機器の仮想機器状態情報が影響を受けることを警告する警告通知画像を形成して表示部504に表示させる(ステップS28)。 Further, after steps S19 and S20 are executed, if the cloud server 1 determines that there is a higher-level 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 S24). In this case, the cloud server 1 generates warning notification information including device identification information and property information of the higher-level virtual device (step S25). Thereafter, the generated warning notification information is transmitted from the cloud server 1 to the terminal device 5 (step S26). 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 S27). Next, based on the extracted device identification information and property information, the terminal device 5 warns that deleting the virtual device will affect the virtual device state information of the virtual device identified by the device identification information. A warning notification image is formed and displayed on the display unit 504 (step S28).

また、利用者が、端末装置5の入力部505に対して仮想機器或いは機器3の制御内容を変更するための制御内容変更操作を行ったとする。この場合、端末装置5は、制御内容変更操作の操作内容に基づいて、前述の制御指令情報を生成する(ステップS29)。続いて、生成された制御指令情報が、端末装置5からクラウドサーバ1へ送信される(ステップS30)。一方、クラウドサーバ1は、制御指令情報を取得すると、取得した制御指令情報に含まれる仮想機器の機器識別情報、利用者識別情報および変更後の仮想機器制御情報、機器制御情報を抽出する(ステップS31)。ここで、クラウドサーバ1が、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出した仮想機器制御情報、機器制御情報に対応するプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、バリデーションチェック処理の結果、プロパティが適切であると判定したとする(ステップS32)。また、図11に示すように、クラウドサーバ1は、権限情報記憶部135が記憶する権限情報を参照して、抽出した利用者識別情報に基づいて、変更権限有りと判定したとする(ステップS33)。この場合、クラウドサーバ1は、制御指令情報に基づいて機器3の制御内容を変更するために予め設定された期間だけ他の制御指令情報の取得を拒否する操作権限確保処理を実行する(ステップS34)。その後、クラウドサーバ1が、変更後の仮想機器制御情報、機器制御情報に基づいて、仮想機器または機器3の制御内容の変更が可能である判定したとする(ステップS35)。そして、クラウドサーバ1が、制御内容の変更対象が仮想機器であると判定した後(ステップS36)、仮想機器状態記憶部134が記憶する下位機器情報を参照して、変更対象の仮想機器に対応する下位の仮想機器が有ると判定したとする(ステップS37)。この場合、クラウドサーバ1は、下位の機器3および仮想機器を特定し、特定した機器3の機器制御情報と特定した仮想機器の仮想機器制御情報とを生成する(ステップS38)。その後、クラウドサーバ1は、仮想機器状態記憶部134が記憶する下位機器情報を参照して、生成した仮想機器制御情報に対応する仮想機器について下位の仮想機器が無いと判定したとする(ステップS39)。この場合、クラウドサーバ1は、下位の機器3の機器制御情報のみを生成する(ステップS40)。 Further, assume that the user performs a control content change operation on the input unit 505 of the terminal device 5 to change the control content of the virtual device or the device 3. In this case, the terminal device 5 generates the above-mentioned control command information based on the operation content of the control content change operation (step S29). Subsequently, the generated control command information is transmitted from the terminal device 5 to the cloud server 1 (step S30). On the other hand, upon acquiring the control command information, the cloud server 1 extracts the device identification information, user identification information, and changed virtual device control information and device control information of the virtual device included in the acquired control command information (step S31). Here, the cloud server 1 determines whether the extracted virtual device control information and the properties corresponding to the device control information are appropriate, based on the virtual device master information stored in the virtual device master information storage unit 133. It is assumed that a validation check process is executed, and as a result of the validation check process, it is determined that the property is appropriate (step S32). Further, as shown in FIG. 11, assume that the cloud server 1 refers to the authority information stored in the authority information storage unit 135 and determines that the user has change authority based on the extracted user identification information (step S33 ). In this case, the cloud server 1 executes an operation authority securing process to deny acquisition of other control command information for a preset period in order to change the control content of the device 3 based on the control command information (step S34). ). After that, it is assumed that the cloud server 1 determines that the control details of the virtual device or the device 3 can be changed based on the changed virtual device control information and device control information (step S35). After the cloud server 1 determines that the control content is to be changed to a virtual device (step S36), the cloud server 1 refers to the lower-level device information stored in the virtual device state storage unit 134 and responds to the virtual device to be changed. Suppose that it is determined that there is a lower-level virtual device that is to be used (step S37). In this case, the cloud server 1 specifies the lower-level device 3 and the virtual device, and generates device control information for the specified device 3 and virtual device control information for the specified virtual device (step S38). After that, assume that the cloud server 1 refers to the lower-level device information stored in the virtual device state storage unit 134 and determines that there is no lower-level virtual device for the virtual device corresponding to the generated virtual device control information (step S39 ). In this case, the cloud server 1 generates only the device control information of the lower-level device 3 (step S40).

次に、生成された機器制御情報が、クラウドサーバ1から機器3へ送信される(ステップS41)。そして、機器3が機器制御情報を取得すると、機器3が機器制御情報を取得したことをクラウドサーバ1へ通知するための応答情報が、機器3からクラウドサーバ1へ送信される(ステップS42)。ここで、クラウドサーバ1は、機器制御情報を機器3へ送信した後、予め設定された期間内に応答情報を取得しない場合、再度機器制御情報を機器3へ送信する。次に、機器3は、取得した機器制御情報に基づいて動作を開始する(ステップS43)。なお、機器3は、機器制御情報を取得した後、取得した機器制御情報に基づいて動作を開始した後、応答情報をクラウドサーバ1へ送信するものであってもよい。 Next, the generated device control information is transmitted from the cloud server 1 to the device 3 (step S41). Then, when the device 3 acquires the device control information, response information for notifying the cloud server 1 that the device 3 has acquired the device control information is transmitted from the device 3 to the cloud server 1 (step S42). Here, after transmitting the device control information to the device 3, the cloud server 1 transmits the device 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 device control information (step S43). Note that the device 3 may transmit the response information to the cloud server 1 after acquiring the device control information and starting an operation based on the acquired device control information.

一方、クラウドサーバ1が応答情報を取得すると、取得した応答情報の送信元の機器3に対して機器状態情報の送信を要求する機器状態要求情報が、クラウドサーバ1から機器3へ送信される(ステップS44)。一方、機器3は、機器状態要求情報を取得すると、これに応じて、取得した制御情報に基づいて動作を開始した後における機器状態情報を含む機器状態通知情報を生成する(ステップS45)。続いて、生成された機器状態通知情報が、機器3からクラウドサーバ1へ送信される(ステップS46)。一方、クラウドサーバ1は、機器状態通知情報を取得すると、取得した機器状態通知情報に含まれる機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する(ステップS47)。ここで、クラウドサーバ1が、前述のようにバリデーションチェック処理の結果、プロパティが適切であると判定したとする(ステップS48)。この場合、クラウドサーバ1は、抽出した機器状態情報とプロパティ情報と機器識別情報と機種情報とを用いて、機器状態記憶部131が記憶する機器状態情報を更新する(ステップS49)。続いて、クラウドサーバ1は、ステップS7と同様に、機器状態記憶部131が記憶する機器状態情報に対応する機器3の上位の仮想機器が有ると判定したとする(ステップS50)。この場合、クラウドサーバ1は、ステップS8と同様にして、仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS51)。その後、クラウドサーバ1は、仮想機器記憶部132が記憶する上位機器情報を参照して、生成した仮想機器状態情報に対応する仮想機器の上位の仮想機器が無いと判定したとする(ステップS52)。そして、クラウドサーバ1が、制御内容の変更対象の仮想機器に対応する機器3の全てについて制御内容が正常に変更されたと判定したとする(ステップS53)。この場合、クラウドサーバ1は、変更対象の仮想機器について変更後の仮想機器状態情報を含む設定変更が成功したことを示す操作結果通知情報を生成し(ステップS54)、図12に示すように、生成された操作結果通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS55)。一方、端末装置5は、操作結果通知情報を取得すると、取得した操作結果通知情報に含まれる設定変更後の仮想機器状態情報に基づいて、設定変更が成功したことを示す操作結果通知画像を形成して表示部504に表示させる(ステップS56)。 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 S44). 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 S45). Subsequently, the generated device status notification information is transmitted from the device 3 to the cloud server 1 (step S46). 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 (step S47). Here, assume that the cloud server 1 determines that the property is appropriate as a result of the validation check process as described above (step S48). In this case, 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 S49). Next, it is assumed that the cloud server 1 determines that there is a virtual device higher than the device 3 corresponding to the device state information stored in the device state storage unit 131, similarly to step S7 (step S50). In this case, the cloud server 1 generates virtual device state information in the same manner as step S8, and updates the virtual device state information stored in the virtual device state storage unit 134 with the generated virtual device state information (step S51). . After that, assume that the cloud server 1 refers to the higher-level device information stored in the virtual device storage unit 132 and determines that there is no higher-level virtual device of the virtual device corresponding to the generated virtual device status information (step S52). . It is assumed that the cloud server 1 determines that the control details of all the devices 3 corresponding to the virtual devices whose control details are to be changed have been changed normally (step S53). In this case, the cloud server 1 generates operation result notification information indicating that the setting change including the virtual device status information after the change was successful for the virtual device to be changed (step S54), and as shown in FIG. 12, The generated operation result notification information is transmitted from the cloud server 1 to the terminal device 5 (step S55). 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 S56).

また、ステップS30からS33の一連の処理が実行された後、クラウドサーバ1が、権限情報記憶部135が記憶する権限情報と抽出した利用者識別情報とに基づいて、変更権限無しと判定したとする(ステップS57)。この場合、クラウドサーバ1が、端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報を含むエラー通知情報を生成し(ステップS58)、生成されたエラー通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS59)。一方、端末装置5は、エラー通知情報を取得すると、取得したエラー通知情報に含まれるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS60)。 Further, after the series of processes from steps S30 to S33 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 S57). 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 S58), and the generated error notification information It is transmitted from the cloud server 1 to the terminal device 5 (step S59). 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 S60).

また、ステップS30およびS34までの一連の処理が実行された後、クラウドサーバ1が、抽出した仮想機器の機器識別情報および変更後設定情報に基づいて、制御内容の変更不可と判定したとする(ステップS61)。この場合、クラウドサーバ1が、制御内容の変更が変更対象の仮想機器で禁止されていることを示すエラーコード情報を含むエラー通知情報を生成し(ステップS62)、生成されたエラー通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS63)。一方、端末装置5は、エラー通知情報を取得すると、取得したエラー通知情報に含まれるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS64)。 Further, suppose that after the series of processes up to steps S30 and S34 are executed, the cloud server 1 determines that the control details cannot be changed based on the device identification information and post-change setting information of the extracted virtual device ( Step S61). In this case, the cloud server 1 generates error notification information including error code information indicating that changing the control details is prohibited for the virtual device to be changed (step S62), and the generated error notification information It is transmitted from the cloud server 1 to the terminal device 5 (step S63). 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 S64).

次に、本実施の形態に係る端末装置5が実行する端末装置制御処理について、図13を参照しながら説明する。なお、この端末装置制御処理は、例えば端末装置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. 13. 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 receiving unit 513 determines whether the above-described virtual device registration operation has been received (step S204). Here, if the accepting unit 513 determines that the virtual device registration 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 registration operation has been accepted (step S204: Yes), the reception unit 513 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 registration 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 registration command information to the cloud. It is transmitted to server 1 (step S205). Next, the accepting unit 513 determines whether the virtual device deletion operation described above has been accepted (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 the above-described control content changing operation has been received (step S211). Here, if the accepting unit 513 determines that the control content changing 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 control content changing operation has been received (step S211: Yes), it notifies the command notification unit 514 of operation information indicating the operation content. Then, the command notification unit 514 generates the aforementioned control command information, and transmits the generated control 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が実行する機器制御処理について、図14から図18を参照しながら説明する。なお、この機器制御処理は、クラウドサーバ1において機器制御処理を実行するためのプログラムが起動されたことを契機として開始される。まず、機器状態取得部111は、図14に示すように、機器3から送信される機器状態通知情報を取得したか否かを判定する(ステップS101)。ここで、機器状態取得部111が、機器状態通知情報を取得していないと判定すると(ステップS101:No)、後述のステップS106の処理が実行される。一方、機器状態取得部111は、機器状態通知情報を取得したと判定すると(ステップS101:Yes)、取得した機器状態通知情報に含まれる機器状態通知情報の送信元の機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する(ステップS102)。 Next, device control processing executed by the cloud server 1 according to the present embodiment will be described with reference to FIGS. 14 to 18. 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, as shown in FIG. 14, the device status acquisition unit 111 determines whether or not the device status notification information transmitted from the device 3 has been acquired (step S101). Here, if the device status acquisition unit 111 determines that the device status notification information has not been acquired (step S101: No), the process of step S106, which will be described later, is executed. On the other hand, if the device status acquisition unit 111 determines that the device status notification information has been acquired (step S101: Yes), the device status information of the device 3 that is the source of the device status notification information included in the acquired device status notification information, Property information, device identification information, and model information are extracted (step S102).

次に、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出されたプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する(ステップS103)。ここで、エラー判定部115が、プロパティが不適切であると判定すると(ステップS103:No)、後述のステップS122の処理が実行される。一方、エラー判定部115により、プロパティが適切であると判定されると(ステップS103:Yes)、機器状態更新処理が実行される(ステップS104)。 Next, the error determination unit 115 executes a validation check process to determine whether the property indicated by the extracted property information is appropriate based on the virtual machine master information stored in the virtual machine master information storage unit 133. Then, it is determined whether the property is appropriate (step S103). Here, if the error determination unit 115 determines that the property is inappropriate (step S103: No), the process of step S122, which will be described later, is executed. On the other hand, if the error determination unit 115 determines that the property is appropriate (step S103: Yes), device status update processing is executed (step S104).

ここで、機器状態更新処理について、図15を参照しながら詳細に説明する。まず、機器状態取得部111は、抽出した機器状態情報、プロパティ情報、機器識別情報および機種情報を用いて機器状態記憶部131が記憶する機器状態情報を更新する(ステップS301)。次に、仮想機器状態情報生成部112は、仮想機器記憶部132が記憶する上位機器情報を参照して、更新後の機器状態情報に対応する機器3の上位の仮想機器が有るか否かを判定する(ステップS302)。ここで、仮想機器状態情報生成部112が、更新後の機器状態情報に対応する機器3の上位の仮想機器が無いと判定すると(ステップS302:No)、後述のステップS107の処理が実行される。一方、仮想機器状態情報生成部112は、更新後の機器状態情報に対応する機器3の上位の仮想機器が有ると判定すると(ステップS302:Yes)、仮想機器記憶部132が記憶する、上位の仮想機器の状態決定メソッド情報に基づいて、上位の仮想機器の機器状態を示す仮想機器状態情報を生成する。そして、仮想機器状態情報生成部112は、生成した仮想機器状態情報を用いて、仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する(ステップS303)。続いて、再びステップS302の処理が実行される。即ち、仮想機器状態情報生成部112は、ステップS302において、上位の仮想機器が存在すると判定する限り、ステップS303の処理を実行して仮想機器状態情報を生成することを繰り返す。 Here, the device status update process will be explained in detail with reference to FIG. 15. First, 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 S301). Next, the virtual device status information generation unit 112 refers to the higher-level device information stored in the virtual device storage unit 132 and determines whether there is a higher-level virtual device of the device 3 that corresponds to the updated device status information. Determination is made (step S302). Here, if the virtual device status information generation unit 112 determines that there is no virtual device above the device 3 corresponding to the updated device status information (step S302: No), the process of step S107 described below is executed. . On the other hand, if the virtual device state information generation unit 112 determines that there is a higher-order virtual device than the device 3 corresponding to the updated device state information (step S302: Yes), the virtual device state information generation unit 112 determines that there is a higher-order virtual device that is Based on the state determination method information of the virtual device, virtual device state information indicating the device state of the higher-level virtual device is generated. Then, the virtual device state information generation unit 112 uses the generated virtual device state information to update the virtual device state information stored in the virtual device state storage unit 134 (step S303). Subsequently, the process of step S302 is executed again. That is, as long as it is determined in step S302 that a higher-level virtual device exists, the virtual device state information generation unit 112 repeats the process of step S303 to generate virtual device state information.

図14に戻って、ステップS104の機器状態更新処理が実行された後、仮想機器状態情報通知部113は、仮想機器状態記憶部134が記憶する仮想機器状態情報と、これに対応する仮想機器の機器識別情報と、を含む仮想機器状態通知情報を生成して端末装置5へ送信する(ステップS105)。 Returning to FIG. 14, after the device state update process in step S104 is executed, the virtual device state information notifying unit 113 updates the virtual device state information stored in the virtual device state storage unit 134 and the corresponding virtual device. Virtual device status notification information including the device identification information is generated and transmitted to the terminal device 5 (step S105).

その後、仮想機器更新部119は、端末装置5から送信される前述の仮想機器登録指令情報を取得したか否かを判定する(ステップS106)。ここで、仮想機器更新部119が、仮想機器登録指令情報を取得していないと判定すると(ステップS106:No)、後述のステップS111の処理が実行される。一方、仮想機器更新部119は、仮想機器登録指令情報を取得したと判定すると(ステップS106:Yes)、取得した仮想機器登録指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する(ステップS107)。次に、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、抽出した機種情報に対応する少なくとも1つのメソッドテンプレート情報を特定する(ステップS108)。続いて、仮想機器情報生成処理が実行される(ステップS109)。 After that, the virtual device update unit 119 determines whether the above-mentioned virtual device registration command information transmitted from the terminal device 5 has been acquired (step S106). Here, if the virtual device update unit 119 determines that virtual device registration command information has not been acquired (step S106: No), the process of step S111, which will be described later, is executed. On the other hand, if the virtual device update unit 119 determines that the virtual device registration command information has been acquired (step S106: Yes), it extracts the device identification information, property information, and model information included in the acquired virtual device registration command information ( Step S107). Next, the virtual device update unit 119 identifies at least one piece of 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 S108). Subsequently, virtual device information generation processing is executed (step S109).

ここで、仮想機器情報生成処理について、図16を参照しながら詳細に説明する。まず、仮想機器更新部119は、特定した少なくとも1つのメソッドテンプレート情報の中から、1つのメソッドテンプレート情報を選択する(ステップS401)。次に、仮想機器更新部119は、クラウドサーバ1により制御可能な機器3それぞれの機器制御情報、機器状態情報のプロパティおよび仮想機器記憶部132が既に記憶している仮想機器制御情報、仮想機器状態情報のプロパティに基づいて、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が有るか否かを判定する(ステップS402)。ここで、仮想機器更新部119が、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が無いと判定すると(ステップS402:No)、後述のステップS401の処理が実行される。一方、仮想機器更新部119は、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が有ると判定したとする(ステップS402:Yes)。この場合、仮想機器更新部119は、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報と仮想機器状態情報との少なくとも一方のプロパティ、或いは、仮想機器で使用する機器制御情報と仮想機器制御情報との少なくとも一方のプロパティに設定してインスタンス化することにより状態決定メソッド情報、制御メソッド情報を生成する(ステップS403)。続いて、仮想機器更新部119は、特定した少なくとも1つのメソッドテンプレート情報の全てについて、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が有るか否かを判定する処理を完了したか否かを判定する(ステップS404)。ここで、仮想機器更新部119は、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が有るか否かを判定する処理を未だ完了していないメソッドテンプレート情報が有ると判定すると(ステップS404:No)、他のメソッドテンプレート情報を選択してから(ステップS401)、ステップS402以降の処理を実行する。一方、仮想機器更新部119は、特定した少なくとも1つのメソッドテンプレート情報の全てについて、抽出したプロパティ情報が示すプロパティを有する仮想機器および機器3が有るか否かを判定する処理を完了したと判定したとする(ステップS404:Yes)。この場合、仮想機器更新部119は、設定したプロパティを示すプロパティ情報と生成した状態決定メソッド情報、制御メソッド情報と、これらに対応する機器識別情報および機種情報を含む仮想機器情報を生成する(ステップS405)。 Here, the virtual device information generation process will be described in detail with reference to FIG. 16. First, the virtual device update unit 119 selects one piece of method template information from at least one piece of method template information that has been identified (step S401). Next, the virtual device update unit 119 updates the device control information and device state information properties of each device 3 that can be controlled by the cloud server 1, the virtual device control information already stored in the virtual device storage unit 132, and the virtual device state. Based on the property of the information, it is determined whether there is a virtual device and device 3 having the property indicated by the extracted property information (step S402). Here, if the virtual device update unit 119 determines that there is no virtual device or device 3 having the property indicated by the extracted property information (step S402: No), the process of step S401, which will be described later, is executed. On the other hand, assume that the virtual device update unit 119 determines that there is a virtual device and device 3 that have the property indicated by the extracted property information (step S402: Yes). In this case, the virtual device update unit 119 converts the property indicated by the extracted property information into the property of at least one of the device state information used in the virtual device and the virtual device state information, or the device control information used in the virtual device and the virtual device state information. State determination method information and control method information are generated by setting and instantiating at least one property of device control information (step S403). Next, the virtual device update unit 119 determines whether or not the process of determining whether or not there is a virtual device and device 3 having the property indicated by the extracted property information is completed for all of the identified at least one method template information. (Step S404). Here, if the virtual device update unit 119 determines that there is method template information that has not yet completed the process of determining whether or not there is a virtual device and device 3 that have the property indicated by the extracted property information (step S404 :No), selects other method template information (step S401), and then executes the processes from step S402 onwards. On the other hand, the virtual device update unit 119 has determined that the process of determining whether or not there is a virtual device and device 3 having the property indicated by the extracted property information has been completed for all of the identified at least one method template information. (Step S404: Yes). In this case, the virtual device update unit 119 generates virtual device information including property information indicating the set property, the generated state determination method information, control method information, and corresponding device identification information and model information (step S405).

図14に戻って、その後、仮想機器更新部119は、生成した仮想機器情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。また、権限登録部120は、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS110)。 Returning to FIG. 14, the virtual device update unit 119 then updates the virtual device information stored in the virtual device storage unit 132 by adding the generated virtual device information. 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 S110).

次に、仮想機器更新部119は、端末装置5から送信される前述の仮想機器削除指令情報を取得したか否かを判定する(ステップS111)。ここで、仮想機器更新部119が、仮想機器削除指令情報を取得していないと判定すると(ステップS111:No)、後述のステップS116の処理が実行される。一方、仮想機器更新部119は、仮想機器削除指令情報を取得したと判定すると(ステップS111:Yes)、仮想機器削除指令情報に含まれる削除する仮想機器の機器識別情報を抽出する(ステップS112)。続いて、連携判定部121は、仮想機器記憶部132が記憶する上位機器情報を参照して、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器の上位の仮想機器が有るか否かを判定する(ステップS113)。ここで、連携判定部121により上位の仮想機器が存在すると判定されると(ステップS113:Yes)、警告通知部122が、前述の連携する仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成して端末装置5へ送信した後(ステップS114)、後述のステップS116の処理が実行される。一方、連携判定部121が、削除する仮想機器の仮想機器情報を用いる当該仮想機器の上位の仮想機器が存在しないと判定したとする(ステップS113:No)。この場合、仮想機器更新部119が、仮想機器削除指令情報に含まれる機器識別情報に対応するプロパティ情報とメソッド情報と機種情報とを削除する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。また、権限登録部120は、取得した仮想機器削除指令情報に含まれる機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS115)。 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 acquired (step S111). Here, if the virtual device update unit 119 determines that virtual device deletion command information has not been acquired (step S111: No), the process of step S116, 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 S111: Yes), it extracts the device identification information of the virtual device to be deleted included in the virtual device deletion command information (step S112). . Subsequently, the cooperation determination unit 121 refers to the higher-level device information stored in the virtual device storage unit 132, and selects a higher-level virtual device of the virtual device using the virtual device information of the virtual device identified by the extracted device identification information. It is determined whether or not there is (step S113). Here, if the cooperation determination unit 121 determines that a higher-level virtual device exists (step S113: Yes), the warning notification unit 122 sends a warning notification including the device identification information and property information of the virtual device to be linked. After generating the information and transmitting it to the terminal device 5 (step S114), the process of step S116, which will be described later, is executed. On the other hand, assume that the cooperation determination unit 121 determines that there is no higher-level virtual device of the virtual device to be deleted that uses the virtual device information of the virtual device (step S113: 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. Further, the authority registration unit 120 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 S115).

次に、制御情報取得部114は、図17に示すように、端末装置5から送信される前述の制御指令情報を取得したか否かを判定する(ステップS116)。ここで、制御情報取得部114が、制御指令情報を取得していないと判定すると(ステップS116:No)。再びステップS101の処理が実行される。一方、制御情報取得部114が、制御指令情報を取得したと判定すると(ステップS116:Yes)、取得した制御指令情報に含まれる機器3または仮想機器の機器識別情報、利用者識別情報および機器制御情報、仮想機器制御情報を抽出する(ステップS117)。続いて、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出された機器制御情報、仮想機器制御情報のプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する(ステップS118)。ここで、エラー判定部115が、プロパティが不適切であると判定すると(ステップS118:No)、後述のステップS122の処理が実行される。一方、エラー判定部115は、プロパティが適切であると判定されると(ステップS118:Yes)、権限情報記憶部135が記憶する権限情報と、抽出された利用者識別情報と、に基づいて、設定変更指令情報の送信元の端末装置5の利用者が機器3または仮想機器の設定変更の権限を有するか否かを判定する(ステップS119)。ここで、エラー判定部115が、制御内容の変更の権限が無いと判定した場合(ステップS119:No)、エラー通知部116が、エラー通知情報を生成して端末装置5へ送信し(ステップS122)、再びステップS101の処理が実行される。 Next, as shown in FIG. 17, the control information acquisition unit 114 determines whether the above-mentioned control command information transmitted from the terminal device 5 has been acquired (step S116). Here, if the control information acquisition unit 114 determines that the control command information has not been acquired (step S116: No). The process of step S101 is executed again. On the other hand, if the control information acquisition unit 114 determines that the control command information has been acquired (step S116: Yes), the device identification information of the device 3 or the virtual device included in the acquired control command information, the user identification information, and the device control information and virtual device control information are extracted (step S117). Subsequently, the error determination unit 115 determines whether the extracted device control information and the properties of the virtual device control information are appropriate based on the virtual device master information stored in the virtual device master information storage unit 133. A validation check process is executed to determine whether the property is appropriate (step S118). Here, if the error determination unit 115 determines that the property is inappropriate (step S118: No), the process of step S122, which will be described later, is executed. On the other hand, if the error determination unit 115 determines that the property is appropriate (step S118: Yes), based on the authority information stored in the authority information storage unit 135 and the extracted user identification information, It is determined whether the user of the terminal device 5 that sent the setting change command information has the authority to change the settings of the device 3 or the virtual device (step S119). Here, if the error determination unit 115 determines that there is no authority to change the control content (step S119: No), the error notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S122). ), the process of step S101 is executed again.

一方、エラー判定部115が、制御内容の変更の権限が有ると判定すると(ステップS119:Yes)、制御情報取得部114は、機器3の制御内容を変更するために予め設定された期間だけ他の制御指令情報の取得を拒否する操作権限確保処理を実行する(ステップS120)。その後、エラー判定部115は、抽出された機器3、仮想機器の機器識別情報と機器制御情報、仮想機器制御情報とに基づいて、抽出された機器識別情報で識別される機器3、仮想機器に対する制御内容の変更が可能であるか否かを判定する(ステップS121)。ここで、エラー判定部115が、機器3、仮想機器に対する制御内容の変更が変更対象の仮想機器で禁止されており制御内容の変更が不可能であると判定した場合(ステップS121:No)、エラー通知部116が、エラー通知情報を生成して端末装置5へ送信し(ステップS122)、再びステップS101の処理が実行される。一方、エラー判定部115が、抽出された機器識別情報で識別される機器3、仮想機器の制御内容の変更が可能であると判定すると(ステップS121:Yes)、制御情報生成処理が実行される(ステップS123)。 On the other hand, if the error determination unit 115 determines that the user is authorized to change the control content (step S119: Yes), the control information acquisition unit 114 transmits the information to other devices for a preset period in order to change the control content of the device 3. An operation authority securing process is executed to deny acquisition of control command information (step S120). Thereafter, based on the device identification information, device control information, and virtual device control information of the extracted device 3 and virtual device, the error determination unit 115 determines whether the device 3 and the virtual device identified by the extracted device identification information are It is determined whether the control contents can be changed (step S121). Here, if the error determination unit 115 determines that changing the control details for the device 3 or the virtual device is prohibited by the virtual device to be changed and that the control details cannot be changed (step S121: No); The error notification unit 116 generates error notification information and transmits it to the terminal device 5 (step S122), and the process of step S101 is executed again. On the other hand, if the error determination unit 115 determines that it is possible to change the control details of the device 3 or virtual device identified by the extracted device identification information (step S121: Yes), control information generation processing is executed. (Step S123).

ここで、制御情報生成処理について、図18を参照しながら詳細に説明する。まず、制御情報生成部117は、制御内容の変更対象が仮想機器であるか否かを判定する(ステップS501)。ここで、制御情報生成部117が、制御内容の変更対象が機器3のみであると判定すると(ステップS501:No)、後述のステップS504の処理が実行される。一方、制御情報生成部117は、制御内容の変更対象に仮想機器が含まれると判定すると(ステップS501:Yes)、仮想機器記憶部132が記憶する下位機器情報を参照して、変更対象の仮想機器の下位の仮想機器が有るか否かを判定する(ステップS502)。ここで、制御情報生成部117は、変更対象の仮想機器の下位の仮想機器が有ると判定すると(ステップS502:Yes)、機器3の機器制御情報、下位の仮想機器の仮想機器制御情報を生成する(ステップS503)。次に、制御情報生成部117は、再びステップS502の処理を実行する。即ち、制御情報生成部117は、ステップS502において、下位の仮想機器が存在すると判定する限り、ステップS503の処理を実行して仮想機器制御情報を生成することを繰り返す。一方、制御情報生成部117は、変更対象の仮想機器の下位の仮想機器が無く、下位の機器3のみであると判定すると(ステップS502:Yes)、下位の機器3の機器制御情報を生成する(ステップS504)。ここで、制御情報生成部117は、生成した機器3の機器制御情報を、対応する機器3の機器識別情報に対応づけて制御情報記憶部136に記憶させる。 Here, the control information generation process will be explained in detail with reference to FIG. 18. First, the control information generation unit 117 determines whether the control content change target is a virtual device (step S501). Here, if the control information generation unit 117 determines that the control content is to be changed only for the device 3 (step S501: No), the process of step S504, which will be described later, is executed. On the other hand, if the control information generation unit 117 determines that a virtual device is included in the control content change target (step S501: Yes), the control information generation unit 117 refers to the lower-level device information stored in the virtual device storage unit 132 and It is determined whether there is a virtual device subordinate to the device (step S502). Here, if the control information generation unit 117 determines that there is a virtual device subordinate to the virtual device to be changed (step S502: Yes), it generates device control information of device 3 and virtual device control information of the subordinate virtual device. (Step S503). Next, the control information generation unit 117 executes the process of step S502 again. That is, as long as it is determined in step S502 that a lower-level virtual device exists, the control information generation unit 117 repeats the process of step S503 to generate virtual device control information. On the other hand, if the control information generation unit 117 determines that there is no subordinate virtual device to the virtual device to be changed and there is only the subordinate device 3 (step S502: Yes), it generates device control information for the subordinate device 3. (Step S504). Here, the control information generation section 117 stores the generated device control information of the device 3 in the control information storage section 136 in association with the device identification information of the corresponding device 3.

図17に戻って、続いて、ステップS123の制御情報生成処理が実行された後、制御情報通知部118が、制御情報記憶部136が記憶する制御情報を、当該制御情報に対応する機器識別情報で識別される機器3へ送信する(ステップS124)。その後、機器状態取得部111は、制御情報の送信先の機器3から送信される応答情報を取得すると(ステップS125)、機器状態要求情報を応答情報の送信元の機器3へ送信する(ステップS126)。これにより、機器状態取得部111は、応答情報の送信元の機器3から送信される前述の機器状態通知情報を取得し(ステップS127)、取得した機器状態通知情報に含まれる機器状態通知情報の送信元の機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する(ステップS128)。その後、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出されたプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する(ステップS129)。ここで、エラー判定部115が、プロパティが不適切であると判定すると(ステップS129:No)、前述のステップS124の処理が実行される。一方、エラー判定部115により、プロパティが適切であると判定されると(ステップS129:Yes)、前述の機器状態更新処理が実行される(ステップS130)。 Returning to FIG. 17, after the control information generation process in step S123 is executed, the control information notification unit 118 transfers the control information stored in the control information storage unit 136 to the device identification information corresponding to the control information. The information is transmitted to the device 3 identified by (step S124). After that, when the device status acquisition unit 111 acquires the response information transmitted from the device 3 that is the destination of the control information (step S125), it transmits the device status request information to the device 3 that is the source of the response information (step 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 (step S128). Thereafter, the error determination unit 115 executes a validation check process to determine whether the property indicated by the extracted property information is appropriate based on the virtual machine master information stored in the virtual machine master information storage unit 133. , it is determined whether the property is appropriate (step S129). Here, if the error determination unit 115 determines that the property is inappropriate (step S129: No), the process of step S124 described above is executed. On the other hand, if the error determination unit 115 determines that the property is appropriate (step S129: Yes), the above-described device status update process is executed (step S130).

次に、仮想機器状態情報生成部112および操作結果通知部123は、制御内容の変更対象の仮想機器に対応する機器3全てについて制御内容が正常に変更されたか否かを判定する(ステップS131)。ここで、操作結果通知部123は、制御内容の変更対象の仮想機器に対応する機器3のいずれかについて制御内容が正常に変更されなかったと判定すると(ステップS131:No)、仮想機器についての制御内容の変更が失敗したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS122)。一方、仮想機器状態情報生成部112は、制御内容の変更対象の仮想機器に対応する機器3全てについて設定が正常に変更されたと判定したとする(ステップS131:Yes)。この場合、操作結果通知部123は、仮想機器状態記憶部134が記憶する仮想機器状態情報と、これに対応する仮想機器の機器識別情報と、含む仮想機器の制御内容の変更が成功したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS132)。次に、再びステップS101の処理が実行される。 Next, the virtual device status information generation unit 112 and the operation result notification unit 123 determine whether the control details have been successfully changed for all devices 3 corresponding to the virtual device whose control details are to be changed (step S131). . Here, if the operation result notification unit 123 determines that the control content has not been changed normally for any of the devices 3 corresponding to the virtual device whose control content is to be changed (step S131: No), the operation result notification unit 123 controls the virtual device. Operation result notification information notifying that the content change has failed is generated and transmitted to the terminal device 5 (step S122). On the other hand, it is assumed that the virtual device state information generation unit 112 determines that the settings of all the devices 3 corresponding to the virtual device whose control details are to be changed have been changed normally (step S131: Yes). In this case, the operation result notifying unit 123 informs that the virtual machine state information stored in the virtual machine state storage unit 134, the device identification information of the virtual machine corresponding to this, and the control details of the included virtual machine have been successfully changed. Operation result notification information to be notified is generated and transmitted to the terminal device 5 (step S132). Next, the process of step S101 is executed again.

以上説明したように、本実施の形態に係るクラウドサーバ1によれば、制御情報生成部117が、制御メソッド情報に基づいて、機器3を制御するための機器制御情報と、仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。これにより、仮想機器に対する操作を行うだけで、前述の複数の機器または操作対象の仮想機器とは異なる仮想機器に対して操作を行うことなく、仮想機器に対する操作内容に対応する複数の機器3または仮想機器に対する制御を実行することができる。従って、利用者は、複数の機器3または仮想機器それぞれに対する操作が不要となるので、その分、複数の機器3を連携して動作させる際の操作性を高めることができる。 As explained above, according to the cloud server 1 according to the present embodiment, the control information generating unit 117 generates device control information for controlling the device 3 and controlling the virtual device based on the control method information. and virtual device control information for the virtual device control information. As a result, by simply performing an operation on a virtual device, multiple devices 3 or It is possible to control virtual devices. Therefore, the user does not need to operate each of the plurality of devices 3 or virtual devices, so that the operability when operating the plurality of devices 3 in cooperation can be improved accordingly.

また、本実施の形態に係るクラウドサーバ1は、図15および図18を用いて説明したように、仮想機器に対して制御内容を変更するための制御内容情報を取得したときに、仮想機器の下位機器に仮想機器が含まれるか否かを判定しながら、下位機器が全て実際の機器3になるまでいわゆる下位機器を辿っていく処理を実行する。そして、最も上位の仮想機器の機能を実現するために必要な実際の機器3に対する制御情報を漏れなく生成する。また、クラウドサーバ1は、実際の機器3についてその状態が更新されたときに、状態が更新された機器3の上位の仮想機器が存在するか否かを判定しながら、上位の仮想機器が存在しなくなるまでいわゆる上位機器を辿っていく処理を実行する。そして、機器3の状態の更新に伴い状態の更新が必要な仮想機器全てについて、仮想機器の状態が漏れなく更新される。このように、クラウドサーバ1が、いわゆる上位機器、下位機器を辿っていく処理を実行できることにより、仮想機器情報を生成する際、仮想機器と機器3または仮想機器同士の上下関係を考慮する必要が無くなり、その分、仮想機器情報の生成処理を簡素化できるという利点がある。 Further, as described using FIGS. 15 and 18, the cloud server 1 according to the present embodiment, when acquiring control content information for changing control content for a virtual machine, While determining whether or not the lower-level devices include virtual devices, a process of tracing the so-called lower-level devices is executed until all the lower-level devices become actual devices 3. Then, the control information for the actual devices 3 necessary to realize the functions of the highest virtual device is generated without exception. In addition, when the state of the actual device 3 is updated, the cloud server 1 determines whether or not there is a higher-level virtual device than the device 3 whose state has been updated, and determines whether the higher-level virtual device exists. A process of tracing the so-called upper-level devices is executed until there are no more errors. Then, the states of all the virtual devices whose states need to be updated as the state of the device 3 is updated are updated without exception. In this way, since the cloud server 1 can execute the process of tracing the so-called higher-level devices and lower-level devices, it is not necessary to consider the hierarchical relationship between the virtual device and the device 3 or between virtual devices when generating virtual device information. This has the advantage that the virtual device information generation process can be simplified accordingly.

更に、本実施の形態に係るクラウドサーバ1によれば、仮想機器それぞれの機能或いは機能群を実際の機器3の機能の区切りとは別に定義して、定義した機能或いは機能群単位で操作を行うことが可能になる。このため、利用者が仮想機器について定義された機能或いは機能群のみを意識して操作することが可能となるので、利用者の利便性を向上させることができる。 Further, according to the cloud server 1 according to the present embodiment, the function or function group of each virtual device is defined separately from the functional division of the actual device 3, and operations are performed in units of defined functions or function groups. becomes possible. Therefore, it is possible for the user to operate the virtual device while being aware of only the function or group of functions defined for the virtual device, thereby improving convenience for the user.

以上、本開示の実施の形態について説明したが、本開示は前述の実施の形態によって限定されるものではない。例えば仮想機器更新部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 that the deletion of the virtual device has 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の機器状態取得部111が、予め設定された機器状態取得時期が到来する毎に、前述の機器状態要求情報を複数の機器3それぞれへ送信することにより、複数の機器3それぞれから前述の機器状態通知情報を取得するものであってもよい。ここで、機器状態取得知時期の到来間隔は、例えば仮想機器毎に各別に設定されてもよい。例えば仮想機器「エネルギマネジメント装置」については、対応する機器3についての機器状態取得時期の到来間隔が30分に設定され、仮想機器「環境センサ」については、対応する機器3についての機器状態取得時期の到来間隔が5分に設定されていてもよい。 In the embodiment, an example has been described in which the device 3 spontaneously and periodically generates device status notification information and transmits it to the cloud server 1. However, each time a preset device status acquisition time arrives, the device status notification information described above is acquired from each of the multiple devices 3 by transmitting the device status request information described above to each of the multiple devices 3. It may be. Here, 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.

実施の形態に係る制御システムでは、一定の周期で到来する機器状態取得時期が到来する毎に、クラウドサーバ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 of generating information and transmitting it 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 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 communication costs are 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を構成してもよい。 Further, 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 (such as a CD-ROM (Compact Disc Read Only Memory)) that can be read by the computer system. By distributing the program and installing the program on a computer system, the cloud server 1 and terminal device 5 that execute the above-described process may be configured.

また、コンピュータにプログラムを提供する方法は任意である。例えば、プログラムは、通信回線の掲示版(BBS(Bulletin Board System))にアップロードされ、通信回線を介してコンピュータに配信されてもよい。そして、コンピュータは、このプログラムを起動して、OS(Operating System)の制御の下、他のアプリケーションと同様に実行する。これにより、コンピュータは、上述の処理を実行するクラウドサーバ1または端末装置5として機能する。 Further, 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.

本開示は、互いに連携する複数の機器を制御する制御装置として好適である。 The present disclosure is suitable as a control device that controls a plurality of 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 通信部、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 device, 41 BBR, 42 communication adapter, 5 terminal device, 101,501 CPU, 102,502 main storage section, 103,503 auxiliary storage section, 106,506 communication section , 109,509 bus, 111 equipment status acquisition unit, 112 virtual equipment status information generation unit, 113 virtual equipment status information notification unit, 114 control information 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 state storage unit, 132 Virtual device storage unit, 133 Virtual device master information Storage unit, 134, 531 Virtual machine state storage unit, 135 Authority information storage unit, 136 Control information storage unit, 504 Display unit, 505 Input unit, 511 Virtual machine state information acquisition unit, 512 Display control unit, 513 Reception unit, 514 Command notification unit, 515 Registration information management unit, 516 Registration information notification unit, 517 Notification acquisition unit, 532 Registration information storage unit, NW1 wide area network, NW2 local network

Claims (12)

複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部と、
前記仮想機器制御情報が前記第1仮想機器で禁止されている制御内容であるか否かが判定された結果、前記第1仮想機器で許容されている場合、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記仮想機器制御情報とは異なるプロパティを有する前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と、前記第1仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部と、を備える、
制御装置。
a control information acquisition unit that acquires virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation;
Control executed by the first virtual device if the virtual device control information is permitted by the first virtual device as a result of determining whether or not the control content is prohibited by the first virtual device; Device control information for controlling at least one of the plurality of devices, which has properties different from the virtual device control information, based on control method information defining contents, and which are different from the first virtual device. , virtual device control information for controlling a second virtual device realized by operating at least two of the plurality of devices in cooperation, and a control information generation unit that generates at least one of: prepare,
Control device.
前記第1仮想機器の設定変更を許可する利用者を識別する利用者識別情報を含む権限情報を、前記機器、前記第1仮想機器の機器識別情報に対応づけて記憶する権限情報記憶部を更に備え、
前記制御情報生成部は、前記第1仮想機器の設定を変更して前記第1仮想機器を制御するための仮想機器制御情報に対応づけられた利用者識別情報が、前記権限情報記憶部が記憶する、設定を変更する対象の前記第1仮想機器の前記機器識別情報に対応づけられた前記権限情報に含まれる利用者識別情報と一致する場合、前記利用者に設定変更の権限があると判定し、前記機器制御情報と前記第2仮想機器を制御するための仮想機器制御情報との少なくとも一方を生成する、
請求項1に記載の制御装置。
further comprising an authority information storage unit that stores authority information including user identification information for identifying a user who is permitted to change the settings of the first virtual device in association with the device identification information of the device and the first virtual device; Prepare,
The control information generation unit may store user identification information associated with virtual device control information for controlling the first virtual device by changing settings of the first virtual device in the authority information storage unit. and if it matches user identification information included in the authority information associated with the device identification information of the first virtual device whose settings are to be changed, it is determined that the user has the authority to change the settings. and generating at least one of the device control information and virtual device control information for controlling the second virtual device;
The control device according to claim 1.
前記制御情報取得部は、前記利用者に設定変更の権限があると判定された場合、前記仮想機器制御情報取得後、予め設定された期間だけ他の前記仮想機器制御情報の取得を拒否する、
請求項2に記載の制御装置。
If it is determined that the user has the authority to change settings, the control information acquisition unit refuses to acquire other virtual device control information for a preset period after acquiring the virtual device control information.
The control device according to claim 2.
前記制御情報生成部は、前記第2仮想機器を制御するための前記仮想機器制御情報を生成した場合、前記第2仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記機器制御情報と、前記第2仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第3仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成し、前記第3仮想機器を制御するための前記仮想機器制御情報を生成した場合、前記第3仮想機器を前記第2仮想機器として、前記第2仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて前記機器制御情報と前記仮想機器制御情報との少なくとも一方を生成することを繰り返す、
請求項1から3のいずれか1項に記載の制御装置。
When the control information generation unit generates the virtual device control information for controlling the second virtual device, the control information generation unit generates the device control information based on control method information that defines control content to be executed by the second virtual device. information, and virtual device control information for controlling a third virtual device that is different from the second virtual device and is realized by operating at least two of the plurality of devices in cooperation. When the third virtual device is generated and the virtual device control information for controlling the third virtual device is generated, the third virtual device is defined as the second virtual device, and the control content to be executed by the second virtual device is defined. repeating generating at least one of the device control information and the virtual device control information based on control method information;
The control device according to any one of claims 1 to 3.
前記制御情報生成部が、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報と前記第2仮想機器が実行する制御内容を定義する制御メソッド情報との少なくとも1つに基づいて、前記機器制御情報のみを生成した場合、生成された前記機器制御情報を前記機器へ送信する制御情報通知部を更に備える、
請求項4に記載の制御装置。
The control information generation unit generates the control information based on at least one of control method information that defines control content to be executed by the first virtual device and control method information that defines control content to be executed by the second virtual device. Further comprising a control information notification unit that transmits the generated device control information to the device when only device control information is generated.
The control device according to claim 4.
複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報を取得する機器状態取得部と、
前記機器状態情報のプロパティを用いて前記機器状態情報に対して実行する、前記複数の機器を連携して動作させることにより実現される第1仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、前記第1仮想機器の機器状態を示し且つ前記機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成し、生成した前記第1仮想機器の前記仮想機器状態情報を用いて前記機器状態が決定される前記第1仮想機器とは異なる第2仮想機器が存在する場合、前記第2仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、前記第2仮想機器の機器状態を示し且つ前記第1仮想機器の仮想機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する仮想機器状態情報生成部と、を更に備え、
前記仮想機器状態情報生成部は、前記制御情報通知部が前記機器へ送信した前記機器制御情報と、前記制御情報通知部が前記機器へ送信した前記機器制御情報に基づいて動作を開始した後の前記機器の機器状態情報と、に基づいて、設定変更の対象となる前記第1仮想機器に対応する前記機器それぞれの設定が正常に変更されたか否かを判定し、前記機器の設定が正常に変更されたと判定すると、設定変更後の前記機器状態情報から前記仮想機器状態情報を生成し、前記機器の設定が正常に変更されていないと判定すると、前記仮想機器状態情報の生成を回避する、
請求項5に記載の制御装置。
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;
Defining processing contents to be executed on the device state information using properties of the device state information to determine a device state of the first virtual device realized by operating the plurality of devices in cooperation. generate virtual device state information indicating the device state of the first virtual device and having properties different from the device state information, based on state determination method information, and determine the virtual device state of the generated first virtual device. If a second virtual device different from the first virtual device whose device state is determined using information exists, state determination method information that defines processing content for determining the device state of the second virtual device. further comprising: a virtual device state information generation unit that generates virtual device state information indicating a device state of the second virtual device and having properties different from virtual device state information of the first virtual device, based on the virtual device state information of the first virtual device;
The virtual equipment state information generation unit is configured to perform operations based on the equipment control information sent to the equipment by the control information notification unit and the equipment control information sent to the equipment by the control information notification unit. Based on the device state information of the device, it is determined whether the settings of each of the devices corresponding to the first virtual device whose settings are to be changed are changed normally, and the settings of the device are changed normally. If it is determined that the settings have been changed, the virtual device state information is generated from the device state information after the settings have been changed, and if it is determined that the settings of the device have not been changed normally, the generation of the virtual device state information is avoided;
The control device according to claim 5.
前記仮想機器状態情報生成部は、生成した前記第2仮想機器の前記仮想機器状態情報を用いて前記機器状態が決定される前記第2仮想機器とは異なる第3仮想機器が存在する場合、前記第3仮想機器を前記第2仮想機器として、前記状態決定メソッド情報に基づいて、前記仮想機器状態情報を生成することを繰り返す、
請求項6に記載の制御装置。
The virtual device state information generation unit may be configured to generate a third virtual device that is different from the second virtual device, the device state of which is determined using the virtual device state information of the generated second virtual device. repeating generating the virtual device state information based on the state determination method information using a third virtual device as the second virtual device;
The control device according to claim 6.
前記第1仮想機器が実行する制御内容を定義する制御メソッド情報と前記第1仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報との少なくとも一方を含む仮想機器情報を記憶する仮想機器記憶部と、
前記第1仮想機器で用いられるプロパティを示すプロパティ情報と前記第1仮想機器の種別を示す機種情報とを含み前記第1仮想機器を新たに追加するよう指令する仮想機器登録指令情報を取得すると、取得した前記仮想機器登録指令情報に含まれる前記機種情報に基づいて、新たな前記第1仮想機器に対応する前記制御メソッド情報と前記状態決定メソッド情報との少なくとも一方の基となる少なくとも1つのメソッドテンプレート情報を特定し、特定した前記少なくとも1つのメソッドテンプレート情報の中から、前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と前記複数の機器それぞれの機器状態と前記複数の機器それぞれで検出される前記複数の機器それぞれが設置された環境を示す環境パラメータとの少なくとも一方を示す機器状態情報との少なくとも一方のプロパティに基づいてメソッドテンプレート情報を特定し、特定したメソッドテンプレート情報を用いて前記制御メソッド情報と前記状態決定メソッド情報との少なくとも一方を生成し、前記プロパティ情報と生成した前記制御メソッド情報と前記状態決定メソッド情報との少なくとも一方とを含む前記仮想機器情報を追加する形で前記仮想機器記憶部が記憶する前記仮想機器情報を更新する仮想機器更新部と、を更に備える、
請求項1から3のいずれか1項に記載の制御装置。
Store virtual device information including at least one of control method information that defines control content to be executed by the first virtual device and state determination method information that defines processing content for determining a device state of the first virtual device. a virtual device storage unit to
Upon acquiring virtual device registration command information that includes property information indicating properties used in the first virtual device and model information indicating the type of the first virtual device and instructs to newly add the first virtual device, At least one method that is a basis for at least one of the control method information and the state determination method information corresponding to the new first virtual device, based on the model information included in the acquired virtual device registration command information. Template information is specified, and from the specified at least one method template information, device control information for controlling at least one of the plurality of devices, the device status of each of the plurality of devices, and the device state of each of the plurality of devices are determined. Method template information is specified based on the property of at least one of an environment parameter indicating an environment in which each of the plurality of devices is installed detected by each device, and device status information indicating at least one of the same, and specified method template information. generating at least one of the control method information and the state determining method information using the method, and adding the virtual device information including the property information and at least one of the generated control method information and the state determining method information. further comprising a virtual device updating unit that updates the virtual device information stored in the virtual device storage unit in a manner that
The control device according to any one of claims 1 to 3.
前記仮想機器情報のうちのいずれか1つを前記仮想機器記憶部から削除する形で前記仮想機器情報を更新する際、削除する前記仮想機器情報に対応する前記第1仮想機器の前記仮想機器制御情報と前記第1仮想機器の機器状態を示す仮想機器状態情報との少なくとも一方を使用して、削除する前記第1仮想機器と連携する前記第2仮想機器が存在するか否かを判定する連携判定部を更に備える、
請求項8に記載の制御装置。
When updating the virtual device information by deleting any one of the virtual device information from the virtual device storage unit, the virtual device control of the first virtual device corresponding to the virtual device information to be deleted. cooperation that determines whether or not the second virtual device that cooperates with the first virtual device to be deleted exists, using at least one of information and virtual device state information indicating the device state of the first virtual device. further comprising a determination section;
The control device according to claim 8.
端末装置と、
前記端末装置と通信可能であり、複数の機器を制御する制御装置と、を備え、
前記制御装置は、
複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部と、
前記仮想機器制御情報が前記第1仮想機器で禁止されている制御内容であるか否かが判定された結果、前記第1仮想機器で許容されている場合、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記仮想機器制御情報とは異なるプロパティを有する前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と、前記第1仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部と、を有する、
制御システム。
a terminal device;
A control device capable of communicating with the terminal device and controlling a plurality of devices,
The control device includes:
a control information acquisition unit that acquires virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation;
Control executed by the first virtual device if the virtual device control information is permitted by the first virtual device as a result of determining whether or not the control content is prohibited by the first virtual device; Device control information for controlling at least one of the plurality of devices, which has properties different from the virtual device control information, based on control method information defining contents, and which are different from the first virtual device. , virtual device control information for controlling a second virtual device realized by operating at least two of the plurality of devices in cooperation, and a control information generation unit that generates at least one of: have,
control system.
複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得するステップと、
前記仮想機器制御情報が前記第1仮想機器で禁止されている制御内容であるか否かが判定された結果、前記第1仮想機器で許容されている場合、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記仮想機器制御情報とは異なるプロパティを有する前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と、前記第1仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成するステップと、を含む、
機器制御方法。
acquiring virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation;
Control executed by the first virtual device if the virtual device control information is permitted by the first virtual device as a result of determining whether or not the control content is prohibited by the first virtual device; Device control information for controlling at least one of the plurality of devices, which has properties different from the virtual device control information, based on control method information defining contents, and which are different from the first virtual device. , and virtual device control information for controlling a second virtual device realized by operating at least two of the plurality of devices in cooperation.
Equipment control method.
コンピュータを、
複数の機器を連携して動作させることにより実現される第1仮想機器を制御するための仮想機器制御情報を取得する制御情報取得部、
前記仮想機器制御情報が前記第1仮想機器で禁止されている制御内容であるか否かが判定された結果、前記第1仮想機器で許容されている場合、前記第1仮想機器が実行する制御内容を定義する制御メソッド情報に基づいて、前記仮想機器制御情報とは異なるプロパティを有する前記複数の機器のうちの少なくとも1つを制御するための機器制御情報と、前記第1仮想機器とは異なる、前記複数の機器のうちの少なくとも2つを連携して動作させることにより実現される第2仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する制御情報生成部、
として機能させるためのプログラム。
computer,
a control information acquisition unit that acquires virtual device control information for controlling a first virtual device realized by operating a plurality of devices in cooperation;
Control executed by the first virtual device if the virtual device control information is permitted by the first virtual device as a result of determining whether or not the control content is prohibited by the first virtual device; Device control information for controlling at least one of the plurality of devices, which has properties different from the virtual device control information, based on control method information defining contents, and which are different from the first virtual device. , virtual device control information for controlling a second virtual device realized by operating at least two of the plurality of devices in cooperation, and a control information generation unit that generates at least one of:
A program to function as
JP2023527667A 2022-11-25 2022-11-25 Control devices, control systems, equipment control methods and programs Active JP7438465B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/043629 WO2024111128A1 (en) 2022-11-25 2022-11-25 Control device, control system, appliance control method, and program

Publications (1)

Publication Number Publication Date
JP7438465B1 true JP7438465B1 (en) 2024-02-26

Family

ID=90011407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023527667A Active JP7438465B1 (en) 2022-11-25 2022-11-25 Control devices, control systems, equipment control methods and programs

Country Status (2)

Country Link
JP (1) JP7438465B1 (en)
WO (1) WO2024111128A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140336966A1 (en) 2007-08-23 2014-11-13 Applied Materials, Inc. Method and apparatus to automatically create virtual sensors with templates
JP2015142167A (en) 2014-01-27 2015-08-03 富士通株式会社 Management device, management program and setting information management method of network device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140336966A1 (en) 2007-08-23 2014-11-13 Applied Materials, Inc. Method and apparatus to automatically create virtual sensors with templates
JP2015142167A (en) 2014-01-27 2015-08-03 富士通株式会社 Management device, management program and setting information management method of network device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
松野宏昭,他7名,端末外リソースの仮想化とUGC型のアプリ開発をサポートするIoTフレームワーク,マルチメディア,分散,協調とモバイル(DICOMO2017)シンポジウム論文集 情報処理学会シンポジウムシリーズ Vol.2017 No.1 [CD-ROM],日本,一般社団法人情報処理学会,2017年06月21日,第2017巻,第1号,pp.1291-1299

Also Published As

Publication number Publication date
WO2024111128A1 (en) 2024-05-30

Similar Documents

Publication Publication Date Title
TWI654881B (en) Method and apparatus for controlling sensor devices
JP6012727B2 (en) Equipment management system, equipment management apparatus, equipment management method and program
JP4399773B2 (en) Control system
JP5976210B2 (en) Monitoring system, facility management apparatus, monitoring method and program
JP2005198252A (en) Network apparatus and program
JPH10308989A (en) Measurement and control system initialization method
US10411467B2 (en) Information presentation apparatus, information presentation method, and recording medium storing computer program
JP2012147325A (en) Data collection device, data collection program, and data collection system
JP7438465B1 (en) Control devices, control systems, equipment control methods and programs
JP2018092288A (en) Protocol conversion device, protocol conversion system and equipment device
WO2023238298A1 (en) Control device, control system, apparatus control method, and program
US20200177667A1 (en) Management system, remote device management system, display control method, and recording medium
JP6816589B2 (en) Remote management systems, intermediaries, remote management methods, and remote management programs
CN113544602A (en) Control system, relay device, and relay program
JP2018163401A (en) Image forming apparatus, information processing device, information processing system and program
KR20160024055A (en) Web of things plug-in system
JP7376246B2 (en) management system
US11711269B1 (en) Building management system with flexible gateway configuration
US20240004357A1 (en) Building management system with flexible gateway configuration
JP2018124679A (en) Server apparatus, control system, computer program and communication method
JP2017130972A (en) Control device, communication system, communication method, and program
JP6489387B2 (en) system
JP2017151742A (en) Network system, server, information processing method, and electric appliance
JPWO2016084225A1 (en) Control device, communication system, communication method, and program
JPH11313075A (en) Information supply management system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230509

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230509

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230822

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231016

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240213

R150 Certificate of patent or registration of utility model

Ref document number: 7438465

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150