KR20170003372A - Control apparatis and control system - Google Patents

Control apparatis and control system Download PDF

Info

Publication number
KR20170003372A
KR20170003372A KR1020160010797A KR20160010797A KR20170003372A KR 20170003372 A KR20170003372 A KR 20170003372A KR 1020160010797 A KR1020160010797 A KR 1020160010797A KR 20160010797 A KR20160010797 A KR 20160010797A KR 20170003372 A KR20170003372 A KR 20170003372A
Authority
KR
South Korea
Prior art keywords
control
information
master
control device
synchronization
Prior art date
Application number
KR1020160010797A
Other languages
Korean (ko)
Other versions
KR102475744B1 (en
Inventor
사야카 기쿠타
히사시 야마모토
히데노리 니시가키
Original Assignee
도시바 라이텍쿠 가부시키가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 도시바 라이텍쿠 가부시키가이샤 filed Critical 도시바 라이텍쿠 가부시키가이샤
Publication of KR20170003372A publication Critical patent/KR20170003372A/en
Application granted granted Critical
Publication of KR102475744B1 publication Critical patent/KR102475744B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/04Arrangements for synchronous operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/30Arrangements in telecontrol or telemetry systems using a wired architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

According to the present invention, provided are control apparatuses and a control system, which can reduce the amount of communication generated when a master and a slave are synchronized. Each control apparatus according to an embodiment of the present invention comprises an information-tracking unit, and a synchronization control unit. The information-tracking unit maintains identification information regarding a plurality of control apparatuses adapted to control terminal devices, control apparatus information including information about which one of the control devices is a master, and control information regarding the terminal devices controlled by the control apparatuses. The synchronization control unit synchronizes the control apparatus information and the control information with other control apparatuses at different timings when the control apparatus information indicates that the corresponding control apparatus itself is the master.

Description

제어장치 및 제어시스템{CONTROL APPARATIS AND CONTROL SYSTEM}[0001] CONTROL APPARATUS AND CONTROL SYSTEM [0002]

본 발명의 실시형태는 제어장치 및 제어시스템에 관한 것이다.An embodiment of the present invention relates to a control apparatus and a control system.

종래, 복수의 통신장치 중 마스터로서 동작하는 통신장치가, 슬레이브로서 동작하는 다른 통신장치를 관리하는 마스터 슬레이브 방식의 통신수단이 알려져 있다. 이와 같은 마스터 슬레이브 방식의 통신수단에서는 마스터가 고장난 경우 등에, 슬레이브 중 어느 것이 새로운 마스터가 되어 다른 슬레이브를 관리한다.2. Description of the Related Art Conventionally, a master slave communication means is known in which a communication device operating as a master among a plurality of communication devices manages another communication device operating as a slave. In such a master slave communication means, when a master fails, one of the slaves becomes a new master and manages another slave.

최근, 제어장치가 무선통신을 통하여 조명기기를 제어하는 조명제어 시스템이 개발되고 있고, 제어장치의 고장시에 대비하여, 복수의 제어장치에 전술한 마스터 슬레이브 방식의 통신수단을 적용하는 방법이 생각된다. 그러나, 제어대상이 되는 각 조명기기의 정보 등, 제어장치가 유지하는 정보가 많아지면, 마스터와 슬레이브가 동기하기 위한 통신량이 증대되고, 시스템 전체의 접속 신뢰성이나 통신속도가 저하될 우려가 있다.In recent years, a lighting control system has been developed in which a control apparatus controls a lighting apparatus through wireless communication, and a method of applying the master slave communication means described above to a plurality of control apparatuses do. However, if the amount of information held by the control device, such as the information of each lighting device to be controlled, increases, the amount of communication for synchronization between the master and the slave is increased, and the connection reliability and communication speed of the entire system may decrease.

일본 공표특허 제2006-510181호 공보Japanese Patent Publication No. 2006-510181 일본 특허 제3421017호 공보Japanese Patent No. 3421017

본 발명이 해결하고자 하는 과제는 마스터와 슬레이브가 동기할 때의 통신량을 삭감할 수 있는 제어장치 및 제어시스템을 제공하는 것이다.A problem to be solved by the present invention is to provide a control device and a control system capable of reducing a communication amount when a master and a slave synchronize.

실시형태의 일례에 관한 제어장치는, 유지부와, 동기 제어부를 갖는다. 유지부는 단말장치를 제어하는 제어장치의 식별정보와, 복수의 제어장치 중 마스터에 관한 정보를 포함하는 제어장치정보와, 각 제어장치에 의해 제어되는 단말장치에 관한 제어정보를 유지한다. 동기 제어부는 장치 스스로가 마스터라고 상기 제어장치정가 나타내는 경우에는, 다른 제어장치와의 사이에서 상기 제어장치정보와 상기 제어정보를 다른 타이밍에 동기시킨다.A control apparatus according to an embodiment of the present invention has a holding section and a synchronization control section. The holding unit holds the identification information of the control device that controls the terminal device, the control device information including the information on the master among the plurality of control devices, and the control information on the terminal device controlled by each control device. The synchronous control unit synchronizes the control device information and the control information with other timings with another control device when the device itself indicates that the master is the master.

본 발명의 실시형태의 일례에 관한 제어장치 및 제어시스템에 따르면, 마스터와 슬레이브가 동기할 때의 통신량을 삭감할 수 있다.According to the control device and the control system according to the embodiment of the present invention, the amount of communication when the master and the slave are synchronized can be reduced.

도 1은 실시형태에 관한 제어장치가 실행하는 처리의 일례를 도시한 도면이다.
도 2는 실시형태에 관한 제어시스템의 기능구성의 일례를 설명하기 위한 도면이다.
도 3은 실시형태에 관한 제어장치가 갖는 기능구성의 일례를 도시한 도면이다.
도 4는 실시형태에 관한 컨트롤러 정보 리스트에 저장되는 정보의 일례를 설명하는 도면이다.
도 5는 실시형태에 관한 제어장치가 마스터일 때 실행하는 기동처리의 일례를 도시한 시퀀스도이다.
도 6은 실시형태에 관한 제어장치가 슬레이브일 때 실행하는 기동처리의 일례를 도시한 시퀀스도이다.
도 7은 실시형태에 관한 마스터가 고장났을 때 실행되는 동기처리의 일례를 도시한 시퀀스도이다.
도 8은 실시형태에 관한 슬레이브가 고장났을 때 실행되는 동기처리의 일례를 도시한 시퀀스도이다.
도 9는 실시형태에 관한 마스터가 복구했을 때 실행되는 동기처리의 일례를 도시한 스퀀스도이다.
도 10은 실시형태에 관한 제어장치가 실행하는 동기처리의 흐름의 일례를 도시한 플로우차트이다.
1 is a diagram showing an example of processing executed by the control apparatus according to the embodiment.
2 is a diagram for explaining an example of the functional configuration of the control system according to the embodiment.
3 is a diagram showing an example of the functional configuration of the control apparatus according to the embodiment.
4 is a diagram for explaining an example of information stored in the controller information list according to the embodiment.
5 is a sequence diagram showing an example of startup processing executed when the control apparatus according to the embodiment is a master.
6 is a sequence diagram showing an example of startup processing executed when the control apparatus according to the embodiment is a slave.
Fig. 7 is a sequence diagram showing an example of synchronous processing executed when a master according to the embodiment fails; Fig.
Fig. 8 is a sequence diagram showing an example of synchronization processing executed when a slave according to the embodiment fails. Fig.
FIG. 9 is a sequence diagram showing an example of a synchronization process executed when the master according to the embodiment is restored. FIG.
10 is a flowchart showing an example of a flow of a synchronization process executed by the control apparatus according to the embodiment.

이하, 도면을 참조하여 실시형태에 관한 제어장치 및 제어시스템을 설명한다. 실시형태에서 동일한 기능을 갖는 구성에는 동일한 부호를 붙이고, 중복되는 설명은 생략한다.Hereinafter, a control apparatus and a control system according to the embodiment will be described with reference to the drawings. In the embodiment, the same reference numerals are assigned to the same functional elements, and redundant description is omitted.

또한, 이하의 실시형태에서 설명하는 제어장치 및 제어시스템은 일례를 도시한 것에 지나지 않고, 실시형태를 한정하는 것은 아니다. 예를 들어, 이하의 실시형태에서는 단말장치(10)를 제어하는 제어장치(100)가 실행하는 처리의 일례에 대해서 설명하지만, 이러한 처리는 단말장치(10)를 제어하는 장치 이외에도, 임의의 장치에 적용할 수 있다. 또한, 이하의 각 실시형태는 모순되지 않은 범위내에서 적절하게 조합해도 좋다.The control device and control system described in the following embodiments are merely examples, and are not intended to limit the embodiments. For example, in the following embodiments, an example of the process executed by the control device 100 for controlling the terminal device 10 is described. However, this process may be performed in addition to the device that controls the terminal device 10, . It should be noted that the following embodiments may be appropriately combined within a range without inconsistency.

이하의 실시형태에 관한 제어장치(100a)는 복수의 제어장치(100a~100c) 중에서 설정되는 마스터에 관한 정보를 포함하는 컨트롤러 정보 리스트(105)와, 각 제어장치(100a~100c)에 의해 제어되는 단말장치(10)에 관한 제어정보(106)를 유지한다.The control device 100a according to the following embodiments is provided with a controller information list 105 including information on a master set among a plurality of control devices 100a to 100c, And the control information 106 related to the terminal device 10 is stored.

그리고, 제어장치(100a)는 장치 자신이 마스터라고 컨트롤러 정보 리스트(105)가 나타내는 경우에는, 다른 제어장치(100b, 100c)와의 사이에서 컨트롤러 정보 리스트(105)와 제어정보(106)를 다른 타이밍으로 동기시킨다.When the controller information list 105 indicates that the apparatus itself is the master, the controller 100a transmits the controller information list 105 and the control information 106 to the other controllers 100b and 100c at different timings .

또한, 이하의 실시형태에 관한 제어장치(100a)는 장치 자신이 마스터인 취지를 컨트롤러 정보 리스트(105)가 나타내는 경우에는 다른 제어장치(100b, 100c)가 유지하는 컨트롤러 정보 리스트(105)와 제어정보(106)를, 장치 자신이 유지하는 컨트롤러 정보 리스트(105)와 제어정보(106)에 동기시킨다.When the controller information list 105 indicates that the apparatus itself is the master, the control apparatus 100a according to the following embodiment selects the controller information list 105 held by the other control apparatuses 100b and 100c, Information 106 to the controller information list 105 and control information 106 held by the apparatus itself.

또한, 이하의 실시형태에 관한 제어장치(100a)는 장치 자신이 마스터인 취지를 컨트롤러 정보 리스트(105)가 나타내는 경우에는, 각 제어장치(100b, 100c) 사이에서 정기적으로 컨트롤러 정보 리스트(105)를 동기시키고, 다른 제어장치(100b, 100c)와 컨트롤러 정보 리스트(105)를 동기시킬 수 없는 기간이 소정의 임계값을 초과한 경우에는, 다른 제어장치(100b, 100c)가 고장난 취지를, 장치 자신이 유지하는 컨트롤러 정보 리스트(105)에 반영시킨다.When the controller information list 105 indicates that the apparatus itself is the master, the control apparatus 100a according to the following embodiments periodically displays the controller information list 105 between the controllers 100b and 100c, And when the period in which the other control apparatuses 100b and 100c and the controller information list 105 can not be synchronized exceeds a predetermined threshold value, it is determined that the other control apparatuses 100b and 100c have failed, And reflects it in the controller information list 105 held by itself.

또한, 이하의 실시형태에 관한 제어장치(100a)는 다른 제어장치(100b)가 마스터인 취지를 컨트롤러 정보 리스트(105)가 나타내는 경우에는, 장치 자신이 유지하는 컨트롤러 정보 리스트(105)를 마스터가 유지하는 컨트롤러 정보 리스트(105)와 정기적으로 동기키시고, 마스터와 컨트롤러 정보 리스트(105)를 옹기시킬 수 없는 경우에는, 각 제어장치(100)에 대해서 네트워크 모니터를 요구한다.When the controller information list 105 indicates that the other control apparatus 100b is the master, the control apparatus 100a according to the following embodiment sets the controller information list 105 held by the apparatus itself as a master When the master and controller information list 105 are not synchronized periodically with the controller information list 105 to be maintained, a network monitor is requested to each controller 100. [

또한, 이하의 실시형태에 관한 제어장치(100a)는 네트워크 모니터의 요구에 따라서 작성한 컨트롤러 정보 리스트(105)에 장치 자신이 마스터인 취지가 포함되는 경우에는, 다른 제어장치(100b, 100c)가 유지하는 제어정보(106)를 장치 자신이 유지하는 제어정보(106)에 동기시킨다.In the control device 100a according to the following embodiments, when the fact that the device itself is the master is included in the controller information list 105 created according to the request of the network monitor, the other control devices 100b and 100c are maintained To the control information 106 held by the device itself.

또한, 이하의 실시형태에 관한 제어장치(100a)는 네트워크 모니터의 요구에 따라서 컨트롤러 정보 리스트(105)를 생성하고 나서 소정의 시간이 경과한 후에, 다른 제어장치(100b, 100c)가 유지하는 제어정보(106)를 장치 자신이 유지하는 제어정보(106)에 동기시킨다.The control device 100a according to the following embodiment controls the control that the other control devices 100b and 100c hold after a predetermined time has elapsed since the generation of the controller information list 105 in accordance with the request of the network monitor And synchronizes the information 106 with the control information 106 held by the device itself.

또한, 이하의 실시형태에 관한 제어장치(100a)는 장치 자신이 복수의 제어장치(100b, 100c)를 포함하는 네트워크에 추가된 경우에는 네트워크의 각 제어장치(100b, 100c)에 대해서 네트워크 모니터를 요구한다.When the device itself is added to a network including a plurality of control apparatuses 100b and 100c, the control apparatus 100a according to the following embodiments performs a network monitor for each of the control apparatuses 100b and 100c in the network Demand.

또한, 이하의 실시형태에 관한 제어장치(100a)는 장치 자신이 새로운 마스터인 취지를 네트워크 모니터의 요구에 의해 작성한 컨트롤러 정보 리스트(105)가 나타내는 경우에는, 장치 자신이 유지하는 제어정보(106)를, 장치 자신이 네트워크에 추가되었을 때 마스터에 설정되어 있던 제어장치(100b)가 유지하는 제어정보(106)와 동기시키고, 제어정보(106)의 동기 후에, 마스터의 전환을 실시한다.The control apparatus 100a according to the following embodiment controls the control information 106 held by the apparatus itself when the controller information list 105 created by the request of the network monitor indicates that the apparatus itself is a new master, Is synchronized with the control information 106 held by the control device 100b set in the master when the device itself is added to the network and the master is switched after the synchronization of the control information 106. [

또한, 이하의 실시형태에 관한 제어시스템(1)은 단말장치(10)를 제어하는 복수의 제어장치(100a~100c)를 갖는다. 또한, 제어장치(100a)는 복수의 제어장치(100a~100c) 중에서 설정되는 마스터에 관한 정보를 포함하는 컨트롤러 정보 리스트(105)와, 단말장치(10)에 관한 제어정보(106)를 유지한다. 그리고, 제어장치(100a)는 장치 자신이 마스터라고 칸트롤러 정보 리스트(105)가 나타내는 경우에는 다른 제어장치(100b, 100c) 사이에서 컨트롤러 정보 리스트(105)와 제어정보(106)를 다른 타이밍으로 동기시킨다.The control system 1 according to the following embodiments has a plurality of control devices 100a to 100c for controlling the terminal device 10. [ The control device 100a also holds the control information 106 related to the terminal device 10 and the controller information list 105 including the information about the master set among the plurality of control devices 100a to 100c . When the Kant roller information list 105 indicates that the apparatus itself is the master, the controller 100a sets the controller information list 105 and the control information 106 at different timings between the other controllers 100b and 100c Synchronize.

[실시형태][Embodiment Mode]

(실시형태에 관한 제어시스템의 구성)(Configuration of control system according to the embodiment)

도 1은 실시형태에 관한 제어장치가 실행하는 처리의 일례를 도시한 도면이다. 도 1에 도시한 예에서는 제어시스템(1)은 조명기기(10a, 10b)나 센서(10c)를 제어하는 복수의 제어장치(100a~100c)(이하, 「제어장치(100)」라고 기재하는 경우가 있다)를 갖는다. 또한, 제어 시스템(1)에 설치되는 제어장치(100)의 수나, 제어장치(100)가 제어하는 조명기기(10a, 10b)나 센서(10c)의 종별이나 수 등은 임의로 설정할 수 있다.1 is a diagram showing an example of processing executed by the control apparatus according to the embodiment. 1, the control system 1 includes a plurality of control devices 100a to 100c (hereinafter referred to as " control device 100 ") for controlling 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 the number of the illumination devices 10a and 10b and the 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 through wireless communication. For example, when the illumination device 10a or 10b receives a control instruction from the control device 100c via wireless communication, the illumination device 10a or 10b may turn on or off according to the received control instruction, change the illumination, change the color of the illumination light, Actually.

센서(10c)는 소정의 상태를 검출 가능한 검출장치이고, 예를 들어 사람 감지 센서이다. 예를 들어, 센서(10c)는 적외선 등을 사용하여 소정의 영역 내에 사람이 있는 취지를 검출한 경우에는, 검출결과를 제어장치(100c)에 송신한다. 또한, 이하의 설명에서는 조명기기(10a, 10b) 및 센서(10c) 등, 제어장치(100)의 제어대상이 되는 장치를 단말장치(10)라고 기재하는 경우가 있다.The sensor 10c is a detection device capable of detecting a predetermined state, and is, for example, a human detection sensor. For example, when the sensor 10c detects the presence of a person in a predetermined area by using an infrared ray or the like, the sensor 10c transmits the detection result to the control device 100c. In the following description, a device to be controlled by the control device 100, such as the illuminating devices 10a and 10b and the sensor 10c, may be referred to as a terminal device 10. [

제어장치(100)는 무선 LAN(Local Area Network) 등의 소정의 규격에 따른 무선통신을 통하여, 단말장치(10)의 제어를 실시한다. 예를 들어, 제어장치(100)는 도시를 생략한 조작단말 등으로부터 조명장치(10a)의 점등지시를 접수한 경우에, 무선통신을 통하여 점등지시를 조명장치(10a)에 송신하여, 조명장치(10a)를 점등시킨다.The control device 100 controls the terminal device 10 through 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 of the lighting device 10a from an operation terminal or the like (not shown), the control device 100 transmits a lighting instruction to the lighting device 10a through wireless communication, (10a).

또한, 제어장치(100a)는 각 제어장치(100a~100c) 사이에서 동기시키는 정보인 동기정보(104a)를 유지한다. 동기정보(104a)에는 각 제어장치(100a~100c)를 식별하는 개별 ID(identifier)나, 어느 제어장치(100)가 마스터인지를 나타내는 마스터 정보 등을 포함하는 제어장치정보로서의 컨트롤러 정보 리스트(105a)와, 제어장치(100)에 의해 제어되는 단말장치(10)의 정보를 포함하는 제어정보(106a)가 포함된다. 예를 들어, 제어장치(100a)는 각 단말장치(10)의 설정이나 각종 제어내용, 제어를 실행할 때의 룰 등을 제어정보(106a)로서 유지한다.The control device 100a also holds synchronization information 104a, which is information to be synchronized between the control devices 100a to 100c. The synchronous information 104a includes a controller ID list 105a as controller information that includes an individual ID identifying each control apparatus 100a to 100c and master information indicating which control apparatus 100 is a master And control information 106a including information of the terminal apparatus 10 controlled by the control apparatus 100. [ For example, the control device 100a holds the settings of each terminal device 10, various control contents, rules when 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)로 기재하는 경우가 있다.The control device 100b also holds the synchronization information 104b including the controller information list 105b and the control information 106b and the controller 100c also stores the synchronization information 104b including the controller information list 105b and the control information 106b. And the synchronization information 104c including the control information 106c. In the following description, the synchronization information 104a to 140c may be described as the synchronization information 104, and the controller information lists 105a to 105c may be described as the controller information list 105. In the control information list 105a, The information 106a to 106c may be written as the control information 106 in some cases.

여기에서, 각 제어장치(100a~100c)는 유선통신수단 또는 무선통신수단을 통하여 서로 통신 가능한 장치이고, 페일-세이프(fail-safe)의 관점에서, 마스터 슬레이브 방식의 제어를 실행한다. 예를 들어 제어장치(100a~100c)는 모두 1대가 마스터로서 동작하고, 마스터가 고장났을 때, 슬레이브로서 동작하고 있었던 제어장치가 새로운 마스터로서 동작한다.Here, each of the control apparatuses 100a to 100c is a device that can communicate with each other via wire communication means or wireless communication means, and performs control of the master slave mode from the viewpoint of fail-safe. For example, all of the control apparatuses 100a to 100c operate as a master, and when the master fails, the control apparatus that has operated as a slave operates as a new master.

이와 같은 마스터 슬레이브 방식의 제어를 실현하는 경우에는 제어장치(100)가 유지하는 동기정보(104)를 정기적으로 동기시킬 필요가 있다. 그러나, 동기정보(104)의 데이터 사이즈가 큰 경우, 각 제어장치(100)가 유지하는 동기정보(104)를 동기시키기 위한 통신량이 증대하고, 제어시스템(1) 전체의 접속신뢰성이나 통신속도가 저하될 우려가 있다.In the case of realizing such control of the master slave system, 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, and the connection reliability or communication speed of the entire control system 1 becomes There is a risk of degradation.

그래서, 제어장치(100)는 동기정보(104) 중, 컨트롤러 정보 리스트(105)와 제어정보(106)를 각각 다른 타이밍으로 동기시키는 동기처리를 실행한다. 보다 구체적으로는 제어장치(100)는 컨트롤러 정보 리스트(105)를 제어정보(106)와는 다른 타이밍으로 정기적으로 동기시키고, 소정의 타이밍으로 제어정보(106)를 동기시킨다.Thus, the control device 100 executes a synchronization process of synchronizing the controller information list 105 and the control information 106 at different timings, among the synchronization information 104. [ More specifically, the control device 100 periodically synchronizes the controller information list 105 with the timing different from the timing of 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, explanation will be made using the drawings. 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 a slave will be described. For example, the slave control device 100b requests the master device 100a to synchronize the controller information list 105b at predetermined time intervals (step S1). In this case, the control device 100a transmits the contents of the controller information list 105a to the control device 100b via the wireless communication as a response (step S2). As a result, the control apparatus 100b updates the controller information list 105b 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)만을 동기시킴으로써 통신량을 삭감한다.The control device 100c, which is also a slave, requests the master device 100a to synchronize the controller information list 105c at predetermined time intervals (step S4). In this case, the control apparatus 100a transmits the contents of the controller information list 105a as a response to the control apparatus 100c via wireless communication (step S5). As a result, the control apparatus 100c updates the controller information list 105c of the apparatus itself based on the contents of the received controller information list 105a (step S6). In this way, in the normal state, the control device 100 reduces the communication amount by synchronizing only the controller information list 105 among the synchronization information 104. [

여기에서, 설정단말(30)은 조명기기(10a)의 설정조도나 센서(10c)의 감도 등, 제어내용을 변경하는 경우에는, 제어정보(106)의 변경지시를, 제어장치(100b)에 송신한다(단계(S7)). 또한, 이러한 변경지시는 제어장치(100b)가 아니라, 다른제어장치(100a, 100c)가 접수하여도 좋다.Here, when the control contents such as the setting illuminance of the illuminating device 10a and the sensitivity of the sensor 10c are changed, the setting terminal 30 instructs the control device 100b to change the control information 106 (Step S7). This change instruction may be received not by the control device 100b but by other control devices 100a and 100c.

이러한 경우, 제어장치(100b)는 마스터인 제어장치(100a)에 대해서, 변경전의 제어정보(106b)와 변경후의 제어정보(106b)의 차분 등을 포함하는 변경통지 코맨드를 송신한다(단계(S8)). 이 결과, 제어장치(100a)는 장치 자신의 제어정보(106a)를, 변경내용에 따라서 갱신한다(단계(S9)). 그리고, 제어장치(100a)는 제어장치(100b, 100c)에 대해서 동기정보(104)의 차분을 송신하고, 동기정보(104c, 104c)의 갱신을 요구한다(단계(S10)). 이 결과, 제어정보(100b, 100c)는 장치 자신이 유지하는 동기정보(104b, 104c)를 마스터인 제어장치(100a)가 유지하는 동기정보(104a)로 갱신할 수 있다(단계(S11, S12)).In this case, the control apparatus 100b transmits a change notification command including the difference between the control information 106b before the change and the control information 106b after the change, to the master control apparatus 100a (step S8 )). As a result, the control apparatus 100a updates the control information 106a of the apparatus itself in accordance with the changed contents (step S9). The control device 100a then transmits the difference of the synchronization information 104 to the control devices 100b and 100c and requests the update of the synchronization information 104c and 104c (step S10). As a result, the control information 100b, 100c can be updated to the synchronization information 104b held by the device itself and the synchronization information 104a held by the master device 100a (steps S11, S12 )).

이와 같이, 제어장치(100)는 어느 제어장치(100)가 마스터인지를 나타내는 컨트롤러 정보 리스트(105)와, 단말장치(10)에 관한 제어정보(106)를 유지하고, 장치 자신이 마스터인 경우에는, 컨트롤러 정보 리스트(105)와 제어정보(106)를, 다른 타이밍으로 동기시킨다. 이 때문에, 제어장치(100)는 통신량을 삭감하고, 접속신뢰성이나 통신속도의 저하를 방지할 수 있다.As described above, the control device 100 maintains the controller information list 105 indicating which control device 100 is the master and the control information 106 related to the terminal device 10, and when the device itself is the master , The controller information list 105 and the control information 106 are synchronized at different timings. Therefore, 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 the process of synchronizing the synchronization information 104 when receiving the change instruction from the setting terminal 30 has been described, but the embodiment is not limited to this. For example, when the control device 100 has changed the control information 106 as a result of lighting the lighting device 10a according to the detection result of the sensor 10c, the control device 100 executes the above- (104) may be synchronized. The control apparatus 100a may also request the control apparatuses 100b and 100c to update the synchronization information 104 when the change instruction is received from the setting terminal 30. [

(실시형태에 관한 제어시스템(1)의 기능구성)(Functional Configuration of Control System 1 according to Embodiment)

다음에, 도 2를 사용하여 제어시스템(1)이 갖는 기능구성의 일례에 대해서 설명한다. 도 2는 실시형태에 관한 제어시스템의 기능구성의 일례를 설명하기 위한 도면이다. 도 2에 나타내는 예에서는, 제어시스템(1)은 조명기기(10a, 10b), 센서(10c), 설정단말(30a~30c), 허브(40), 복수의 제어장치(100a~100c)를 갖는다.Next, an example of the functional configuration of the control system 1 will be described using Fig. 2 is a diagram for explaining an example of the functional configuration of the control system according to the embodiment. 2, the control system 1 has 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)가 마스터로서 동작하고 있는 것으로 한다.2, an example in which the control device 100c controls three terminal devices 10 is described, but the control device 100c is not limited to the arbitrary number and any type of terminal device 10, Can be controlled. Although not shown in Fig. 2, it is assumed that the control apparatuses 100a and 100b also control the arbitrary number and arbitrary kinds of the control apparatuses 10, respectively. In the following description, it is assumed that the control apparatus 100a operates as a master.

설정단말(30a~30c)은 제어시스템(1)의 설정이나 조작을 실시하기 위한 단말장치이다. 예를 들어, 설정단말(30a, 30b)은 유선 또는 무선통신을 통하여, 제어정보(106)의 설정이나 변경 등을 실시한다. 또한, 설정단말(30c)은 무선통신을 통하여, 조명기기(10a)의 점등이나 소등 등의 지시를 조명기기(100c)에 송신한다. 또한, 이하의 설명에서는 제어단말(30a~30c)을 제어단말(30)로 기재하는 경우가 있다.The setting terminals 30a to 30c are terminal devices for setting or operating the control system 1. [ For example, the setting terminals 30a and 30b set or change the control information 106 through wired or wireless communication. Further, the setting terminal 30c transmits an instruction such as lighting or turning off the lighting device 10a to the lighting device 100c through wireless communication. In the following description, the control terminals 30a to 30c may be described as the control terminal 30. [

허브(40)는 각 제어장치(100a~100c)를 접속하는 유선 LAN의 허브장치이다.The hub 40 is a hub device of a wired LAN connecting the control devices 100a to 100c.

또한, 허브(40)는 제어시스템(1)과 외부 네트워크(N)를 접속하는 게이트웨이로서의 기능을 갖고, 외부 네트워크(N)를 통하여 수신한 각종 제어지시를, 제어장치(100)에 대해서 전달하는 기능을 갖는다. The hub 40 has a function as a gateway for connecting the control system 1 and the external network N and transmits various control instructions received via the external network N to the control device 100 Function.

이와 같은 구성에 기초하여, 각 제어장치(100a~100c)는 이용자로부터의 조작에 따라서 이하의 조작처리를 실행한다. 예를 들어, 제어장치(100c)는 설정단말(30c)로부터 조명(10c)의 점등을 지시하는 제어지시를 수신하면, 무선통신을 통하여 수신한 제어지시를 마스터인 제어장치(100a)에 송신한다.Based on such a configuration, each of the control apparatuses 100a to 100c executes the following operation processing in accordance with the operation from the user. For example, when the control device 100c receives a control instruction for instructing lighting of the light 10c from the setting terminal 30c, the control device 100c transmits the control instruction received via the wireless communication to the master device 100a .

그러면, 제어장치(100a)는 장치 자신이 유지하는 제어정보(106a)를 참조하고, 조명기기(10a)의 제어내용(예를 들어, 점등시키는 조도나 색채) 등을 나타내는 제어지시를 다른 제어장치(100b, 100c)에 무선통신을 통하여 멀티캐스트한다. 한편, 제어지시를 수신한 제어장치(100b, 100c)는 장치 자신이 제어하는 단말장치(10)에 제어대상(즉, 조명기기(10a))이 포함되어 있는 지의 여부를 판정하고, 포함되어 있는 경우에는 제어대상에 대해서 제어지시를 송신한다.Then, the control apparatus 100a refers to the control information 106a held by the apparatus itself and transmits a control instruction indicating the control content (for example, illuminance or color to be illuminated) of the illuminating apparatus 10a to another control apparatus (100b, 100c) through wireless communication. On the other hand, the control apparatuses 100b and 100c that have received the control instruction determine whether or not the controlled object (i.e., the lighting apparatus 10a) is included in the terminal apparatus 10 controlled by the apparatus itself, A control instruction is transmitted to the control object.

이와 같이, 제어시스템(1)에서의 마스터 슬레이브 방식에서는 슬레이브가 제어지시를 수신하면, 마스터에 대해서 제어지시를 일단 전송하고, 마스터로부터 제어지시가 슬레이브에 대해서 멀티캐스트된다. 이 결과, 마스터가 유지하는 동기 정보(104)는 단말장치(10)의 최신 상태를 나타낸다고 생각되므로, 슬레이브의 동기정보(104)를 동기시킬 때의 기준으로 할 수 있다.As described above, in the master slave system in the control system 1, when the slave receives the control instruction, the control instruction is once transmitted to the master, and the control instruction from the master is multicasted to the slave. As a result, since the synchronization information 104 held by the master is considered to represent the latest state of the terminal device 10, it can be used as a reference for synchronizing the synchronization information 104 of the slave.

(실시형태에 관한 제어장치(100)의 기능구성)(Functional Configuration of Control Apparatus 100 according to Embodiment)

다음에, 도 3을 사용하여 실시형태에 관한 제어장치(100)가 갖는 기능구성의 일례에 대해서 설명한다. 도 3에 도시한 예에서는 제어장치(100)는 유선통신부(101), 무선통신부(102), 기억부(103), 제어부(107)를 갖는다.Next, an example of the functional configuration of the control apparatus 100 according to the embodiment will be described with reference to Fig. 3, the control apparatus 100 has 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 for performing communication control with another device through 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 hub 40 via the setting terminal 30 or the external network N. [ The wired communication unit 101 realizes communication with the other control device 100 via the hub 40. [

무선통신부(102)는 무선통신을 통하여 다른 장치와의 사이에서 통신 제어를 실시하는 인터페이스이고, 예를 들어 무선 LAN 카드 등에 의해 실현된다. 예를 들어, 무선통신부(102)는 무선통신을 통하여 설정단말(30)이나 단말장치(10)와의 통신을 실현한다.The wireless communication unit 102 is an interface for performing communication control with another device through wireless communication, and is realized by, for example, a wireless LAN card or the like. For example, the wireless communication unit 102 realizes communication with the setting terminal 30 or the terminal apparatus 10 through wireless communication.

기억부(103)는 플래시메모리 등의 반도체 메모리 소자, 하드디스크, 광디스크 등의 기억장치이고, 소정의 저보를 유지할 수 있는 유지부이다. 또한, 기억부(103)는 RAM(Random Access Memory), 플래시메모리, NV SRAM(Non Volatile Static Random Access Memory) 등의 데이터를 치환 가능한 반도체 메모리이어도 좋다.The storage unit 103 is a storage unit such as a semiconductor memory device such as a flash memory, a hard disk, or an optical disk, and is a holding unit capable of maintaining a predetermined low beam. The storage unit 103 may be a semiconductor memory capable of replacing data such as a RAM (Random Access Memory), a flash memory, and an NV SRAM (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 for explaining an example of information stored in the controller information list according to the embodiment. In the example shown in Fig. 4, "location", "individual ID", "master information", "IP (Internet Protocol) address" and the like are stored in the controller information list 105. Further, in the controller information list 105, any other information relating to the control apparatus 100 may be stored.

여기에서, 「장소」라는 것은 제어장치(100)가 설치된 장소를 나타내는 정보이고, 예를 들어 「1F(1층)」이나 「2F(2층)」 등이라는 정보가 등록된다. 「개별 ID」라는 것은 각 제어장치(100)를 식별하기 위한 정보이고, 「ⅩⅩⅩ1」이나 「ⅩⅩⅩ2」 등이라는 정보가 등록된다. 또한, 「IP 어드레스」라는 것은 각 제어장치(100)에 대해서 부여되어 있는 IP 어드레스이다.Here, the " place " is information indicating the place where the control apparatus 100 is installed, and information such as " 1F (1st floor) " or " 2F (2nd floor) " The "individual ID" is information for identifying each control device 100, and information such as "XXX1" or "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 of the control apparatuses 100 of the control apparatus 100 is a master, and information such as "master" or "slave" is registered, for example. Here, the " master information " is information determined based on various kinds 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 earliest number among the individual IDs registered in the controller information list 105, and " slave " .

즉, 제어시스템(1)에서는 각 제어장치(100)에 부여된 「개별 ID」의 값을 우선도로 하고, 마스터인지의 여부가 결정된다. 이 결과, 각 제어장치(100)는 각 제어장치(100)에 부여된 「개별 ID」와, 「개별 ID」의 값에 대응하여 결정된 마스터에 관한 정보인 「마스터 정보」를 유지하게 된다.In other words, in the control system 1, the value of the " individual ID " assigned to each control apparatus 100 is given priority and it is determined whether or not the master is the master. As a result, each control device 100 maintains the " master information " which is the master information determined in correspondence with the " individual ID "

또한, 컨트롤러 정보 리스트(105)에 저장되는 각종 정보는 자동적 또는 필연적으로 결정되는 정보이어도 좋고 제어시스템(1)의 관리자 등이 인위적으로 설정한 정보이어도 좋다. 예를 들어, 「개별ID」는 제어장치(100)의 고장출하시 등에 설정된 정보나, 부품 등에 의해 필연적으로 결정되는 정보이어도 좋다.The various information stored in the controller information list 105 may be information that is determined automatically or inevitably, or may be information that the manager or the like of the control system 1 has artificially set. For example, the " individual ID " may be information set at the time of faulty shipment of the control apparatus 100, or information necessarily determined by parts or the like.

도 3으로 되돌아가 설명을 계속한다. 제어정보(106)에는 각 단말장치(10)에 관한 정보가 포함된다. 예를 들어, 제어정보(106)에는 각 단말장치(10)의 설정이나 각종 제어내용, 제어를 실행할 대의 룰 등, 단말장치(10)에 관한 임의의 정보가 저장되어 있다.Returning to Fig. 3, description will be continued. The control information 106 includes information on each of the terminal devices 10. For example, the control information 106 stores arbitrary information about the terminal device 10, such as setting of each terminal device 10, various control contents, and a rule for performing 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 may be realized by an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array) do.

예를 들어, 제어부(107)는 조명제어부(108)와 동기 제어부(109)를 갖는 조명제어부(108)는 설정단말(30)로부터의 지시나 센서(10c)의 검출결과에 기초하여, 조명기기(10a, 10b)를 제어하는 제어처리를 실행한다. 또한, 동기 제어부(109)는 장치 자신이 마스터인 취지를 컨트롤러 정보 리스트(105)가 나타내는 경우에는, 다른 제어장치(100)와의 사이에서 컨트롤러 정보 리스트(105)와 제어정보(106)를 다른 타이밍으로 동기시키는 동기 처리를 실행한다.For example, the control unit 107 controls the lighting control unit 108, which includes the lighting control unit 108 and the synchronous control unit 109, based on the instruction from the setting terminal 30 and the detection result of the sensor 10c, (10a, 10b). When the controller information list 105 indicates that the apparatus itself is the master, the synchronization control unit 109 sets the controller information list 105 and the control information 106 with the other control apparatus 100 at different timings The synchronization processing is executed.

우선, 조명제어부(108)가 실행하는 제어처리에 대해서 설명한다. 예를 들어, 조명제어부(108)는 조작 접수부(110), 조작신호 분배부(111), 조작 설정부(112)를 갖는다. 조작 접수부(110)는 제어지시나 센서(10c)의 검출결과를 접수한다. 이러한 경우, 조작 접수부(110)는 컨트롤러 정보 리스트(105)를 참조하고, 장치 자신이 마스터인지의 여부를 판정한다.First, the control process executed by the illumination control unit 108 will be described. For example, the illumination control unit 108 has an operation accepting unit 110, an operation signal distributing unit 111, and an operation setting unit 112. The operation accepting unit 110 accepts the control instruction or the detection result of the sensor 10c. In this case, the operation reception unit 110 refers to the controller information list 105 and determines whether or not the apparatus itself is the master.

그리고, 조작 접수부(110)는 장치 자신이 마스터가 아닌 경우에는 접수한 제어지시나 검출결과를 마스터로 송신한다. 한편, 조작 접수부(110)는 장치 자신이 마스터인 경우에는 접수한 제어지시나 검출결과를 조작신호 분배부(111)에 출력한다.When the apparatus itself is not the master, the operation accepting unit 110 transmits the received control instruction or detection result to the master. On the other hand, when the apparatus itself is the master, the operation accepting unit 110 outputs the received control instruction or detection result to the operation signal distributing unit 111. [

조작신호 분배부(111)는 제어지시를 접수하면, 제어지시의 내용에 기초하여 제어정보(106)를 갱신한다. 예를 들어, 조작신호 분배부(111)는 조명기기(10a)가 점등하고 있거나 아니면, 센서(10c)의 감도, 센서(10c)의 검출 결과에 기초하여 점등 또는 소등하는 조명기기의 정보 등을 갱신한다. 또한, 조작신호 분배부(111)는 제어지시를 각 제어장치(100)로 멀티캐스트한다.Upon receipt of the control instruction, the operation signal distribution unit 111 updates the control information 106 based on the contents of the control instruction. For example, the operation signal distribution unit 111 may store information on lighting apparatuses that are turned on or off based on the sensitivity of the sensor 10c and the detection result of the sensor 10c, if the illumination apparatus 10a is on or off Update. In addition, the operation signal distribution unit 111 multicasts the control instruction to each control device 100. [

조작설정부(112)는 마스터인 제어장치(100)로부터 제어지시를 접수하면 제어내용에 따라서 제어정보(106)를 갱신하고, 접수한 제어지시에 따라서 단말장치(10)의 제어를 실시한다. 예를 들어, 조작설정부(112)는 조명기기(10a)의 점등, 소등, 광의 색채 등의 설정을 실시한다. 또한, 조작 설정부(112)는 센서(10c)의 감도의 설정을 실시한다.When receiving a control instruction from the master control device 100, the operation and specification device 112 updates the control information 106 in accordance with the control content, and controls the terminal device 10 in accordance with the received control instruction. For example, the operation and setting unit 112 sets the illumination device 10a on, off, and the color of the light. The operation setting unit 112 also sets the sensitivity of the sensor 10c.

다음에, 동기 제어부(109)가 실해하는 동기 제어에 대해서 설명한다. 예를 들어, 동기 제어부(109)는 리스트 동기부(113)와 정보 동기부(114)를 갖는다. 리스트 동기부(113)는 컨트롤러 정보 리스트(105)의 동기 처리를 실행한다. 예를 들어, 리스트 동기부(113)는 장치 자신의 컨트롤러 정보 리스트(105)를 참조하여, 장치 자신이 마스터인지 슬레이브인지를 판정한다. 그리고, 리스트 동기부(113)는 장치 자신이 슬레이브인 경우에는 소정의 시간간격으로 컨트롤러 정보 리스트(105)의 취득요구를 마스터에 대해서 송신한다. 그리고, 리스트 동기부(113)는 마스터로부터 컨트롤러 정보 리스트(105)를 수신한 경우에는 유지하고 있는 컨트롤러 정보 리스트(105)를, 마스터로부터 수신한 컨트롤러 정보 리스트(105)로 갱신한다.Next, synchronization control performed by the synchronization control unit 109 will be described. For example, the synchronization control unit 109 has a list synchronization unit 113 and an information synchronization unit 114. [ The list synchronizing unit 113 executes synchronization processing of the controller information list 105. [ For example, the list synchronizer 113 refers to the controller information list 105 of the device itself, and determines whether the device itself is a master or a slave. If the device itself is a slave, the list synchronizing unit 113 transmits a request to acquire the controller information list 105 to the master at predetermined time intervals. When the list synchronizing unit 113 receives the controller information list 105 from the master, the list synchronizing unit 113 updates the held controller information list 105 to the controller information list 105 received from the master.

한편, 리스트 동기부(113)는 장치 자신이 마스터인 경우에는 슬레이브로부터 취득요구를 대기한다. 그리고, 리스트 동기부(113)는 슬레이브로부터 취득요구를 수신하면, 장치 자신이 유지하는 컨트롤러 정보 리스트(105)를, 요구원의 슬레이브에 대하여 송신한다.On the other hand, if the device itself is the master, the list synchronizing unit 113 waits for an acquisition request from the slave. When receiving the acquisition request from the slave, the list synchronization unit 113 transmits the controller information list 105 held by the device itself to the slave of the request source.

즉, 리스트 동기부(113)는 장치 자신이 마스터인 경우에는 슬레이브가 유지하는 컨트롤러 정보 리스트(105)를 장치 자신이 유지하는 컨트롤러 정보 리스트(105)에 동기시킨다.That is, if the device itself is the master, the list synchronizing unit 113 synchronizes the controller information list 105 held by the slave with the controller information list 105 held by the device itself.

여기에서, 리스트 동기부(113)는 장치 자신이 마스터인 경우에는, 각 슬레이브마다 취득 요구를 수신하고 나서 소정의 시간이 경과할 때가지의 사이에 새로운 취득요구를 수신했는지의 여부를 판정한다. 그리고, 리스트 동기부(113)는 어느 슬레이브에 대해서 취득 요구를 수신하고 나서 소정의 시간이 경과할 때가지의 사이에 새로운 취득요구를 수신하지 않은 경우에는 이러한 슬레이브가 고장난 것으로서 컨트롤러 정보 리스트(105)를 갱신한다.Here, when the device itself is the master, the list synchronizing unit 113 judges whether or not a new acquisition request has been received between the reception of the acquisition request for each slave and the elapse of the predetermined time. If the list synchronizing unit 113 does not receive a new acquisition request within a predetermined period of time after receiving the acquisition request for a certain slave, the list synchronizing unit 113 regards the controller information list 105 as having failed such slave Update.

한편, 리스트 동기부(113)는 장치 자신이 슬레이브인 경우에는 마스터에 취득 요구를 송신하고 나서 소정의 시간이 경과했는지의 여부를 판정하고, 소정의 시간이 경과했다고 판정한 경우에는, 마스터가 고장났다고 판정한다. 이러한 경우, 리스트 동기부(113)는 정보 동기부(115)에 대해서 마스터의 고장을 통지한다.On the other hand, when the device itself is a slave, the list synchronizing unit 113 judges whether or not a predetermined time has elapsed since the transmission of the acquisition request to the master. If it is determined that the predetermined time has elapsed, It is judged that it is. In this case, the list synchronizer 113 informs the information synchronizer 115 of the failure of the master.

정보 동기부(115)는 동기 정보(104) 전체의 동기 처리를 실행한다. 보다 구체적으로는 제어 시스템(1)이 기동한 경우나 마스터가 고장난 경우에는 컨트롤러 정보 리스트(105)의 작성에 필요한 정보의 송신을 요구한다(즉, 네트워크 모니터를 요구하는) 네트워크 모니터 요구를, 다른 제어장치(100)에 대해서 멀티캐스트한다. 또한, 정보 동기부(115)는 다른 제어장치(100)로부터 네트워크 모니터 요구를 수신한 경우에는 장치 자신의 정보를 포함하는 네트워크 모니터 응답을 요구원으로 송신한다.The information synchronization unit 115 executes synchronization processing of the entire synchronization information 104. [ More specifically, when the control system 1 is started up or when the master is out of order, 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 the control device 100. [ Further, when receiving the network monitor request from the other control device 100, the information synchronization unit 115 transmits a network monitor response including the information of the device itself to the request source.

그리고, 정보 동기부(115)는 각 제어장치(100)로부터 네트워크 모니터 응답을 수신한 경우에는 수신한 네트워크 모니터 응답에 포함되는 정보를 사용하여, 새로운 컨트롤러 정보 리스트(105)를 작성한다. 즉, 정보 동기부(115)는 마스터가 고장난 경우에는 슬레이브가 새로운 컨트롤러 정보 리스트(105)를 각각 생성한다.When receiving the network monitor response from each control device 100, the information synchronizing unit 115 creates a new controller information list 105 by using the information included in the received network monitor response. That is, when the master is broken, the information synchronization unit 115 generates a new controller information list 105 for each slave.

또한, 정보 동기부(115)는 새로운 컨트롤러 정보 리스트(105), 즉 네트워크 모니터의 요구에 의해 생성한 컨트롤러 정보 리스트(105)를 사용하여 마스터로서 동작하는 제어장치(100)를 특정한다. 그리고, 정보 동기부(115)는 새로운 컨트롤러 정보 리스트(105)에 장치 자신이 마스터인 취지가 포함되는 경우에는, 네트워크 모니터의 요구에 의해 새로운 컨트롤러 정보 리스트(105)를 생성하고 나서 일정 시간이 경과한 후에, 다른 제어장치(100)에 대해서 장치 자신의 동기 정보(104)를 송신하고 설정하도록 요구한다.Further, the information synchronization unit 115 specifies the control device 100 operating as a master by using the new controller information list 105, that is, the controller information list 105 generated by the request of the network monitor. If the new controller information list 105 contains the fact that the apparatus itself is master, the information synchronization unit 115 generates a new controller information list 105 at the request of the network monitor, And requests the other control apparatus 100 to transmit and set synchronization information 104 of the apparatus itself.

한편, 정보 동기부(115)는 장치 자신이 슬레이브인 경우에는, 아무것도 하지 않고 대기하고, 마스터로부터 동기 정보(104)를 갱신한다. 이와 같이, 정보 동기부(115)는 슬레이브가 유지하는 컨트롤러 정보 리스트(105)나 제어정보(106)를, 새로운 마스터가 유지하는 컨트롤러 정보 리스트(105)나 제어정보(106)에 동기시킨다.On the other hand, when the device itself is a slave, the information synchronization unit 115 waits for nothing and updates the synchronization information 104 from the master. In this way, the information synchronizing unit 115 synchronizes the controller information list 105 and the control information 106 held by the slave with the controller information list 105 and the control information 106 held by the new master.

또한, 정보동기부(115)는 기동을 마친 제어시스템(1)에 제어장치(100)가 추가된 경우에도, 네트워크 모니터 요구를 멀티캐스트하고, 네트워크 모니터를 요구한다. 컨트롤러 정보 리스트(105)를 생성한다. 그리고, 정보 동기부(115)는 네트워크 모니터의 요구에 의해 생성된 새로운 컨트롤러 정보 리스트(105)를 참조하여 장치 자신이 마스터인 취지를 나타내는 경우에는 장치 자신이 추가되었을 때 마스터로서 동작하고 있던 제어장치(100)(이하, 구마스터라고 기재한다.)에 대해서 동기 정보(104)의 설정을 요구하는 전체 데이터 설정요구를 송신한다.The information synchronizing unit 115 also multicasts the network monitor request and requests the network monitor even when the control apparatus 100 is added to the control system 1 that has been started. And generates a controller information list 105. The information synchronizing unit 115 refers to the new controller information list 105 generated by the request of the network monitor, and when the device itself is added, (Hereinafter, referred to as old master) to which the synchronization information 104 is to be set.

그리고, 정보동기부(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 the apparatus itself to the received synchronization information 104, . That is, the information synchronizing unit 115 synchronizes the control information 106 held by the apparatus itself with the control information 106 held by the old master, and then switches the master. In this case, the information synchronization unit 115 of the old master synchronizes the controller information list 105 of the apparatus with the controller information list 105 of the new master, thereby switching the master.

또한, 정보 동기부(115)는 제어 네트워크(1)로부터 어떤 제어장치(100)가 제외된 경우에도, 네트워크 모니터를 요구하고, 새로운 컨트롤러 정보 리스트(105)를 생성해도 좋다. 예를 들어, 슬레이브인 제어장치(100a)의 정보 동기부(115)는 제어장치(100b)나 제어장치(100c)와 통신을 할 수 없었던 경우에는 네트워크 모니터 요구를 브로드캐스트하고, 새로운 컨트롤러 정보 리스트(105)를 생성해도 좋다. 이와 같이, 제어 네트워크(1)에서는 제어 네트워크(1)에 새롭게 추가된 제어장치(100)나, 제어 네트워크(1)로부터 다른 제어장치(100)가 존재하지 않게 된 취지를 특정한 제어장치(100)가, 네트워크 모니터 요구를 브로드 캐스트 또는 멀티캐스트함으로써, 각각 새로운 컨트롤러 정보 리스트(105)를 생헝한다.The information synchronizing unit 115 may request a network monitor and generate a new controller information list 105 even when a control apparatus 100 is excluded from the control network 1. [ For example, when the information synchronization unit 115 of the slave control device 100a can not communicate with the control device 100b or the control device 100c, it broadcasts a network monitor request, (105) may be generated. 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 indicates that no other control device 100 exists from the control network 1, Broadcasts or multicasts a network monitor request to generate a new controller information list 105, respectively.

(제어장치(100)가 실행하는 처리의 일례)(An example of processing executed by the control device 100)

다음에, 도 5~도 9를 사용하여 제어장치(100)가 실행하는 처리의 일례에 대해서 설명한다. 또한, 이하의 설명에서는 제어장치(100a)가 마스터로서 동작하고, 제어장치(100b, 100c)가 슬레이브로서 동작하는 처리의 일례에 대해서 설명한다. 마스터인 제어장치(100a)를 마스터(100a)로 기재하고, 슬레이브인 제어장치(100b, 100c)를 슬레이브(100b, 100c)로 기재한다.Next, an example of processing executed by the control device 100 will be described using Figs. 5 to 9. Fig. 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 a slave will be described. The master control apparatus 100a is described as master 100a and the slave controllers 100b and 100c are described as slaves 100b and 100c.

우선, 도 5를 사용하여 마스터로서 동작하는 제어장치(100)가 기동시에 실행하는 기동처리의 일례를 설명한다. 도 5는 실시형태에 관한 제어장치가 마스터일 때 실행하는 기동처리의 일례를 도시한 시퀀스도이다. 예를 들어, 마스터(100a)는 제어시스템(1)이 기동된 경우에는 네트워크 모니터 요구를 각 슬레이브(100b, 100c)에 멀티캐스트한다(단계(S101)).First, an example of the startup process executed by the control device 100 operating as a master using the system shown in Fig. 5 will be described. 5 is a sequence diagram showing an example of startup processing executed when the control apparatus 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 this 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 uses the received network monitor response to create the controller information list 105 (step S104). Further, the master 100a uses the controller information list 105 created in step S104 to determine that the apparatus itself is the master.

또한, 마스터(100a)는 컨트롤러 정보 리스트(105)의 작성 후, 일정시간 대기한다(단계(S015)). 그리고, 마스터(100a)는 동기정보(104)의 전체 데이터의 설정을 각 슬레이브(100b, 100c)에 요구한다(단계(S106)). 그러면 슬레이브(100b) 및 슬레이브(100c)는 마스터(100a)로부터 수신한 동기 정보(104)를 장치 자신에 설정하도(단계(S107, S108)), 기동처리를 종료한다.Further, the master 100a waits for a predetermined time after the controller information list 105 is created (step S015). Then, the master 100a requests the slaves 100b and 100c to set the entire data of 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 the device itself (steps S107 and S108), and the startup process is terminated.

다음에, 도 6을 사용하여 슬레이브로서 동작하는 제어장치(100)가 기동시에 실행하는 기동처리의 일례를 설명한다. 도 6은 실시형태에 관한 제어장치가 슬레이브일 때 실행하는 기동처리의 일례를 도시한 시퀀스도이다. 예를 들어, 슬레이브(100b)는 네트워크 모니터 요구를 마스터(100a) 및 슬레이브(100c)에 멀티캐스트한다(단계(S201)).Next, an example of the startup process executed by the control device 100 that operates as a slave by using Fig. 6 will be described. 6 is a sequence diagram showing an example of startup processing executed when the control apparatus 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 this 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 uses the controller information list 105 created in step S204 to determine that the master is the control device 100a (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 the entire data of the synchronization information 104 (step S206). Then, the slave 100b sets the received synchronization information 104 in the device itself (step S207). Thereafter, the slave 100b periodically requests the master 100a of the controller information list 105 (step S209). In this 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 using the flowchart shown in Fig. 7 will be described. Fig. 7 is a sequence diagram showing an example of synchronous processing executed when a master according to the embodiment fails; Fig. For example, in the example shown in Fig. 7, the master 100a fails (step S301). In this case, the slave 100b periodically requests the master 100a for the controller information list 105 (step S302), but the master 100a fails and the response is not returned (Fig.

이러한 경우, 슬레이브(100b)는 마스터(100a)가 고장났다고 판정하고, 네트워크 모니터 요구를 슬레이브(100c)에 멀티캐스트한다(단계(S303)).In this case, the slave 100b determines that the master 100a has failed, and multicasts the network monitor request to the slave 100c (step S303).

이러한 경우, 슬레이브(100c)는 슬레이브(100b)에 네트워크 모니터 응답을 송신한다(단계(S304)). 계속해서, 슬레이브(100b)는 수신한 네트워크 모니터 응답을 사용하여 컨트롤러 정보 리스트(105)를 갱신한다(단계(S305)).In this 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 apparatus itself is the new master, the slave 100b waits for a certain period of time from the update of the controller information list 105 (step S306) And requests the slave 100c to set the entire data of the synchronization information 104 held by the slave 100c (step S307). As a result, the slave 100c updates the synchronization information 104 of the device itself with the synchronization information 104 received from the slave 100b that became the new master (step S308).

다음에, 도 8을 사용하여 슬레이브가 고장났을 때 실행되는 동기 처리의 일례를 설명한다.Next, an example of the synchronization process executed when the slave fails using the flowchart shown in Fig. 8 will be described.

도 8은 실시형태에 관한 슬레이브가 고장났을 때 실행되는 동기 처리의 일례를 도시한 시퀀스도이다. 예를 들어, 도 8에 도시한 예에서는 슬레이브(100b)가 고장났으므로(단계S401)), 컨트롤러 정보 리스트(105)의 요구가 마스터(100a)에 송신되지 않는다(도 8 중 (A)).Fig. 8 is a sequence diagram showing an example of synchronization processing executed when a slave according to the embodiment fails. Fig. For example, in the example shown in Fig. 8, the request of the controller information list 105 is not transmitted to the master 100a (Fig. 8 (A)) because the slave 100b is out of order (step S401) .

이러한 경우, 마스터(100a)는 소정의 시간 간격으로 슬레이브(100b)로부터 컨트롤러 정보 리스트의 요구를 수신하지 않았으므로, 슬레이브(100b)가 고장났다고 판정하고(단계(S402)), 장치 자신이 유지하는 컨트롤러 정보 리스트(105)를 갱신한다(단계(S402)). 예를 들어, 마스터(100a)는 컨트롤러 정보 리스트(105)로부터 슬레이브(100b)의 정보를 삭제, 또는 슬레이브(100b)가 고장난 취지의 정보를 추가한다.In this case, since the master 100a has not received the request for the controller information list 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 (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 master information 100a from the controller information list at predetermined time intervals (step S403). In this 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 processing executed when the failed master is restored will be described with reference to Fig. Fig. 9 is a sequence diagram showing an example of a synchronous process executed when the master according to the embodiment recovers. Fig. In the following description, it is assumed that the control device 100a is a master, the control device 100b becomes a new master, and then the control device 100a is returned. Therefore, when the control device 100b becomes a slave An example of synchronization processing will be described. In the following description, the control device 100a is referred to as a new master 100a, and the control device 100b is referred to 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 restoration process, and identifies that the device itself is a new master and that the current master is the old master 100b (step S501). In this case, the new master 100a transmits a request to acquire the entire data to the old master 100b (step S502). In this case, the old master 100b transmits the synchronization information 104 retained by the apparatus itself to the new master 100a and sets it (step S503).

이러한 경우, 신마스터(100a)는 마스터 전환요구를 구마스터(100b)에 송신한다(단계(S504)). 그러면, 구마스터(100b)는 신마스터(100a)를 새로운 마스터로 하고, 장치 자신을 슬레이브로 하도록 컨트롤러 정보 리스트(105)를 갱신한다(단계(S505)). 여기에서, 슬레이브(100c)를 신마스터(100a)가 새로운 마스터인 것을 식별할 수 없으므로, 컨트롤러 정보 리스트(105)를 슬레이브가 된 구마스터(100b)에 요구한다(단계(S506)). 그러면, 구마스터(100b)는 장치 자신이 유지하는 컨트롤러 정보 리스트(105)를 포함하는 응답을 슬레이브(100c)에 송신한다(단계(S507)).In this 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 to make the new master 100a a new master and make the device itself a slave (step S505). Here, since the slave 100c can not identify that the new master 100a is a new master, the slave 100b requests the slave master 100b which has become the slave, with the controller information list 105 (step S506). Then, the old master 100b transmits a response including the controller information list 105 held by the device itself 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 the apparatus itself to the controller information list 105 received from the old master 100b (step S508) Can be specified. Thereafter, the slave 100c periodically sends a request for the controller information list 105 to the new master master 100a as a new master (step S509).

또한, 전술한 제어장치(100)는 CPU와 RAM, EEPROM, 플래시 메모리 등을 갖는 컴퓨터가 소정의 기록매체에 등록된 제어 프로그램을 판독하고, 판독한 제어 프로그램을 실행함으로써, 실현되어도 좋다. 이러한 경우, 제어부(107)는 각조으이 처리수순을 규정한 프로그램을 실행함으로써 전술한 여러 가지 처리를 실행하는 각종의 처리부로서 기능한다.The control device 100 may be implemented by a computer having a CPU, a RAM, an EEPROM, a flash memory, etc., reading a control program registered in a predetermined recording medium, and executing the read control program. In such a case, the control unit 107 functions as various processing units for executing various processes described above by executing a program that specifies each processing procedure.

(실시형태에 관한 동기처리)(Synchronous processing according to the embodiment)

다음에, 도 10을 사용하여 제어장치(100)가 실행하는 동기처리의 흐름의 일례를 설명한다.Next, an example of the flow of the synchronization processing executed by the control apparatus 100 will be described with reference to Fig.

도 10은 실시형태에 관한 제어장치가 실행하는 동기처리의 흐름의 일례를 도시한 플로우차트이다. 예를 들어, 제어장치(100)는 기동시나 마스터의 고장이 검출된 경우 등에는, 네트워크 모니터 요구를 멀티캐스트 송신한다(단계(S601)). 또한, 제어장치(100)는 응답결과를 사용하여 새로운 컨트롤러 정보 리스트(105)를 작성한다(단계(S602)).10 is a flowchart showing an example of a flow of a synchronization process executed by the control apparatus according to the embodiment. For example, the control apparatus 100 multicasts a network monitor request at startup or when a failure of the master is detected (step S601). In addition, the control apparatus 100 creates a new controller information list 105 by using the response result (step S602).

또한, 제어장치(100)는 새로운 컨트롤러 정보 리스트(105)로부터 장치 자신이 마스터인지의 여부를 판정한다(단계(S603)). 그리고, 제어장치(100)는 장치 자신이 마스터인 경우에(단계(S603): 예), 각 슬레이브가 유지하는 동기 정보(104)를 장치 자신이 유지하는 동기 정보(104)에 동기시킨다(단꼐(S604)). 또한, 제어장치(100)는 슬레이브로부터의 요구시에 장치 자신의 컨트롤러 정보 리스트(105)를 신호 분재한다(단계(S605)). 한편, 제어장치(100)는 장치 자신이 슬레이브인 경우에(단계(S603): 아니요), 마스터로부터 수신한 동기 정보(104)를 장치 자신에 설정하고(단계(S606)), 마스터에 대해서 정기적으로 컨트롤러 정보 리스트(105)를 요구한다(단계(S607)).Further, the control device 100 determines whether the device itself is the master from the new controller information list 105 (step S603). Then, the control device 100 synchronizes the synchronization information 104 held by each slave with the synchronization information 104 held by the device itself when the device itself is the master (step S603: Yes) (Step S604). In addition, the control apparatus 100 signals the controller information list 105 of the apparatus itself upon request from the slave (step S605). On the other hand, the control device 100 sets the synchronization information 104 received from the master to the device itself (step S606) if the device itself is a slave (step S603: NO) And requests the controller information list 105 (step S607).

(동기 정보에 대해서)(For synchronization information)

전술한 실시형태에서는 제어장치(100)는 기동시나 마스터가 변화되었을 때 슬레이브가 유지되는 동기 정보(104)를 마스터가 유지하는 동기정보(104)에 동기시켰다. 그러나, 실시형태는 이에 한정되는 것은 아니다. 예를 들어, 제어장치(100)는 컨트롤러 정보 리스트(105)에 대해서는 정기적으로 동기시키고, 기동시나 마스터가 변화되었을 때에는 제어정보(106)만을 동기시켜도 좋다.In the above-described embodiment, the control apparatus 100 synchronizes the synchronization information 104 in which the slave is held when the master is changed, to the synchronization information 104 held by the master. However, the embodiment is not limited to this. For example, the control apparatus 100 may periodically synchronize the controller information list 105, and synchronize only the control information 106 when starting or changing the master.

또한, 제어정보(106)에는 각 제어장치(100)가 제어하는 단말장치(10) 이외에도, 제어장치(100)에 관한 정보 중, 정상적으로 동기시킬 피룡가 없는 정보가 포함되어 있어도 좋다. 예를 들어, 제어장치(100)는 마스터를 나타내는 정보를 소정의 시간간격으로 동기시키고, 다른 정보에 대해서는 기동시나 마스터가 변화된 경우 등에 동기시켜도 좋다.The control information 106 may include information other than the terminal device 10 controlled by each control device 100 and information about the control device 100 that is normally synchronized. For example, the control apparatus 100 may synchronize the information indicating the master at predetermined time intervals, and synchronize the other information when the master is changed at startup or the like.

여기에서, 각 제어장치(100)는 동일한 제어정보(106)를 유지하지 않아도 좋다. 예를 들어, 제어장치(100a~100c)는 컨트롤러 정보 리스트(105)에 대해서는 동일한 내용이 되도록 동기를 실시하는 한편, 제어정보(106)에 대해서는 다른 정보를 유지하고 있어도 좋다.Here, each control device 100 does not need to keep the same control information 106. [ For example, the control apparatuses 100a to 100c may synchronize the controller information list 105 so as to have the same contents, while retaining other information about the control information 106. [

본 발명의 몇가지 실시형태를 설명했지만, 이들 실시형태는 예로서 제시한 것이고, 발명의 범위를 한정하는 것은 의도하고 있지 않다. 이들 실시형태는 그 밖의 다른 여러 가지 형태로 실시되는 것이 가능하고, 발명의 요지를 벗어나지 않는 범위에서 여려가지 생략, 치환, 변경을 실시할 수 있다. 이들 실시형태나 그 변형은 발명의 범위나 요지에 포함되고, 동일하게 특허청구범위에 기재된 발명과 그 균등한 범위에 포함되는 것이다.While some embodiments of the present invention have been described, these embodiments are provided 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, substitutions, and alterations can be made without departing from the gist of the invention. These embodiments and modifications are included in the scope and spirit of the invention and are included in the scope of equivalents of the invention described in the claims.

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: 정보 갱신부
1: control system 10: terminal device
10a, 10b: illumination device 10c: sensor
30, 30a to 30c: Setting terminal 40: Hub
100, 100a to 100c: control device 101: wired communication unit
102: wireless communication unit 103:
104: Synchronization information 105: Controller information list
106: control information 107:
108: Lighting control unit 109:
110: Operation reception unit 111: Operation signal distribution unit
112: Operation setting unit 113: List synchronizing unit
114: information synchronizing unit 115: information updating unit

Claims (9)

복수의 제어장치 중에서 설정되는 마스터에 관한 정보를 포함하는 제어장치정보와, 각 제어장치에 의해 제어되는 단말장치에 관한 제어정보를 유지하는 유지부; 및
장치 자신이 마스터이면 상기 제어장치정보가 나타내는 경우에는, 다른 제어장치와의 사이에서 상기 제어장치정보와 상기 제어정보를 다른 타이밍으로 동기시키는 동기제어부를 구비한, 제어장치.
A holding unit for holding control device information including information on a master set among a plurality of control devices and control information about a terminal device controlled by each control device; And
And a synchronization control section for synchronizing the control device information and the control information with another control device at different timings when the control device information indicates that the device itself is a master.
제 1 항에 있어서,
상기 동기 제어부는 장치 자신이 마스터인 취지를 상기 제어장치정보가 나타내는 경우에는 다른 제어장치가 유지하는 제어장치정보와 제어정보를, 장치 자신이 유지하는 제어장치정보와 제어정보에 동기시키는, 제어장치.
The method according to claim 1,
Wherein the synchronization control unit synchronizes control device information and control information held by another control device with control device information held by the device itself and control information when the control device information indicates that the device itself is a master device, .
제 1 항 또는 제 2 항에 있어서,
상기 동기제어부는 장치 자신이 마스터인 취지를 상기 제어장치정보가 나타내는 경우에는, 각 제어장치와의 사이에서 정기적으로 상기 제어장치정보를 동기시키고, 다른 제어장치와 상기 제어장치정보를 동기시킬 수 없는 기간이 소정의 임계값을 초과한 경우에는 상기 다른 제어장치가 고장난 취지를 상기 유지부가 유지하는 제어장치정보에 반영시키는, 제어장치.
3. The method according to claim 1 or 2,
Wherein the synchronization control unit periodically synchronizes the control device information with each control device when the control device information indicates that the device itself is the master and can not synchronize the control device information with another control device And when the period exceeds a predetermined threshold value, reflects the fact that the other control device has failed to the control device information held by the holding unit.
제 1 항 또는 제 2 항에 있어서,
상기 동기 제어부는 다른 제어장치가 마스터인 취지를 상기 제어장치정보가 나타내는 경우에는,
장치 자신이 유지하는 제어장치정보를 마스터가 유지하는 제어장치정보와 정기적으로 동기시키고,
상기 마스터와 상기 제어장치정보를 동기시킬 수 없는 경우에는, 각 제어장치에 대해서 네트워크 모니터를 요구하는, 제어장치.
3. The method according to claim 1 or 2,
Wherein, when the control device information indicates that another control device is a master,
The control device information held by the device itself is periodically synchronized with the control device information held by the master,
And requests a network monitor for each control device when the master and the control device information can not be synchronized.
제 4 항에 있어서,
상기 네트워크 모니터의 요구에 의해 작성된 제어장치정보에 장치 자신이 마스터인 취지가 포함되는 경우에는 다른 제어장치가 유지하는 제어정보를 장치 자신의 상기 유지부가 유지하는 제어정보에 동기시키는, 제어장치.
5. The method of claim 4,
And synchronizes the control information held by the other control apparatus with the control information held by the holding unit of the apparatus itself, when the control apparatus information created by the request of the network monitor includes a fact that the apparatus itself is the master.
제 5 항에 있어서,
상기 동기제어부는 네트워크 모니터의 요구에 의해 제어장치정보를 작성하고나서 소정의 시간이 경과한 후에, 다른 제어장치가 유지하는 제어정보를 장치 자신의 상기 유지부가 유지하는 제어정보에 동기시키는, 제어장치.
6. The method of claim 5,
The synchronization control unit synchronizes the control information held by the other control device with the control information held by the holding unit of the device itself after a predetermined time elapses from the creation of the control device information at the request of the network monitor, .
제 1 항 또는 제 2 항에 있어서,
상기 동기제어부는 장치 자신이 상기 복수의 제어장치를 포함하는 네트워크에 추가된 경우에는, 상기 네트워크의 각 제어장치에 대해서, 네트워크 모니터를 요구하는, 제어장치.
3. The method according to claim 1 or 2,
Wherein the synchronization control section requests a network monitor for each control apparatus of the network when the apparatus itself is added to the network including the plurality of control apparatuses.
제 7 항에 있어서,
상기 동기제어부는 장치 자신이 새로운 마스터인 취지를 네트워크 모니터의 요구에 의해 작성한 제어장치정보가 나타내는 경우에는, 장치 자신이 유지하는 제어정보를, 장치 자신이 상기 네트워크에 추가되었을 때 마스터로 설정되어 있던 제어장치가 유지하는 제어정보와 동기시키고, 상기 제어정보의 동기 후에, 마스터의 전환을 실시하는, 제어장치.
8. The method of claim 7,
The synchronization control unit may set the control information held by the device itself to be the master when the device itself is added to the network when the control device information generated by the request of the network monitor indicates that the device itself is a new master Synchronizes with the control information held by the control device, and performs switching of the master after synchronization of the control information.
단말장치를 제어하는 복수의 제어장치를 갖는 제어시스템에 있어서,
상기 제어장치는
각 제어장치 중에서 설정되는 마스터에 관한 정보를 포함하는 제어장치정보와,
상기 단말장치에 관한 제어정보를 유지하는 유지부와,
장치 자신이 마스터라고 상기 제어장치정보가 나타내는 경우에는 다른 제어장치와의 사이에서 상기 제어장치정보와 상기 제어정보를 다른 타이밍으로 동기시키는 동기제어부를 구비한, 제어시스템.
A control system having a plurality of control devices for controlling a terminal device,
The control device
Control device information including information on a master set among the control devices,
A holding unit for holding control information relating to the terminal apparatus;
And a synchronization control unit for synchronizing the control device information and the control information with another control device at different timings when the control device information indicates that the device itself is the master.
KR1020160010797A 2015-06-30 2016-01-28 Control apparatis and control system KR102475744B1 (en)

Applications Claiming Priority (2)

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

Publications (2)

Publication Number Publication Date
KR20170003372A true KR20170003372A (en) 2017-01-09
KR102475744B1 KR102475744B1 (en) 2022-12-08

Family

ID=57811048

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160010797A KR102475744B1 (en) 2015-06-30 2016-01-28 Control apparatis 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
KR20190025509A (en) * 2017-09-01 2019-03-11 파나소닉 아이피 매니지먼트 가부시키가이샤 Communication system, lighting control system, and communication device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6939176B2 (en) * 2017-07-20 2021-09-22 岩崎電気株式会社 Lighting control system, lighting control system program and lighting control system control method
JP2019036082A (en) * 2017-08-14 2019-03-07 アズビル株式会社 Building management system, building management method, engineering device, and program for engineering
JP7316652B2 (en) * 2019-08-28 2023-07-28 パナソニックIpマネジメント株式会社 lighting system and controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3421017B2 (en) 2000-07-25 2003-06-30 三星電子株式会社 Network operation method when leaving master
JP2006510181A (en) 2002-12-16 2006-03-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for lighting control network recovery from master failure
KR20130125300A (en) * 2012-05-08 2013-11-18 후지쯔 가부시끼가이샤 Wireless communication method, mobile device, and wireless communication system
KR20140043819A (en) * 2011-08-24 2014-04-10 파나소닉 주식회사 Device control system, wireless control apparatus, and computer readable recording medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE448669T1 (en) * 2002-09-04 2009-11-15 Koninkl Philips Electronics Nv MASTER-SLAVE ORIENTED TWO-SIDE WIRELESS RF LIGHTING CONTROL SYSTEM
JP2005184436A (en) * 2003-12-19 2005-07-07 Canon Inc Communication system and device thereof
US8359112B2 (en) * 2006-01-13 2013-01-22 Emerson Process Management Power & Water Solutions, Inc. Method for redundant controller synchronization for bump-less failover during normal and program mismatch conditions
CN103999555B (en) * 2012-02-20 2018-10-19 发光照明公司 Dual function lamp dimmer with independence and peripheral operation pattern
JP5950021B2 (en) * 2013-03-12 2016-07-13 日本電気株式会社 Control device, communication system, synchronization method and program
JP2015156160A (en) * 2014-02-21 2015-08-27 日立コンシューマエレクトロニクス株式会社 Equipment control communication apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3421017B2 (en) 2000-07-25 2003-06-30 三星電子株式会社 Network operation method when leaving master
JP2006510181A (en) 2002-12-16 2006-03-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System and method for lighting control network recovery from master failure
KR20140043819A (en) * 2011-08-24 2014-04-10 파나소닉 주식회사 Device control system, wireless control apparatus, and computer readable recording medium
KR20130125300A (en) * 2012-05-08 2013-11-18 후지쯔 가부시끼가이샤 Wireless communication method, mobile device, and wireless communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190025509A (en) * 2017-09-01 2019-03-11 파나소닉 아이피 매니지먼트 가부시키가이샤 Communication system, lighting control system, and communication device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108432282B (en) Method and apparatus for managing electronic devices through wireless communication
ES2856010T3 (en) Synchronized architecture in the cloud for a home automation system
EP3139360B1 (en) Distributed redundancy control method and system for intelligent transportation network
KR102475744B1 (en) Control apparatis and control system
JP2008078887A (en) Shared system for i/o equipment, information-processor shared system and method used for its system
US10680876B2 (en) Adaptive recovery from node failures in a network system
JP2020502686A (en) Management method, system, and device for master and standby databases
JP6301752B2 (en) Information service display system and time synchronization method
CN106487611B (en) Method and device for detecting SDN cluster split
CN110753313A (en) Data synchronization method and system
JP2009224905A (en) Communication apparatus, its control method, and communication system
JP6395858B2 (en) Network device discovery method, network device, and network device discovery system
KR101435181B1 (en) Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system
US9949046B2 (en) Automating repairs to audio systems
JP2015106916A (en) Data transmission system and method
JP2016008911A (en) Time synchronization method, time synchronization system, time master equipment and time slave equipment
JP2017046075A (en) Remote control system, control method, and computer program
KR20170067129A (en) Control system
JP2009016890A (en) Remote control system
WO2016195652A1 (en) Ring protection network module
JP2007043390A (en) System and method for video delivery
JP5603764B2 (en) Terminal control system, server device, and program
US11521484B2 (en) Setting device, control device, and recording medium used with manipulation device for controlling appliance
JP4731129B2 (en) Surveillance camera system
CN104993920A (en) SNTP-based synchronization time method and SNTP client

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
GRNT Written decision to grant