JP2017016874A - Control device and control system - Google Patents

Control device and control system Download PDF

Info

Publication number
JP2017016874A
JP2017016874A JP2015131970A JP2015131970A JP2017016874A JP 2017016874 A JP2017016874 A JP 2017016874A JP 2015131970 A JP2015131970 A JP 2015131970A JP 2015131970 A JP2015131970 A JP 2015131970A JP 2017016874 A JP2017016874 A JP 2017016874A
Authority
JP
Japan
Prior art keywords
control
control device
information
master
synchronization
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.)
Granted
Application number
JP2015131970A
Other languages
Japanese (ja)
Other versions
JP6519358B2 (en
Inventor
紗耶香 菊田
Sayaka Kikuta
紗耶香 菊田
久 山本
Hisashi Yamamoto
久 山本
西垣 英則
Hidenori Nishigaki
英則 西垣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Lighting and Technology Corp
Original Assignee
Toshiba Lighting and Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Lighting and Technology Corp filed Critical Toshiba Lighting and Technology Corp
Priority to JP2015131970A priority Critical patent/JP6519358B2/en
Priority to KR1020160010797A priority patent/KR102475744B1/en
Publication of JP2017016874A publication Critical patent/JP2017016874A/en
Application granted granted Critical
Publication of JP6519358B2 publication Critical patent/JP6519358B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

PROBLEM TO BE SOLVED: To provide a control device and a control system that can reduce communication traffic when a master and a slave synchronize.SOLUTION: A control device according to one example of an embodiment includes a holding unit and a synchronization control unit. The holding unit holds control device information including identification information on the control device that controls a terminal device and information on a master among a plurality of control devices, and control information on a terminal device controlled by each control device. The synchronization control unit synchronizes the control device information and the control information with another control device at different timing if the control device information indicates that its control device is a master.SELECTED DRAWING: Figure 1

Description

本発明の実施形態は、制御装置および制御システムに関する。   Embodiments described herein relate generally to a control device and a control system.

従来、複数の通信装置のうちマスタとして動作する通信装置が、スレーブとして動作する他の通信装置を管理するマスタスレーブ方式の通信手段が知られている。このようなマスタスレーブ方式の通信手段においては、マスタが故障した場合等に、スレーブのいずれかが、新たなマスタとなり、他のスレーブを管理する。   2. Description of the Related Art Conventionally, a master-slave type communication unit is known in which a communication device operating as a master among a plurality of communication devices manages other communication devices operating as slaves. In such a master-slave communication means, when the master fails, one of the slaves becomes a new master and manages the other slaves.

近年、制御装置が無線通信を介して照明機器を制御する照明制御システムが開発されており、制御装置の故障時に備えて、複数の制御装置に上述したマスタスレーブ方式の通信手段を適用する手法が考えられる。しかしながら、制御対象となる各照明機器の情報等、制御装置が保持する情報が多くなると、マスタとスレーブとが同期するための通信量が増大し、システム全体の接続信頼性や通信速度が低下する恐れがある。   In recent years, a lighting control system in which a control device controls lighting equipment via wireless communication has been developed, and a method of applying the above-described master-slave communication means to a plurality of control devices in preparation for a failure of the control device. Conceivable. However, if the information held by the control device, such as information on each lighting device to be controlled, increases, the amount of communication for synchronization between the master and the slave increases, and the connection reliability and communication speed of the entire system decrease. There is a fear.

特表2006−510181号公報JP-T-2006-510181 特許3421017号公報Japanese Patent No. 3421017

本発明が解決しようとする課題は、マスタとスレーブとが同期する際の通信量を削減することができる制御装置および制御システムを提供することである。   The problem to be solved by the present invention is to provide a control device and a control system that can reduce the amount of communication when a master and a slave are synchronized.

実施形態の一例に係る制御装置は、保持部と、同期制御部とを有する。保持部は、端末装置を制御する制御装置の識別情報と、複数の制御装置のうちマスタに関する情報とを含む制御装置情報と、各制御装置により制御される端末装置に関する制御情報とを保持する。同期制御部は、自装置がマスタであると前記制御装置情報が示す場合は、他の制御装置との間で前記制御装置情報と前記制御情報とを異なるタイミングで同期させる。   The control device according to an example of the embodiment includes a holding unit and a synchronization control unit. The holding unit holds control device information including identification information of a control device that controls the terminal device, information about the master among the plurality of control devices, and control information about the terminal device controlled by each control device. When the control device information indicates that the own device is a master, the synchronization control unit synchronizes the control device information and the control information with other control devices at different timings.

実施形態の一例に係る制御装置および制御システムによれば、マスタとスレーブとが同期する際の通信量を削減することができる。   According to the control device and the control system according to an example of the embodiment, it is possible to reduce the communication amount when the master and the slave are synchronized.

図1は、実施形態に係る制御装置が実行する処理の一例を示す図である。FIG. 1 is a diagram illustrating an example of processing executed by the control device according to the embodiment. 図2は、実施形態に係る制御システムの機能構成の一例を説明するための図である。FIG. 2 is a diagram for explaining an example of a functional configuration of the control system according to the embodiment. 図3は、実施形態に係る制御装置有する機能構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a functional configuration included in the control device according to the embodiment. 図4は、実施形態にかかるコントローラ情報リストに格納される情報の一例を説明する図である。FIG. 4 is a diagram illustrating an example of information stored in the controller information list according to the embodiment. 図5は、実施形態にかかる制御装置がマスタである際に実行する起動処理の一例を示すシーケンス図である。FIG. 5 is a sequence diagram illustrating an example of a startup process executed when the control device according to the embodiment is a master. 図6は、実施形態にかかる制御装置がスレーブである際に実行する起動処理の一例を示すシーケンス図である。FIG. 6 is a sequence diagram illustrating an example of a startup process executed when the control device according to the embodiment is a slave. 図7は、実施形態にかかるマスタが故障した際に実行される同期処理の一例を示すシーケンス図である。FIG. 7 is a sequence diagram illustrating an example of a synchronization process executed when the master according to the embodiment fails. 図8は、実施形態にかかるスレーブが故障した際に実行される同期処理の一例を示すシーケンス図である。FIG. 8 is a sequence diagram illustrating an example of a synchronization process executed when the slave according to the embodiment fails. 図9は、実施形態にかかるマスタが復旧した際に実行される同期処理の一例を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating an example of synchronization processing executed when the master according to the embodiment is restored. 図10は、実施形態に係る制御装置が実行する同期処理の流れの一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of a flow of synchronization processing executed by the control device according to the embodiment.

以下、図面を参照して、実施形態に係る制御装置および制御システムを説明する。実施形態において同一の機能を有する構成には同一の符号を付し、重複する説明は省略する。なお、以下の実施形態で説明する制御装置および制御システムは、一例を示すに過ぎず、実施形態を限定するものではない。例えば、以下の実施形態では、端末装置10を制御する制御装置100が実行する処理の一例について説明するが、かかる処理は、端末装置10を制御する装置以外にも、任意の装置に適用することができる。なお、以下の各実施形態は、矛盾しない範囲内で適宜組みあわせてもよい。   Hereinafter, a control device and a control system according to embodiments will be described with reference to the drawings. In the embodiment, configurations having the same functions are denoted by the same reference numerals, and redundant description is omitted. In addition, the control apparatus and control system which are demonstrated by the following embodiment show only an example, and do not limit embodiment. For example, in the following embodiment, an example of processing executed by the control device 100 that controls the terminal device 10 will be described. However, such processing may be applied to any device other than the device that controls the terminal device 10. Can do. The following embodiments may be appropriately combined within a consistent range.

以下の実施形態に係る制御装置100aは、複数の制御装置100a〜100cの中から設定されるマスタに関する情報を含むコントローラ情報リスト105と、各制御装置100a〜100cにより制御される端末装置10に関する制御情報106とを保持する。そして、制御装置100aは、自装置がマスタであるとコントローラ情報リスト105が示す場合は、他の制御装置100b、100cとの間でコントローラ情報リスト105と制御情報106とを異なるタイミングで同期させる。   The control device 100a according to the following embodiment includes a controller information list 105 including information related to a master set from among a plurality of control devices 100a to 100c, and control related to the terminal device 10 controlled by each control device 100a to 100c. Information 106 is held. When the controller information list 105 indicates that the control apparatus 100a is the master, the control apparatus 100a synchronizes the controller information list 105 and the control information 106 at different timings with the other control apparatuses 100b and 100c.

また、以下の実施形態に係る制御装置100aは、自装置がマスタである旨をコントローラ情報リスト105が示す場合は、他の制御装置100b、100cが保持するコントローラ情報リスト105と制御情報106とを、自装置が保持するコントローラ情報リスト105と制御情報106とに同期させる。   In addition, when the controller information list 105 indicates that the control apparatus 100a according to the following embodiment is the master, the control information 100 and the control information 106 held by the other control apparatuses 100b and 100c are displayed. The controller information list 105 and the control information 106 held by the own device are synchronized.

また、以下の実施形態に係る制御装置100aは、自装置がマスタである旨をコントローラ情報リスト105が示す場合は、各制御装置100b、100cとの間で定期的にコントローラ情報リスト105を同期させ、他の制御装置100b、100cとコントローラ情報リスト105を同期させることができない期間が所定の閾値を超えた場合は、他の制御装置100b、100cが故障した旨を、自装置が保持するコントローラ情報リスト105に反映させる。   In addition, when the controller information list 105 indicates that the control apparatus 100a according to the following embodiment is the master, the control apparatus 100a periodically synchronizes the controller information list 105 with the control apparatuses 100b and 100c. When the period during which the other control devices 100b and 100c cannot be synchronized with the controller information list 105 exceeds a predetermined threshold, the controller information held by the own device that the other control devices 100b and 100c have failed. This is reflected in the list 105.

また、以下の実施形態に係る制御装置100aは、他の制御装置100bがマスタである旨をコントローラ情報リスト105が示す場合は、自装置が保持するコントローラ情報リスト105をマスタが保持するコントローラ情報リスト105と定期的に同期させ、マスタとコントローラ情報リスト105を同期させることができない場合は、各制御装置100に対してネットワークモニタを要求する。   In addition, when the controller information list 105 indicates that the other control device 100b is the master, the controller 100a according to the following embodiment is a controller information list that the master holds the controller information list 105 that the device itself holds. If the master and the controller information list 105 cannot be synchronized with each other on a regular basis, the control device 100 is requested to perform a network monitor.

また、以下の実施形態に係る制御装置100aは、ネットワークモニタの要求によって作成したコントローラ情報リスト105に自装置がマスタである旨が含まれる場合は、他の制御装置100b、100cが保持する制御情報106を自装置が保持する制御情報106に同期させる。   In addition, the control device 100a according to the following embodiment, when the controller information list 105 created by the request of the network monitor includes that the own device is the master, the control information held by the other control devices 100b and 100c 106 is synchronized with the control information 106 held by the own apparatus.

また、以下の実施形態に係る制御装置100aは、ネットワークモニタの要求によってコントローラ情報リスト105を生成してから所定の時間が経過した後で、他の制御装置100b、100cが保持する制御情報106を自装置が保持する制御情報106に同期させる。   In addition, the control device 100a according to the following embodiment stores the control information 106 held by the other control devices 100b and 100c after a predetermined time has elapsed since the controller information list 105 was generated by a request from the network monitor. Synchronize with the control information 106 held by the device itself.

また、以下の実施形態に係る制御装置100aは、自装置が複数の制御装置100b、100cを含むネットワークに追加された場合は、ネットワークの各制御装置100b、100cに対して、ネットワークモニタを要求する。   In addition, when the control apparatus 100a according to the following embodiment is added to a network including a plurality of control apparatuses 100b and 100c, the control apparatus 100a requests a network monitor from the control apparatuses 100b and 100c in the network. .

また、以下の実施形態に係る制御装置100aは、自装置が新たなマスタである旨をネットワークモニタの要求によって作成したコントローラ情報リスト105が示す場合は、自装置が保持する制御情報106を、自装置がネットワークに追加された際にマスタに設定されていた制御装置100bが保持する制御情報106と同期させ、制御情報106の同期後に、マスタの切り替えを行う。   In addition, when the controller information list 105 created by a request from the network monitor indicates that the control apparatus 100a according to the following embodiment is a new master, the control apparatus 100a stores the control information 106 held by the control apparatus 100a. When the device is added to the network, it is synchronized with the control information 106 held by the control device 100b set as the master, and after the control information 106 is synchronized, the master is switched.

また、以下の実施形態に係る制御システム1は、端末装置10を制御する複数の制御装置100a〜100cを有する。また、制御装置100aは、複数の制御装置100a〜100cの中から設定されるマスタに関する情報を含むコントローラ情報リスト105と、端末装置10に関する制御情報106とを保持する。そして、制御装置100aは、自装置がマスタであるとコントローラ情報リスト105が示す場合は、他の制御装置100b、100cとの間でコントローラ情報リスト105と制御情報106とを異なるタイミングで同期させる。   The control system 1 according to the following embodiment includes a plurality of control devices 100 a to 100 c that control the terminal device 10. In addition, the control device 100a holds a controller information list 105 including information related to a master set from the plurality of control devices 100a to 100c, and control information 106 related to the terminal device 10. When the controller information list 105 indicates that the control apparatus 100a is the master, the control apparatus 100a synchronizes the controller information list 105 and the control information 106 at different timings with the other control apparatuses 100b and 100c.

[実施形態]
(実施形態に係る制御システムの構成)
図1は、実施形態に係る制御装置が実行する処理の一例を示す図である。図1に示す例では、制御システム1は、照明機器10a、10bやセンサ10cを制御する複数の制御装置100a〜100c(以下、「制御装置100」と記載する場合がある。)を有する。なお、制御システム1に設置される制御装置100の数や、制御装置100が制御する照明機器10a、10bやセンサ10cの種別や数などは、任意に設定できる。
[Embodiment]
(Configuration of control system according to embodiment)
FIG. 1 is a diagram illustrating an example of processing executed by the control device according to the embodiment. In the example illustrated in FIG. 1, the control system 1 includes a plurality of control devices 100a to 100c (hereinafter, may be referred to as “control device 100”) that control the lighting devices 10a and 10b and the sensor 10c. The number of control devices 100 installed in the control system 1 and the types and numbers of the lighting devices 10a and 10b and sensors 10c controlled by the control device 100 can be arbitrarily set.

制御システム1において、照明機器10a、10bは、無線通信を介して制御可能な照明装置である。例えば、照明機器10a、10bは、無線通信を介して制御装置100cから制御指示を受信すると、受信した制御指示に従って、点灯、消灯、照度の変更、照明する光の色彩の変更等を実行する。   In the control system 1, the lighting devices 10a and 10b are lighting devices that can be controlled via wireless communication. For example, when the lighting devices 10a and 10b receive a control instruction from the control device 100c via wireless communication, the lighting devices 10a and 10b execute lighting, turning off, changing the illuminance, changing the color of light to be illuminated, and the like according to the received control instruction.

センサ10cは、所定の状態を検出可能な検出装置であり、例えば、人感センサである。例えば、センサ10cは、赤外線等を用いて、所定のエリア内に人がいる旨を検出した場合は、検出結果を制御装置100cに送信する。なお、以下の説明では、照明機器10a、10b、およびセンサ10c等、制御装置100の制御対象となる装置を端末装置10と記載する場合がある。   The sensor 10c is a detection device capable of detecting a predetermined state, for example, a human sensor. For example, when the sensor 10c detects that there is a person in a predetermined area using infrared rays or the like, the sensor 10c transmits the detection result to the control device 100c. In the following description, devices that are controlled by the control device 100, such as the lighting devices 10a and 10b, and the sensor 10c, may be referred to as the terminal device 10.

制御装置100は、無線LAN(Local Area Network)等の所定の規格に沿った無線通信を介して、端末装置10の制御を行う。例えば、制御装置100は、図示を省略した操作端末等から照明装置10aの点灯指示を受けつけた場合は、無線通信を介して点灯指示を照明装置10aに送信し、照明装置10aを点灯させる。   The control device 100 controls the terminal device 10 via wireless communication in accordance with a predetermined standard such as a wireless LAN (Local Area Network). For example, when the control device 100 receives a lighting instruction for the lighting device 10a from an operation terminal (not shown) or the like, the control device 100 transmits the lighting instruction to the lighting device 10a via wireless communication to turn on the lighting device 10a.

また、制御装置100aは、各制御装置100a〜100cの間で同期させる情報である同期情報104aを保持する。同期情報104aには、各制御装置100a〜100cを識別する個別ID(identifier)や、どの制御装置100がマスタであるかを示すマスタ情報等を含んだ制御装置情報としてのコントローラ情報リスト105aと、制御装置100により制御される端末装置10の情報を含む制御情報106aとが含まれる。例えば、制御装置100aは、各端末装置10の設定や各種の制御内容、制御を実行する際のルール等を制御情報106aとして保持する。   Further, the control device 100a holds synchronization information 104a that is information to be synchronized between the control devices 100a to 100c. The synchronization information 104a includes a controller information list 105a as control device information including individual IDs (identifiers) for identifying the control devices 100a to 100c, master information indicating which control device 100 is a master, and the like, Control information 106a including information on the terminal device 10 controlled by the control device 100 is included. For example, the control device 100a holds the settings of each terminal device 10, various control contents, rules for executing control, and the like as control information 106a.

また、制御装置100bも同様に、コントローラ情報リスト105bおよび制御情報106bを含む同期情報104bを保持しており、制御装置100cも、コントローラ情報リスト105cおよび制御情報106cを含む同期情報104cを保持している。なお、以下の説明では、各同期情報104a〜140cを同期情報104と記載する場合があり、各コントローラ情報リスト105a〜105cをコントローラ情報リスト105と記載する場合があり、制御情報106a〜106cを制御情報106と記載する場合がある。   Similarly, the control device 100b holds the synchronization information 104b including the controller information list 105b and the control information 106b, and the control device 100c also holds the synchronization information 104c including the controller information list 105c and the control information 106c. Yes. In the following description, the synchronization information 104a to 140c may be described as the synchronization information 104, the controller information lists 105a to 105c may be described as the controller information list 105, and the control information 106a to 106c is controlled. Information 106 may be described.

ここで、各制御装置100a〜100cは、有線通信手段若しくは無線通信手段を介して相互に通信可能な装置であり、フェールセーフの観点より、マスタスレーブ方式の制御を実行する。例えば、制御装置100a〜100cは、いずれか1台がマスタとして動作し、マスタが故障した際に、スレーブとして動作していた制御装置が新たなマスタとして動作する。   Here, the control devices 100a to 100c are devices that can communicate with each other via a wired communication unit or a wireless communication unit, and execute master-slave control from the viewpoint of fail-safe. For example, any one of the control devices 100a to 100c operates as a master, and when the master fails, the control device that has been operating as a slave operates as a new master.

このようなマスタスレーブ方式の制御を実現する場合は、制御装置100が保持する同期情報104を定期的に同期させる必要がある。しかしながら、同期情報104のデータサイズが大きい場合、各制御装置100が保持する同期情報104を同期させるための通信量が増大し、制御システム1全体の接続信頼性や通信速度が低下する恐れがある。   In order to realize such master-slave control, it is necessary to periodically synchronize the synchronization information 104 held by the control device 100. However, when the data size of the synchronization information 104 is large, the amount of communication for synchronizing the synchronization information 104 held by each control device 100 increases, which may reduce the connection reliability and communication speed of the entire control system 1. .

そこで、制御装置100は、同期情報104のうち、コントローラ情報リスト105と制御情報106とをそれぞれ異なるタイミングで同期させる同期処理を実行する。より具体的には、制御装置100は、コントローラ情報リスト105を制御情報106とは異なるタイミングで定期的に同期させ、所定のタイミングで制御情報106を同期させる。   Therefore, the control device 100 executes a synchronization process for synchronizing the controller information list 105 and the control information 106 in the synchronization information 104 at different timings. More specifically, the control device 100 periodically synchronizes the controller information list 105 at a timing different from the control information 106 and synchronizes the control information 106 at a predetermined timing.

以下、図面を用いて説明する。なお、以下の説明では、制御装置100aがマスタとして動作し、制御装置100b、100cがスレーブとして動作する際に同期情報104を同期させる同期処理の一例について説明する。例えば、スレーブである制御装置100bは、所定の時間間隔でコントローラ情報リスト105bの同期をマスタである制御装置100aに要求する(ステップS1)。かかる場合、制御装置100aは、無線通信を介して、制御装置100bにコントローラ情報リスト105aの内容を応答として送信する(ステップS2)。この結果、制御装置100bは、受信したコントローラ情報リスト105aの内容に基づいて、自装置のコントローラ情報リスト105bを更新する(ステップS3)。   Hereinafter, it demonstrates using drawing. In the following description, an example of a synchronization process for synchronizing the synchronization information 104 when the control device 100a operates as a master and the control devices 100b and 100c operate as slaves will be described. For example, the control device 100b that is a slave requests the control device 100a that is a master to synchronize the controller information list 105b at a predetermined time interval (step S1). In such a case, the control device 100a transmits the content of the controller information list 105a as a response to the control device 100b via wireless communication (step S2). As a result, the control device 100b updates the controller information list 105b of the own device based on the contents of the received controller information list 105a (step S3).

同様に、スレーブである制御装置100cは、所定の時間間隔でコントローラ情報リスト105cの同期をマスタである制御装置100aに要求する(ステップS4)。かかる場合、制御装置100aは、無線通信を介して、制御装置100cにコントローラ情報リスト105aの内容を応答として送信する(ステップS5)。この結果、制御装置100cは、受信したコントローラ情報リスト105aの内容に基づいて、自装置のコントローラ情報リスト105cを更新する(ステップS6)。このように、通常の状態においては、制御装置100は、同期情報104のうちコントローラ情報リスト105のみを同期させることで、通信量を削減する。   Similarly, the control device 100c that is the slave requests the control device 100a that is the master to synchronize the controller information list 105c at a predetermined time interval (step S4). In such a case, the control device 100a transmits the content of the controller information list 105a as a response to the control device 100c via wireless communication (step S5). As a result, the control device 100c updates its own controller information list 105c based on the received contents of the controller information list 105a (step S6). Thus, in a normal state, the control device 100 reduces the amount of communication by synchronizing only the controller information list 105 in the synchronization information 104.

ここで、設定端末30は、照明機器10aの設定照度や、センサ10cの感度等、制御内容を変更する場合は、制御情報106の変更指示を、制御装置100bに送信する(ステップS7)。なお、係る変更指示は、制御装置100bではなく、他の制御装置100a、100cが受け付けてもよい。   Here, the setting terminal 30 transmits an instruction to change the control information 106 to the control device 100b when changing the control contents such as the set illuminance of the lighting device 10a and the sensitivity of the sensor 10c (step S7). Such a change instruction may be received not by the control device 100b but by the other control devices 100a and 100c.

かかる場合、制御装置100bは、マスタである制御装置100aに対して、変更前の制御情報106bと変更後の制御情報106bとの差分等を含む変更通知コマンドを送信する(ステップS8)。この結果、制御装置100aは、自装置の制御情報106aを、変更内容に従って更新する(ステップS9)。そして、制御装置100aは、制御装置100b、100cに対して同期情報104の差分を送信し、同期情報104b、104cの更新を要求する(ステップS10)。この結果、制御情報100b、100cは、自装置が保持する同期情報104b、104cを、マスタである制御装置100aが保持する同期情報104aに更新することができる(ステップS11、S12)。   In such a case, the control device 100b transmits a change notification command including a difference between the control information 106b before the change and the control information 106b after the change to the control device 100a that is the master (Step S8). As a result, the control device 100a updates the control information 106a of the own device according to the changed content (step S9). Then, the control device 100a transmits the difference of the synchronization information 104 to the control devices 100b and 100c, and requests an update of the synchronization information 104b and 104c (Step S10). As a result, the control information 100b and 100c can update the synchronization information 104b and 104c held by the own device to the synchronization information 104a held by the control device 100a as the master (steps S11 and S12).

このように、制御装置100は、どの制御装置100がマスタであるかを示すコントローラ情報リスト105と、端末装置10に関する制御情報106とを保持し、自装置がマスタである場合は、コントローラ情報リスト105と制御情報106とを、異なるタイミングで同期させる。このため、制御装置100は、通信量を削減し、接続信頼性や通信速度の低下を防ぐことができる。   As described above, the control device 100 holds the controller information list 105 indicating which control device 100 is the master and the control information 106 related to the terminal device 10. When the own device is the master, the controller information list is stored. 105 and control information 106 are synchronized at different timings. For this reason, the control apparatus 100 can reduce the communication amount and prevent the connection reliability and the communication speed from being lowered.

なお、上述した説明では、設定端末30から変更指示を受信した際に、同期情報104を同期させる処理の一例について説明したが、実施形態は、これに限定されるものではない。例えば、制御装置100は、センサ10cの検知結果に応じて照明機器10aを点灯させた結果、制御情報106に変更が生じた場合は、上述した同期処理を実行することで、同期情報104を同期させてもよい。また、制御装置100aは、設定端末30から変更指示を受付けた場合に、制御装置100b、100cに対して同期情報104の更新を要求してもよい。   In the above description, an example of processing for synchronizing the synchronization information 104 when a change instruction is received from the setting terminal 30 has been described. However, the embodiment is not limited to this. For example, if the control information 106 is changed as a result of turning on the lighting device 10a according to the detection result of the sensor 10c, the control device 100 synchronizes the synchronization information 104 by executing the synchronization process described above. You may let them. In addition, when receiving a change instruction from the setting terminal 30, the control device 100a may request the control devices 100b and 100c to update the synchronization information 104.

(実施形態に係る制御システム1の機能構成)
次に、図2を用いて、制御システム1が有する機能構成の一例について説明する。図2は、実施形態に係る制御システムの機能構成の一例を説明するための図である。図2に示す例では、制御システム1は、照明機器10a、10b、センサ10c、設定端末30a〜30c、ハブ40、複数の制御装置100a〜100cを有する。
(Functional configuration of the control system 1 according to the embodiment)
Next, an example of the functional configuration of the control system 1 will be described with reference to FIG. FIG. 2 is a diagram for explaining an example of a functional configuration of the control system according to the embodiment. In the example illustrated in FIG. 2, the control system 1 includes lighting devices 10a and 10b, a sensor 10c, setting terminals 30a to 30c, a hub 40, and a plurality of control devices 100a to 100c.

なお、図2に示す例では、制御装置100cが3つの端末装置10を制御する例について記載したが、制御装置100cは、任意の数および任意の種別の端末装置10を制御することができる。また、図2では図示を省略したが、制御装置100a、100bも、任意の数および任意の種別の制御装置10を制御しているものとする。また、以下の説明では、制御装置100aがマスタとして動作しているものとする。   In the example illustrated in FIG. 2, an example in which the control device 100c controls the three terminal devices 10 has been described. However, the control device 100c can control any number and any type of terminal devices 10. Although not shown in FIG. 2, it is assumed that the control devices 100a and 100b are also controlling an arbitrary number and an arbitrary type of the control devices 10. In the following description, it is assumed that the control device 100a operates as a master.

設定端末30a〜30cは、制御システム1の設定や操作を行うための端末装置である。例えば、設定端末30a、30bは、有線若しくは無線通信を介して、制御情報106の設定や変更等を行う。また、設定端末30cは、無線通信を介して、照明機器10aの点灯や消灯等の指示を照明機器100cに送信する。なお、以下の説明では、制御端末30a〜30cを制御端末30と記載する場合がある。   The setting terminals 30 a to 30 c are terminal devices for performing settings and operations of the control system 1. For example, the setting terminals 30a and 30b perform setting or changing of the control information 106 via wired or wireless communication. In addition, the setting terminal 30c transmits an instruction to turn on or off the lighting device 10a to the lighting device 100c via wireless communication. In the following description, the control terminals 30a to 30c may be described as the control terminal 30 in some cases.

ハブ40は、各制御装置100a〜100cを接続する有線LANのハブ装置である。また、ハブ40は、制御システム1と外部ネットワークNとを接続するゲートウェイとしての機能を有し、外部ネットワークNを介して受信した各種の制御指示を、制御装置100に対して伝達する機能を有する。   The hub 40 is a wired LAN hub device that connects the control devices 100a to 100c. Further, the hub 40 has a function as a gateway for connecting the control system 1 and the external network N, and has a function of transmitting various control instructions received via the external network N to the control device 100. .

このような構成の元、各制御装置100a〜100cは、利用者からの操作に従って、以下の操作処理を実行する。例えば、制御装置100cは、設定端末30cから照明10cの点灯を指示する制御指示を受信すると、無線通信を介して、受信した制御指示をマスタである制御装置100aに送信する。   Under such a configuration, each of the control devices 100a to 100c executes the following operation processing in accordance with an operation from the user. For example, when receiving a control instruction that instructs to turn on the illumination 10c from the setting terminal 30c, the control apparatus 100c transmits the received control instruction to the master control apparatus 100a via wireless communication.

すると、制御装置100aは、自装置が保持する制御情報106aを参照し、照明機器10aの制御内容(例えば、点灯させる照度や色彩)等を示す制御指示を他の制御装置100b、100cに無線通信を介してマルチキャストする。一方、制御指示を受信した制御装置100b、100cは、自装置が制御する端末装置10に制御対象(すなわち、照明機器10a)が含まれているか否かを判定し、含まれている場合は、制御対象に対して制御指示を送信する。   Then, the control device 100a refers to the control information 106a held by the own device, and wirelessly communicates a control instruction indicating the control content (for example, illuminance and color to be lit) of the lighting apparatus 10a to the other control devices 100b and 100c. Multicast via On the other hand, the control devices 100b and 100c that have received the control instruction determine whether or not the control target (that is, the lighting device 10a) is included in the terminal device 10 controlled by the own device. A control instruction is transmitted to the controlled object.

このように、制御システム1におけるマスタスレーブ方式においては、スレーブが制御指示を受信すると、マスタに対して制御指示を一旦転送し、マスタから制御指示がスレーブに対してマルチキャストされる。この結果、マスタが保持する同期情報104は、端末装置10の最新状態を示すと考えられるため、スレーブの同期情報104を同期させる際の基準とすることができる。   Thus, in the master-slave system in the control system 1, when the slave receives the control instruction, the control instruction is once transferred to the master, and the control instruction is multicast from the master to the slave. As a result, since the synchronization information 104 held by the master is considered to indicate the latest state of the terminal device 10, it can be used as a reference when synchronizing the synchronization information 104 of the slave.

(実施形態に係る制御装置100の機能構成)
次に、図3を用いて、実施形態に係る制御装置100が有する機能構成の一例について説明する。図3は、実施形態に係る制御装置有する機能構成の一例を示す図である。図3に示す例では、制御装置100は、有線通信部101、無線通信部102、記憶部103、制御部107を有する。
(Functional configuration of the control device 100 according to the embodiment)
Next, an example of a functional configuration included in the control device 100 according to the embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating an example of a functional configuration included in the control device according to the embodiment. In the example illustrated in FIG. 3, the control device 100 includes a wired communication unit 101, a wireless communication unit 102, a storage unit 103, and a control unit 107.

有線通信部101は、ハブ40を介して、他の装置との間で通信制御を行なうインターフェイスであり、例えばNIC(Network Interface Card)により実現される。例えば、有線通信部101は、ハブ40を介して、設定端末30や外部ネットワークNを介して受信した制御指示等を受付ける。また、有線通信部101は、ハブ40を介して、他の制御装置100との通信を実現する。   The wired communication unit 101 is an interface that performs communication control with other devices via the hub 40, and is realized by, for example, a NIC (Network Interface Card). For example, the wired communication unit 101 receives a control instruction or the like received via the setting terminal 30 or the external network N via the hub 40. Further, the wired communication unit 101 implements communication with another control device 100 via the hub 40.

無線通信部102は、無線通信を介して、他の装置との間で通信制御を行なうインターフェイスであり、例えば、無線LANカード等により実現される。例えば、無線通信部102は、無線通信を介して、設定端末30や端末装置10との通信を実現する。   The wireless communication unit 102 is an interface that controls communication with other devices via wireless communication, and is realized by, for example, a wireless LAN card. For example, the wireless communication unit 102 implements communication with the setting terminal 30 and the terminal device 10 via wireless communication.

記憶部103は、フラッシュメモリなどの半導体メモリ素子、ハードディスク、光ディスクなどの記憶装置であり、所定の情報を保持することができる保持部である。なお、記憶部103は、RAM(Random Access Memory)、フラッシュメモリ、NVSRAM(Non Volatile Static Random Access Memory)などのデータを書き換え可能な半導体メモリであってもよい。   The storage unit 103 is a storage device such as a semiconductor memory element such as a flash memory, a hard disk, or an optical disk, and is a holding unit that can hold predetermined information. The storage unit 103 may be a semiconductor memory capable of rewriting data, such as a RAM (Random Access Memory), a flash memory, and an NVSRAM (Non Volatile Static Random Access Memory).

ここで、記憶部103は、同期情報104を保持する。同期情報104には、コントローラ情報リスト105と制御情報106とが含まれる。例えば、図4は、実施形態にかかるコントローラ情報リストに格納される情報の一例を説明する図である。図4に示す例では、コントローラ情報リスト105には、「場所」、「個別ID」、「マスタ情報」、「IP(Internet Protocol)アドレス」等が格納されている。なお、コントローラ情報リスト105には、他にも、制御装置100に関する任意の情報が格納されていてもよい。   Here, the storage unit 103 holds the synchronization information 104. The synchronization information 104 includes a controller information list 105 and control information 106. For example, FIG. 4 is a diagram illustrating an example of information stored in the controller information list according to the embodiment. In the example shown in FIG. 4, the controller information list 105 stores “location”, “individual ID”, “master information”, “IP (Internet Protocol) address”, and the like. In addition, the controller information list 105 may store arbitrary information related to the control device 100.

ここで、「場所」とは、制御装置100が設置された場所を示す情報であり、例えば、「1F(1階)」や「2F(2階)」等といった情報が登録される。「個別ID」とは、各制御装置100を識別するための情報であり、「XXX1」や「XXX2」等といった情報が登録される。また、「IPアドレス」とは、各制御装置100に対して付与されているIPアドレスである。   Here, the “location” is information indicating a location where the control device 100 is installed. For example, information such as “1F (1st floor)” and “2F (2nd floor)” is registered. The “individual ID” is information for identifying each control device 100, and information such as “XXX1” and “XXX2” is registered. The “IP address” is an IP address assigned to each control device 100.

「マスタ情報」とは、制御装置100のうちどの制御装置100がマスタであるかを示す情報であり、例えば、「マスタ」もしくは「スレーブ」といった情報が登録される。ここで、「マスタ情報」は、コントローラ情報リスト105に登録された各種の情報に基づいて決定される情報である。例えば、「マスタ情報」には、コントローラ情報リスト105に登録された個別IDの中で、対応付けられた個別IDが最若番である場合には「マスタ」が登録され、それ以外の場合には「スレーブ」が登録される。   “Master information” is information indicating which control device 100 of the control devices 100 is a master. For example, information such as “master” or “slave” is registered. Here, “master information” is information determined based on various types of information registered in the controller information list 105. For example, in the “master information”, “master” is registered when the associated individual ID is the lowest among the individual IDs registered in the controller information list 105, and in other cases "Slave" is registered.

すなわち、制御システム1では、各制御装置100に付与された「個別ID」の値を優先度として、マスタであるか否かが決定される。この結果、各制御装置100は、各制御装置100に付与された「個別ID」と、「個別ID」の値に対応して決定されたマスタに関する情報である「マスタ情報」とを保持することとなる。   That is, in the control system 1, it is determined whether or not it is a master by using the value of “individual ID” assigned to each control device 100 as a priority. As a result, each control device 100 holds the “individual ID” given to each control device 100 and “master information” that is information about the master determined corresponding to the value of “individual ID”. It becomes.

なお、コントローラ情報リスト105に格納される各種の情報は、自動的若しくは必然的に決定される情報であってもよく、制御システム1の管理者等が人為的に設定した情報であってもよい。例えば、「個別ID」は、制御装置100の工場出荷時等に設定された情報や、部品等によって必然的に決まる情報であってもよい。   Various types of information stored in the controller information list 105 may be information that is automatically or inevitably determined, or may be information that is set artificially by an administrator of the control system 1 or the like. . For example, the “individual ID” may be information set at the time of shipment of the control device 100 from the factory or information that is inevitably determined depending on components.

図3に戻り、説明を続ける。制御情報106には、各端末装置10に関する情報が含まれる。例えば、制御情報106には、各端末装置10の設定や各種の制御内容、制御を実行する際のルール等、端末装置10に関する任意の情報が格納されている。   Returning to FIG. 3, the description will be continued. The control information 106 includes information regarding each terminal device 10. For example, the control information 106 stores arbitrary information related to the terminal device 10 such as settings of the terminal devices 10, various control contents, and rules for executing the control.

制御部107は、制御装置100を制御する。例えば、制御部107は、CPU(Central Processing Unit)、MPU(Micro Processing Unit)等の電子回路や、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の集積回路により実現される。   The control unit 107 controls the control device 100. For example, the control unit 107 is realized by an electronic circuit such as a CPU (Central Processing Unit) and an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

例えば、制御部107は、照明制御部108と同期制御部109とを有する。照明制御部108は、設定端末30からの指示やセンサ10cの検出結果に基づいて、照明機器10a、10bを制御する制御処理を実行する。また、同期制御部109は、自装置がマスタである旨をコントローラ情報リスト105が示す場合は、他の制御装置100との間でコントローラ情報リスト105と制御情報106とを異なるタイミングで同期させる同期処理を実行する。   For example, the control unit 107 includes an illumination control unit 108 and a synchronization control unit 109. The illumination control unit 108 executes control processing for controlling the illumination devices 10a and 10b based on an instruction from the setting terminal 30 and a detection result of the sensor 10c. When the controller information list 105 indicates that the own apparatus is the master, the synchronization control unit 109 synchronizes the controller information list 105 and the control information 106 with other control apparatuses 100 at different timings. Execute the process.

まず、照明制御部108が実行する制御処理について説明する。例えば、照明制御部108は、操作受付部110、操作配信部111、操作設定部112を有する。操作受付部110は、制御指示やセンサ10cの検出結果を受付ける。かかる場合、操作受付部110は、コントローラ情報リスト105を参照し、自装置がマスタであるか否かを判定する。そして、操作受付部110は、自装置がマスタではない場合は、受付けた制御指示や検出結果をマスタへと送信する。一方、操作受付部110は、自装置がマスタである場合は、受付けた制御指示や検出結果を操作配信部111に出力する。   First, control processing executed by the illumination control unit 108 will be described. For example, the illumination control unit 108 includes an operation reception unit 110, an operation distribution unit 111, and an operation setting unit 112. The operation reception unit 110 receives a control instruction and a detection result of the sensor 10c. In such a case, the operation reception unit 110 refers to the controller information list 105 and determines whether or not the own device is a master. If the device itself is not the master, the operation reception unit 110 transmits the received control instruction and detection result to the master. On the other hand, the operation reception unit 110 outputs the received control instruction and detection result to the operation distribution unit 111 when the own device is the master.

操作配信部111は、制御指示を受付けると、制御指示の内容に基づいて制御情報106を更新する。例えば、操作配信部111は、照明機器10aが点灯しているか否か、センサ10cの感度、センサ10cの検出結果に基づいて点灯あるいは消灯する照明機器の情報等を更新する。また、操作配信部111は、制御指示を各制御装置100へとマルチキャストする。   When the operation distribution unit 111 receives the control instruction, the operation distribution unit 111 updates the control information 106 based on the content of the control instruction. For example, the operation distribution unit 111 updates whether or not the lighting device 10a is turned on, the sensitivity of the sensor 10c, information on the lighting device that is turned on or off based on the detection result of the sensor 10c, and the like. Further, the operation distribution unit 111 multicasts a control instruction to each control device 100.

操作設定部112は、マスタである制御装置100から制御指示を受付けると、制御内容に従って制御情報106を更新するとともに、受付けた制御指示に従って、端末装置10の制御を行う。例えば、操作設定部112は、照明機器10aの点灯、消灯、光の色彩等の設定を行う。また、操作設定部112は、センサ10cの感度の設定を行う。   When the operation setting unit 112 receives a control instruction from the control device 100 as a master, the operation setting unit 112 updates the control information 106 according to the control content and controls the terminal device 10 according to the received control instruction. For example, the operation setting unit 112 sets the lighting device 10a to be turned on / off, the color of light, and the like. In addition, the operation setting unit 112 sets the sensitivity of the sensor 10c.

次に、同期制御部109が実行する同期制御について説明する。例えば、同期制御部109は、リスト同期部113と情報同期部114を有する。リスト同期部113は、コントローラ情報リスト105の同期処理を実行する。例えば、リスト同期部113は、自装置のコントローラ情報リスト105を参照し、自装置がマスタであるかスレーブであるかを判定する。そして、リスト同期部113は、自装置がスレーブである場合は、所定の時間間隔で、コントローラ情報リスト105の取得要求をマスタに対して送信する。そして、リスト同期部113は、マスタからコントローラ情報リスト105を受信した場合は、保持しているコントローラ情報リスト105を、マスタから受信したコントローラ情報リスト105に更新する。   Next, synchronization control executed by the synchronization control unit 109 will be described. For example, the synchronization control unit 109 includes a list synchronization unit 113 and an information synchronization unit 114. The list synchronization unit 113 executes a synchronization process for the controller information list 105. For example, the list synchronization unit 113 refers to the controller information list 105 of the own device and determines whether the own device is a master or a slave. Then, when the device itself is a slave, the list synchronization unit 113 transmits an acquisition request for the controller information list 105 to the master at a predetermined time interval. When receiving the controller information list 105 from the master, the list synchronization unit 113 updates the held controller information list 105 to the controller information list 105 received from the master.

一方、リスト同期部113は、自装置がマスタである場合は、スレーブから取得要求を待ち合わせる。そして、リスト同期部113は、スレーブから取得要求を受信すると、自装置が保持するコントローラ情報リスト105を、要求元のスレーブに対して送信する。すなわち、リスト同期部113は、自装置がマスタである場合は、スレーブが保持するコントローラ情報リスト105を自装置が保持するコントローラ情報リスト105に同期させる。   On the other hand, if the device itself is the master, the list synchronization unit 113 waits for an acquisition request from the slave. When the list synchronization unit 113 receives the acquisition request from the slave, the list synchronization unit 113 transmits the controller information list 105 held by itself to the requesting slave. That is, when the own apparatus is the master, the list synchronization unit 113 synchronizes the controller information list 105 held by the slave with the controller information list 105 held by the own apparatus.

ここで、リスト同期部113は、自装置がマスタである場合は、各スレーブごとに、取得要求を受信してから所定の時間が経過するまでの間に新たな取得要求を受信したか否かを判定する。そして、リスト同期部113は、あるスレーブについて、取得要求を受信してから所定の時間が経過するまでの間に新たな取得要求を受信していない場合は、かかるスレーブが故障したものとして、コントローラ情報リスト105を更新する。   Here, when the own apparatus is the master, the list synchronization unit 113 receives, for each slave, whether a new acquisition request has been received after a predetermined time elapses after receiving the acquisition request. Determine. If the list synchronization unit 113 does not receive a new acquisition request for a certain slave until a predetermined time elapses after the acquisition request is received, the list synchronization unit 113 assumes that the slave has failed. The information list 105 is updated.

一方、リスト同期部113は、自装置がスレーブである場合は、マスタに取得要求を送信してから所定の時間が経過したか否かを判定し、所定の時間が経過したと判定した場合は、マスタが故障したと判定する。かかる場合、リスト同期部113は、情報同期部115に対してマスタの故障を通知する。   On the other hand, if the own device is a slave, the list synchronization unit 113 determines whether or not a predetermined time has elapsed since the acquisition request was transmitted to the master, and if it is determined that the predetermined time has elapsed It is determined that the master has failed. In such a case, the list synchronization unit 113 notifies the information synchronization unit 115 of a master failure.

情報同期部115は、同期情報104全体の同期処理を実行する。より具体的には、制御システム1が起動した場合やマスタが故障した場合は、コントローラ情報リスト105の作成に必要な情報の送信を要求する(すなわち、ネットワークモニタを要求する)ネットワークモニタ要求を、他の制御装置100に対してマルチキャストする。また、情報同期部115は、他の制御装置100からネットワークモニタ要求を受信した場合は、自装置の情報を含むネットワークモニタ応答を要求元へと送信する。   The information synchronization unit 115 executes synchronization processing for the entire synchronization information 104. More specifically, when the control system 1 is activated or the master fails, a network monitor request for requesting transmission of information necessary for creating the controller information list 105 (that is, requesting a network monitor) Multicast to another control device 100. Further, when the information synchronization unit 115 receives a network monitor request from another control device 100, the information synchronization unit 115 transmits a network monitor response including the information of the own device to the request source.

そして、情報同期部115は、各制御装置100からネットワークモニタ応答を受信した場合は、受信したネットワークモニタ応答に含まれる情報を用いて、新たなコントローラ情報リスト105を作成する。すなわち、情報同期部115は、マスタが故障した場合は、スレーブが新たなコントローラ情報リスト105をそれぞれ生成する。   When the information synchronization unit 115 receives a network monitor response from each control device 100, the information synchronization unit 115 creates a new controller information list 105 using information included in the received network monitor response. That is, in the information synchronization unit 115, when the master fails, the slave generates a new controller information list 105, respectively.

また、情報同期部115は、新たなコントローラ情報リスト105、すなわち、ネットワークモニタの要求により生成したコントローラ情報リスト105を用いて、マスタとして動作する制御装置100を特定する。そして、情報同期部115は、新たなコントローラ情報リスト105に自装置がマスタである旨が含まれる場合は、ネットワークモニタの要求により新たなコントローラ情報リスト105を生成してから一定時間が経過した後に、他の制御装置100に対して自装置の同期情報104を送信し、設定するよう要求する。   Further, the information synchronization unit 115 specifies the control device 100 that operates as a master by using the new controller information list 105, that is, the controller information list 105 generated by a request from the network monitor. If the new controller information list 105 includes the fact that the own device is the master, the information synchronizer 115 generates a new controller information list 105 in response to a request from the network monitor and after a certain time has elapsed. Then, the synchronization information 104 of the own device is transmitted to the other control device 100 and requested to be set.

一方、情報同期部115は、自装置がスレーブである場合は、何もせずに待機し、マスタから同期情報104を受信した場合は、自装置が保持する同期情報104をマスタから受信した同期情報104に更新する。このように、情報同期部115は、スレーブが保持するコントローラ情報リスト105や制御情報106を、新たなマスタが保持するコントローラ情報リスト105や制御情報106に同期させる。   On the other hand, when the information synchronization unit 115 is a slave, the information synchronization unit 115 waits without doing anything. When the synchronization information 104 is received from the master, the information synchronization unit 115 receives the synchronization information 104 held by the own device from the master. Update to 104. In this way, the information synchronization unit 115 synchronizes the controller information list 105 and control information 106 held by the slave with the controller information list 105 and control information 106 held by the new master.

また、情報同期部115は、起動済みの制御システム1に制御装置100が追加された場合にも、ネットワークモニタ要求をマルチキャストし、ネットワークモニタを要求する。コントローラ情報リスト105を生成する。そして、情報同期部115は、ネットワークモニタの要求により生成された新たなコントローラ情報リスト105を参照し、自装置がマスタである旨を示す場合は、自装置が追加された際にマスタとして動作していた制御装置100(以下、旧マスタと記載する。)に対して同期情報104の設定を要求する全データ設定要求を送信する。   Further, even when the control device 100 is added to the activated control system 1, the information synchronization unit 115 multicasts a network monitor request and requests a network monitor. A controller information list 105 is generated. Then, the information synchronization unit 115 refers to the new controller information list 105 generated by the request of the network monitor, and when it indicates that the own device is a master, it operates as a master when the own device is added. An all data setting request for requesting the setting of the synchronization information 104 is transmitted to the control device 100 (hereinafter referred to as the old master).

そして、情報同期部115は、旧マスタから同期情報104を受信した場合は、自装置が保持する同期情報104を受信した同期情報104に更新するとともに、マスタの切り替えを旧マスタに対して要求する。すなわち、情報同期部115は、自装置が保持する制御情報106を、旧マスタが保持する制御情報106に同期させ、その後、マスタの切り替えを行う。かかる場合、旧マスタの情報同期部115は、自装置のコントローラ情報リスト105を新たなマスタのコントローラ情報リスト105に同期させることで、マスタの切り替えを行う。   When the synchronization information 104 is received from the old master, the information synchronization unit 115 updates the synchronization information 104 held by itself to the received synchronization information 104 and requests the old master to switch the master. . That is, the information synchronization unit 115 synchronizes the control information 106 held by the own device with the control information 106 held by the old master, and then switches the master. In such a case, the information synchronization unit 115 of the old master performs master switching by synchronizing the controller information list 105 of the own device with the controller information list 105 of the new master.

なお、情報同期部115は、制御ネットワーク1からいずれかの制御装置100が除外された場合にも、ネットワークモニタを要求し、新たなコントローラ情報リスト105を生成してもよい。例えば、スレーブである制御装置100aの情報同期部115は、制御装置100bや制御装置100cと通信ができなくなった場合には、ネットワークモニタ要求をブロードキャストし、新たなコントローラ情報リスト105を生成してもよい。このように、制御ネットワーク1では、制御ネットワーク1に新たに追加された制御装置100や、制御ネットワーク1から他の制御装置100がいなくなった旨を特定した制御装置100が、ネットワークモニタ要求をブロードキャスト若しくはマルチキャストすることで、それぞれ新たなコントローラ情報リスト105を生成する。   Note that the information synchronization unit 115 may also request a network monitor and generate a new controller information list 105 even when any one of the control devices 100 is excluded from the control network 1. For example, if the information synchronization unit 115 of the control device 100a that is a slave becomes unable to communicate with the control device 100b or the control device 100c, it broadcasts a network monitor request and generates a new controller information list 105. Good. As described above, in the control network 1, the control device 100 newly added to the control network 1, or the control device 100 that specifies that there is no other control device 100 from the control network 1 broadcasts a network monitor request or Each new controller information list 105 is generated by multicasting.

(制御装置100が実行する処理の一例)
次に、図5〜9を用いて、制御装置100が実行する処理の一例について説明する。なお、以下の説明では、制御装置100aがマスタとして動作し、制御装置100b、100cがスレーブとして動作する処理の一例について説明する。マスタである制御装置100aをマスタ100aと記載し、スレーブである制御装置100b、100cをスレーブ100b、100cと記載する。
(Example of processing executed by control device 100)
Next, an example of processing executed by the control device 100 will be described with reference to FIGS. In the following description, an example of processing in which the control device 100a operates as a master and the control devices 100b and 100c operate as slaves will be described. The control device 100a that is a master is described as a master 100a, and the control devices 100b and 100c that are slaves are described as slaves 100b and 100c.

まず、図5を用いて、マスタとして動作する制御装置100が起動時に実行する起動処理の一例を説明する。図5は、実施形態にかかる制御装置がマスタである際に実行する起動処理の一例を示すシーケンス図である。例えば、マスタ100aは、制御システム1が起動された場合は、ネットワークモニタ要求を各スレーブ100b、100cにマルチキャストする(ステップS101)。   First, an example of a startup process that is executed when the control device 100 operating as a master is started will be described with reference to FIG. FIG. 5 is a sequence diagram illustrating an example of a startup process executed when the control device according to the embodiment is a master. For example, when the control system 1 is activated, the master 100a multicasts a network monitor request to each of the slaves 100b and 100c (step S101).

かかる場合、スレーブ100b、100cは、ネットワークモニタ応答をマスタ100aに送信する(ステップS102、S103)。この結果、マスタ100aは、受信したネットワークモニタ応答を用いてコントローラ情報リスト105を作成する(ステップS104)。なお、マスタ100aは、ステップS104で作成したコントローラ情報リスト105を用いて、自装置がマスタであると判定することとなる。   In such a case, the slaves 100b and 100c transmit a network monitor response to the master 100a (steps S102 and S103). As a result, the master 100a creates the controller information list 105 using the received network monitor response (step S104). The master 100a determines that the own device is the master using the controller information list 105 created in step S104.

また、マスタ100aは、コントローラ情報リスト105の作成後、一定時間待機する(ステップS105)。そして、マスタ100aは、同期情報104の全データの設定を各スレーブ100b、100cに要求する(ステップS106)。すると、スレーブ100bおよびスレーブ100cは、マスタ100aから受信した同期情報104を自装置に設定し(ステップS107、S108)、起動処理を終了する。   Further, the master 100a waits for a predetermined time after the creation of the controller information list 105 (step S105). Then, the master 100a requests the slaves 100b and 100c to set all data in the synchronization information 104 (step S106). Then, the slave 100b and the slave 100c set the synchronization information 104 received from the master 100a in its own device (steps S107 and S108), and finish the activation process.

次に、図6を用いて、スレーブとして動作する制御装置100が起動時に実行する起動処理の一例を説明する。図6は、実施形態にかかる制御装置がスレーブである際に実行する起動処理の一例を示すシーケンス図である。例えば、スレーブ100bは、ネットワークモニタ要求をマスタ100aおよびスレーブ100cにマルチキャストする(ステップS201)。   Next, an example of a startup process executed when the control device 100 operating as a slave is started will be described with reference to FIG. FIG. 6 is a sequence diagram illustrating an example of a startup process executed when the control device according to the embodiment is a slave. For example, the slave 100b multicasts a network monitor request to the master 100a and the slave 100c (step S201).

かかる場合、マスタ100aおよびスレーブ100cは、ネットワークモニタ応答をスレーブ100bに送信する(ステップS202、S203)。この結果、スレーブ100bは、受信したネットワークモニタ応答を用いてコントローラ情報リスト105を作成する(ステップS204)。そして、スレーブ100bは、ステップS204で作成したコントローラ情報リスト105を用いて、マスタが制御装置100aであると判定する(ステップS205)。   In such a case, the master 100a and the slave 100c transmit a network monitor response to the slave 100b (steps S202 and S203). As a result, the slave 100b creates the controller information list 105 using the received network monitor response (step S204). Then, the slave 100b determines that the master is the control device 100a using the controller information list 105 created in step S204 (step S205).

ここで、マスタ100aは、同期情報104の全データの設定をスレーブ100bに要求する(ステップS206)。すると、スレーブ100bは、受信した同期情報104を自装置に設定する(ステップS207)。その後、スレーブ100bは、定期的にコントローラ情報リスト105をマスタ100aに要求する(ステップS209)。かかる場合、マスタ100aは、応答をスレーブ100bに送信し(ステップS210)、スレーブ100bのコントローラ情報リスト105をマスタ100aのコントローラ情報リスト105に同期させる。   Here, the master 100a requests the slave 100b to set all data of the synchronization information 104 (step S206). Then, the slave 100b sets the received synchronization information 104 in its own device (step S207). Thereafter, the slave 100b periodically requests the controller information list 105 from the master 100a (step S209). In such a case, the master 100a transmits a response to the slave 100b (step S210), and synchronizes the controller information list 105 of the slave 100b with the controller information list 105 of the master 100a.

次に、図7を用いて、マスタが故障した際に実行される同期処理の一例を説明する。図7は、実施形態にかかるマスタが故障した際に実行される同期処理の一例を示すシーケンス図である。例えば、図7に示す例では、マスタ100aが故障する(ステップS301)。かかる場合、スレーブ100bは、定期的にコントローラ情報リスト105をマスタ100aに対して要求するが(ステップS302)、マスタ100aが故障しているため、応答が帰ってこない(図7中(A))。   Next, an example of the synchronization process executed when the master fails will be described with reference to FIG. FIG. 7 is a sequence diagram illustrating an example of a synchronization process executed when the master according to the embodiment fails. For example, in the example shown in FIG. 7, the master 100a fails (step S301). In such a case, the slave 100b periodically requests the controller information list 105 from the master 100a (step S302), but no response is returned because the master 100a is out of order ((A) in FIG. 7). .

かかる場合、スレーブ100bは、マスタ100aが故障したと判定し、ネットワークモニタ要求をスレーブ100cにマルチキャストする(ステップS303)。かかる場合、スレーブ100cは、スレーブ100bにネットワークモニタ応答を送信する(ステップS304)。続いて、スレーブ100bは、受信したネットワークモニタ応答を用いて、コントローラ情報リスト105を更新する(ステップS305)。   In such a case, the slave 100b determines that the master 100a has failed, and multicasts a network monitor request to the slave 100c (step S303). In such a case, the slave 100c transmits a network monitor response to the slave 100b (step S304). Subsequently, the slave 100b updates the controller information list 105 using the received network monitor response (step S305).

ここで、スレーブ100bは、更新したコントローラ情報リスト105が、自装置が新たなマスタである旨を示す場合は、コントローラ情報リスト105の更新から一定時間待機し(ステップS306)、自装置が保持する同期情報104の全データの設定をスレーブ100cに要求する(ステップS307)。この結果、スレーブ100cは、新たなマスタとなったスレーブ100bから受信した同期情報104で自装置の同期情報104を更新するる(ステップS308)。   Here, when the updated controller information list 105 indicates that the own device is a new master, the slave 100b waits for a predetermined time from the update of the controller information list 105 (step S306), and the own device holds it. The slave 100c is requested to set all data in the synchronization information 104 (step S307). As a result, the slave 100c updates the synchronization information 104 of its own device with the synchronization information 104 received from the slave 100b that has become the new master (step S308).

次に、図8を用いて、スレーブが故障した際に実行される同期処理の一例を説明する。図8は、実施形態にかかるスレーブが故障した際に実行される同期処理の一例を示すシーケンス図である。例えば、図8に示す例では、スレーブ100bが故障したため(ステップS401)、コントローラ情報リスト105の要求がマスタ100aに送信されない(図8中(A))。   Next, an example of synchronization processing executed when a slave fails will be described with reference to FIG. FIG. 8 is a sequence diagram illustrating an example of a synchronization process executed when the slave according to the embodiment fails. For example, in the example shown in FIG. 8, since the slave 100b has failed (step S401), the request for the controller information list 105 is not transmitted to the master 100a ((A) in FIG. 8).

かかる場合、マスタ100aは、所定の時間間隔でスレーブ100bからコントローラ情報リストの要求を受信しなかったため、スレーブ100bが故障したと判定し(ステップS402)、自装置が保持するコントローラ情報リスト105を更新する(ステップS402)。例えば、マスタ100aは、コントローラ情報リスト105からスレーブ100bの情報を削除、若しくは、スレーブ100bが故障した旨の情報を追加する。   In such a case, since the master 100a has not received the controller information list request from the slave 100b at a predetermined time interval, the master 100a determines that the slave 100b has failed (step S402), and updates the controller information list 105 held by itself. (Step S402). For example, the master 100a deletes the information of the slave 100b from the controller information list 105, or adds information indicating that the slave 100b has failed.

一方、スレーブ100cは、所定の時間間隔で、コントローラ情報リストをマスタ100aに要求する(ステップS403)。かかる場合、マスタ100aは、ステップS402で更新したコントローラ情報リスト105を含む応答をスレーブ100cに送信する(ステップS404)。この結果、スレーブ100cは、スレーブ100bが故障した旨を特定できる。   On the other hand, the slave 100c requests the controller information list from the master 100a at predetermined time intervals (step S403). In such a case, the master 100a transmits a response including the controller information list 105 updated in step S402 to the slave 100c (step S404). As a result, the slave 100c can specify that the slave 100b has failed.

次に、図9を用いて、故障したマスタが復旧した際に実行される同期処理の一例を説明する。図9は、実施形態にかかるマスタが復旧した際に実行される同期処理の一例を示すシーケンス図である。なお、以下の説明では、マスタであった制御装置100aが故障して制御装置100bが新たなマスタとなり、その後、制御装置100aが復旧したために、制御装置100bがスレーブとなった際に実行される同期処理の一例を説明する。また、以下の説明では、制御装置100aを新マスタ100aと記載し、制御装置100bを旧マスタ100bと記載する。   Next, an example of the synchronization process executed when the failed master is restored will be described with reference to FIG. FIG. 9 is a sequence diagram illustrating an example of synchronization processing executed when the master according to the embodiment is restored. In the following description, it is executed when the control device 100a that has been the master fails and the control device 100b becomes a new master, and then the control device 100a is restored, so that the control device 100b becomes a slave. An example of the synchronization process will be described. In the following description, the control device 100a is described as a new master 100a, and the control device 100b is described as an old master 100b.

まず、新マスタ100aは、復旧処理を実行することでコントローラ情報リストを作成し、自装置が新たなマスタである旨と、現在のマスタが旧マスタ100bである旨を特定する(ステップS501)。かかる場合、新マスタ100aは、全データの取得要求を旧マスタ100bに送信する(ステップS502)。かかる場合、旧マスタ100bは、自装置が保持する同期情報104を新マスタ100aに対して送信し、設定させる(ステップS503)。   First, the new master 100a creates a controller information list by executing a recovery process, and specifies that the own device is a new master and that the current master is the old master 100b (step S501). In such a case, the new master 100a transmits an acquisition request for all data to the old master 100b (step S502). In such a case, the old master 100b transmits and sets the synchronization information 104 held by the own device to the new master 100a (step S503).

かかる場合、新マスタ100aは、マスタ切替要求を旧マスタ100bに送信する(ステップS504)。すると、旧マスタ100bは、新マスタ100aを新たなマスタとし、自装置をスレーブとするようにコントローラ情報リスト105を更新する(ステップS505)。ここで、スレーブ100cは、新マスタ100aが新たなマスタであることを識別できない為、コントローラ情報リスト105をスレーブとなった旧マスタ100bに要求する(ステップS506)。すると、旧マスタ100bは、自装置が保持するコントローラ情報リスト105を含む応答をスレーブ100cに送信する(ステップS507)。   In such a case, the new master 100a transmits a master switching request to the old master 100b (step S504). Then, the old master 100b updates the controller information list 105 so that the new master 100a becomes a new master and its own device becomes a slave (step S505). Here, since the slave 100c cannot identify that the new master 100a is a new master, the slave 100c requests the controller information list 105 from the old master 100b that has become a slave (step S506). Then, the old master 100b transmits a response including the controller information list 105 held by the own device to the slave 100c (step S507).

この結果、スレーブ100cは、自装置のコントローラ情報リスト105を旧マスタ100bから受信したコントローラ情報リスト105に更新するので(ステップS508)、新たなマスタが新マスタ100aである旨を特定できる。その後、スレーブ100cは、新たなマスタである新マスタ100aに対して、定期的にコントローラ情報リスト105の要求を送信する(ステップS509)。   As a result, the slave 100c updates the controller information list 105 of its own device to the controller information list 105 received from the old master 100b (step S508), so that it can be specified that the new master is the new master 100a. Thereafter, the slave 100c periodically transmits a request for the controller information list 105 to the new master 100a, which is a new master (step S509).

なお、上述した制御装置100は、CPUとRAM、EEPROM,フラッシュメモリなどを有するコンピュータが、所定の記録媒体に登録された制御プログラムを読み取り、読み取った制御プログラムを実行することにより、実現されてもよい。かかる場合、制御部107は、各種の処理手順を規定したプログラムを実行することで、上述した種々の処理を実行する各種の処理部として機能する。   The above-described control device 100 may be realized by a computer having a CPU, RAM, EEPROM, flash memory, and the like reading a control program registered in a predetermined recording medium and executing the read control program. Good. In such a case, the control unit 107 functions as various processing units that execute the various processes described above by executing programs that define various processing procedures.

(実施形態に係る同期処理)
次に、図10を用いて、制御装置100が実行する同期処理の流れの一例を説明する。図10は、実施形態に係る制御装置が実行する同期処理の流れの一例を示すフローチャートである。例えば、制御装置100は、起動時やマスタの故障が検出された場合等には、ネットワークモニタ要求をマルチキャスト送信する(ステップS601)。また、制御装置100は、応答結果を用いて、新たなコントローラ情報リスト105を作成する(ステップS602)。
(Synchronous processing according to the embodiment)
Next, an example of the flow of synchronization processing executed by the control device 100 will be described with reference to FIG. FIG. 10 is a flowchart illustrating an example of a flow of synchronization processing executed by the control device according to the embodiment. For example, the control device 100 multicasts a network monitor request when starting up or when a master failure is detected (step S601). Further, the control device 100 creates a new controller information list 105 using the response result (step S602).

また、制御装置100は、新たなコントローラ情報リスト105から自装置がマスタであるか否かを判定する(ステップS603)。そして、制御装置100は、自装置がマスタである場合は(ステップS603:Yes)、各スレーブが保持する同期情報104を自装置が保持する同期情報104に同期させる(ステップS604)。また、制御装置100は、スレーブからの要求時に自装置のコントローラ情報リスト105を配信する(ステップS605)。一方、制御装置100は、自装置がスレーブである場合は(ステップS603:No)、マスタから受信した同期情報104を自装置に設定し(ステップS606)、マスタに対して定期的にコントローラ情報リスト105を要求する(ステップS607)。   Further, the control device 100 determines whether or not the own device is a master from the new controller information list 105 (step S603). Then, when the own device is the master (step S603: Yes), the control device 100 synchronizes the synchronization information 104 held by each slave with the synchronization information 104 held by the own device (step S604). Further, the control device 100 distributes the controller information list 105 of the own device when requested from the slave (step S605). On the other hand, when the own device is a slave (step S603: No), the control device 100 sets the synchronization information 104 received from the master in the own device (step S606), and periodically sends a controller information list to the master. 105 is requested (step S607).

(同期情報について)
上述した実施形態では、制御装置100は、起動時やマスタが変化した際に、スレーブが保持する同期情報104をマスタが保持する同期情報104に同期させた。しかしながら、実施形態は、これに限定されるものではない。例えば、制御装置100は、コントローラ情報リスト105については、定期的に同期させ、起動時やマスタが変化した際には、制御情報106のみを同期させてもよい。
(About synchronization information)
In the embodiment described above, the control device 100 synchronizes the synchronization information 104 held by the slave with the synchronization information 104 held by the master at the time of startup or when the master changes. However, the embodiment is not limited to this. For example, the controller 100 may periodically synchronize the controller information list 105, and may synchronize only the control information 106 at the time of activation or when the master changes.

また、制御情報106には、各制御装置100が制御する端末装置10以外にも、制御装置100に関する情報のうち、定常的に同期させる必要が無い情報が含まれていてもよい。例えば、制御装置100は、マスタを示す情報を所定の時間間隔で同期させ、他の情報については、起動時やマスタが変化した場合等に同期させてもよい。   In addition to the terminal device 10 controlled by each control device 100, the control information 106 may include information that does not need to be constantly synchronized among the information related to the control device 100. For example, the control device 100 may synchronize information indicating the master at a predetermined time interval, and may synchronize other information when the master is changed or when the master is changed.

ここで、各制御装置100は、同一の制御情報106を保持せずともよい。例えば、制御装置100a〜100cは、コントローラ情報リスト105については、同一の内容となるように同期を行う一方で、制御情報106については、異なる情報を保持していてもよい。   Here, each control device 100 may not hold the same control information 106. For example, the control devices 100a to 100c may synchronize the controller information list 105 so that the controller information list 105 has the same content, while the control information 106 may hold different information.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.

1 制御システム
10 端末装置
10a、10b 照明装置
10c センサ
30、30a〜30c 設定端末
40 ハブ
100、100a〜100c 制御装置
101 有線通信部
102 無線通信部
103 記憶部
104 同期情報
105 コントローラ情報リスト
106 制御情報
107 制御部
108 照明制御部
109 同期制御部
110 操作受付部
111 操作配信部
112 操作設定部
113 リスト同期部
114 情報同期部
115 情報更新部
DESCRIPTION OF SYMBOLS 1 Control system 10 Terminal device 10a, 10b Illuminating device 10c Sensor 30, 30a-30c Setting terminal 40 Hub 100, 100a-100c Control device 101 Wired communication part 102 Wireless communication part 103 Storage part 104 Synchronization information 105 Controller information list 106 Control information 107 control unit 108 illumination control unit 109 synchronization control unit 110 operation reception unit 111 operation distribution unit 112 operation setting unit 113 list synchronization unit 114 information synchronization unit 115 information update unit

Claims (9)

複数の制御装置の中から設定されるマスタに関する情報を含む制御装置情報と、各制御装置により制御される端末装置に関する制御情報とを保持する保持部と;
自装置がマスタであると前記制御装置情報が示す場合は、他の制御装置との間で前記制御装置情報と前記制御情報とを異なるタイミングで同期させる同期制御部と;
を具備したことを特徴とする制御装置。
A holding unit that holds control device information including information related to a master set from a plurality of control devices, and control information related to a terminal device controlled by each control device;
A synchronization control unit that synchronizes the control device information and the control information with other control devices at different timings when the control device information indicates that the own device is a master;
A control device comprising:
前記同期制御部は、自装置がマスタである旨を前記制御装置情報が示す場合は、他の制御装置が保持する制御装置情報と制御情報とを、自装置が保持する制御装置情報と制御情報とに同期させる
ことを特徴とする請求項1に記載の制御装置。
When the control device information indicates that the own device is a master, the synchronization control unit includes control device information and control information held by another control device, and control device information and control information held by the own device. The control device according to claim 1, wherein the control device is synchronized with the control device.
前記同期制御部は、自装置がマスタである旨を前記制御装置情報が示す場合は、各制御装置との間で定期的に前記制御装置情報を同期させ、他の制御装置と前記制御装置情報を同期させることができない期間が所定の閾値を超えた場合は、当該他の制御装置が故障した旨を前記保持部が保持する制御装置情報に反映させる
ことを特徴とする請求項1または2に記載の制御装置。
When the control device information indicates that the own device is a master, the synchronization control unit periodically synchronizes the control device information with each control device, and the other control device and the control device information The control device information held by the holding unit reflects the fact that the other control device has failed when the period during which synchronization cannot be synchronized exceeds a predetermined threshold value. The control device described.
前記同期制御部は、他の制御装置がマスタである旨を前記制御装置情報が示す場合は、自装置が保持する制御装置情報をマスタが保持する制御装置情報と定期的に同期させ、当該マスタと前記制御装置情報を同期させることができない場合は、各制御装置に対してネットワークモニタを要求する
ことを特徴とする請求項1〜3のいずれか1つに記載の制御装置。
When the control device information indicates that another control device is a master, the synchronization control unit periodically synchronizes the control device information held by the own device with the control device information held by the master, and When the control device information cannot be synchronized with the control device, a network monitor is requested to each control device. The control device according to any one of claims 1 to 3.
前記ネットワークモニタの要求によって作成した制御装置情報に自装置がマスタである旨が含まれる場合は、他の制御装置が保持する制御情報を自装置の前記保持部が保持する制御情報に同期させる
ことを特徴とする請求項4に記載の制御装置。
When the control device information created by the request of the network monitor includes that the own device is a master, the control information held by another control device is synchronized with the control information held by the holding unit of the own device. The control device according to claim 4.
前記同期制御部は、ネットワークモニタの要求によって制御装置情報を作成してから所定の時間が経過した後で、他の制御装置が保持する制御情報を自装置の前記保持部が保持する制御情報に同期させる
ことを特徴とする請求項5に記載の制御装置。
The synchronization control unit, after a predetermined time has elapsed since the creation of the control device information at the request of the network monitor, changes the control information held by another control device to the control information held by the holding unit of the own device. The control device according to claim 5, wherein the control device is synchronized.
前記同期制御部は、自装置が前記複数の制御装置を含むネットワークに追加された場合は、当該ネットワークの各制御装置に対して、ネットワークモニタを要求する
ことを特徴とする請求項1〜6のいずれか1つに記載の制御装置。
The said synchronous control part requests | requires a network monitor with respect to each control apparatus of the said network, when a self-apparatus is added to the network containing these control apparatuses. The control device according to any one of the above.
前記同期制御部は、自装置が新たなマスタである旨をネットワークモニタの要求によって作成した制御装置情報が示す場合は、自装置が保持する制御情報を、自装置が前記ネットワークに追加された際にマスタに設定されていた制御装置が保持する制御情報と同期させ、当該制御情報の同期後に、マスタの切り替えを行う
ことを特徴とする請求項7に記載の制御装置。
When the control device information created by the request of the network monitor indicates that the own device is a new master, the synchronization control unit, when the own device is added to the network, the control information held by the own device. The control device according to claim 7, wherein the control device is synchronized with control information held by the control device set as the master, and the master is switched after the control information is synchronized.
端末装置を制御する複数の制御装置を有する制御システムであって、
前記制御装置は、
各制御装置の中から設定されるマスタに関する情報を含む制御装置情報と、前記端末装置に関する制御情報とを保持する保持部と;
自装置がマスタであると前記制御装置情報が示す場合は、他の制御装置との間で前記制御装置情報と前記制御情報とを異なるタイミングで同期させる同期制御部と;
を具備したことを特徴とする制御システム。
A control system having a plurality of control devices for controlling terminal devices,
The controller is
A holding unit that holds control device information including information about a master set from among the control devices, and control information about the terminal device;
A synchronization control unit that synchronizes the control device information and the control information with other control devices at different timings when the control device information indicates that the own device is a master;
A control system comprising:
JP2015131970A 2015-06-30 2015-06-30 Controller and control system Active JP6519358B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015131970A JP6519358B2 (en) 2015-06-30 2015-06-30 Controller and control system
KR1020160010797A KR102475744B1 (en) 2015-06-30 2016-01-28 Control apparatis and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015131970A JP6519358B2 (en) 2015-06-30 2015-06-30 Controller and control system

Publications (2)

Publication Number Publication Date
JP2017016874A true JP2017016874A (en) 2017-01-19
JP6519358B2 JP6519358B2 (en) 2019-05-29

Family

ID=57811048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015131970A Active JP6519358B2 (en) 2015-06-30 2015-06-30 Controller and control system

Country Status (2)

Country Link
JP (1) JP6519358B2 (en)
KR (1) KR102475744B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7316652B2 (en) 2019-08-28 2023-07-28 パナソニックIpマネジメント株式会社 lighting system and controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6967738B2 (en) * 2017-09-01 2021-11-17 パナソニックIpマネジメント株式会社 Communication systems, lighting control systems, and communication devices

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005184436A (en) * 2003-12-19 2005-07-07 Canon Inc Communication system and device thereof
JP2005538506A (en) * 2002-09-04 2005-12-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Master-slave oriented two-way RF wireless lighting control system
JP2006510181A (en) * 2002-12-16 2006-03-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for lighting control network recovery from master failure
US20070168058A1 (en) * 2006-01-13 2007-07-19 Emerson Process Management Power & Water Solutions , Inc. Method for redundant controller synchronization for bump-less failover during normal and program mismatch conditions
WO2014142095A1 (en) * 2013-03-12 2014-09-18 日本電気株式会社 Control device, communication system, synchronization method and program
US20140346969A1 (en) * 2012-02-20 2014-11-27 Martin Professional A/S Dual function light controller with stand-alone and peripheral mode of operation
JP2015156160A (en) * 2014-02-21 2015-08-27 日立コンシューマエレクトロニクス株式会社 Equipment control communication apparatus and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620289B1 (en) 2000-07-25 2006-09-07 삼성전자주식회사 Method for managing personal ad-hoc network in disappearance of master
JP5895225B2 (en) * 2011-08-24 2016-03-30 パナソニックIpマネジメント株式会社 Device control system, radio control apparatus, and radio control apparatus program
JP5895692B2 (en) * 2012-05-08 2016-03-30 富士通株式会社 Wireless communication program, portable device, and wireless communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005538506A (en) * 2002-09-04 2005-12-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Master-slave oriented two-way RF wireless lighting control system
JP2006510181A (en) * 2002-12-16 2006-03-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for lighting control network recovery from master failure
JP2005184436A (en) * 2003-12-19 2005-07-07 Canon Inc Communication system and device thereof
US20070168058A1 (en) * 2006-01-13 2007-07-19 Emerson Process Management Power & Water Solutions , Inc. Method for redundant controller synchronization for bump-less failover during normal and program mismatch conditions
US20140346969A1 (en) * 2012-02-20 2014-11-27 Martin Professional A/S Dual function light controller with stand-alone and peripheral mode of operation
WO2014142095A1 (en) * 2013-03-12 2014-09-18 日本電気株式会社 Control device, communication system, synchronization method and program
JP2015156160A (en) * 2014-02-21 2015-08-27 日立コンシューマエレクトロニクス株式会社 Equipment control communication apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7316652B2 (en) 2019-08-28 2023-07-28 パナソニックIpマネジメント株式会社 lighting system and controller

Also Published As

Publication number Publication date
KR20170003372A (en) 2017-01-09
JP6519358B2 (en) 2019-05-29
KR102475744B1 (en) 2022-12-08

Similar Documents

Publication Publication Date Title
ES2856010T3 (en) Synchronized architecture in the cloud for a home automation system
JP5960184B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, SERVER DEVICE, CONTROL METHOD, AND INFORMATION PROCESSING METHOD
JP2008078887A (en) Shared system for i/o equipment, information-processor shared system and method used for its system
JP6659721B2 (en) Configuration method of network connection lighting system
CN103973809B (en) A kind of data distributing method and system
JP6301752B2 (en) Information service display system and time synchronization method
KR102475744B1 (en) Control apparatis and control system
CN106487611B (en) Method and device for detecting SDN cluster split
JP2009224905A (en) Communication apparatus, its control method, and communication system
JP2016181795A (en) Network system and network setting method
EP3578010B1 (en) Distributed control of a lighting network
BR112020023634A2 (en) device willing for wireless communication with other devices, method for use on a device for wireless communication with other devices, and downloadable computer program product
WO2018049552A1 (en) Method and apparatus for controlling network sensors
US10015043B2 (en) Method for self-construction of multiple wireless networks
JP6309809B2 (en) Controller, control system, and control system control method
JP2016008911A (en) Time synchronization method, time synchronization system, time master equipment and time slave equipment
US20170094035A1 (en) Management method and management device
JP2017108208A (en) Control system
KR101435181B1 (en) Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system
JP2017046075A (en) Remote control system, control method, and computer program
JP2009016890A (en) Remote control system
JP5603764B2 (en) Terminal control system, server device, and program
US20210304588A1 (en) Setting device, control device, and recording medium used with manipulation device for controlling appliance
US20160309435A1 (en) Segment synchronization method for network based display
JP6567846B2 (en) Synchronization apparatus, base station apparatus, network node, and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190313

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190326

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190408

R151 Written notification of patent or utility model registration

Ref document number: 6519358

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151