JP7438465B1 - Control devices, control systems, equipment control methods and programs - Google Patents
Control devices, control systems, equipment control methods and programs Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 169
- 230000008859 change Effects 0.000 claims description 50
- 238000012545 processing Methods 0.000 claims description 19
- 230000007613 environmental effect Effects 0.000 claims description 17
- 230000008569 process Effects 0.000 description 59
- 230000006870 function Effects 0.000 description 41
- 238000012217 deletion Methods 0.000 description 25
- 230000037430 deletion Effects 0.000 description 25
- 238000004891 communication Methods 0.000 description 16
- 239000000284 extract Substances 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 11
- 238000010200 validation analysis Methods 0.000 description 10
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005401 electroluminescence Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
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
ところで、複数の電気機器それぞれが有する機能を複合して実現される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.
以下、本開示の実施の形態に係る制御装置について図面を参照しながら説明する。実施の形態に係る制御装置は、複数の機器を連携して動作させることにより実現される第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としては、他に冷蔵庫、CO2センサ等であってもよい。通信アダプタ42は、いずれもBBR41と通信するための通信モジュールを備え、HTTP(S)、MQTT、WebSocket等の通信プロトコルを用いてクラウドサーバ1と通信する。機器3は、それぞれ、記憶部(図示せず)を備えており、定期的に、自機の機器状態と、自機が設置された環境を示す環境パラメータと、の少なくとも一方を示す情報を、その情報を生成した時期を示す時期情報に対応づけて記憶部に時系列で記憶させている。ここで、機器状態を示す情報としては、機器3のON/OFF状態、設定温度、運転モード、エラー内容等を示す情報が挙げられる。なお、機器3は、直近の自機の機器状態、環境パラメータとの少なくとも一方を示す情報のみを前述の時期情報に対応づけて記憶部に記憶させるものであってもよい。また、環境パラメータを示す情報としては、機器3が設置された室内の温度、機器3が設置された建物の外気温、室内の湿度またはCO2濃度等を示す情報が挙げられる。そして、機器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
端末装置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
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
仮想機器状態情報取得部511は、クラウドサーバ1から送信される仮想機器の状態を通知する仮想機器状態情報とこれに対応する機器識別情報とを取得すると、取得した仮想機器状態情報と機器識別情報とを互いに対応づけて仮想機器状態記憶部531に記憶させる。受付部513は、利用者が入力部505に対して行った操作内容を受け付け、受け付けた操作内容を示す操作情報を指令通知部514または登録情報管理部515に通知する。受付部513は、例えば利用者が入力部505に対して、クラウドサーバ1に新たに仮想機器の登録を追加するための仮想機器登録操作、クラウドサーバ1に登録されている仮想機器を削除するための仮想機器削除操作、或いは、仮想機器または機器3の制御内容を変更するための制御内容変更操作を行うと、これらの操作内容を受け付ける。
When the virtual device status
指令通知部514は、受付部513から仮想機器について制御内容を変更することを示す操作情報が通知されると、操作情報が示す仮想機器の変更後の仮想機器制御情報を含む制御指令情報を生成してクラウドサーバ1へ送信する。ここで、制御指令情報には、制御内容の変更の対象となる仮想機器の機器識別情報と、変更後の仮想機器の制御内容を示す仮想機器制御情報と、制御内容の変更を行う利用者を識別する利用者識別情報と、が含まれる。
When the
登録情報管理部515は、受付部513から新たに登録する仮想機器の機器識別情報、機種情報および権限情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報、機種情報および権限情報を互いに対応づけて登録情報記憶部532に記憶させる。一方、登録情報管理部515は、受付部513から既に登録されている仮想機器のうち登録を削除する仮想機器の機器識別情報を含む操作情報が通知されると、通知された操作情報に含まれる機器識別情報と、これに対応する機種情報および権限情報とを登録情報記憶部532から削除するとともに、機器識別情報を登録情報通知部516に通知する。
When the registration
登録情報通知部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
通知取得部517は、クラウドサーバ1から送信されるエラー通知情報を取得すると、取得したエラー通知情報に含まれるエラー原因を示すエラーコード情報を抽出し、抽出したエラーコード情報を表示制御部512に通知する。ここで、エラーコード情報としては、エラー原因が端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報、仮想機器制御情報または仮想機器状態情報のプロパティについてバリデーションチェック処理を実行した結果、NGであることを示すエラーコード情報、仮想機器に対する制御の変更内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報等が挙げられる。また、通知取得部517は、クラウドサーバ1から送信される警告通知情報を取得すると、取得した警告通知情報に含まれる削除される仮想機器の機器識別情報とプロパティ情報とを抽出し、抽出した仮想機器の機器識別情報とプロパティ情報とを表示制御部512に通知する。
Upon acquiring the error notification information transmitted from the
表示制御部512は、仮想機器状態記憶部531が記憶する仮想機器状態情報に基づいて、仮想機器の状態を利用者に通知するための仮想機器状態通知画像を形成する。そして、表示制御部512は、形成した仮想機器状態通知画像を表示部504に表示させる。また、表示制御部512は、通知取得部517から前述のエラーコード情報が通知されると、通知されたエラーコード情報に基づいて、エラーコード情報に対応するエラーメッセージを含むエラー通知画像を形成し、形成したエラー通知画像を表示部504に表示させる。また、表示制御部512は、通知取得部517から前述の削除される仮想機器の機器識別情報とプロパティ情報とが通知されると、通知された削除される仮想機器の機器識別情報とプロパティ情報とに基づいて、仮想機器が削除されることにより削除される仮想機器と連携する仮想機器の仮想機器状態情報の内容が影響を受けることを警告する警告メッセージを含む警告通知画像を形成し、形成した警告通知画像を表示部504に表示させる。
The
なお、端末装置5の各機能は、端末装置5の利用者によって一部を省略してもよい。例えば、複数の機器3の施工を管理する施工業者が所持する端末装置5は、前述の全ての機能を有し、一方、複数の機器3の利用者が所持する端末装置5は、登録情報管理部515、登録情報通知部516および登録情報記憶部532の機能を備えていないものとしてもよい。
Note that some of the functions of the
クラウドサーバ1は、図2に示すように、CPU101と、主記憶部102と、補助記憶部103と、通信部106と、これらを相互に接続するバス109と、を備える。CPU101は、例えばマルチコアプロセッサである。主記憶部102は、RAMのような揮発性メモリを有し、CPU101の作業領域として使用される。補助記憶部103は、大容量の不揮発性メモリから構成され、クラウドサーバ1の各種機能を実現するためのプログラムを記憶する。通信部106は、広域ネットワークNW1に接続されている。
As shown in FIG. 2, the
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
仮想機器記憶部132は、例えば図5に示すように、仮想機器で使用するプロパティを示すプロパティ情報と、状態決定メソッド情報または制御メソッド情報と、下位機器情報と、上位機器情報と、から構成される仮想機器情報を、対応する仮想機器を識別する機器識別情報と仮想機器の種別を示す機種情報との組み合わせに対応づけて記憶する。仮想機器としては、前述の「加湿機能つき空気調和機」、「エネルギマネジメント装置」、「最適環境システム」等が挙げられる。ここで、状態決定メソッド情報は、機器3または仮想機器それぞれの機器状態情報のプロパティを用いて機器状態情報に対して少なくとも1つの仮想機器が実行する処理内容を定義する情報であり、プロパティ情報が示すプロパティを有する機器状態情報を用いて仮想機器状態情報を算出する方法を表す。また、制御メソッド情報は、仮想機器に対する仮想機器制御情報のプロパティを用いて、仮想機器と機器3との少なくとも一方が実行する制御内容を定義する情報であり、プロパティ情報が示すプロパティを有する仮想機器制御情報を用いて機器3を制御するための制御情報と仮想機器を制御するための仮想機器制御情報との少なくとも一方を生成する方法を表す。プロパティ情報は、例えばECHONET Lite(登録商標)Web APIガイドラインで規定されているプロパティで表すことができる。状態決定メソッド情報としては、例えば「加湿機能つき空気調和機」について、加湿器3Bのタンク水量を示すプロパティ情報を用いて定義され、タンク水量から加湿残時間を算出する数式を定義するもの、仮想機器に対応する機器3の機器状態情報をそのままコピーするいわゆる情報同期メソッドを定義するものがある。また、状態決定メソッド情報としては、機器状態情報が示す機器3の状態の論理演算、過去の機器状態情報が示す環境パラメータと現在の環境パラメータとの差分演算を定義するものであってもよい。
For example, as shown in FIG. 5, the virtual
図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
また、下位機器情報は、仮想機器で使用する機器状態情報、機器制御情報、仮想機器状態情報または仮想機器識別情報の取得先となる機器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
また、例えば図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
図3に戻って、仮想機器マスタ情報記憶部133は、予め設定された複数種類の仮想機器それぞれについて、前述の制御メソッド情報および状態決定メソッド情報の元となるメソッドテンプレート情報を、仮想機器の種別を示す機種情報に対応づけて記憶する。メソッド情報は、その制御メソッド情報および状態決定メソッド情報を用いる仮想機器の機種情報に対応づけられたメソッドテンプレート情報について、仮想機器で使用する機器状態情報のプロパティを設定してインスタンス化することにより生成される。仮想機器状態記憶部134は、例えば図8に示すように、仮想機器記憶部132が記憶する仮想機器それぞれの仮想機器状態情報とプロパティ情報とを、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて記憶する。
Returning to FIG. 3, the virtual device master
図3に戻って、権限情報記憶部135は、機器3、仮想機器それぞれの設定を変更する権限を示す権限情報を、機器3、仮想機器の機器識別情報に対応づけて記憶する。ここで、権限情報は、機器3、仮想機器それぞれについて、設定変更を許可する利用者を識別する利用者識別情報を含む。制御情報記憶部136は、機器3の動作を制御するための制御情報を記憶する。
Returning to FIG. 3, the authority
機器状態取得部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
仮想機器状態情報生成部112は、仮想機器記憶部132が記憶する状態決定メソッド情報に基づいて、仮想機器の機器状態を示し且つ機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。また、仮想機器状態情報生成部112は、生成した仮想機器の仮想機器状態情報を用いて機器状態が決定される仮想機器とは異なる他の仮想機器が存在する場合、当該他の仮想機器の機器状態を決定するための処理内容を定義する状態決定メソッド情報に基づいて、他の仮想機器の機器状態を示し且つ他の仮想機器の仮想機器状態情報とは異なるプロパティを有する仮想機器状態情報を生成する。更に、仮想機器状態情報生成部112は、生成した仮想機器の仮想機器状態情報を用いて機器状態が決定される更に他の仮想機器が存在する場合、当該他の仮想機器の状態決定メソッド情報に基づいて、他の仮想機器の仮想機器状態情報を生成することを繰り返す。このような仮想機器状態情報としては、前述の仮想機器の加湿残時間、快適性等のような仮想機器に対応する機器3の機器状態、仮想機器に対応する機器3が設置された環境の環境パラメータを示す情報が挙げられる。仮想機器状態情報生成部112は、生成した仮想機器状態情報を、仮想機器の機器識別情報および機種情報の組み合わせに対応づけて仮想機器状態記憶部134に記憶させる。また、仮想機器状態情報生成部112は、制御情報通知部118から通知される制御情報と、機器状態記憶部131が記憶する制御情報通知部118が送信した制御情報に基づいて動作を開始した後の機器3の機器状態情報とに基づいて、設定変更対象に仮想機器に対応する機器3それぞれの設定が正常に変更されたか否かを判定する。そして、仮想機器状態情報生成部112は、機器3の設定が正常に変更されたと判定すると、設定変更後の機器状態情報から仮想機器状態情報を生成して仮想機器状態記憶部134に記憶させる。一方、仮想機器状態情報生成部112は、機器3の設定が正常に変更されていないと判定すると、仮想機器状態情報の生成を回避する。
The virtual device state
仮想機器状態情報通知部113は、仮想機器状態記憶部134が記憶する仮想機器状態情報とこれに対応する仮想機器の機器識別情報とを含む仮想機器状態通知情報を生成して端末装置5へ送信する。
The virtual device state
制御情報取得部114は、端末装置5から送信される前述の制御変更指令情報を取得すると、取得した制御変更指令情報に含まれる変更後の仮想機器制御情報と、これに対応する仮想機器の機器識別情報および利用者識別情報と、を抽出する。そして、制御情報取得部114は、抽出した仮想機器制御情報、仮想機器の機器識別情報および利用者識別情報をエラー判定部115に通知する。また、制御情報取得部114は、エラー判定部115によりエラーが無いと判定されると、抽出した仮想機器制御情報および仮想機器の機器識別情報を、制御情報生成部117に通知する。
When the control
エラー判定部115は、権限情報記憶部135が記憶する権限情報と制御情報取得部114から通知される利用者識別情報とに基づいて、設定変更指令情報の送信元の端末装置5の利用者が機器3または仮想機器の設定変更の権限を有するか否かを判定する。ここで、エラー判定部115は、権限情報記憶部135が記憶する権限情報を参照して、制御情報取得部114が通知された利用者情報が、制御情報取得部114から通知された仮想機器の機器識別情報に対応する権限情報に含まれる利用者情報のいずれかと一致するか否かを判定する。そして、エラー判定部115は、権限情報に含まれる利用者情報のいずれとも一致しない場合、設定変更の権限が無いと判定して、端末装置5の利用者に仮想機器の設定変更権限が無いことを示すエラーコード情報をエラー通知部116に通知する。また、エラー判定部115は、制御情報取得部114から通知された仮想機器の機器識別情報と変更後設定情報とに基づいて、機器識別情報で識別される仮想機器に対する設定変更の内容が設定変更対象の仮想機器で禁止されている場合、当該設定変更の内容が設定変更対象の仮想機器で禁止されていることを示すエラーコード情報をエラー通知部116に通知する。一方、エラー判定部115は、制御情報取得部114から通知された利用者情報が権限情報に含まれ且つ設定変更の内容が許容されていると判定すると、エラーが無いことを制御情報取得部114に通知する。また、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、仮想機器制御情報、機器制御情報または機器状態情報に対応するプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する。そして、エラー判定部115は、プロパティが不適切である場合、プロパティが不適切であることを示すエラーコード情報をエラー通知部116に通知する。
The
エラー通知部116は、エラー判定部115からエラーコード情報が通知されると、通知されたエラーコード情報を含むエラー通知情報を生成して端末装置5へ送信する。
When the
制御情報生成部117は、制御内容を変更する対象が仮想機器であるか否かを判定し、制御内容を変更する対象が実際の機器3である場合、その機器3の動作を制御するための制御情報を生成する。一方、制御情報生成部117は、制御内容を変更する対象が仮想機器であると判定すると、仮想機器記憶部132が記憶する制御内容を変更する対象の仮想機器の下位機器情報を参照して、仮想機器に対応する機器3と仮想機器との少なくとも一方を特定する。そして、制御情報生成部117は、仮想機器記憶部132が記憶する、制御内容を変更する対象の仮想機器の制御メソッド情報に基づいて、特定した機器3を制御するための機器制御情報と、特定した仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。また、制御情報生成部117は、特定した仮想機器を制御するための仮想機器制御情報を生成した場合、当該仮想機器の制御メソッド情報に基づいて、機器制御情報と、更に他の仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。そして、制御情報生成部117は、更に他の仮想機器を制御するための仮想機器制御情報を生成した場合、当該仮想機器の制御メソッド情報に基づいて機器制御情報と仮想機器制御情報との少なくとも一方を生成することを繰り返す。また、制御情報生成部117は、生成した機器制御情報を、それに対応する機器3の機器識別情報に対応づけて制御情報記憶部136に記憶させる。
The control
制御情報通知部118は、制御情報記憶部136が記憶する制御情報を、制御情報に対応づけられた機器識別情報で識別される機器3それぞれへ送信する。また、制御情報通知部118は、制御情報を送信すると、送信した制御情報に対応づけられた機器識別情報を機器状態取得部111に通知するとともに、制御情報と制御内容の変更の対象となる仮想機器の機器識別情報とを操作結果通知部123に通知する。
The control
仮想機器更新部119は、端末装置5から送信される仮想機器を新たに追加するよう指令する仮想機器登録指令情報を取得すると、取得した仮想機器登録指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する。そして、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、取得した仮想機器登録指令情報に含まれる機種情報に基づいて、新たな仮想機器に対応するメソッド情報の基となる少なくとも1つのメソッドテンプレート情報を特定する。また、仮想機器更新部119は、特定した少なくとも1つのメソッドテンプレート情報の中から、クラウドサーバ1により制御可能な機器3それぞれの機器制御情報、機器状態情報のプロパティおよび仮想機器記憶部132が既に記憶している仮想機器制御情報、仮想機器状態情報のプロパティに基づいて、少なくとも1つのメソッドテンプレート情報を特定する。そして、仮想機器更新部119は、特定したメソッドテンプレート情報を用いて制御メソッド情報と状態決定メソッドとの少なくとも一方を生成する。ここで、仮想機器更新部119は、特定したメソッドテンプレート情報について、抽出したプロパティ情報が示すプロパティを仮想機器で使用する機器状態情報と仮想機器状態情報との少なくとも一方のプロパティ、或いは、仮想機器で使用する機器制御情報と仮想機器制御情報との少なくとも一方のプロパティに設定してインスタンス化することにより状態決定メソッド情報、制御メソッド情報を生成する。また、仮想機器更新部119は、前述のプロパティ情報と生成した状態決定メソッド情報、制御メソッド情報とこれらに対応する機器識別情報および機種情報とを、仮想機器記憶部132に新たに記憶させることで仮想機器記憶部132が記憶する仮想機器情報を更新する。一方、仮想機器更新部119は、端末装置5から送信される既に仮想機器記憶部132が記憶している仮想機器に対応する各種情報を削除するよう指令する仮想機器削除指令情報を取得すると、仮想機器削除指令情報に含まれる機器識別情報に対応するプロパティ情報と状態決定メソッド情報、制御メソッド情報と機種情報とを削除する形で仮想機器情報を更新する。
When the virtual
権限登録部120は、端末装置5から仮想機器を新たに追加するよう指令する仮想機器登録指令情報を取得すると、取得した仮想機器登録指令情報に含まれる利用者識別情報を、取得した仮想機器登録指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する。一方、権限登録部120は、端末装置5から既に仮想機器記憶部132が記憶している仮想機器に対応する各種情報を削除するよう指令する仮想機器削除指令情報を取得すると、取得した仮想機器削除指令情報に含まれる機器識別情報に対応する権限情報を削除する形で権限情報記憶部135が記憶する権限情報を更新する。
When the
連携判定部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
操作結果通知部123は、制御情報通知部118から通知される制御情報と、機器状態記憶部131が記憶する制御情報通知部118が送信した制御情報に基づいて動作を開始した後の機器3の機器状態情報とに基づいて、設定変更対象に仮想機器に対応する機器3それぞれの設定が正常に変更されたか否かを判定する。そして、操作結果通知部123は、機器3の設定が正常に変更されていないと判定すると、設定変更が失敗したことを通知する操作結果通知情報を生成して端末装置5へ送信する。一方、操作結果通知部123は、機器3の設定が正常に変更されたと判定すると、設定変更後の仮想機器状態情報を含む操作結果通知情報を生成して端末装置5へ送信する。
The operation
次に、本実施の形態に係る制御システムの動作について、図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
続いて、クラウドサーバ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
また、利用者が端末装置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
また、利用者が端末装置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
また、ステップS19およびS20が実行された後、クラウドサーバ1が、抽出した機器識別情報で識別される仮想機器の仮想機器情報を用いる当該仮想機器と連携する上位の仮想機器が有ると判定したとする(ステップS24)。この場合、クラウドサーバ1は、上位の仮想機器の機器識別情報とプロパティ情報とを含む警告通知情報を生成する(ステップS25)。その後、生成された警告通知情報が、クラウドサーバ1から端末装置5へ送信される(ステップS26)。一方、端末装置5は、警告通知情報を取得すると、取得した警告通知情報に含まれる機器識別情報とプロパティ情報とを抽出する(ステップS27)。次に、端末装置5は、抽出した機器識別情報とプロパティ情報とに基づいて、仮想機器を削除することにより機器識別情報で識別される仮想機器の仮想機器状態情報が影響を受けることを警告する警告通知画像を形成して表示部504に表示させる(ステップS28)。
Further, after steps S19 and S20 are executed, if the
また、利用者が、端末装置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
次に、生成された機器制御情報が、クラウドサーバ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
一方、クラウドサーバ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
また、ステップ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
また、ステップ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
次に、本実施の形態に係る端末装置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
その後、受付部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
続いて、通知取得部517は、クラウドサーバ1から送信される警告通知情報を取得したか否かを判定する(ステップS208)。ここで、通知取得部517が、警告通知情報を取得していないと判定すると(ステップS208:No)、後述のステップS211の処理が実行される。一方、通知取得部517は、警告通知情報を取得したと判定すると(ステップS208:Yes)、取得した警告通知情報に含まれる機器識別情報とプロパティ情報とを抽出する(ステップS209)。そして、通知取得部517は、抽出した機器識別情報とプロパティ情報とを表示制御部512に通知する。その後、表示制御部512は、通知取得部517から通知される機器識別情報とプロパティ情報とに基づいて、前述の警告通知画像を形成して表示部504に表示させる(ステップS210)。
Subsequently, the
次に、受付部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
その後、通知取得部517は、クラウドサーバ1から送信されるエラー通知情報を取得したか否かを判定する(ステップS215)。ここで、通知取得部517が、エラー通知情報を取得していないと判定すると(ステップS215:No)、再びステップS201の処理が実行される。一方、通知取得部517は、エラー通知情報を取得したと判定すると(ステップS215:Yes)、取得したエラー通知情報に含まれるエラーコード情報を表示制御部512に通知する。そして、表示制御部512は、通知取得部517から通知されるエラーコード情報に基づいて、エラー通知画像を形成して表示部504に表示させる(ステップS216)。その後、再びステップS201の処理が実行される。
Thereafter, the
次に、本実施の形態に係るクラウドサーバ1が実行する機器制御処理について、図14から図18を参照しながら説明する。なお、この機器制御処理は、クラウドサーバ1において機器制御処理を実行するためのプログラムが起動されたことを契機として開始される。まず、機器状態取得部111は、図14に示すように、機器3から送信される機器状態通知情報を取得したか否かを判定する(ステップS101)。ここで、機器状態取得部111が、機器状態通知情報を取得していないと判定すると(ステップS101:No)、後述のステップS106の処理が実行される。一方、機器状態取得部111は、機器状態通知情報を取得したと判定すると(ステップS101:Yes)、取得した機器状態通知情報に含まれる機器状態通知情報の送信元の機器3の機器状態情報、プロパティ情報、機器識別情報および機種情報を抽出する(ステップS102)。
Next, device control processing executed by the
次に、エラー判定部115は、仮想機器マスタ情報記憶部133が記憶する仮想機器マスタ情報に基づいて、抽出されたプロパティ情報が示すプロパティが適切であるか否かを判定するバリデーションチェック処理を実行し、プロパティが適切であるか否かを判定する(ステップS103)。ここで、エラー判定部115が、プロパティが不適切であると判定すると(ステップS103:No)、後述のステップS122の処理が実行される。一方、エラー判定部115により、プロパティが適切であると判定されると(ステップS103:Yes)、機器状態更新処理が実行される(ステップS104)。
Next, the
ここで、機器状態更新処理について、図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
図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
その後、仮想機器更新部119は、端末装置5から送信される前述の仮想機器登録指令情報を取得したか否かを判定する(ステップS106)。ここで、仮想機器更新部119が、仮想機器登録指令情報を取得していないと判定すると(ステップS106:No)、後述のステップS111の処理が実行される。一方、仮想機器更新部119は、仮想機器登録指令情報を取得したと判定すると(ステップS106:Yes)、取得した仮想機器登録指令情報に含まれる機器識別情報、プロパティ情報および機種情報を抽出する(ステップS107)。次に、仮想機器更新部119は、仮想機器マスタ情報記憶部133が記憶するメソッドテンプレート情報の中から、抽出した機種情報に対応する少なくとも1つのメソッドテンプレート情報を特定する(ステップS108)。続いて、仮想機器情報生成処理が実行される(ステップS109)。
After that, the virtual
ここで、仮想機器情報生成処理について、図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
図14に戻って、その後、仮想機器更新部119は、生成した仮想機器情報を追加する形で仮想機器記憶部132が記憶する仮想機器情報を更新する。また、権限登録部120は、取得した仮想機器追加指令情報に含まれる利用者識別情報を、取得した仮想機器追加指令情報に含まれる機器識別情報に対応する権限情報に追加する形で権限情報記憶部135が記憶する権限情報を更新する(ステップS110)。
Returning to FIG. 14, the virtual
次に、仮想機器更新部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
次に、制御情報取得部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
一方、エラー判定部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
ここで、制御情報生成処理について、図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
図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
次に、仮想機器状態情報生成部112および操作結果通知部123は、制御内容の変更対象の仮想機器に対応する機器3全てについて制御内容が正常に変更されたか否かを判定する(ステップS131)。ここで、操作結果通知部123は、制御内容の変更対象の仮想機器に対応する機器3のいずれかについて制御内容が正常に変更されなかったと判定すると(ステップS131:No)、仮想機器についての制御内容の変更が失敗したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS122)。一方、仮想機器状態情報生成部112は、制御内容の変更対象の仮想機器に対応する機器3全てについて設定が正常に変更されたと判定したとする(ステップS131:Yes)。この場合、操作結果通知部123は、仮想機器状態記憶部134が記憶する仮想機器状態情報と、これに対応する仮想機器の機器識別情報と、含む仮想機器の制御内容の変更が成功したことを通知する操作結果通知情報を生成して端末装置5へ送信する(ステップS132)。次に、再びステップS101の処理が実行される。
Next, the virtual device status
以上説明したように、本実施の形態に係るクラウドサーバ1によれば、制御情報生成部117が、制御メソッド情報に基づいて、機器3を制御するための機器制御情報と、仮想機器を制御するための仮想機器制御情報と、の少なくとも一方を生成する。これにより、仮想機器に対する操作を行うだけで、前述の複数の機器または操作対象の仮想機器とは異なる仮想機器に対して操作を行うことなく、仮想機器に対する操作内容に対応する複数の機器3または仮想機器に対する制御を実行することができる。従って、利用者は、複数の機器3または仮想機器それぞれに対する操作が不要となるので、その分、複数の機器3を連携して動作させる際の操作性を高めることができる。
As explained above, according to the
また、本実施の形態に係るクラウドサーバ1は、図15および図18を用いて説明したように、仮想機器に対して制御内容を変更するための制御内容情報を取得したときに、仮想機器の下位機器に仮想機器が含まれるか否かを判定しながら、下位機器が全て実際の機器3になるまでいわゆる下位機器を辿っていく処理を実行する。そして、最も上位の仮想機器の機能を実現するために必要な実際の機器3に対する制御情報を漏れなく生成する。また、クラウドサーバ1は、実際の機器3についてその状態が更新されたときに、状態が更新された機器3の上位の仮想機器が存在するか否かを判定しながら、上位の仮想機器が存在しなくなるまでいわゆる上位機器を辿っていく処理を実行する。そして、機器3の状態の更新に伴い状態の更新が必要な仮想機器全てについて、仮想機器の状態が漏れなく更新される。このように、クラウドサーバ1が、いわゆる上位機器、下位機器を辿っていく処理を実行できることにより、仮想機器情報を生成する際、仮想機器と機器3または仮想機器同士の上下関係を考慮する必要が無くなり、その分、仮想機器情報の生成処理を簡素化できるという利点がある。
Further, as described using FIGS. 15 and 18, the
更に、本実施の形態に係るクラウドサーバ1によれば、仮想機器それぞれの機能或いは機能群を実際の機器3の機能の区切りとは別に定義して、定義した機能或いは機能群単位で操作を行うことが可能になる。このため、利用者が仮想機器について定義された機能或いは機能群のみを意識して操作することが可能となるので、利用者の利便性を向上させることができる。
Further, according to the
以上、本開示の実施の形態について説明したが、本開示は前述の実施の形態によって限定されるものではない。例えば仮想機器更新部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
本構成によれば、仮想機器を削除した場合に、仮想機器を削除したことが、削除する仮想機器と連携する仮想機器の仮想機器状態情報に与える影響を小さくすることができる。従って、利用者にとって仮想機器の追加または削除する操作を円滑に行うことができるという利点がある。 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
実施の形態に係る制御システムでは、一定の周期で到来する機器状態取得時期が到来する毎に、クラウドサーバ1が、機器3に対して機器状態要求情報を送信する。但し、この場合、通信コストが高くなる虞がある。これに対して、本変形例では、機器3が自発的且つ定期的に機器状態通知情報を送信するため、機器状態要求情報の送信が不要となり、その分、通信コストを低減できるという利点がある。
In the control system according to the embodiment, the
実施の形態では、クラウドサーバ1が、機器状態通知情報を取得したタイミングで、仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新する例について説明した。但し、これに限らず、クラウドサーバ1が、仮想機器状態情報を取得したタイミングとは同期せずに、別の仮想機器状態情報の更新周期で、仮想機器状態情報を生成し、生成した仮想機器状態情報で仮想機器状態記憶部134が記憶する仮想機器状態情報を更新するものであってもよい。
In the embodiment, the
実施の形態では、クラウドサーバ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
本構成によれば、クラウドサーバ1において、仮想機器状態記憶部134が記憶する仮想機器状態情報が更新された場合でも、端末装置5からクラウドサーバ1へ仮想機器状態要求情報を送信しない限り、クラウドサーバ1から端末装置5へ更新後の仮想機器状態情報に基づく仮想機器状態通知情報が送信されないので、その分、通信コストが低減されるという利点がある。
According to this configuration, in the
実施の形態において、制御情報生成部117が、仮想機器状態記憶部134が記憶する仮想機器の仮想機器状態情報に基づいて、自発的に当該仮想機器に対応する複数の機器3に対する制御情報を生成するものであってもよい。例えば、クラウドサーバ1が、広域ネットワークNW1に接続された気象サーバから花粉情報を取得でき、仮想機器として「花粉センサ付き空気調和機」が定義されているとする。この場合、制御情報生成部117が、仮想機器状態記憶部134が記憶する「花粉センサ付き空気調和機」の花粉情報が示す花粉飛散量が予め設定された花粉飛散量基準値を超えると、仮想機器に対応する空気調和機3Aを換気運転させるための制御情報を生成して空気調和機3Aへ送信するようにしてもよい。
In the embodiment, the control
実施の形態では、端末装置5が表示部504に予め設定された複数種類の仮想機器を表す名称を表示し、利用者が表示された名称の中から追加したい仮想機器の名称を選択することで仮想機器追加操作が行われる例について説明した。但し、これに限らず、例えば利用者が、機器3のプロパティ情報と機種情報との組み合わせを自由に選択できるものであってもよい。
In the embodiment, the
また、本開示に係るクラウドサーバ1、端末装置5の各種機能は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。例えば、ネットワークに接続されているコンピュータに、上記動作を実行するためのプログラムを、コンピュータシステムが読み取り可能な非一時的な記録媒体(CD-ROM(Compact Disc Read Only Memory)等)に格納して配布し、当該プログラムをコンピュータシステムにインストールすることにより、上述の処理を実行するクラウドサーバ1、端末装置5を構成してもよい。
Further, various functions of the
また、コンピュータにプログラムを提供する方法は任意である。例えば、プログラムは、通信回線の掲示版(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
本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、この開示を説明するためのものであり、本開示の範囲を限定するものではない。すなわち、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、この開示の範囲内とみなされる。 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仮想機器とは異なる、前記複数の機器のうちの少なくとも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仮想機器の前記機器識別情報に対応づけられた前記権限情報に含まれる利用者識別情報と一致する場合、前記利用者に設定変更の権限があると判定し、前記機器制御情報と前記第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.
請求項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.
請求項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.
請求項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から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.
請求項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仮想機器とは異なる、前記複数の機器のうちの少なくとも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
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)
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 |
-
2022
- 2022-11-25 WO PCT/JP2022/043629 patent/WO2024111128A1/en unknown
- 2022-11-25 JP JP2023527667A patent/JP7438465B1/en active Active
Patent Citations (2)
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)
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 |
---|---|---|
JP4773510B2 (en) | Sensor network system, sensor network system data management method, sensor network system data management program | |
TWI615037B (en) | Method and apparatus for controlling sensor devices | |
JP6012727B2 (en) | Equipment management system, equipment management apparatus, equipment management method and program | |
BR112014004346B1 (en) | INTERFACE SYSTEM FOR A BUILDING, METHOD FOR CONTROLLING FIELD DEVICES IN A BUILDING AND CONTROL SYSTEM FOR A BUILDING | |
JP4399773B2 (en) | Control system | |
JP5976210B2 (en) | Monitoring system, facility management apparatus, monitoring method and program | |
JPH10308989A (en) | Measurement and control system initialization method | |
US20150347076A1 (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 | |
US20240168445A1 (en) | Building management system with adaptive edge processing | |
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 | |
JP5404943B2 (en) | Data collection device, data collection program, and data collection system | |
CN113544602A (en) | Control system, relay device, and relay program | |
JP2018124679A (en) | Server apparatus, control system, computer program and communication method | |
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 | |
US12055906B2 (en) | Building management system with flexible gateway configuration | |
JP2017130972A (en) | Control device, communication system, communication method, and program | |
JP6489387B2 (en) | system | |
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 |