JP2007188394A - Equipment control communication system, equipment control communication method, controller, and equipment control communication program - Google Patents
Equipment control communication system, equipment control communication method, controller, and equipment control communication program Download PDFInfo
- Publication number
- JP2007188394A JP2007188394A JP2006007255A JP2006007255A JP2007188394A JP 2007188394 A JP2007188394 A JP 2007188394A JP 2006007255 A JP2006007255 A JP 2006007255A JP 2006007255 A JP2006007255 A JP 2006007255A JP 2007188394 A JP2007188394 A JP 2007188394A
- Authority
- JP
- Japan
- Prior art keywords
- control
- information
- state information
- control state
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、少なくとも1つの機器と、前記機器に接続され、前記機器を制御する主制御装置と、前記主制御装置に接続され、前記主制御装置を介して前記機器を制御する少なくとも1つの副制御装置とを備える機器制御通信システムに関するものである。 The present invention includes at least one device, a main controller connected to the device and controlling the device, and at least one sub-device connected to the main controller and controlling the device via the main controller. The present invention relates to a device control communication system including a control device.
従来、ハイパーテキスト中にリアルタイムに変更されるデータが含まれる場合、リアルタイムにウェブブラウザにおけるハイパーテキスト画面の表示内容を更新するためには、ウェブブラウザが頻繁にハイパーテキストの再読み込みを行う必要がある。また、一般に対象となるハイパーテキストにはウェブブラウザ上の表示領域が含まれているため、ウェブブラウザが表示領域を更新する際に画面のちらつきが発生し、ユーザに違和感を与えることがあった。また、ハイパーテキストが大量の画像データを含む場合など、データ量が大きくなると、再読み込みする際の通信量が大きくなる上、ウェブブラウザが画面の表示内容を更新する処理時間も長くなっていた。 Conventionally, when hypertext contains data that changes in real time, it is necessary for the web browser to frequently reload the hypertext in order to update the display content of the hypertext screen in the web browser in real time. . Further, since the target hypertext generally includes a display area on the web browser, screen flickering occurs when the web browser updates the display area, which may give the user a sense of discomfort. Further, when the amount of data increases, such as when the hypertext includes a large amount of image data, the amount of communication at the time of reloading increases, and the processing time for the web browser to update the display content on the screen also increases.
例えば、特許文献1では、実時間システムにおけるデータを表すリアルタイムデータ指定を、ハイパーテキスト中の任意の場所に記述することができる拡張ハイパーテキストを処理してハイパーテキストを提供するHTTPサーバと、ハイパーテキストを閲覧するウェブブラウザを提供するウェブ・クライアントとを備えるハイパーテキスト表示システムが提案されている。このHTTPサーバは、拡張ハイパーテキストを読み込んでハイパーテキストを出力するハイパーテキスト生成手段を含み、ハイパーテキスト生成手段は、リアルタイムデータを管理するためのリアルタイムデータ管理テーブルと、拡張ハイパーテキストからリアルタイムデータ指定を特定し、リアルタイムデータ管理テーブルに登録するリアルタイムデータ指定特定手段と、リアルタイムデータ指定からリアルタイムデータの取得先を特定し、外部のリアルタイムデータ供給手段からリアルタイムデータを取得するリアルタイムデータ管理手段と、リアルタイムデータ管理手段の指示に従ってリアルタイムデータ管理テーブルを参照しながらハイパーテキストを出力するハイパーテキスト出力手段とを有するので、ハイパーテキスト中にリアルタイムに変更されるデータが含まれる場合、効率的にハイパーテキスト画面の表示内容を更新することができるという効果が示されている。
For example, in
また、例えば、特許文献2では、ユーザがウェブブラウザを用いて通信ネットワークを介して入出力装置にアクセスを可能とする制御システムが示されている。本文献によれば、複数の入出力モジュール又は装置を監視及び制御する分野に関して、特に複数の入出力モジュール又は装置をHTTPサーバに結合することを可能としており、本技術を一般的な家庭でのホームネットワークへ応用することができ、家庭内の機器がHTTPサーバに接続され、HTTPサーバに接続された複数のウェブ・クライアントのウェブブラウザから、HTTPサーバを介して機器を制御することを可能としている。
従来の技術として挙げた、リアルタイムに変更されるデータを含むハイパーテキストにおいて効率的に表示内容を更新するハイパーテキスト表示システム、及び、ユーザがウェブブラウザを用いて通信ネットワークを介して入出力装置にアクセスを可能とする制御システムは、家庭内のホームネットワークに応用できる。HTTPサーバが提供するハイパーテキストを受信し閲覧するウェブブラウザを提供するウェブ・クライアントを使用した従来の機器制御技術では、少なくとも1つの機器と前記機器を制御する主制御装置が接続されるサブネットに、主制御装置を介して少なくとも1つの副制御装置が接続されたホームネットワークの構成が考えられ、主制御装置がHTTPサーバ機能を有し、副制御装置がウェブ・クライアント機能を備える構成となる。 A hypertext display system that efficiently updates display contents in hypertext including data that is changed in real time, and the user accesses the input / output device via a communication network using a web browser. The control system that enables this can be applied to a home network in the home. In a conventional device control technology using a web client that provides a web browser for receiving and browsing hypertext provided by an HTTP server, at least one device and a subnet connected to a main control device that controls the device are connected to the subnet. A configuration of a home network in which at least one sub control device is connected via the main control device is conceivable. The main control device has an HTTP server function, and the sub control device has a web client function.
副制御装置が有する一般的なウェブ・クライアント機能としては、任意に定めた一定時間間隔ごとに、HTTPサーバにアクセスして最新の前記機器の制御状態情報を前記主制御装置から取得し、定期的に機器の状態を副制御装置において閲覧するウェブブラウザの画面上に表示するリフレッシュ機能によって、ユーザが最新の機器の制御状態を確認することができる。また、副制御装置が有するウェブ・クライアント機能のウェブブラウザにおいて、ユーザからのキー操作により、画面に表示された前記機器の制御状態情報を変更し、変更された制御状態情報を主制御装置に送り、主制御装置を経由して、機器を制御することが可能である。 The general web client function of the sub-control device is to access the HTTP server and acquire the latest control status information of the device from the main control device at regular time intervals that are arbitrarily defined. In addition, the user can confirm the latest control state of the device by the refresh function for displaying the device state on the screen of the web browser that is browsed on the sub-control device. Also, in the web browser of the web client function of the sub-control device, the control status information of the device displayed on the screen is changed by key operation from the user, and the changed control status information is sent to the main control device. It is possible to control the device via the main control device.
例えば、一般家庭におけるエアコン等で、通信機能を持つ情報家電製品のように、複数の制御装置で構成され、ウェブブラウザ機能を有する副制御装置から主制御装置を介して機器を制御し、構成要素ごとに入力できる操作者を定めないようなシステムがある。このようなシステムにおいて、一般的に、ユーザがウェブブラウザ機能を有する副制御装置を操作して機器の状態を変更する場合、ユーザが連続して機器の状態を変更する場面を想定し、あらかじめ定めた任意の時間を経過後に主制御装置に対して、最後に変更された機器の制御状態情報を送信する構成を採用している。また、決定ボタンを画面上に配置し、ユーザは、変更したい制御状態を変更した後、前記決定ボタンを押下することにより、変更した制御状態情報が前記主制御装置に送信される構成が考えられる。これによって、ユーザが連続的に機器の制御状態を変更したとしても、変更される度に制御状態情報が送信されることはなく、通信負荷を軽減し快適な操作性を実現している。 For example, an air conditioner or the like in a general home is configured with a plurality of control devices, such as an information home appliance having a communication function, and controls a device from a sub-control device having a web browser function via the main control device. There is a system that does not define an operator who can input each time. In such a system, in general, when the user changes the state of the device by operating the sub-control device having the web browser function, it is determined in advance assuming a situation in which the user continuously changes the state of the device. In addition, a configuration is adopted in which control state information of the last changed device is transmitted to the main control device after an arbitrary time has elapsed. Further, a configuration is conceivable in which the determination button is arranged on the screen, and the user changes the control state to be changed and then presses the determination button to transmit the changed control state information to the main control device. . Thereby, even if the user continuously changes the control state of the device, the control state information is not transmitted every time the device is changed, and the communication load is reduced and comfortable operability is realized.
しかしながら、前述のように機器は、主制御装置、別の副制御装置、機器に付属の赤外線リモコン又は機器本体など複数の箇所から制御が可能である。そのため、主にウェブブラウザを使用する副制御装置からのトリガーで、HTTPサーバを含む主制御装置に対して、一定時間間隔で主制御装置に接続された機器の制御状態の取得要求を行い、取得した制御状態を画面に表示することによって、機器の最新の制御状態を確認できるリフレッシュ機能が副制御装置に設けられている。この副制御装置においては、副制御装置をユーザが操作し機器の制御状態を変更している間、すなわち、ユーザが操作した後、予め定めた任意の時間を経過する前に、前記リフレッシュ機能が作動し、ユーザの意図に反して、機器の制御状態が別の制御状態に変更されてしまうという課題を有していた。 However, as described above, the device can be controlled from a plurality of locations such as a main control device, another sub-control device, an infrared remote controller attached to the device, or the device main body. For this reason, a trigger from a sub-control device that mainly uses a web browser makes a request to acquire the control status of the device connected to the main control device at regular intervals to the main control device including the HTTP server. The sub-control device is provided with a refresh function that allows the latest control state of the device to be confirmed by displaying the control state on the screen. In this sub control device, while the sub control device is operated by the user and the control state of the device is changed, that is, after the user operates, the refresh function is performed before a predetermined time elapses. It operated and had the subject that the control state of an apparatus will be changed into another control state contrary to a user's intention.
一方、一般的に複数の制御装置から制御が行われた場合は、後の制御が有効になるのが自然である。前述のように、ユーザがウェブブラウザ機能を有する副制御装置を操作して機器の状態を変更する場合、ユーザが連続して機器の状態を変更する場面を想定し、あらかじめ定めた任意の時間を経過後に主制御装置に対して、最後に変更された機器の制御状態情報を送信する構成を採用している場合、実際にユーザが機器の制御状態を変更した時刻と、制御状態情報が送信され、主制御装置が受信する時間とが異なる。ユーザが副制御装置において機器の状態を変更した後、主制御装置において機器の状態を変更し、その後、副制御装置から機器の制御状態情報が送信される場合が考えられる。この場合、主制御装置からの制御が先に行われ、副制御装置からの制御が後に行われ、実際には主制御装置からの制御が後であるにもかかわらず、副制御装置からの制御が有効となってしまうという課題を有していた。 On the other hand, when control is generally performed from a plurality of control devices, it is natural that the subsequent control is effective. As described above, when the user changes the state of the device by operating the sub-control device having the web browser function, it is assumed that the user continuously changes the state of the device. When a configuration is adopted in which the control state information of the last changed device is transmitted to the main control device after the elapse of time, the time when the user actually changed the control state of the device and the control state information are transmitted. The time received by the main controller is different. It is conceivable that after the user changes the state of the device in the sub-control device, the device state is changed in the main control device, and then the control state information of the device is transmitted from the sub-control device. In this case, control from the main control unit is performed first, control from the sub control unit is performed later, and control from the sub control unit is actually performed even though control from the main control unit is later. Had the problem of becoming effective.
本発明は、上記の問題を解決するためになされたもので、ユーザが意図する通りの快適な機器制御操作を実現することができる機器制御通信システム、機器制御通信方法、制御装置及び機器制御通信プログラムを提供することを目的とするものである。 The present invention has been made to solve the above-described problem, and can provide a device control communication system, a device control communication method, a control device, and a device control communication capable of realizing a comfortable device control operation as intended by a user. The purpose is to provide a program.
本発明に係る機器制御通信システムは、少なくとも1つの機器と、前記機器に接続され、前記機器を制御する主制御装置と、前記主制御装置に接続され、前記主制御装置を介して前記機器を制御する少なくとも1つの副制御装置とを備える機器制御通信システムであって、前記副制御装置は、前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段とを備え、前記主制御装置は、前記制御要求情報及び前記取得要求情報のいずれか1つを受信する要求情報受信手段と、前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段とを備える。 The device control communication system according to the present invention includes at least one device, a main control device connected to the device and controlling the device, and connected to the main control device, and the device is connected via the main control device. A device control communication system comprising at least one sub-control device for controlling, wherein the sub-control device holds at least one control state information indicating a control state of the device, and the control Control state information display means for displaying control state information held by the state information holding means, control state information changing means for changing control state information held by the control state information holding means, an address of the device, and an address of the device Control request information including at least one control state information indicating a control state and a control request code indicating that the device is controlled; or Request information transmitting means for transmitting acquisition request information including at least an acquisition address code indicating that an address of the device and a control state of the device are requested, and to the device by the control state information held by the control state information holding means Control state information confirmation means for instructing the request information transmission means to transmit control request information, and when the control state information is changed by the control state information change means State information holding means for holding state information and holding state information indicating that the control state information is confirmed when the control state information is confirmed by the control state information confirmation means, and the state information holding means is in the confirmed state When the status information indicating the status information is held, the request information transmission means is instructed to transmit the acquisition request information at regular time intervals, and the status information holding means changes. When holding state information indicating a middle state, periodic update means that does not instruct transmission of the acquisition request information, and control state information of the device as a response to the acquisition request information transmitted by the request information transmission means Acquisition response information including at least acquisition control information, and acquisition control reception means for changing the control state information held by the control state information holding unit to control state information included in the acquisition response information, and the main control device comprises: Request information receiving means for receiving any one of the control request information and the acquisition request information, and the control request information received by the request information receiving means when the request information receiving means receives the control request information. Control information holding means for holding control information including at least control state information included in the control information, and control state information held by the control information holding means Accordingly, the device control means for controlling the device and the acquisition response transmission means for transmitting the acquisition response information including at least the control status information held by the control information holding means when the request information receiving means receives the acquisition request information. With.
本発明に係る機器制御通信方法は、少なくとも1つの機器と、前記機器に接続され、前記機器を制御する主制御装置と、前記主制御装置に接続され、前記主制御装置を介して前記機器を制御する少なくとも1つの副制御装置とを備え、前記副制御装置から前記機器を制御するための機器制御通信方法であって、前記副制御装置は、制御状態情報保持手段、制御状態情報表示手段、制御状態情報変更手段、要求情報送信手段、制御状態情報確定手段、状態情報保持手段、定期更新手段及び取得応答受信手段を備え、前記主制御装置は、要求情報受信手段、制御情報保持手段、機器制御手段及び取得応答送信手段を備え、前記制御状態情報保持手段が、前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持ステップと、前記制御状態情報表示手段が、前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示ステップと、前記制御状態情報変更手段が、前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更ステップと、前記要求情報送信手段が、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信ステップと、前記制御状態情報確定手段が、前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定ステップと、前記状態情報保持手段が、前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持ステップと、前記定期更新手段が、前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新ステップと、前記取得応答受信手段が、前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信ステップと、前記要求情報受信手段が、前記制御要求情報及び前記取得要求情報のいずれか1つを受信する要求情報受信ステップと、前記制御情報保持手段が、前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持ステップと、前記機器制御手段が、前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御ステップと、前記取得応答送信手段が、前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信ステップとを含む。 The device control communication method according to the present invention includes at least one device, a main control device that is connected to the device and controls the device, and is connected to the main control device, and the device is connected via the main control device. A device control communication method for controlling the device from the sub-control device, wherein the sub-control device includes control state information holding means, control state information display means, A control state information changing unit, a request information transmitting unit, a control state information determining unit, a state information holding unit, a periodic updating unit, and an acquisition response receiving unit, wherein the main control unit includes a request information receiving unit, a control information holding unit, and a device. A control state information holding step, comprising control means and acquisition response transmission means, wherein the control state information holding means holds at least one control state information indicating a control state of the device; A control state information display step in which the control state information display means displays control state information held in the control state information holding means; and a control state in which the control state information change means holds in the control state information holding means A control state information changing step for changing information, and at least one control state information indicating the address of the device, the control state of the device, and a control request code indicating that the device is to be controlled by the request information transmitting means. A request information transmission step for transmitting acquisition request information including at least control request information including at least the address of the device and an acquisition request code indicating requesting a control state of the device; The control status information held by the control status information holding means confirms the control to the device and transmits the request information Control state information confirmation step for instructing transmission of control request information to the stage, and state information indicating that the state information holding means is in a changing state when the control state information is changed by the control state information changing means. A state information holding step for holding state information indicating that the control state information is determined when the control state information is determined by the control state information determining unit, and the periodic update unit is configured to If the status information indicating that the status information is being held is instructed to transmit the acquisition request information to the request information transmission means at regular time intervals, the status information indicating that the status information holding means is being changed is held. The periodic update step that does not instruct the transmission of the acquisition request information, and the acquisition response reception means is the acquisition transmitted by the request information transmission means. An acquisition response for receiving acquisition response information including at least the control state information of the device as a response to the request information, and changing the control state information held by the control state information holding unit to the control state information included in the acquisition response information A receiving step, a request information receiving step in which the request information receiving means receives any one of the control request information and the acquisition request information, a control information holding means, and the request information receiving means in the control request A control information holding step for holding control information including at least control state information included in the control request information received by the request information receiving means; and the device control means is held by the control information holding means when the information is received. A device control step for controlling the device according to the control status information, and the acquisition response transmitting means includes the request information receiver If There receiving the acquisition request information, including the acquisition response transmission step of transmitting the acquisition response information including at least a control state information and the control information holding means for holding.
これらの構成によれば、副制御装置において、機器の制御状態を表す制御状態情報が少なくとも1つ制御状態情報保持手段に保持され、制御状態情報保持手段に保持される制御状態情報が表示される。制御状態情報保持手段に保持される制御状態情報が変更され、機器のアドレスと機器の制御状態を示す少なくとも1つの制御状態情報と機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、機器のアドレスと機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報が要求情報送信手段によって送信される。その後、制御状態情報保持手段に保持される制御状態情報による機器への制御が確定され、要求情報送信手段に制御要求情報の送信が指示される。また、状態情報保持手段に、制御状態情報が変更された時に変更中状態であることを表す状態情報が保持されるとともに、制御状態情報が確定された時に確定状態であることを表す状態情報が保持される。このとき、状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ取得要求情報の送信が指示され、状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、取得要求情報の送信が指示されない。そして、要求情報送信手段によって送信された取得要求情報に対する応答として機器の制御状態情報を少なくとも含む取得応答情報が受信され、制御状態情報保持手段が保持する制御状態情報が、取得応答情報に含まれる制御状態情報に変更される。また、主制御装置において、制御要求情報及び取得要求情報のいずれか1つが受信され、制御要求情報が受信された場合、受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報が制御情報保持手段に保持される。そして、制御情報保持手段に保持される制御状態情報に従って機器が制御される。また、取得要求情報が受信された場合、制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報が送信される。 According to these configurations, in the sub control device, at least one control state information indicating the control state of the device is held in the control state information holding unit, and the control state information held in the control state information holding unit is displayed. . Control state information held in the control state information holding unit is changed, and control request information including at least one control state information indicating an address of the device, a control state of the device, and a control request code indicating controlling the device Alternatively, acquisition request information including at least an acquisition address code indicating that a device address and a control state of the device are requested is transmitted by the request information transmission unit. Thereafter, control to the device based on the control state information held in the control state information holding unit is confirmed, and the request information transmission unit is instructed to transmit the control request information. In addition, the state information holding means holds state information indicating that the control state information is being changed when the control state information is changed, and state information indicating that the control state information is determined when the control state information is determined. Retained. At this time, when the state information holding unit holds the state information indicating that it is in the confirmed state, the request information transmitting unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding unit is in the changing state. When the status information indicating that there is, the acquisition request information is not instructed to be transmitted. Then, the acquisition response information including at least the control state information of the device is received as a response to the acquisition request information transmitted by the request information transmitting unit, and the control state information held by the control state information holding unit is included in the acquisition response information Changed to control status information. In the main control device, when any one of the control request information and the acquisition request information is received and the control request information is received, the control information including at least the control state information included in the received control request information is the control information. It is held by the holding means. Then, the device is controlled according to the control state information held in the control information holding means. When the acquisition request information is received, acquisition response information including at least control state information held by the control information holding unit is transmitted.
したがって、副制御装置において機器の制御状態情報が変更中である場合、取得要求情報が送信されず、変更された機器の制御状態情報が主制御装置へ送信されるまでの間は、副制御装置の画面上に表示されている機器の制御状態の表示が主制御装置から受信した制御状態情報に変更されることがないので、副制御装置において機器の制御状態を変更しているユーザの意図に反して表示内容が自動的に変更されてしまうのを防止し、ユーザが意図する通りの快適な機器制御操作を実現することができる。 Therefore, when the control state information of the device is being changed in the sub control device, the acquisition request information is not transmitted, and until the changed device control state information is transmitted to the main control device, the sub control device Since the display of the control state of the device displayed on the screen of the device is not changed to the control state information received from the main control device, it is intended by the user who has changed the control state of the device in the sub control device. On the other hand, it is possible to prevent the display content from being automatically changed and to realize a comfortable device control operation as intended by the user.
また、上記の機器制御通信システムにおいて、前記取得応答受信手段は、前記取得応答情報を少なくとも含むハイパーテキストを受信し、前記制御状態情報表示手段は、前記ハイパーテキストを処理し閲覧を可能とするウェブブラウザ手段を含むことが好ましい。 In the device control communication system, the acquisition response receiving unit receives hypertext including at least the acquisition response information, and the control state information display unit processes the hypertext and enables browsing. Preferably it includes browser means.
この構成によれば、取得応答情報を少なくとも含むハイパーテキストが受信され、ハイパーテキストを処理し閲覧を可能とするウェブブラウザ手段によって取得応答情報に含まれる制御状態情報を表示することができる。 According to this configuration, the hypertext including at least the acquisition response information is received, and the control state information included in the acquisition response information can be displayed by the web browser means that processes the hypertext and enables browsing.
また、上記の機器制御通信システムにおいて、前記取得応答送信手段は、ハイパーテキストトランスファープロトコルに基づいて前記ハイパーテキストを送信することが好ましい。 Moreover, in said apparatus control communication system, it is preferable that the said acquisition response transmission means transmits the said hypertext based on a hypertext transfer protocol.
この構成によれば、ハイパーテキストトランスファープロトコルに基づいてハイパーテキストが送信されるので、規定のプロトコルに基づいてハイパーテキストを確実に送信することができる。 According to this configuration, since the hypertext is transmitted based on the hypertext transfer protocol, it is possible to reliably transmit the hypertext based on the prescribed protocol.
また、上記の機器制御通信システムにおいて、前記ウェブブラウザ手段は、一定時間間隔毎に前記要求情報送信手段へ前記取得要求情報の送信を指示するリフレッシュ機能を有し、前記定期更新手段は、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記リフレッシュ機能を無効とすることが好ましい。 In the device control communication system, the web browser means has a refresh function for instructing the request information transmission means to transmit the acquisition request information at regular time intervals, and the periodic update means When the information holding unit holds state information indicating that the information is being changed, it is preferable to disable the refresh function.
この構成によれば、ウェブブラウザ手段は、一定時間間隔毎に要求情報送信手段へ取得要求情報の送信を指示するリフレッシュ機能を有しており、状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、リフレッシュ機能が無効とされるので、副制御装置の画面上に表示されている機器の制御状態の表示がユーザの意図に反して変更されるのを防止することができる。 According to this configuration, the web browser means has a refresh function for instructing the request information transmitting means to transmit the acquisition request information at regular time intervals, indicating that the state information holding means is in a changing state. When the status information is retained, the refresh function is invalidated, so that the display of the control status of the device displayed on the screen of the sub-control device can be prevented from being changed against the user's intention. .
また、上記の機器制御通信システムにおいて、前記取得応答受信手段は、前記取得応答情報を受信した時、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記制御状態情報保持手段が保持する制御状態情報を、受信した取得応答情報に含まれる制御状態情報に変更しないことが好ましい。 Further, in the device control communication system, when the acquisition response receiving unit holds the state information indicating that the state information holding unit is in a changing state when the acquisition response information is received, the control state It is preferable that the control state information held by the information holding unit is not changed to the control state information included in the received acquisition response information.
この構成によれば、取得応答情報が受信された時、状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、制御状態情報保持手段が保持する制御状態情報が、受信した取得応答情報に含まれる制御状態情報に変更されない。したがって、たとえ主制御装置から取得応答情報を受信したとしても、副制御装置において制御状態情報が変更中であれば制御状態情報が変更されないので、副制御装置の画面上に表示されている機器の制御状態の表示がユーザの意図に反して変更されるのを防止することができる。 According to this configuration, when the acquisition information is received, when the state information holding unit holds the state information indicating that the state is changing, the control state information held by the control state information holding unit is received. The control status information included in the acquisition response information is not changed. Therefore, even if the acquisition response information is received from the main control device, the control status information is not changed if the control status information is being changed in the sub control device, so that the device displayed on the screen of the sub control device is not changed. It is possible to prevent the display of the control state from being changed against the user's intention.
また、上記の機器制御通信システムにおいて、前記定期更新手段は、前記状態情報保持手段が保持する状態情報の内容に関わらず、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示することが好ましい。 In the device control communication system, the periodic update unit instructs the request information transmission unit to transmit the acquisition request information at regular time intervals regardless of the content of the state information held by the state information holding unit. It is preferable to do.
この構成によれば、状態情報保持手段が保持する状態情報の内容に関わらず、一定時間間隔毎に要求情報送信手段へ取得要求情報の送信が指示されるので、副制御装置において制御状態情報が変更中であっても、定期的に送信される取得要求情報を送信することができる。 According to this configuration, since the request information transmission unit is instructed to transmit the acquisition request information at regular time intervals regardless of the state information held by the state information holding unit, the control state information is Even during the change, the acquisition request information that is periodically transmitted can be transmitted.
また、上記の機器制御通信システムにおいて、前記副制御装置は、前記制御状態情報保持手段が保持する制御状態情報が前記制御状態情報変更手段によって変更された時、時間の計測を開始し、任意に定める時間が経過した時、計測を終了する確定タイマー手段をさらに備え、前記制御状態情報確定手段は、前記確定タイマー手段が計測を終了した時、前記制御状態情報保持手段が保持する制御状態情報による前記機器の制御を確定することが好ましい。 In the device control communication system, the sub-control device starts measuring time when the control state information held by the control state information holding unit is changed by the control state information changing unit, and arbitrarily Further, a confirmation timer means for ending the measurement when a predetermined time has elapsed, and the control state information confirmation means is based on the control state information held by the control state information holding means when the confirmation timer means finishes the measurement. It is preferable to establish control of the device.
この構成によれば、制御状態情報保持手段が保持する制御状態情報が変更された時、確定タイマー手段の時間の計測が開始され、任意に定める時間が経過した時、計測が終了され、確定タイマー手段が計測を終了した時、制御状態情報保持手段が保持する制御状態情報による機器の制御が確定される。したがって、変更してから所定時間経過した後に制御状態情報が変更内容に確定されるので、ユーザが変更した制御状態情報を確定する手間を省くことができる。 According to this configuration, when the control state information held by the control state information holding unit is changed, measurement of the time of the confirmation timer unit is started, and when an arbitrarily determined time has elapsed, the measurement is ended, and the confirmation timer When the means finishes the measurement, the control of the device based on the control state information held by the control state information holding means is confirmed. Therefore, since the control state information is confirmed as the change content after a predetermined time has elapsed since the change, it is possible to save time and labor for confirming the control state information changed by the user.
また、上記の機器制御通信システムにおいて、前記確定タイマー手段は、前記制御状態情報確定手段によって前記制御状態情報保持手段が保持する制御状態情報による前記機器の制御を確定した時、計測を終了することが好ましい。 Further, in the device control communication system, the confirmation timer unit ends the measurement when the control state information determination unit determines control of the device based on the control state information held by the control state information holding unit. Is preferred.
この構成によれば、制御状態情報保持手段が保持する制御状態情報による機器の制御が確定された時、確定タイマー手段の計測が終了されるので、ユーザにより制御状態情報が確定された場合に自動的に時間の計測を停止させることができる。 According to this configuration, when the control of the device based on the control state information held by the control state information holding unit is confirmed, the measurement of the confirmation timer unit is terminated, so that it is automatically performed when the control state information is confirmed by the user. Thus, the time measurement can be stopped.
また、上記の機器制御通信システムにおいて、前記要求情報送信手段は、前記制御要求情報を送信する場合、当該制御要求情報に、前記確定タイマー手段が計測を開始してから計測を終了するまでの確定遅延時間を含めることが好ましい。 Further, in the device control communication system, when the request information transmission unit transmits the control request information, the request information transmission unit confirms the control request information from the start of the determination timer unit to the end of the measurement. It is preferable to include a delay time.
この構成によれば、確定タイマー手段が計測を開始してから計測を終了するまでの確定遅延時間を、制御要求情報に含めて送信されるので、この確定遅延時間を考慮して機器を制御することができる。 According to this configuration, since the definite delay time from when the deterministic timer means starts the measurement until the measurement is completed is transmitted in the control request information, the device is controlled in consideration of this definite delay time. be able to.
また、上記の機器制御通信システムにおいて、前記要求情報受信手段は、前記制御要求情報を受信した場合、前記制御要求情報を受信した時刻から、当該制御要求情報に含まれる前記確定遅延時間を差し引いた時刻を変更時刻として前記制御情報に含め、前記主制御装置は、前記要求情報受信手段が前記制御要求情報を受信した場合、前記制御情報保持手段が既に制御情報を保持している場合、前記制御情報に含まれる変更時刻と前記制御情報保持手段が既に保持している変更時刻とを比較する変更時刻比較手段をさらに備え、前記制御情報保持手段は、前記変更時刻比較手段による比較の結果、前記制御情報に含まれる変更時刻が、前記制御情報保持手段が既に保持している変更時刻よりも後である場合、前記制御情報を保持することが好ましい。 In the device control communication system, when the request information receiving unit receives the control request information, the request information receiving unit subtracts the fixed delay time included in the control request information from the time when the control request information is received. The main control device includes a time as a change time in the control information, and the main control device, when the request information receiving means receives the control request information, when the control information holding means already holds the control information, A change time comparing means for comparing the change time included in the information with the change time already held by the control information holding means, the control information holding means, as a result of the comparison by the change time comparing means, If the change time included in the control information is later than the change time already held by the control information holding means, it is preferable to hold the control information. Arbitrariness.
この構成によれば、主制御装置において、制御要求情報が受信された場合、制御要求情報が受信された時刻から、当該制御要求情報に含まれる確定遅延時間を差し引いた時刻を変更時刻として制御情報に含める。そして、制御要求情報が受信された際に、制御情報保持手段に既に制御情報が保持されている場合、制御情報に含まれる変更時刻と制御情報保持手段が既に保持している変更時刻とが比較され、比較の結果、制御情報に含まれる変更時刻が、制御情報保持手段に既に保持されている変更時刻よりも後である場合、当該制御情報が保持される。 According to this configuration, when the control request information is received in the main control device, the control information is obtained by subtracting the fixed delay time included in the control request information from the time when the control request information is received. Include in When the control information is already held in the control information holding unit when the control request information is received, the change time included in the control information is compared with the change time already held in the control information holding unit. As a result of the comparison, when the change time included in the control information is later than the change time already held in the control information holding means, the control information is held.
したがって、複数の制御装置から短時間に制御が集中した場合であっても、実際に機器の制御状態を変更した時刻を比較し、時間的に後の制御を有効にすることができ、機器に対して最新の制御状態を反映させることができる。 Therefore, even when control is concentrated from a plurality of control devices in a short time, the time when the control state of the device is actually changed can be compared, and later control in time can be validated. On the other hand, the latest control state can be reflected.
また、上記の機器制御通信システムにおいて、前記取得応答送信手段は、前記変更時刻比較手段による比較の結果、前記制御情報に含まれる変更時刻が、前記制御情報保持手段が既に保持している変更時刻よりも前である場合、前記制御情報保持手段が保持する制御情報に含まれる制御状態情報を前記取得応答情報に含めて前記副制御装置へ送信することが好ましい。 Further, in the device control communication system, the acquisition response transmission unit may change the change time included in the control information as a result of the comparison by the change time comparison unit to the change time already held by the control information holding unit. If it is before, it is preferable that the control status information included in the control information held by the control information holding means is included in the acquisition response information and transmitted to the sub-control device.
この構成によれば、制御情報に含まれる変更時刻と制御情報保持手段が既に保持している変更時刻とが比較され、比較の結果、制御情報に含まれる変更時刻が、制御情報保持手段が既に保持している変更時刻よりも前である場合、制御情報保持手段が保持する制御情報に含まれる制御状態情報が取得応答情報に含めて副制御装置へ送信される。したがって、別の制御装置の制御が有効となり、自らが実施した制御が無効になった場合、副制御装置は、主制御装置から最新の機器の制御状態の通知を受け、表示に反映することができる。これにより、ユーザは、他の制御装置によって機器の制御状態が変更されたことを認識することができ、複数の制御装置による機器の制御及び機器の状態同期において、違和感のない自然な操作性を実現することができる。 According to this configuration, the change time included in the control information is compared with the change time already held by the control information holding unit. As a result of the comparison, the change time included in the control information is already determined by the control information holding unit. If it is before the held change time, the control state information included in the control information held by the control information holding means is included in the acquisition response information and transmitted to the sub-control device. Therefore, when the control of another control device becomes valid and the control performed by itself becomes invalid, the sub-control device may receive a notification of the latest control status of the device from the main control device and reflect it in the display. it can. As a result, the user can recognize that the control state of the device has been changed by another control device, and in the control of the device by the plurality of control devices and the state synchronization of the device, a natural operability without a sense of incongruity is achieved. Can be realized.
本発明に係る制御装置は、少なくとも1つの機器を制御する他の制御装置に接続され、前記他の制御装置を介して前記機器を制御する制御装置であって、前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段とを備える。 A control device according to the present invention is a control device that is connected to another control device that controls at least one device and controls the device via the other control device, and represents a control state of the device. Control state information holding means for holding at least one state information; control state information display means for displaying control state information held by the control state information holding means; and control state information held by the control state information holding means. Control state information changing means for changing, control request information including at least one control state information indicating an address of the device, a control state of the device, and a control request code indicating controlling the device, or Request information transmission means for transmitting acquisition request information including at least an apparatus address and an acquisition request code indicating that the control state of the apparatus is requested. A control state information determining unit that determines control to the device based on the control state information held by the control state information holding unit, and instructs the request information transmitting unit to transmit control request information; and the control state information changing unit When the control state information is changed, the state information indicating that the state is being changed is held, and when the control state information is determined by the control state information determination unit, the state information indicating the determined state is stored. When holding the status information indicating that the status information holding means and the status information holding means are in a confirmed state, the request information transmitting means is instructed to transmit the acquisition request information at regular time intervals, and the status information holding is performed. When the state information indicating that the means is in a changing state is held, the periodic update means that does not instruct the transmission of the acquisition request information and the request information transmission means Control status information included in the acquisition response information includes control response information that is received by the control status information storage unit and that receives control response information including at least the control status information of the device as a response to the acquired acquisition request information. Acquisition response receiving means for changing to
本発明に係る機器制御通信プログラムは、少なくとも1つの機器を制御する他の制御装置に接続され、前記他の制御装置を介して前記機器を制御するための機器制御通信プログラムであって、前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段としてコンピュータを機能させる。 A device control communication program according to the present invention is a device control communication program connected to another control device that controls at least one device, and for controlling the device via the other control device. Control state information holding means for holding at least one control state information representing the control state, control state information display means for displaying the control state information held by the control state information holding means, and the control state information holding means Control including at least control state information changing means for changing control state information to be held, at least one control state information indicating the address of the device, a control state of the device, and a control request code indicating controlling the device Acquisition including at least request information or an acquisition request code indicating that the device address and the control state of the device are requested Control state information for confirming control to the device by request information transmission means for transmitting request information and control state information held by the control state information holding means and instructing the request information transmission means to transmit control request information When the control state information is changed by the determining means and the control state information changing means, state information indicating that the state is being changed is held, and when the control state information is determined by the control state information determining means, the determined state State information holding means for holding the state information indicating that the acquisition request information is sent to the request information transmission means at regular time intervals when the state information holding means holds the state information indicating that the state information holding means is in a definite state. Periodic update that does not instruct transmission of the acquisition request information when the state information holding means holds state information indicating that it is in a changing state. And receiving the acquisition response information including at least the control state information of the device as a response to the acquisition request information transmitted by the request information transmission unit, the control state information held by the control state information holding unit, The computer is caused to function as an acquisition response receiving means for changing to the control state information included in the acquisition response information.
これらの構成によれば、機器の制御状態を表す制御状態情報が少なくとも1つ制御状態情報保持手段に保持され、制御状態情報保持手段に保持される制御状態情報が表示される。制御状態情報保持手段に保持される制御状態情報が変更され、機器のアドレスと機器の制御状態を示す少なくとも1つの制御状態情報と機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、機器のアドレスと機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報が要求情報送信手段によって送信される。その後、制御状態情報保持手段に保持される制御状態情報による機器への制御が確定され、要求情報送信手段に制御要求情報の送信が指示される。また、状態情報保持手段に、制御状態情報が変更された時に変更中状態であることを表す状態情報が保持されるとともに、制御状態情報が確定された時に確定状態であることを表す状態情報が保持される。このとき、状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ取得要求情報の送信が指示され、状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、取得要求情報の送信が指示されない。そして、要求情報送信手段によって送信された取得要求情報に対する応答として機器の制御状態情報を少なくとも含む取得応答情報が受信され、制御状態情報保持手段が保持する制御状態情報が、取得応答情報に含まれる制御状態情報に変更される。 According to these configurations, at least one piece of control state information representing the control state of the device is held in the control state information holding unit, and the control state information held in the control state information holding unit is displayed. Control state information held in the control state information holding unit is changed, and control request information including at least one control state information indicating an address of the device, a control state of the device, and a control request code indicating controlling the device Alternatively, acquisition request information including at least an acquisition address code indicating that a device address and a control state of the device are requested is transmitted by the request information transmission unit. Thereafter, control to the device based on the control state information held in the control state information holding unit is confirmed, and the request information transmission unit is instructed to transmit the control request information. In addition, the state information holding means holds state information indicating that the control state information is being changed when the control state information is changed, and state information indicating that the control state information is determined when the control state information is determined. Retained. At this time, when the state information holding unit holds the state information indicating that it is in the confirmed state, the request information transmitting unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding unit is in the changing state. When the status information indicating that there is, the acquisition request information is not instructed to be transmitted. Then, the acquisition response information including at least the control state information of the device is received as a response to the acquisition request information transmitted by the request information transmitting unit, and the control state information held by the control state information holding unit is included in the acquisition response information Changed to control status information.
したがって、制御装置において機器の制御状態情報が変更中である場合、取得要求情報が送信されず、変更された機器の制御状態情報が他の制御装置へ送信されるまでの間は、制御装置の画面上に表示されている機器の制御状態の表示が他の制御装置から受信した制御状態情報に変更されることがないので、制御装置において機器の制御状態を変更しているユーザの意図に反して表示内容が自動的に変更されてしまうのを防止し、ユーザが意図する通りの快適な機器制御操作を実現することができる。 Therefore, when the control state information of the device is being changed in the control device, the acquisition request information is not transmitted, and until the control state information of the changed device is transmitted to another control device, Since the display of the control status of the device displayed on the screen is not changed to the control status information received from another control device, it is contrary to the intention of the user who is changing the control status of the device in the control device. Thus, it is possible to prevent the display contents from being automatically changed and to realize a comfortable device control operation as intended by the user.
本発明に係る制御装置は、少なくとも1つの機器と、制御装置を介して前記機器を制御する少なくとも1つの他の制御装置とに接続され、前記機器を制御する制御装置であって、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、及び前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報のいずれか1つを前記他の制御装置から受信する要求情報受信手段と、前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段とを備える。 A control device according to the present invention is a control device that controls the device, and is connected to at least one device and at least one other control device that controls the device via the control device. Requesting control request information including at least an address, at least one control state information indicating a control state of the device, and a control request code indicating control of the device, and an address of the device and a control state of the device Request information receiving means for receiving any one of the acquisition request information including at least an acquisition request code indicating the request information from the other control device, and when the request information receiving means receives the control request information, the request information Control information holding means for holding control information including at least control state information included in the control request information received by the receiving means, and the control information holding Acquisition response information including at least control state information held by the control information holding unit when the request information receiving unit receives the acquisition request information, and a device control unit that controls the device according to the control state information held by the stage Acquisition response transmission means for transmitting.
本発明に係る機器制御通信プログラムは、少なくとも1つの機器と、制御装置を介して前記機器を制御する少なくとも1つの他の制御装置とに接続され、前記機器を制御するための機器制御通信プログラムであって、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、及び前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報のいずれか1つを前記他の制御装置から受信する要求情報受信手段と、前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段としてコンピュータを機能させる。 The device control communication program according to the present invention is a device control communication program for controlling the device connected to at least one device and at least one other control device that controls the device via the control device. Control request information including at least one control state information indicating an address of the device, a control state of the device, and a control request code indicating control of the device, and an address of the device and the device Request information receiving means for receiving any one of acquisition request information including at least an acquisition request code indicating that a control state is requested from the other control device; and the request information receiving means receives the control request information In this case, the control information holding at least the control information including the control state information included in the control request information received by the request information receiving means. Information holding means, device control means for controlling the equipment according to control status information held by the control information holding means, and the control information holding means when the request information receiving means receives the acquisition request information The computer is caused to function as acquisition response transmission means for transmitting acquisition response information including at least control state information.
これらの構成によれば、制御装置において、制御要求情報及び取得要求情報のいずれか1つが受信され、制御要求情報が受信された場合、受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報が制御情報保持手段に保持される。そして、制御情報保持手段に保持される制御状態情報に従って機器が制御される。また、取得要求情報が受信された場合、制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報が送信される。 According to these configurations, in the control device, when any one of the control request information and the acquisition request information is received and the control request information is received, the control including at least the control state information included in the received control request information Information is held in the control information holding means. Then, the device is controlled according to the control state information held in the control information holding means. When the acquisition request information is received, acquisition response information including at least control state information held by the control information holding unit is transmitted.
したがって、他の制御装置において機器の制御状態情報が変更中である場合、取得要求情報が受信されず、変更された機器の制御状態情報が他の制御装置から送信されるまでの間は、他の制御装置の画面上に表示されている機器の制御状態の表示が変更されることがないので、他の制御装置において機器の制御状態を変更しているユーザの意図に反して表示内容が自動的に変更されてしまうのを防止し、ユーザが意図する通りの快適な機器制御操作を実現することができる。 Therefore, when the control status information of the device is being changed in another control device, the acquisition request information is not received and the control status information of the changed device is transmitted from the other control device. Since the display of the control status of the device displayed on the screen of the control device is not changed, the display content is automatically contrary to the intention of the user who is changing the control status of the device in another control device. Can be prevented, and a comfortable device control operation as intended by the user can be realized.
本発明によれば、副制御装置において機器の制御状態情報が変更中である場合、取得要求情報が送信されず、変更された機器の制御状態情報が主制御装置へ送信されるまでの間は、副制御装置の画面上に表示されている機器の制御状態の表示が主制御装置から受信した制御状態情報に変更されることがないので、副制御装置において機器の制御状態を変更しているユーザの意図に反して表示内容が自動的に変更されてしまうのを防止し、ユーザが意図する通りの快適な機器制御操作を実現することができる。 According to the present invention, when the control state information of the device is being changed in the sub control device, the acquisition request information is not transmitted, and until the changed device control state information is transmitted to the main control device. Since the display of the control state of the device displayed on the screen of the sub control device is not changed to the control state information received from the main control device, the control state of the device is changed in the sub control device It is possible to prevent the display content from being automatically changed against the user's intention, and to realize a comfortable device control operation as intended by the user.
以下本発明の実施の形態について、図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
(実施の形態1)
図1は、本発明の実施の形態1における機器制御通信システムの構成を示すブロック図である。図1において、機器制御通信システムは、第1制御装置10aと、第2制御装置10bと、主制御装置20と、機器50とを備えて構成されている。第1制御装置10aと主制御装置20とは通信路30により互いに通信可能に接続され、第2制御装置10bと主制御装置20とは通信路40により互いに通信可能に接続され、主制御装置20と機器50とは通信路60により互いに通信可能に接続されている。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a device control communication system according to
オペレータ(ユーザ)は、第1制御装置10aを操作し通信路30で接続された主制御装置20を経由して通信路60で接続された機器50を制御する。また、オペレータは、第2制御装置10bを操作し通信路40で接続された主制御装置20を経由して通信路60で接続された機器50を制御する。また、オペレータは、主制御装置20を操作し通信路60で接続された機器50を制御する。なお、通信路30、通信路40及び通信路60は、例えば、イーサネット(登録商標)規格、IEEE1394規格、Bluetooth(登録商標)、特定小電力無線通信、電灯線通信、DECT(Digital Enhanced Cordless Telecommunications)、ZigBee、UWB(Ultra Wide Band)、電話線、JEM−A及びUSB(Universal Serial Bus)等に用いられるメディアである。また、通信路30、通信路40及び通信路60は同一のメディアを使用してもよく、1つのサブネットを形成してもよい。
An operator (user) operates the
第2制御装置10bは、制御状態情報保持部100、制御状態情報変更部101、変更状態保持部102、制御状態情報確定部103、要求情報送信部104、取得応答受信部105、定期更新部106及び制御状態情報表示部107を備える。なお、第1制御装置10aは、第2制御装置10bと同一の構成をとるため説明を省略する。
The
制御状態情報保持部100は、主制御装置20のアドレスと、機器50が持つ機能及び設定を特定する機能識別情報と、当該機能識別情報の制御状態及び設定状態を示す制御状態情報とを組とする少なくとも1つの制御要求情報データを保持する。
The control state
制御状態情報変更部101は、オペレータの操作により制御状態情報保持部100が保持する制御状態情報を変更する。制御状態情報確定部103は、オペレータの操作により制御状態情報保持部100が保持する制御状態情報で機器50を制御することを確定する。
The control state
変更状態保持部102は、オペレータの操作により、制御状態情報変更部101で制御状態情報保持部100が保持する制御状態情報を変更した時、当該制御状態情報が変更中であることを示す値(状態情報)「1」(=変更中状態)を保持する。また、変更状態保持部102は、オペレータの操作により、制御状態情報確定部103にて制御状態情報保持部100が保持する制御状態情報で前記機器を制御することを確定した時、当該制御状態情報が確定状態であることを示す値(状態情報)「0」(=確定状態)を保持する。
When the control state
定期更新部106は、変更状態保持部102が値「0」(=確定状態)を保持する場合、任意に定めた時間間隔で繰り返し、主制御装置20から機器50の現在の制御状態を取得することを決定する。
When the change
要求情報送信部104は、オペレータの操作により制御状態情報確定部103で機器50への制御が確定した際、主制御装置20のアドレスと、機器50の制御状態を示す少なくとも1つの制御状態情報と、主制御装置20に対しての要求の種別を示す要求種別として機器50を制御することを示す制御要求コードを少なくとも1つ含む制御要求情報を送信する。また、要求情報送信部104は、定期更新部106により機器50の制御状態の取得が決定した際、主制御装置20のアドレスと、要求種別情報として機器50の現在の制御状態を取得することを示す取得要求コードを少なくとも1つ含む取得要求情報を送信する。
When the control state
取得応答受信部105は、取得要求情報に対する応答として機器50の制御状態情報を少なくとも1つ含む取得応答情報を受信し、制御状態情報保持部100が保持する制御状態情報を、受信した取得応答情報に含まれる制御状態情報に変更する。制御状態情報表示部107は、制御状態情報保持部100が保持する制御状態情報に従って、機器50の制御状態を画面に表示する。
The acquisition
主制御装置20は、要求情報受信部200、取得応答送信部201、制御情報保持部202及び機器制御部203を備える。要求情報受信部200は、第1制御装置10a及び第2制御装置10bから制御要求情報及び取得要求情報を受信する。
The
制御情報保持部202は、機器50の現在の制御状態情報を保持する。また、制御情報保持部202は、要求情報受信部200が制御要求情報を受信した場合、自身が保持する制御状態情報を当該制御要求情報に含まれる制御状態情報に変更する。機器制御部203は、制御情報保持部202が保持する制御状態情報に従って機器50を制御する。取得応答送信部201は、要求情報受信部200が取得要求情報を受信した場合、制御情報保持部202が保持する制御状態情報を、当該取得要求情報に含まれる制御元アドレスへ送信する。
The control
なお、本実施の形態において、第1制御装置10a及び第2制御装置10bが副制御装置の一例に相当し、制御状態情報保持部100が制御状態情報保持手段の一例に相当し、制御状態情報表示部107が制御状態情報表示手段の一例に相当し、制御状態情報変更部101が制御状態情報変更手段の一例に相当し、要求情報送信部104が要求情報送信手段の一例に相当し、制御状態情報確定部103が制御状態情報確定手段の一例に相当し、変更状態保持部102が状態情報保持手段の一例に相当し、定期更新部106が定期更新手段の一例に相当し、取得応答受信部105が取得応答受信手段の一例に相当する。また、要求情報受信部200が要求情報受信手段の一例に相当し、制御情報保持部202が制御情報保持手段の一例に相当し、機器制御部203が機器制御手段の一例に相当し、取得応答送信部201が取得応答送信手段の一例に相当する。
In the present embodiment, the
図2及び図3は、本発明の実施の形態1における第1制御装置10a及び第2制御装置10bの処理を示すフローチャートである。図4は、本発明の実施の形態1における主制御装置20の処理を示すフローチャートである。図5は、本発明の実施の形態1における第1制御装置10aと主制御装置20との間及び第2制御装置10bと主制御装置20との間で送受信されるデータのフォーマットを示す図である。図6は、本発明の実施の形態1における第1制御装置10a及び第2制御装置10bの制御状態情報保持部100が保持する制御状態情報テーブルの構成を示す図である。図7は、本発明の実施の形態1における第1制御装置10a及び第2制御装置10bの制御状態情報保持部100が保持する制御状態情報テーブルのデータフォーマットを示す図である。図8は、本発明の実施の形態1におけるエアコンの機能種別の種類と、制御状態の取り得る値の範囲及び制御状態の値の意味を説明するための図である。図9は、本発明の実施の形態1における主制御装置20の制御情報保持部202が保持する制御状態情報テーブルの構成を示す図である。図10は、本発明の実施の形態1における主制御装置20の制御情報保持部202が保持する制御状態情報テーブルのデータフォーマットを示す図である。
2 and 3 are flowcharts showing processing of the
まず、第1制御装置10a、第2制御装置10b及び主制御装置20が起動し、第1制御装置10a及び第2制御装置10bにおいて、定期更新部106によるリフレッシュ機能により、主制御装置20から最新の機器50の制御状態を取得し、第1制御装置10a及び第2制御装置10bの画面上に表示されるまでの処理を、図2、図3及び図4を用いて説明する。
First, the
第1制御装置10a及び第2制御装置10bが起動後、変更状態保持部102は、初期値として値「0」(=確定状態)を保持する(ステップS101)。定期更新部106は、定期更新の時間計測をスタートする(ステップS102)。
After the
第1制御装置10aにおいて、定期更新部106は、計測時間が任意に定めた時間を経過したか否かを判断する(ステップS110)。なお、本実施の形態1における任意に定めた時間は15秒とする。定期更新部106における計測時間が任意に定めた時間を経過した場合(ステップS110でYES)、定期更新部106は、定期更新の時間計測を止め、再スタートする(ステップS111)。
In the
次に、要求情報送信部104は、変更状態保持部102が保持する値を確認し、当該値が「0」(=確定状態)であるか否かを判断する(ステップS112)。ここで、変更状態保持部102が保持する値が「0」(=確定状態)であるため(ステップS112でYES)、要求情報送信部104は、送信先アドレスとして主制御装置20のアドレス「20」と、送信元アドレスとして第1制御装置10aのアドレス「00」と、要求種別情報として主制御装置20の制御状態を取得することを示す取得要求コード「01」と、機器アドレスとして機器50のアドレス「50」と、機器種別情報としてエアコン「00」と、機能識別情報として主制御装置20の温度設定を示す「00」とを含めた取得要求情報を主制御装置20へ送信する(ステップS113)。このときの取得要求情報送信データを図11に示す。図11において、最終フィールドの制御状態情報には値は格納しなくても良いため、不定値としている。
Next, the request
図4において、主制御装置20が起動後、要求情報受信部200が、第2制御装置10bが送信した取得要求情報を受信すると(ステップS204でYES)、取得応答送信部201は、送信先アドレスとして前記取得要求情報に含まれる送信元アドレス「00」(=第1制御装置10a)と、送信元アドレスとして主制御装置20のアドレス「20」と、要求種別情報として取得応答コード「02」と、機器アドレスとして機器50のアドレス「50」と、機器種別情報としてエアコン「00」と、機能種別情報として取得要求情報に含まれる機能種別情報の値「00」(=温度設定)と、制御情報保持部202が保持する制御状態情報のうち、前記取得要求情報に含まれる機能種別情報「00」(=温度設定)に対応する制御状態情報(図9の要素No「00」のレコード)とを含む取得応答情報を、送信先アドレスの第1制御装置10aへ送信する(ステップS205)。このときの取得応答情報送信データを図12に示す。本実施の形態1において、主制御装置20の機能識別情報「00」(=温度設定)の制御状態が20℃であるとすると、取得応答情報に含める制御状態情報は、「20℃」である。
In FIG. 4, after the
図3に戻って、第1制御装置10aにおいて、取得応答受信部105は主制御装置20から取得応答情報を受信する(ステップS114でYES)。制御状態情報保持部100は、自身が保持する制御状態情報のうち、取得応答情報に含まれる機器アドレス「50」(=機器50)の、取得応答情報に含まれる機能種別情報「00」(=温度設定)に対応する制御状態情報を、取得応答情報に含まれる制御状態情報「20℃」に変更する(ステップS115)。変更後の制御状態情報保持部100が保持する制御状態情報テーブルを図13に示す。変更の対象となったレコードは、図13の要素No「00」のレコードである。制御状態情報表示部107は、制御状態情報保持部100が保持する制御状態情報である「20℃」を画面上に表示する(ステップS116)。
Returning to FIG. 3, in the
第2制御装置10bにおいて、第1制御装置10aと同様、ステップS110〜ステップS116の処理が行われ、画面上に「20℃」が表示される。変更後の制御状態情報保持部100が保持する制御状態情報テーブルを図13に示す。変更の対象となったレコードは、図13の要素No「00」のレコードである。
In the
次に、第2制御装置10bにおいて、オペレータの操作によりエアコンである主制御装置20の温度を20℃から24℃に変更する制御を行い、主制御装置20の温度が24℃に変更された状態が、第1制御装置10aが保持する主制御装置20の制御状態として反映される同期処理を図2、図3及び図4を用いて説明する。
Next, in the
第2制御装置10bにおいて、制御状態情報変更部101は、オペレータの操作により状態変更指示が入力されたか否かを判断する(ステップS103)。オペレータの操作により状態変更指示が入力された場合(ステップS103でYES)、制御状態情報変更部101は、制御状態情報保持部100が保持する制御状態を変更する(ステップS104)。
In the
本実施の形態1において、機器50のアドレスが「50」で、機器50の機器種別がエアコン「00」で、機能識別の温度設定の制御状態が「20℃」から「24℃」に変更する場合、制御状態情報保持部100は、機器アドレスが「50」であり、機器種別情報がエアコン「00」であり、機能識別情報が温度設定「00」であり、制御状態情報が「24℃」である制御状態情報を保持する。このときの制御状態情報保持部100が保持する制御状態情報テーブルを図14に示す。変更の対象となったレコードは、図14の要素No「00」のレコードである。
In the first embodiment, the address of the
次に、制御状態情報表示部107は、制御状態情報保持部100が保持する制御状態情報である「24℃」を画面上に表示する(ステップS105)。変更状態保持部102は、値「1」(=変更中状態)を保持する(ステップS106)。次に、要求情報送信部104は、オペレータの操作により確定指示が入力されたか否かを判断する(ステップS107)。オペレータから制御状態情報確定部103へ確定指示があると(ステップS107でYES)、要求情報送信部104は、制御状態情報保持部100が保持する制御状態情報を含む制御要求情報を主制御装置20へ送信する(ステップS108)。このときの制御要求情報送信データの内容を図15に示す。変更状態保持部102は、保持する値を「0」(=確定状態)に変更する(ステップS109)。
Next, the control state
図4において、主制御装置20の要求情報受信部200は、制御要求情報を受信したか否かを判断する(ステップS201)。要求情報受信部200が第2制御装置10bによって送信された制御要求情報を受信すると(ステップS201でYES)、制御情報保持部202は、制御要求情報に含まれる機器アドレス(機器50)と、機器種別情報(エアコン「00」)と、機能種別情報(温度設定「00」)とに対応した、自身が保持する制御状態情報「20℃」を、制御要求情報に含まれる制御状態情報「24℃」に変更して記憶する(ステップS202)。
In FIG. 4, the request
このときの制御情報保持部202が保持する制御状態情報テーブルを図14に示す。変更の対象となったレコードは、図14の要素No「00」のレコードである。機器制御部203は、制御情報保持部202が保持する制御状態情報のうち変更のあった機能識別情報が「00」(=温度設定)であるものに対応して保持する制御状態情報「24℃」に従って機器50を制御する(ステップS203)。
A control state information table held by the control
第1制御装置10aにおいて、図3のステップS110〜ステップS116の処理が行われることにより、制御状態情報保持部100が保持する制御状態情報のうち、機器アドレスが「50」(=機器50)であり、機器種別情報が「00」(=エアコン)であり、機能識別情報が「00」(=温度設定)であるものに対応する制御状態情報が「24℃」に変更される。このときの制御状態情報保持部100が保持する制御状態情報テーブルを図14に示す。変更の対象となったレコードは、図14の要素No「00」のレコードである。本処理により、第1制御装置10aの当該制御状態情報が、主制御装置20及び第2制御装置10bの状態「24℃」と同じ状態に同期が取られる。
In the
次に、第2制御装置10bにおいて、オペレータの操作によりエアコンである主制御装置20の温度設定を「24℃」から「26℃」に変更して確定するまでの間、すなわち、制御状態情報変更中に、第1制御装置10aによって、主制御装置20を経由して、エアコンである機器50の温度設定が「20℃」に変更され、かつ、第2制御装置10bにおいて、定期更新部106が任意に定めた時間を経過した場合の処理を図2、図3及び図4を用いて説明する。
Next, in the
第2制御装置10bにおいて、図2のステップS103〜ステップS106の処理が実施され、オペレータからの操作により、制御状態情報保持部100が保持する制御状態情報が「24℃」から「26℃」に変更される。このときの制御状態情報保持部100が保持する制御状態情報テーブルを図16に示す。変更の対象となったレコードは、図16の要素No「00」のレコードである。このとき、変更状態保持部102は、「1」(=変更中状態)を保持する。
In the
第1制御装置10aにおいて、図2のステップS103〜ステップS109の処理が実施され、主制御装置20において、図4のステップS201〜ステップS203の処理が実施されることにより、エアコンである機器50は、第1制御装置10aからの制御によって、温度設定が「24℃」から「20℃」に変更される。
The
第2制御装置10aにおいて、定期更新部106における計測時間が任意に定めた時間「15秒」を経過した場合(ステップS110でYES)、定期更新部106は、定期更新の時間計測を止め、再スタートする(ステップS111)。次に、変更状態保持部102が保持する値が「1」(=変更中状態)であるため、要求情報送信部104は、処理を行わず(ステップS112でNO)、ステップS114へ移行する。
In the
次にオペレータから制御状態情報確定部103へ確定指示があると(ステップS107でYES)、要求情報送信部104は、制御状態情報保持部100が保持する制御状態情報を含む制御要求情報を主制御装置20へ送信する(ステップS108)。このときの制御要求情報送信データの内容を図17に示す。変更状態保持部102は、保持する値を「0」(=確定状態)に変更する(ステップS109)。
Next, when there is a confirmation instruction from the operator to the control state information confirmation unit 103 (YES in step S107), the request
主制御装置20において、図4のステップS201〜ステップS203の処理が実施されることにより、エアコンである機器50は、第2制御装置10bからの制御によって、主制御装置20を経由して温度設定が「20℃」から「26℃」に変更される。
In the
第1制御装置10aにおいて、図3のステップS110〜ステップS116の処理が行われることにより、制御状態情報保持部100が保持する制御状態情報のうち、機器アドレスが「50」(=機器50)であり、機器種別情報が「00」(=エアコン)であり、機能識別情報が「00」(=温度設定)であるものに対応する制御状態情報が「26℃」に変更される。このときの制御状態情報保持部100が保持する制御状態情報テーブルを図16に示す。変更の対象となったレコードは、図16の要素No「00」のレコードである。本処理により、第1制御装置10aの制御状態情報が、主制御装置20及び第2制御装置10bの状態「26℃」と同じ状態に同期が取られる。
In the
このように、第1制御装置10a及び第2制御装置10bにおいて、機器50の制御状態を表す制御状態情報が少なくとも1つ制御状態情報保持部100に保持され、制御状態情報保持部100に保持される制御状態情報が表示される。制御状態情報保持部100に保持される制御状態情報が変更され、機器50のアドレスと機器50の制御状態を示す少なくとも1つの制御状態情報と機器50を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、機器50のアドレスと機器50の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報が要求情報送信部104によって送信される。その後、制御状態情報保持部100に保持される制御状態情報による機器50への制御が確定され、要求情報送信部104に制御要求情報の送信が指示される。また、変更状態保持部102に、制御状態情報が変更された時に変更中状態であることを表す状態情報が保持されるとともに、制御状態情報が確定された時に確定状態であることを表す状態情報が保持される。このとき、変更状態保持部102が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信部104へ取得要求情報の送信が指示され、変更状態保持部102が変更中状態であることを表す状態情報を保持する場合、取得要求情報の送信が指示されない。そして、要求情報送信部104によって送信された取得要求情報に対する応答として機器の制御状態情報を少なくとも含む取得応答情報が受信され、制御状態情報保持部100が保持する制御状態情報が、取得応答情報に含まれる制御状態情報に変更される。
Thus, in the
また、主制御装置20において、制御要求情報及び取得要求情報のいずれか1つが受信され、制御要求情報が受信された場合、受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報が制御情報保持部202に保持される。そして、制御情報保持部202に保持される制御状態情報に従って機器50が制御される。また、取得要求情報が受信された場合、制御情報保持部202が保持する制御状態情報を少なくとも含む取得応答情報が送信される。
Further, in the
したがって、第1制御装置10a及び第2制御装置10bにおいて機器50の制御状態情報が変更中である場合、取得要求情報が送信されず、変更された機器50の制御状態情報が主制御装置20へ送信されるまでの間は、第1制御装置10a及び第2制御装置10bの画面上に表示されている機器50の制御状態の表示が主制御装置20から受信した制御状態情報に変更されることがないので、第1制御装置10a及び第2制御装置10bにおいて機器50の制御状態を変更しているユーザの意図に反して表示内容が自動的に変更されてしまうのを防止し、ユーザが意図する通りの快適な機器制御操作を実現することができる。
Therefore, when the control state information of the
なお、取得応答受信部105は、取得応答情報を少なくとも含むハイパーテキストを受信し、制御状態情報表示部107は、ハイパーテキストを処理し閲覧を可能とするウェブブラウザ部を含むことが好ましい。この構成によれば、取得応答情報を少なくとも含むハイパーテキストが受信され、ハイパーテキストを処理し閲覧を可能とするウェブブラウザ部によって取得応答情報に含まれる制御状態情報を表示することができる。
The acquisition
また、取得応答送信部201は、HTTP(ハイパーテキストトランスファープロトコル)に基づいてハイパーテキストを送信することが好ましい。この構成によれば、HTTPに基づいてハイパーテキストが送信されるので、規定のプロトコルに基づいてハイパーテキストを確実に送信することができる。
The acquisition
さらに、上記のウェブブラウザ部は、一定時間間隔毎に要求情報送信部104へ取得要求情報の送信を指示するリフレッシュ機能を有し、定期更新部106は、変更状態保持部102が変更中状態であることを表す状態情報を保持する場合、リフレッシュ機能を無効とすることが好ましい。この構成によれば、ウェブブラウザ部は、一定時間間隔毎に要求情報送信部104へ取得要求情報の送信を指示するリフレッシュ機能を有しており、変更状態保持部102が変更中状態であることを表す状態情報を保持する場合、リフレッシュ機能が無効とされるので、第1制御装置10a及び第2制御装置10bの画面上に表示されている機器50の制御状態の表示がユーザの意図に反して変更されるのを防止することができる。
Further, the web browser unit has a refresh function for instructing the request
なお、第1制御装置10a及び第2制御装置10bにおいて、オペレータから制御状態情報確定部103へ確定指示があると(ステップS107でYES)、要求情報送信部104は、制御状態情報保持部100が保持する制御状態情報を含む制御要求情報を主制御装置20へ送信する(ステップS108)構成としたが、変更状態保持部102が保持する値が「0」(=確定状態)である場合は、送信しない構成としても良い。
In the
なお、第1制御装置10a及び第2制御装置10bにおいて、オペレータの操作により制御状態情報変更部101へ状態変更指示があり(ステップS103でYES)、さらにオペレータの操作により制御状態情報確定部103へ確定指示あると(ステップS107でYES)、要求情報送信部104は、制御状態情報保持部100が保持する制御状態情報を含む制御要求情報を主制御装置20へ送信する(ステップS108)ことにより、主制御装置20に対する制御が実施される構成としたが、オペレータの操作による制御状態情報確定部103への確定指示だけでなく、オペレータの操作による制御状態情報変更部101への状態変更指示があり、任意の時間を経過した後、要求情報送信部104は、制御状態情報保持部100が保持する制御状態情報を含む制御要求情報を主制御装置20へ送信する構成としても良い。これにより、オペレータの確定操作を省略し、操作の煩雑さを軽減することができる。また、この場合、確定操作を行うための確定ボタンを画面上に配置する必要がなく、オペレータからの操作のインタフェースを省略することも可能である。
In the
なお、第1制御装置10a及び第2制御装置10bにおいて、定期更新部106における計測時間が任意に定めた時間「15秒」を経過したとき(ステップS110でYES)、変更状態保持部102が保持する値が「1」(=変更中状態)である場合、要求情報送信部104は、取得要求情報を主制御装置20へ送信してもよい。そして、取得応答受信部105が主制御装置20から取得応答情報を受信したときに、制御状態情報保持部100は、変更状態保持部102が保持する値が「1」(=変更中状態)である場合、自身が保持する制御状態情報を受信した制御状態情報に変更しない構成としても良い。
In the
この場合、取得応答情報が受信された時、変更状態保持部102が変更中状態であることを表す状態情報を保持する場合、制御状態情報保持部100が保持する制御状態情報が、受信した取得応答情報に含まれる制御状態情報に変更されない。したがって、たとえ主制御装置20から取得応答情報を受信したとしても、第1制御装置10a及び第2制御装置10bにおいて制御状態情報が変更中であれば制御状態情報が変更されないので、第1制御装置10a及び第2制御装置10bの画面上に表示されている機器50の制御状態の表示がユーザの意図に反して変更されるのを防止することができる。
In this case, when the acquisition response information is received, the control state information held by the control state
また、定期更新部106は、変更状態保持部102が保持する状態情報の内容に関わらず、一定時間間隔毎に要求情報送信部104へ取得要求情報の送信を指示してもよい。この場合、変更状態保持部102が保持する状態情報の内容に関わらず、一定時間間隔毎に要求情報送信部104へ取得要求情報の送信が指示されるので、第1制御装置10a及び第2制御装置10bにおいて制御状態情報が変更中であっても、定期的に送信される取得要求情報を送信することができる。
Further, the
なお、第1制御装置10a及び第2制御装置10bにおいて、要求情報送信部104は、送信先アドレスとして主制御装置20のアドレス「20」と、送信元アドレスとして第1制御装置10aのアドレス「00」と、要求種別情報として主制御装置20の制御状態を取得することを示す取得要求コード「01」と、機器アドレスとして機器50のアドレス「50」と、機器種別情報としてエアコン「00」と、機能識別情報として主制御装置20の温度設定を示す「00」とを含めた取得要求情報を主制御装置20へ送信する(ステップS113)構成としたが、例えば温度設定だけでなく、機器50が持つ全ての制御状態を取得したい場合、機器アドレスとして機器50のアドレス「50」のみを取得要求情報に含める構成とし、主制御装置20の取得応答送信部201は、制御情報保持部202が保持する機器50が持つ全ての制御状態情報を含めて取得応答情報を送信する構成としても良い。
In the
(実施の形態2)
次に、実施の形態2について説明する。図18は、本発明の実施の形態2における機器制御通信システムの処理ブロック図である。図18において、図1と同じ構成要素については同じ符号を用い、説明を省略する。
(Embodiment 2)
Next, a second embodiment will be described. FIG. 18 is a processing block diagram of the device control communication system according to the second embodiment of the present invention. In FIG. 18, the same components as those in FIG.
図18において、第1制御装置10a及び第2制御装置10bは、制御状態情報保持部100、制御状態情報変更部101、変更状態保持部102、制御状態情報確定部1031、要求情報送信部1041、取得応答受信部105、定期更新部106、制御状態情報表示部107及び確定タイマー部108を備える。
In FIG. 18, the
確定タイマー部108は、制御状態情報変更部101が制御状態情報保持部100に保持されている制御状態情報を変更した際に内部に保持するタイマーをスタートし、任意に定められた時間まで計測する。制御状態情報確定部1031は、確定タイマー部108が任意に定められた時間まで計測し終えた時に、制御状態情報保持部100が保持する制御状態情報を確定する。要求情報送信部1041は、制御要求情報を送信する際に、送信する制御要求情報に、さらに、制御状態情報確定部1031で確定した時点での確定タイマー部108におけるタイマー値、すなわち、タイマーをスタートしてから任意に定めた時間までの経過時間、または、タイマーをスタートしてからオペレータの操作により制御状態情報保持部100が保持する制御状態情報を確定するまでの経過時間のいずれか短い方の時間を変更遅延時間として含める。
The fixed
主制御装置20は、要求情報受信部200、取得応答送信部201、制御情報保持部2021、機器制御部203及び変更時刻比較部204を備える。制御情報保持部2021は、要求情報受信部200が制御要求情報を受信した際、受信した時刻から当該制御要求情報に含まれる変更遅延時間を減算した制御状態情報変更時刻をさらに保持する。変更時刻比較部204は、要求情報受信部200が制御要求情報を受信した際、受信した時刻から当該制御要求情報に含まれる変更遅延時間を減算した制御状態情報変更時刻と、制御情報保持部2021が保持する制御状態情報変更時刻とを比較する。
The
制御情報保持部2021は、変更時刻比較部204で比較した結果、要求情報受信部200が受信した制御要求情報の制御状態情報変更時刻の方が後の場合、当該制御状態情報変更時刻及び当該制御要求情報に含まれる制御状態情報を保持する。取得応答送信部201は、変更時刻比較部204で比較した結果、要求情報受信部200が受信した制御要求情報の制御状態情報変更時刻の方が前の場合、制御情報保持部2021が保持する制御状態情報を、当該取得要求情報に含まれる制御元アドレスへ送信する。
When the control state information change time of the control request information received by the request
なお、本実施の形態において、確定タイマー部108が確定タイマー手段の一例に相当し、要求情報送信部1041が要求情報送信手段の一例に相当し、制御状態情報確定部1031が制御状態情報確定手段の一例に相当し、変更時刻比較部204が変更時刻比較手段の一例に相当し、制御情報保持部2021が制御情報保持手段の一例に相当する。
In the present embodiment, the
図19及び図20は、本発明の実施の形態2における第1制御装置10a及び第2制御装置10bの処理を示すフローチャートである。図21は、本発明の実施の形態2における主制御装置20の処理を示すフローチャートである。図22は、本発明の実施の形態2における第1制御装置10aと主制御装置20との間及び第2制御装置10bと主制御装置20との間で送受信されるデータのフォーマットを示す図である。本発明の実施の形態2における第1制御装置10a及び第2制御装置10bの制御状態情報保持部100が保持する制御状態情報テーブルの構成は、図6と同じ構成をとるため説明を省略する。本発明の実施の形態2における第1制御装置10a及び第2制御装置10bの制御状態情報保持部100が保持する制御状態情報テーブルのデータフォーマットは、図7と同じ構成をとるため説明を省略する。本発明の実施の形態2におけるエアコンの機能種別の種類と、制御状態の取り得る値の範囲及び制御状態の値は、図8と同じであるため説明を省略する。図26は、本発明の実施の形態2における主制御装置20の制御情報保持部2021が保持する制御状態情報テーブルの構成を示す図である。図27は、本発明の実施の形態2における主制御装置20の制御情報保持部2021が保持する制御状態情報テーブルのデータフォーマットを示す図である。
19 and 20 are flowcharts showing processing of the
まず、エアコンである機器50の温度設定値が26℃で、主制御装置20の制御情報保持部2021、第1制御装置10aの制御状態情報保持部100及び第2制御装置10bの制御状態情報保持部100が保持する制御状態が「26℃」に全て同期が取られている状態において、第2制御装置10bにおいて、オペレータの操作によりエアコンである機器50の温度設定値を26℃から23℃に変更し、主制御装置20へ制御要求を行う。これと同時期に第1制御装置10aにおいてオペレータの操作によりエアコンである機器50の温度設定値を26℃から20℃に変更し、主制御装置20へ制御要求を行う場合の制御処理を説明する。
First, the temperature setting value of the
第2制御装置10bにおいて、制御状態情報変更部101は、オペレータの操作により状態変更指示が入力されたか否かを判断する(ステップS123)。オペレータの操作により状態変更指示が入力された場合(ステップS123でYES)、制御状態情報変更部101は、制御状態情報保持部100が保持する制御状態を変更する(ステップS124)。このとき、制御状態情報変更部101は、制御状態情報保持部100が保持する制御状態情報のうち、機器アドレスが機器50のアドレスを示す値の「50」であり、機器種別情報がエアコンを示す値の「00」であり、機能識別情報が温度設定を示す値の「00」であるものに対応する制御状態情報を「26℃」から「25℃」へ変更する。
In the
次に、確定タイマー部108は、タイマーをリセットし、時間計測を開始する(ステップS125)。制御状態情報表示部107は、制御状態情報保持部100が保持する制御状態情報である「25℃」を画面上に表示する(ステップS126)。変更状態保持部102は、値「1」(=変更中状態)を保持する(ステップS127)。
Next, the fixed
そして、ステップS123、ステップS124、ステップS125、ステップS126及びステップS127の処理が繰り返し実行されることによって制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報が「26℃」から「23℃」へ変更される。このときの時刻を10時00分00秒とする。また、このときの制御状態情報保持部100が保持する制御状態情報テーブルを図23に示す。変更の対象となったレコードは、図23の要素No「00」のレコードである。
And the control state information of the temperature setting of the
本実施の形態2において、第2制御装置10bの確定タイマー部108が計測を開始してからタイムアウトするまでの任意の時間は15秒に設定されている。前述の処理により第2制御装置10bの制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報が「23℃」に変更される。その後、タイムアウト時間15秒が経過する前に、第1制御装置10aにおいて、ステップS123、ステップS124、ステップS125、ステップS126及びステップS127の処理が繰り返し実行される。これにより、制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報が「20℃」に変更される。そして、オペレータから制御状態情報確定部1031へ制御状態確定指示があると(ステップS128でYES)、確定タイマー部108は、時間計測を停止する(ステップS129)。
In the second embodiment, an arbitrary time from the start of measurement by the fixed
次に、要求情報送信部1041は、制御状態情報保持部100が保持する制御状態情報と確定タイマー部108で計測した変更遅延時間とを含む制御要求情報を主制御装置20へ送信する(ステップS130)。次に、変更状態保持部102は、保持する値を「0」(=確定状態)に変更する(ステップS131)。ステップS123で制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報を「20℃」に変更する。このときの制御状態情報保持部100が保持する制御状態情報テーブルを図24に示す。変更の対象となったレコードは、図24の要素No「00」のレコードである。ステップS125で確定タイマー部108が時間計測を開始した時刻を10時00分05秒とし、ステップS128でオペレータから制御状態情報確定部1031へ制御状態確定指示があった時刻を10時00分10秒とすると、ステップS130で、要求情報送信部1041が送信する制御要求情報に含む変更遅延時間は、ステップS128における時刻10時00分10秒から10時00分05秒を差し引いた5秒となる。このときの制御要求情報送信データの内容を図25に示す。
Next, the request
図21において、主制御装置20の要求情報受信部200は、制御要求情報を受信したか否かを判断する(ステップS211)。要求情報受信部200が第1制御装置10aから制御要求情報を受信すると(ステップS211でYES)、変更時刻比較部204は、要求情報受信部200が受信した制御要求情報に含まれる変更遅延時間5秒を現在時刻10時00分10秒から減算した、制御状態情報変更時刻10時00分05秒と、制御情報保持部202が保持する制御情報に含まれる制御状態情報変更時刻とを比較する(ステップS212)。
In FIG. 21, the request
本実施の形態2において、第1制御装置10a又は第2制御装置10bからの前回の制御から、比較対象範囲を超える程の十分な時間を経過しているとすると、今回受信した制御要求情報が含む制御状態情報変更時刻の方が後であるため(ステップS212でYES)、制御情報保持部2021は、要求情報受信部200が受信した制御要求情報に含まれる制御状態情報「20℃」及び、ステップS212で算出した制御状態情報変更時刻10時00分05秒を保持する(ステップS213)。このときの制御情報保持部2021が保持する制御状態情報テーブルを図28に示す。変更の対象となったレコードは、図28の要素No「00」のレコードである。続いて、機器制御部203は、制御情報保持部2021が保持する制御状態情報「20℃」に従って機器50を制御する(ステップS214)。
In the second embodiment, assuming that a sufficient time has passed since the previous control from the
図19に戻って、第2制御装置10bにおいて、前述のように、制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報が「26℃」から「23℃」へ変更された時刻10時00分00秒から15秒経過すると、確定タイマー部108における計測時間が予め定めたタイムアウト時間の15秒を経過するため(ステップS139でYES)、確定タイマー部108は、時間計測を停止する(ステップS129)。続いて、要求情報送信部1041は、制御状態情報保持部100が保持する制御状態情報と確定タイマー部108で計測した変更遅延時間を含む制御要求情報を主制御装置20へ送信する(ステップS130)。次に、変更状態保持部102は、保持する値を「0」(=確定状態)に変更する(ステップS131)。
Returning to FIG. 19, in the
ここで、ステップS123で制御状態情報保持部100が保持するエアコンである機器50の温度設定の制御状態情報を「23℃」に変更した時刻が10時00分00秒であり、ステップS129で確定タイマー部108が時間計測を停止した時刻が15秒後の10時00分15秒であるため、ステップS130で、要求情報送信部1041が送信する制御要求情報に含まれる変更遅延時間は、時刻10時00分15秒から10時00分00秒を差し引いた15秒となる。このときの制御要求情報送信データの内容を図29に示す。
Here, the time when the control state information of the temperature setting of the
図21において、主制御装置20の要求情報受信部200が第1制御装置10aから制御要求情報を受信すると(ステップS211でYES)、変更時刻比較部204は、要求情報受信部200が受信した制御要求情報に含まれる変更遅延時間15秒を現在時刻10時00分15秒から減算した制御状態情報変更時刻10時00分00秒と、制御情報保持部202が保持する制御情報に含まれる制御状態情報変更時刻10時00分05秒とを比較する(ステップS212)。
In FIG. 21, when the request
このとき、今回受信した制御要求情報が含む制御状態情報変更時刻の方が後でないため(ステップS212でNO)、取得応答送信部201は、制御情報保持部2021が保持する制御状態情報のうち、要求情報受信部200が受信した制御要求情報に含まれる機器アドレス(機器50)と、機器種別情報(エアコン「00」)と、機能種別情報(温度設定「00」)に対応した自身が保持する制御状態情報「20℃」とを含む取得応答情報を、要求情報受信部200が受信した制御要求情報に含まれる制御元アドレス「10」(第2制御装置10a)へ送信する(ステップS215)。このときの取得応答情報送信データの内容を図30に示す。
At this time, since the control state information change time included in the control request information received this time is not later (NO in step S212), the acquisition
第2制御装置10aにおいて、図20のステップS136〜ステップS138の処理が実施され、制御状態情報保持部100が保持する制御状態情報のうち、取得応答情報に含まれる機器アドレス「50」(=機器50)の、取得応答情報に含まれる機能種別情報「00」(=温度設定)に対応する制御状態情報が、「20℃」に変更され、制御状態情報表示部107により制御状態情報である「20℃」が画面上に表示される。本処理により、第2制御装置10bから送られた制御要求情報が第1制御装置10aから送られた制御要求情報よりも後の時刻であったとしても、先に制御状態情報を変更した第2制御装置10bからの制御が無効になり、後で制御状態情報を変更した第1制御装置10aからの制御が有効となるとともに、無効となった第2制御装置10bの制御状態情報保持部100が保持する制御状態情報が、第1制御装置10aで変更した制御状態情報と同じ状態「20℃」に同期が取られる。
In the
このように、制御状態情報保持部100が保持する制御状態情報が変更された時、確定タイマー部108の時間の計測が開始され、任意に定める時間が経過した時、計測が終了され、確定タイマー部108が計測を終了した時、制御状態情報保持部100が保持する制御状態情報による機器50の制御が確定される。したがって、変更してから所定時間経過した後に制御状態情報が変更内容に確定されるので、ユーザが変更した制御状態情報を確定する手間を省くことができる。
As described above, when the control state information held by the control state
また、制御状態情報保持部100が保持する制御状態情報による機器50の制御が確定された時、確定タイマー部108の計測が終了されるので、ユーザにより制御状態情報が確定された場合に自動的に時間の計測を停止させることができる。
In addition, when the control of the
さらに、確定タイマー部108が計測を開始してから計測を終了するまでの確定遅延時間を、制御要求情報に含めて送信されるので、この確定遅延時間を考慮して機器50を制御することができる。
Furthermore, since the definite delay time from when the
さらにまた、主制御装置20において、制御要求情報が受信された場合、制御要求情報が受信された時刻から、当該制御要求情報に含まれる確定遅延時間を差し引いた時刻を変更時刻として制御情報に含める。そして、制御要求情報が受信された際に、制御情報保持部2021に既に制御情報が保持されている場合、制御情報に含まれる変更時刻と制御情報保持部2021が既に保持している変更時刻とが比較され、比較の結果、制御情報に含まれる変更時刻が、制御情報保持部2021に既に保持されている変更時刻よりも後である場合、当該制御情報が制御情報保持部2021に新たに保持される。
Furthermore, when the control request information is received in the
したがって、複数の制御装置から短時間に制御が集中した場合であっても、実際に機器の制御状態を変更した時刻を比較し、時間的に後の制御を有効にすることができ、機器50に対して最新の制御状態を反映させることができる。 Therefore, even when control is concentrated from a plurality of control devices in a short time, the time when the control state of the device is actually changed can be compared, and later control in time can be validated. Can reflect the latest control state.
また、制御情報に含まれる変更時刻と制御情報保持部2021が既に保持している変更時刻とが比較され、比較の結果、制御情報に含まれる変更時刻が、制御情報保持部2021が既に保持している変更時刻よりも前である場合、制御情報保持部2021が保持する制御情報に含まれる制御状態情報が取得応答情報に含めて第1制御装置10a及び第2制御装置10bへ送信される。したがって、別の制御装置の制御が有効となり、自らが実施した制御が無効になった場合、第1制御装置10a及び第2制御装置10bは、主制御装置20から最新の機器50の制御状態の通知を受け、表示に反映することができる。これにより、ユーザ(オペレータ)は、他の制御装置によって機器50の制御状態が変更されたことを認識することができ、複数の制御装置による機器50の制御及び機器50の状態同期において、違和感のない自然な操作性を実現することができる。
In addition, the change time included in the control information is compared with the change time already held in the control
なお、第1制御装置10a及び第2制御装置10bにおいて、主制御装置20へ送信する制御要求情報に、変更遅延時間を含む構成としたが、最後に変更した時刻を含む構成とし、主制御装置20における変更時刻比較部204の比較対象を、第1制御装置10a及び第2制御装置10bから受信した制御要求情報に含まれる時刻としても良い。
In the
また、この場合、第1制御装置10aと主制御装置20との間の通信速度と、第2制御装置10bと主制御装置20との間の通信速度とが、伝送メディアの違いや、伝送距離等のシステム構成環境の違いにより異なることが考えられる。通信速度が異なると、第1制御装置10a及び第2制御装置10bが送信してから、主制御装置20が受信するまでの時間が異なる。そこで、予め通信速度の違いから通信路30及び通信路40での遅延時間を考慮し比較する構成としても良い。例えば、少なくとも1つのテストデータを主制御装置20が第1制御装置10a及び第2制御装置10bに対して送信してから返信を受信するまでの時間を考慮する構成としても良い。また、遅延時間の精度を上げるために、定期的に遅延時間の計測を行う構成としても良い。
In this case, the communication speed between the
また、第1制御装置10a又は第2制御装置10bが、主制御装置20と一体化された構成としても良い。この場合、一体化された第1制御装置10a又は第2制御装置10bの要求情報送信部104及び主制御装置20の要求情報受信部200を省略する構成としても良い。一体化により、制御可能な装置が、第1制御装置10a、第2制御装置10b及び主制御装置20の少なくとも3つの構成になり、いずれの制御装置から制御を行った場合でも、本実施の形態で示す効果が得られる。
The
本発明にかかる機器制御通信システムは、主にウェブブラウザを使用する副制御装置からHTTPサーバを含む主制御装置に対して、一定時間間隔で主制御装置に接続された機器状態の取得要求を行い、取得した制御状態を画面に表示するリフレッシュ機能を有する複数の副制御装置からの機器制御及び機器制御における制御状態の同期手段を有し、ホームネットワークにおける家電機器制御や照明制御や空調制御等に有用である。また、業務用ビル管理システムや業務用ビルエネルギーマネジメントシステムにおける業務用機器制御や照明制御や空調制御等の用途にも応用できる。 The device control communication system according to the present invention makes an acquisition request for the state of a device connected to the main control device at regular time intervals from a sub-control device that mainly uses a web browser to the main control device including the HTTP server. , Device control from multiple sub-control devices that have a refresh function to display the acquired control status on the screen, and control status synchronization means in device control, for home appliance control, lighting control, air conditioning control, etc. in the home network Useful. It can also be applied to applications such as business equipment control, lighting control and air conditioning control in a business building management system and business building energy management system.
10a 第1制御装置
10b 第2制御装置
20 主制御装置
30,40,60 通信路
50 機器
100 制御状態情報保持部
101 制御状態情報変更部
102 変更状態保持部
103,1031 制御状態情報確定部
104,1041 要求情報送信部
105 取得応答受信部
106 定期更新部
107 制御状態情報表示部
108 確定タイマー部
200 要求情報受信部
201 取得応答送信部
202,2021 制御情報保持部
203 機器制御部
204 変更時刻比較部
DESCRIPTION OF
Claims (16)
前記副制御装置は、
前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、
前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、
前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、
前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、
前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、
前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、
前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、
前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段とを備え、
前記主制御装置は、
前記制御要求情報及び前記取得要求情報のいずれか1つを受信する要求情報受信手段と、
前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、
前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、
前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段とを備えることを特徴とする機器制御通信システム。 At least one device, a main control device connected to the device and controlling the device, and at least one sub-control device connected to the main control device and controlling the device via the main control device; A device control communication system comprising:
The sub-control device
Control state information holding means for holding at least one control state information indicating the control state of the device;
Control state information display means for displaying control state information held by the control state information holding means;
Control state information changing means for changing the control state information held by the control state information holding means;
Control request information including at least one control state information indicating an address of the device and a control state of the device and a control request code indicating control of the device, or an address of the device and a control state of the device Request information transmitting means for transmitting acquisition request information including at least an acquisition request code indicating that request is made;
Control state information confirming means for confirming control to the device by the control state information retained by the control state information retaining means, and instructing the request information transmitting means to transmit control request information;
When the control state information is changed by the control state information changing unit, state information indicating that the state is being changed is held, and when the control state information is determined by the control state information determining unit, State information holding means for holding state information to be represented;
When holding the state information indicating that the state information holding unit is in a fixed state, the request information transmitting unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding unit is in a changing state. When holding state information indicating that there is a periodic update means that does not instruct transmission of the acquisition request information,
As a response to the acquisition request information transmitted by the request information transmission unit, the acquisition response information including at least the control state information of the device is received, and the control state information held by the control state information holding unit is received as the acquisition response information. Acquisition response receiving means for changing to the control state information included in
The main controller is
Request information receiving means for receiving any one of the control request information and the acquisition request information;
Control information holding means for holding control information including at least control state information included in the control request information received by the request information receiving means when the request information receiving means receives the control request information;
Device control means for controlling the device according to control state information held by the control information holding means;
When the request information receiving means receives the acquisition request information, the apparatus control communication comprises: an acquisition response transmitting means for transmitting acquisition response information including at least the control state information held by the control information holding means system.
前記制御状態情報表示手段は、前記ハイパーテキストを処理し閲覧を可能とするウェブブラウザ手段を含むことを特徴とする請求項1記載の機器制御通信システム。 The acquisition response receiving means receives hypertext including at least the acquisition response information,
2. The apparatus control communication system according to claim 1, wherein the control status information display means includes web browser means for processing and browsing the hypertext.
前記定期更新手段は、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記リフレッシュ機能を無効とすることを特徴とする請求項2又は3記載の機器制御通信システム。 The web browser means has a refresh function for instructing transmission of the acquisition request information to the request information transmission means at regular time intervals,
4. The apparatus control communication system according to claim 2, wherein the periodic update unit invalidates the refresh function when the state information holding unit holds state information indicating that the state is being changed. .
前記制御状態情報確定手段は、前記確定タイマー手段が計測を終了した時、前記制御状態情報保持手段が保持する制御状態情報による前記機器の制御を確定することを特徴とする請求項1〜6のいずれかに記載の機器制御通信システム。 The sub-control device starts measuring time when the control state information held by the control state information holding unit is changed by the control state information changing unit, and ends measurement when an arbitrarily determined time has elapsed. A confirmation timer means for
7. The control state information determining unit determines the control of the device based on the control state information held by the control state information holding unit when the determination timer unit finishes the measurement. The device control communication system according to any one of the above.
前記主制御装置は、前記要求情報受信手段が前記制御要求情報を受信した際に、前記制御情報保持手段が既に制御情報を保持している場合、前記制御情報に含まれる変更時刻と前記制御情報保持手段が既に保持している変更時刻とを比較する変更時刻比較手段をさらに備え、
前記制御情報保持手段は、前記変更時刻比較手段による比較の結果、前記制御情報に含まれる変更時刻が、前記制御情報保持手段が既に保持している変更時刻よりも後である場合、前記制御情報を保持することを特徴とする請求項9記載の機器制御通信システム。 When receiving the control request information, the request information receiving means includes, in the control information, a time obtained by subtracting the fixed delay time included in the control request information from a time when the control request information is received. ,
When the request information receiving unit has received the control request information, the main control device, when the control information holding unit has already held the control information, the change time included in the control information and the control information It further comprises a change time comparison means for comparing the change time already held by the holding means,
When the change time included in the control information is later than the change time already held by the control information holding means as a result of the comparison by the change time comparison means, the control information holding means The apparatus control communication system according to claim 9, wherein:
前記副制御装置は、制御状態情報保持手段、制御状態情報表示手段、制御状態情報変更手段、要求情報送信手段、制御状態情報確定手段、状態情報保持手段、定期更新手段及び取得応答受信手段を備え、
前記主制御装置は、要求情報受信手段、制御情報保持手段、機器制御手段及び取得応答送信手段を備え、
前記制御状態情報保持手段が、前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持ステップと、
前記制御状態情報表示手段が、前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示ステップと、
前記制御状態情報変更手段が、前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更ステップと、
前記要求情報送信手段が、前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信ステップと、
前記制御状態情報確定手段が、前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定ステップと、
前記状態情報保持手段が、前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持ステップと、
前記定期更新手段が、前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新ステップと、
前記取得応答受信手段が、前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信ステップと、
前記要求情報受信手段が、前記制御要求情報及び前記取得要求情報のいずれか1つを受信する要求情報受信ステップと、
前記制御情報保持手段が、前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持ステップと、
前記機器制御手段が、前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御ステップと、
前記取得応答送信手段が、前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信ステップとを含むことを特徴とする機器制御通信方法。 At least one device, a main control device connected to the device and controlling the device, and at least one sub-control device connected to the main control device and controlling the device via the main control device; A device control communication method for controlling the device from the sub-control device,
The sub-control device includes a control state information holding unit, a control state information display unit, a control state information changing unit, a request information transmitting unit, a control state information determining unit, a state information holding unit, a periodic update unit, and an acquisition response receiving unit. ,
The main control device comprises request information receiving means, control information holding means, device control means and acquisition response sending means,
A control state information holding step in which the control state information holding means holds at least one piece of control state information representing the control state of the device;
A control state information display step in which the control state information display means displays the control state information held by the control state information holding means;
A control state information changing step in which the control state information changing means changes the control state information held by the control state information holding means;
The request information transmission means includes at least one control status information indicating an address of the device, at least one control status information indicating a control status of the device, and a control request code indicating control of the device, or A request information transmission step of transmitting acquisition request information including at least an address and an acquisition request code indicating requesting a control state of the device;
A control state information confirming step in which the control state information confirming means confirms control to the device based on the control state information retained by the control state information retaining means, and instructs the request information transmitting means to transmit control request information; ,
When the control state information is changed by the control state information changing unit, the state information holding unit holds state information indicating a changing state, and the control state information is determined by the control state information determining unit. A state information holding step for holding state information indicating that the state is sometimes determined;
When the periodic update unit holds state information indicating that the state information holding unit is in a fixed state, the request information transmission unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding is performed. A periodic update step not instructing transmission of the acquisition request information when the state information indicating that the means is in a changing state is held;
The acquisition state receiving unit receives the acquisition response information including at least the control state information of the device as a response to the acquisition request information transmitted by the request information transmitting unit, and the control state held by the control state information holding unit An acquisition response receiving step of changing information to control state information included in the acquisition response information;
A request information receiving step in which the request information receiving means receives any one of the control request information and the acquisition request information;
When the request information receiving means receives the control request information, the control information holding means holds control information including at least control state information included in the control request information received by the request information receiving means. Steps,
A device control step in which the device control means controls the device according to control state information held by the control information holding means;
The acquisition response transmission means includes an acquisition response transmission step of transmitting acquisition response information including at least the control state information held by the control information holding means when the request information receiving means receives the acquisition request information. A device control communication method characterized by the above.
前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、
前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、
前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、
前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、
前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、
前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、
前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、
前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段とを備えることを特徴とする制御装置。 A control device connected to another control device for controlling at least one device and controlling the device via the other control device;
Control state information holding means for holding at least one control state information indicating the control state of the device;
Control state information display means for displaying control state information held by the control state information holding means;
Control state information changing means for changing the control state information held by the control state information holding means;
Control request information including at least one control state information indicating an address of the device and a control state of the device and a control request code indicating control of the device, or an address of the device and a control state of the device Request information transmitting means for transmitting acquisition request information including at least an acquisition request code indicating that request is made;
Control state information confirming means for confirming control to the device by the control state information retained by the control state information retaining means, and instructing the request information transmitting means to transmit control request information;
When the control state information is changed by the control state information change unit, state information indicating that the state is being changed is held, and when the control state information is determined by the control state information determination unit, State information holding means for holding state information to be represented;
When holding the state information indicating that the state information holding unit is in a fixed state, the request information transmitting unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding unit is in a changing state. When holding state information indicating that there is a periodic update means that does not instruct transmission of the acquisition request information,
As a response to the acquisition request information transmitted by the request information transmission unit, the acquisition response information including at least the control state information of the device is received, and the control state information held by the control state information holding unit is received as the acquisition response information. An acquisition response receiving means for changing to the control state information included in the control device.
前記機器の制御状態を表す制御状態情報を少なくとも1つ保持する制御状態情報保持手段と、
前記制御状態情報保持手段が保持する制御状態情報を表示する制御状態情報表示手段と、
前記制御状態情報保持手段が保持する制御状態情報を変更する制御状態情報変更手段と、
前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、または、前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報を送信する要求情報送信手段と、
前記制御状態情報保持手段が保持する制御状態情報による前記機器への制御を確定し、前記要求情報送信手段に制御要求情報の送信を指示する制御状態情報確定手段と、
前記制御状態情報変更手段によって制御状態情報が変更された時に変更中状態であることを表す状態情報を保持し、前記制御状態情報確定手段によって制御状態情報が確定された時に確定状態であることを表す状態情報を保持する状態情報保持手段と、
前記状態情報保持手段が確定状態であることを表す状態情報を保持する場合、一定時間間隔毎に要求情報送信手段へ前記取得要求情報の送信を指示し、前記状態情報保持手段が変更中状態であることを表す状態情報を保持する場合、前記取得要求情報の送信を指示しない定期更新手段と、
前記要求情報送信手段によって送信された前記取得要求情報に対する応答として前記機器の制御状態情報を少なくとも含む取得応答情報を受信し、前記制御状態情報保持手段が保持する制御状態情報を、前記取得応答情報に含まれる制御状態情報に変更する取得応答受信手段としてコンピュータを機能させることを特徴とする機器制御通信プログラム。 A device control communication program connected to another control device for controlling at least one device and controlling the device via the other control device;
Control state information holding means for holding at least one control state information indicating the control state of the device;
Control state information display means for displaying control state information held by the control state information holding means;
Control state information changing means for changing the control state information held by the control state information holding means;
Control request information including at least one control state information indicating an address of the device and a control state of the device and a control request code indicating control of the device, or an address of the device and a control state of the device Request information transmitting means for transmitting acquisition request information including at least an acquisition request code indicating that request is made;
Control state information confirming means for confirming control to the device by the control state information retained by the control state information retaining means, and instructing the request information transmitting means to transmit control request information;
When the control state information is changed by the control state information change unit, state information indicating that the state is being changed is held, and when the control state information is determined by the control state information determination unit, State information holding means for holding state information to be represented;
When holding the state information indicating that the state information holding unit is in a fixed state, the request information transmitting unit is instructed to transmit the acquisition request information at regular time intervals, and the state information holding unit is in a changing state. When holding state information indicating that there is a periodic update means that does not instruct transmission of the acquisition request information,
As a response to the acquisition request information transmitted by the request information transmission unit, the acquisition response information including at least the control state information of the device is received, and the control state information held by the control state information holding unit is received as the acquisition response information. A device control communication program for causing a computer to function as an acquisition response receiving means for changing to control state information included in the control information.
前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、及び前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報のいずれか1つを前記他の制御装置から受信する要求情報受信手段と、
前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、
前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、
前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段とを備えることを特徴とする制御装置。 A control device connected to at least one device and at least one other control device that controls the device via a control device, and controls the device;
Control request information including at least one control state information indicating the address of the device, the control state of the device, and a control request code indicating control of the device, and the address of the device and the control state of the device Request information receiving means for receiving any one of acquisition request information including at least an acquisition request code indicating request from the other control device;
Control information holding means for holding control information including at least control state information included in the control request information received by the request information receiving means when the request information receiving means receives the control request information;
Device control means for controlling the device according to control state information held by the control information holding means;
A control apparatus comprising: an acquisition response transmission unit configured to transmit acquisition response information including at least control state information held by the control information holding unit when the request information receiving unit receives the acquisition request information.
前記機器のアドレスと前記機器の制御状態を示す少なくとも1つの制御状態情報と前記機器を制御することを示す制御要求コードとを少なくとも含む制御要求情報、及び前記機器のアドレスと前記機器の制御状態を要求することを示す取得要求コードとを少なくとも含む取得要求情報のいずれか1つを前記他の制御装置から受信する要求情報受信手段と、
前記要求情報受信手段が前記制御要求情報を受信した場合、前記要求情報受信手段が受信した制御要求情報に含まれる制御状態情報を少なくとも含む制御情報を保持する制御情報保持手段と、
前記制御情報保持手段が保持する制御状態情報に従って前記機器を制御する機器制御手段と、
前記要求情報受信手段が前記取得要求情報を受信した場合、前記制御情報保持手段が保持する制御状態情報を少なくとも含む取得応答情報を送信する取得応答送信手段としてコンピュータを機能させることを特徴とする機器制御通信プログラム。 A device control communication program for controlling the device, connected to at least one device and at least one other control device that controls the device via a control device,
Control request information including at least one control state information indicating the address of the device, the control state of the device, and a control request code indicating control of the device, and the address of the device and the control state of the device Request information receiving means for receiving any one of acquisition request information including at least an acquisition request code indicating request from the other control device;
Control information holding means for holding control information including at least control state information included in the control request information received by the request information receiving means when the request information receiving means receives the control request information;
Device control means for controlling the device according to control state information held by the control information holding means;
When the request information receiving unit receives the acquisition request information, the computer functions as an acquisition response transmitting unit that transmits acquisition response information including at least control state information held by the control information holding unit. Control communication program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006007255A JP2007188394A (en) | 2006-01-16 | 2006-01-16 | Equipment control communication system, equipment control communication method, controller, and equipment control communication program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006007255A JP2007188394A (en) | 2006-01-16 | 2006-01-16 | Equipment control communication system, equipment control communication method, controller, and equipment control communication program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007188394A true JP2007188394A (en) | 2007-07-26 |
Family
ID=38343508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006007255A Pending JP2007188394A (en) | 2006-01-16 | 2006-01-16 | Equipment control communication system, equipment control communication method, controller, and equipment control communication program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007188394A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015186033A (en) * | 2014-03-24 | 2015-10-22 | 東芝ライテック株式会社 | Communication apparatus and operation method for the same |
JP2015207821A (en) * | 2014-04-17 | 2015-11-19 | 日立アプライアンス株式会社 | Remote operation device and remote operation system |
JP2015535987A (en) * | 2012-09-22 | 2015-12-17 | グーグル インコーポレイテッド | Subscription notification mechanism for distributed state synchronization |
-
2006
- 2006-01-16 JP JP2006007255A patent/JP2007188394A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015535987A (en) * | 2012-09-22 | 2015-12-17 | グーグル インコーポレイテッド | Subscription notification mechanism for distributed state synchronization |
US10356218B2 (en) | 2012-09-22 | 2019-07-16 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
US11102334B2 (en) | 2012-09-22 | 2021-08-24 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
US11516275B2 (en) | 2012-09-22 | 2022-11-29 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
JP2015186033A (en) * | 2014-03-24 | 2015-10-22 | 東芝ライテック株式会社 | Communication apparatus and operation method for the same |
JP2015207821A (en) * | 2014-04-17 | 2015-11-19 | 日立アプライアンス株式会社 | Remote operation device and remote operation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7028117B2 (en) | Information processing system, information processing device, information processing method and program | |
JP5976210B2 (en) | Monitoring system, facility management apparatus, monitoring method and program | |
JP5683313B2 (en) | Information processing apparatus, activation control method, and program | |
JP6996097B2 (en) | Mediation equipment, information processing systems and programs | |
EP3197094B1 (en) | Software upgrading method and device | |
JP5936651B2 (en) | Remote operation system and remote operation method | |
JP6231594B2 (en) | Control device, equipment operation system, control method and program | |
JP5607355B2 (en) | Information processing apparatus and information processing apparatus control method | |
JP2007188394A (en) | Equipment control communication system, equipment control communication method, controller, and equipment control communication program | |
JP2004159281A (en) | Digital camera, image data transmission method of digital camera, and image data transmission/reception system | |
CN106105253B (en) | Controller, control system, and control method of control system | |
JP5506729B2 (en) | Engineering equipment | |
JP6785915B2 (en) | Control devices, equipment operation systems, control methods and programs | |
JP6527206B2 (en) | CONTROL DEVICE, DEVICE OPERATION SYSTEM, CONTROL METHOD, AND PROGRAM | |
JP2008027144A (en) | Gateway device and controlled device | |
JP2010016434A (en) | Apparatus, system and method for remote management of equipment | |
JP6687430B2 (en) | Device control device, device control method, and device operation content acquisition method | |
JP2005291772A (en) | Electronic equipment and its control system | |
JP2006352586A (en) | Communication management device and communication system | |
JP6398275B2 (en) | Device control apparatus, device control method, and device control system | |
KR101708499B1 (en) | Apparatus and method for providing device description in home network | |
JP2018125867A (en) | Controller, control system, and control method for controller | |
JP2019193203A (en) | Network system, server, and information processing method | |
JP2020052843A (en) | Information processing system, information processing method, information processing device, and program | |
JP2006059233A (en) | Network device and device reservation system |