KR101453614B1 - System and Method for Remote Control of Lighting Device - Google Patents

System and Method for Remote Control of Lighting Device Download PDF

Info

Publication number
KR101453614B1
KR101453614B1 KR1020120131616A KR20120131616A KR101453614B1 KR 101453614 B1 KR101453614 B1 KR 101453614B1 KR 1020120131616 A KR1020120131616 A KR 1020120131616A KR 20120131616 A KR20120131616 A KR 20120131616A KR 101453614 B1 KR101453614 B1 KR 101453614B1
Authority
KR
South Korea
Prior art keywords
lighting
control command
illumination
database
remote terminal
Prior art date
Application number
KR1020120131616A
Other languages
Korean (ko)
Other versions
KR20140064359A (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 주식회사 포스코아이씨티
Priority to KR1020120131616A priority Critical patent/KR101453614B1/en
Publication of KR20140064359A publication Critical patent/KR20140064359A/en
Application granted granted Critical
Publication of KR101453614B1 publication Critical patent/KR101453614B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • 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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/40Details of LED load circuits
    • H05B45/44Details of LED load circuits with an active control inside an LED matrix
    • H05B45/46Details of LED load circuits with an active control inside an LED matrix having LEDs disposed in parallel lines
    • 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

조명의 원격 제어를 위해 원격 단말기에 탑재되는 원격 제어용 에이전트의 코딩을 간소화시킬 수 있는 본 발명의 일 측면에 따른 조명장치의 원격 제어 시스템은, 하나 이상의 조명장치에 직접 연결되어 상기 조명장치를 제어하는 조명 제어기; 및 상기 조명장치를 원격 제어하는 원격 단말기와 상기 조명 제어기간의 접속을 매개하는 조명 제어 서버를 포함하고, 상기 조명 제어 서버는, 상기 원격 단말기와 인터페이싱하여 상기 원격 단말기로부터 구조체 형태의 조명제어명령을 수신하고, 상기 구조체 형태의 조명제어명령을 쿼리(Query)문 형태의 조명제어명령으로 변환하는 웹서버; 상기 웹서버로부터 전달되는 쿼리문 형태의 조명제어명령을 제1 테이블에 기록하는 데이터베이스; 및 상기 데이터베이스의 제1 테이블에 쿼리문 형태의 조명제어명령이 삽입되거나 갱신되면 상기 제1 테이블에서 상기 쿼리문 형태의 조명제어명령을 선택하고, 상기 제1 테이블에서 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 상기 조명 제어기로 전달하는 제어부를 포함하는 것을 특징으로 한다.A remote control system of a lighting device according to an aspect of the present invention, which can simplify coding of a remote control agent mounted on a remote terminal for remote control of the lighting, comprises a remote control system connected directly to one or more lighting devices to control the lighting device A lighting controller; And a lighting control server that mediates connection of the lighting control period with a remote terminal that remotely controls the lighting device, wherein the lighting control server is configured to interface with the remote terminal to receive a lighting control command in the form of a structure from the remote terminal A web server for receiving the illumination control command in the form of a structure and converting it into a lighting control command in the form of a query statement; A database for writing in a first table the illumination control command in the form of a query sent from the web server; And a lighting control command in the form of a query statement in the first table when the illumination control command of a query type is inserted or updated in the first table of the database, To socket data, and transmits the socket data to the lighting controller.

Figure R1020120131616
Figure R1020120131616

Description

조명장치의 원격 제어 시스템 및 제어 방법{System and Method for Remote Control of Lighting Device}TECHNICAL FIELD [0001] The present invention relates to a remote control system and a control method for a lighting apparatus,

본 발명은 조명장치의 제어에 관한 것으로, 보다 구체적으로 조명장치의 원격 제어를 가능하게 하는 조명장치의 원격 제어 시스템 및 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to control of a lighting apparatus, and more particularly, to a remote control system and a control method of a lighting apparatus that enable remote control of the lighting apparatus.

조명장치는 외부로부터 공급되는 전원에 의해 전기를 빛으로 변환하는 장치로써, 일반적으로 실내 또는 실외의 일정 위치에 설치되어 어두운 영역을 밝히기 위해 사용되는 장치를 의미하고, 산업사회의 발전과 소득 향상으로 인해 이러한 조명장치가 어두운 영역을 밝히는 단순한 기능만을 수행하는 것이 아니라, 특정 영역을 장식하기 위한 장치로도 많이 사용되고 있다.An illumination device is a device that converts electricity into light by a power source supplied from the outside and generally means a device installed at a certain position in the room or outside to illuminate a dark area. Therefore, such a lighting apparatus is often used not only as a simple function of illuminating a dark area but also as an apparatus for decorating a specific area.

한편, 최근에는 통신기술의 발달에 힘입어 이러한 조명장치들을 원격에서 제어할 수 있는 기술들이 연구되고 있다. 이러한 조명장치를 원격으로 제어하기 위한 조명장치 원격 제어 시스템이 대한민국 공개특허 제10-2011-0001782 등에 기재되어 있다.Meanwhile, in recent years, technologies capable of remotely controlling these lighting devices due to the development of communication technology have been studied. An illumination device remote control system for remotely controlling such a lighting device is disclosed in Korean Patent Laid-Open Publication No. 10-2011-0001782.

하지만, 대한민국 공개특허 제10-2011-0001782를 비롯하여 조명장치를 원격에서 제어하기 위한 종래의 조명장치 원격 제어 시스템은, 조명장치를 원격으로 제어하기 위한 원격 단말기가 조명 제어기에 직접 연결되어야 하는 구조이기 때문에, 원격 단말기와 조명 제어기간의 통신을 위해 원격 단말기에 탑재되는 에이전트의 코딩이 복잡해질 수 밖에 없다는 문제점과, 조명장치의 원격 제어 시스템을 타 시스템과 연동시키기 위해서는 타 시스템 또한 조명 제어기에 직접 접속 가능하도록 구현되어야 하기 때문에 그 구현이 어렵다는 문제점이 있다.However, Korean Unexamined Patent Publication No. 10-2011-0001782 and a conventional remote control system for controlling a lighting apparatus remotely have a structure in which a remote terminal for remotely controlling a lighting apparatus is directly connected to an illumination controller Therefore, the coding of the agent mounted on the remote terminal for communication with the remote terminal during the illumination control period must be complicated. In addition, in order to link the remote control system of the lighting apparatus with the other system, So that it is difficult to implement the method.

또한, 복수개의 원격 단말기로부터 서로 다른 조명제어 명령이 조명 제어기로 전달되는 경우, 서로 다른 조명제어 명령들 간의 충돌이 발생하여 원격 조명제어가 원활하게 수행될 수 없다는 문제점이 있다.Also, when different lighting control commands are transmitted from the plurality of remote terminals to the lighting controller, the remote lighting control can not be smoothly performed due to a collision between different lighting control commands.

본 발명은 상술한 문제점을 해결하기 위한 것으로서, 원격 단말기로부터 수신되는 조명제어명령에 조명제어기를 동기화시킬 수 있는 조명 장치의 원격 제어 시스템 및 제어 방법을 제공하는 것을 그 기술적 과제로 한다.SUMMARY OF THE INVENTION The present invention provides a remote control system and a control method of a lighting apparatus that can synchronize an illumination controller with an illumination control command received from a remote terminal.

또한, 본 발명은 조명장치의 원격 제어를 위해 원격 단말기에 탑재되는 원격 제어용 에이전트의 코딩을 간소화시킬 수 있는 조명 장치의 원격 제어 시스템 및 제어 방법을 제공하는 것을 그 기술적 과제로 한다.It is another object of the present invention to provide a remote control system and a control method of a lighting apparatus that can simplify coding of a remote control agent mounted on a remote terminal for remote control of a lighting apparatus.

또한, 본 발명은 타 시스템과의 연동이 용이한 조명 장치의 원격 제어 시스템 및 제어 방법을 제공하는 것을 다른 기술적 과제로 한다.It is another object of the present invention to provide a remote control system and a control method of a lighting apparatus that can be easily interlocked with other systems.

또한, 본 발명은 조명제어 명령들 간의 충돌을 방지할 수 있는 조명 장치의 원격 제어 시스템 및 제어 방법을 제공하는 것을 또 다른 기술적 과제로 한다.It is another object of the present invention to provide a remote control system and a control method of a lighting apparatus that can prevent collision between lighting control commands.

상술한 목적을 달성하기 위한 본 발명의 일 측면에 따른 조명장치의 원격 제어 시스템은, 하나 이상의 조명장치에 직접 연결되어 상기 조명장치를 제어하는 조명 제어기; 및 상기 조명장치를 원격 제어하는 원격 단말기와 상기 조명 제어기간의 접속을 매개하는 조명 제어 서버를 포함하고, 상기 조명 제어 서버는, 상기 원격 단말기와 인터페이싱하여 상기 원격 단말기로부터 구조체 형태의 조명제어명령을 수신하고, 상기 구조체 형태의 조명제어명령을 쿼리(Query)문 형태의 조명제어명령으로 변환하는 웹서버; 상기 웹서버로부터 전달되는 쿼리문 형태의 조명제어명령을 제1 테이블에 기록하는 데이터베이스; 및 상기 데이터베이스의 제1 테이블에 쿼리문 형태의 조명제어명령이 삽입되거나 갱신되면 상기 제1 테이블에서 상기 쿼리문 형태의 조명제어명령을 선택하고, 상기 제1 테이블에서 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 상기 조명 제어기로 전달하는 제어부를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a remote control system for a lighting apparatus, including: a lighting controller connected to at least one lighting apparatus to control the lighting apparatus; And a lighting control server that mediates connection of the lighting control period with a remote terminal that remotely controls the lighting device, wherein the lighting control server is configured to interface with the remote terminal to receive a lighting control command in the form of a structure from the remote terminal A web server for receiving the illumination control command in the form of a structure and converting it into a lighting control command in the form of a query statement; A database for writing in a first table the illumination control command in the form of a query sent from the web server; And a lighting control command in the form of a query statement in the first table when the illumination control command of a query type is inserted or updated in the first table of the database, To socket data, and transmits the socket data to the lighting controller.

상술한 목적을 달성하기 위한 본 발명의 다른 측면에 따른 조명장치의 원격 제어 시스템은, 하나 이상의 조명장치에 연결되어 상기 조명장치를 제어하는 조명 제어기; 및 원격 단말기로부터 수신되는 구조체 형태의 조명제어명령을 쿼리문 형태로 데이터베이스에 기록하고, 상기 조명 제어기를 상기 조명제어명령에 동기화시켜 상기 조명 제어기가 상기 조명제어명령에 따라 상기 조명장치를 제어하게 하는 조명제어서버를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a remote control system for a lighting apparatus, comprising: a lighting controller connected to at least one lighting apparatus to control the lighting apparatus; And a lighting control command in the form of a structure received from a remote terminal in the form of a query in a database and synchronizing the lighting controller with the lighting control command to cause the lighting controller to control the lighting device in accordance with the lighting control command And a lighting control server.

상술한 목적을 달성하기 위한 본 발명의 또 다른 측면에 따른 조명장치의 원격 제어 방법은, 원격 단말기로부터 구조체 형태의 조명제어명령을 수신하는 단계; 상기 구조체 형태의 조명제어명령을 쿼리(Query)문 형태의 조명제어명령으로 변환하여 데이터베이스에 기록하는 단계; 상기 데이터베이스에 상기 쿼리문 형태의 조명제어명령이 기록되는지 여부를 감시하고, 기록되면 상기 데이터베이스에서 상기 쿼리문 형태의 조명제어명령을 선택하는 단계; 및 상기 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 조명 제어기로 전달하는 단계를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a remote control method for a lighting apparatus, the method including: receiving a lighting control command in the form of a structure from a remote terminal; Converting the lighting control command of the structure type into a lighting control command of a query type and recording the converted lighting control command into a database; Monitoring whether or not the illumination control command of the query type is recorded in the database, and selecting the illumination control command of the query type in the database if the illumination control command is recorded; And converting the illumination control command of the selected query type into socket data and transmitting the socket control data to the lighting controller.

본 발명에 따르면, 별도로 구비된 조명 제어 서버가 조명 제어기를 원격 단말기로부터 수신되는 조명 제어 명령에 동기화시킴으로써 조명장치를 원격에서도 실시간으로 제어할 수 있다는 효과가 있다.According to the present invention, there is an effect that a separately provided lighting control server can control the lighting apparatus in real time remotely by synchronizing the lighting controller with the lighting control command received from the remote terminal.

또한, 본 발명에 따르면 조명 제어 서버가 원격 단말기와 조명 제어기 간의 연결을 매개하기 때문에 조명 장치의 원격 제어를 위해 원격 단말기에 탑재되는 원격 제어용 에이전트의 코딩을 간소화시킬 수 있어, 조명장치의 원격 제어 시스템의 구축 및 유징에 소요되는 비용을 감소시킬 수 있다는 효과가 있다.In addition, according to the present invention, since the lighting control server mediates the connection between the remote terminal and the lighting controller, the coding of the remote control agent mounted on the remote terminal for remote control of the lighting device can be simplified, It is possible to reduce the cost of constructing and jiggling.

또한, 본 발명에 따르면 타 시스템이 조명 제어 서버를 통해 조명 제어기에 접속하게 되므로, 타 시스템과의 연동이 용이하게 되고, 이로 인해 조명 제어 시스템의 적용 범위를 확장시킬 수 있다는 효과가 있다.In addition, according to the present invention, since the other system is connected to the illumination controller through the illumination control server, interlocking with other systems is facilitated, and the application range of the illumination control system can be expanded.

또한, 본 발명에 따르면 조명제어 명령을 전송한 원격 단말기의 우선순위 또는 조명제어 명령의 유효시간에 따라 복수개의 조명제어 명령을 처리함으로써 복수개의 조명제어 명령들간의 충돌을 방지할 수 있고, 이로 인해 조명장치 제어의 효율성을 극대화할 수 있다는 효과가 있다.In addition, according to the present invention, it is possible to prevent a collision between a plurality of illumination control commands by processing a plurality of illumination control commands in accordance with the priority of a remote terminal that transmitted the illumination control command or the effective time of the illumination control command, There is an effect that the efficiency of the illumination device control can be maximized.

도 1은 본 발명의 일 실시예에 따른 조명장치의 원격 제어 시스템의 구성을 개략적으로 보여주는 도면.
도 2는 도 1에 도시된 웹서버의 구성을 개략적으로 보여주는 블록도.
도 3은 도 1에 도시된 조명 제어 서버의 레이어 구성을 보여주는 도면.
도 4a 및 도 4b는 원격 단말기 상에 출력되는 UI화면의 일 예를 보여주는 도면.
도 5는 본 발명의 일 실시예에 따른 원격 단말기의 레이어 구성을 보여주는 도면.
도 6은 본 발명의 일 실시예에 따른 조명장치의 원격 제어 방법을 보여주는 플로우차트.
도 7은 본 발명의 다른 실시예에 따른 조명장치의 원격 제어 방법을 보여주는 플로우차트.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic view showing a configuration of a remote control system of a lighting apparatus according to an embodiment of the present invention; FIG.
2 is a block diagram schematically showing a configuration of a web server shown in Fig.
3 is a view showing a layer configuration of the lighting control server shown in FIG. 1;
4A and 4B are views showing an example of a UI screen displayed on a remote terminal;
5 is a diagram illustrating a layer configuration of a remote terminal according to an embodiment of the present invention.
6 is a flowchart showing a remote control method of a lighting apparatus according to an embodiment of the present invention;
7 is a flowchart showing a remote control method of a lighting apparatus according to another embodiment of the present invention.

본 명세서에서 서술되는 용어의 의미는 다음과 같이 이해되어야 할 것이다.The meaning of the terms described herein should be understood as follows.

단수의 표현은 문맥상 명백하게 다르게 정의하지 않는 한 복수의 표현을 포함하는 것으로 이해되어야 하고, "제1", "제2" 등의 용어는 하나의 구성요소를 다른 구성요소로부터 구별하기 위한 것으로, 이들 용어들에 의해 권리범위가 한정되어서는 아니 된다.The word " first, "" second," and the like, used to distinguish one element from another, are to be understood to include plural representations unless the context clearly dictates otherwise. The scope of the right should not be limited by these terms.

"포함하다" 또는 "가지다" 등의 용어는 하나 또는 그 이상의 다른 특징이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.It should be understood that the terms "comprises" or "having" does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

"적어도 하나"의 용어는 하나 이상의 관련 항목으로부터 제시 가능한 모든 조합을 포함하는 것으로 이해되어야 한다. 예를 들어, "제1 항목, 제2 항목 및 제 3항목 중에서 적어도 하나"의 의미는 제1 항목, 제2 항목 또는 제3 항목 각각 뿐만 아니라 제1 항목, 제2 항목 및 제3 항목 중에서 2개 이상으로부터 제시될 수 있는 모든 항목의 조합을 의미한다.
It should be understood that the term "at least one" includes all possible combinations from one or more related items. For example, the meaning of "at least one of the first item, the second item and the third item" means not only the first item, the second item or the third item, but also the second item and the second item among the first item, Means any combination of items that can be presented from more than one.

이하, 첨부되는 도면을 참고하여 본 발명의 실시예들에 대해 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 조명장치의 원격 제어 시스템의 구성을 개략적으로 보여주는 블록도이다.1 is a block diagram schematically showing a configuration of a remote control system of a lighting apparatus according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 조명장치의 원격 제어 시스템(100)은, 조명 제어 서버(110), 조명 제어기(120), 하나 이상의 조명장치(125), 및 원격 단말기(130)에 탑재되는 원격 제어용 에이전트(140)를 포함한다.1, a remote control system 100 of a lighting device according to an embodiment of the present invention includes a lighting control server 110, a lighting controller 120, one or more lighting devices 125, And a remote control agent 140 mounted on the terminal 130.

조명 제어 서버(110)는 조명 제어기(120)와 원격 단말기(130)간의 접속을 매개한다. 본 발명에 따른 조명 제어 서버(110)는, 원격 단말기(130)로부터 구조체 형태의 조명제어명령을 수신하여 쿼리문 형태로 변환한 후 데이터베이스에 기록하고, 조명 제어기(120)를 데이터베이스에 기록된 조명제어명령에 동기화시켜 조명 제어기(120)가 상기 조명제어명령에 따라 조명장치(125)를 제어하게 한다.The lighting control server 110 mediates the connection between the lighting controller 120 and the remote terminal 130. The lighting control server 110 according to the present invention receives the illumination control command in the form of a structure from the remote terminal 130 and converts the illumination control command into a query form and records it in the database, And causes the lighting controller 120 to control the lighting device 125 in accordance with the lighting control command.

이러한 조명 제어 서버(110)는, 도 1에 도시된 바와 같이, 웹서버(112), 데이터베이스(114), 및 제어부(116)를 포함한다.The lighting control server 110 includes a web server 112, a database 114, and a control unit 116, as shown in Fig.

웹서버(112)는, 원격 단말기(130)와의 인터페이스 기능을 수행하는 것으로서, 도 1에 도시된 바와 같이, 데이터 송수신부(112a) 및 데이터 변환부(112b)를 포함한다.The web server 112 performs an interface function with the remote terminal 130 and includes a data transmitting and receiving unit 112a and a data converting unit 112b as shown in FIG.

데이터 송수신부(112a)는 원격 단말기(130)로부터 구조체 형태의 조명제어명령을 수신하여 데이터 변환부(112b)로 전달하고, 데이터 변환부(112b)로부터 제공되는 구조체 형태의 조명상태 정보를 원격 단말기(130)로 제공한다.The data transmitting and receiving unit 112a receives the illumination control command in the form of a structure from the remote terminal 130 and transfers the illumination control command to the data converting unit 112b. (130).

일 실시예에 있어서, 데이터 송수신부(112a)가 원격 단말기(130)로부터 수신하는 구조체 형태의 조명제어명령에는 원격 제어대상이 되는 타겟 조명장치의 식별번호, 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별번호, 조명장치가 설치되어 있는 공간의 식별번호, 상기 공간 중 일부 영역의 식별번호, 및 타겟 조명장치에 대한 제어정보 중 적어도 하나가 포함된다.In one embodiment, the structure control type illumination control command received from the remote terminal 130 by the data transmission / reception unit 112a includes the identification number of the target lighting apparatus to be remotely controlled, the target lighting controller of the target lighting apparatus An identification number, an identification number of a space in which the illuminating device is installed, an identification number of a part of the space, and control information for the target illuminating device.

여기서, 타겟 조명장치의 제어정보란, 타겟 조명장치의 온오프 명령, 타겟 조명장치의 디밍레벨 설정 또는 변경 명령, 타겟 조명장치의 색온도 설정 또는 변경 명령 등이 포함될 수 있다.Here, the control information of the target illuminator may include an on / off command of the target illuminator, a dimming level setting or change command of the target illuminator, a color temperature setting or change command of the target illuminator, and the like.

또한, 데이터 송수신부(112a)는 데이터 변환부(112b)에 의해 구조체 형태로 변환된 조명장치 상태정보를 데이터 변환부(112b)로부터 수신하고, 수신된 구조체 형태의 조명장치 상태정보를 원격 단말기(130)로 전달한다.The data transmission / reception unit 112a receives the illumination device state information converted into the structure form by the data conversion unit 112b from the data conversion unit 112b, and transmits the illumination device state information of the received structure form to the remote terminal 130).

일 실시예에 있어서, 조명장치 상태정보에는 조명장치의 전력사용량 정보, 조명장치의 온-오프여부, 조명장치의 디밍 레벨, 조명장치의 색온도, 또는 조명장치의 장애여부 등에 대한 정보가 포함될 수 있다.In one embodiment, the illuminator status information may include information on power usage information of the illuminator, on / off status of the illuminator, dimming level of the illuminator, color temperature of the illuminator, or failure of the illuminator .

한편, 데이터 송수신부(112a)는 원격 단말기(130)와 TCP/IP 기반의 소켓통신이나 HTTP 통신을 통해 인터페이스할 수 있다.Meanwhile, the data transmission / reception unit 112a can interface with the remote terminal 130 through TCP / IP based socket communication or HTTP communication.

다음으로, 데이터 변환부(112b)는 데이터 송수신부(112a)로부터 전달되는 구조체 형태의 조명제어명령을 쿼리(Query)문 형태로 변환하고, 변환된 쿼리문 형태의 조명제어명령을 데이터베이스(114)에 기록한다.Next, the data conversion unit 112b converts the illumination control command of the structure type transmitted from the data transmission / reception unit 112a into a query form, and transmits the converted illumination control command in the form of a query form to the database 114. [ .

예컨대, 데이터 변환부(112b)는 아래와 같은 포맷을 갖는 구조체 형태의 조명제어명령을 데이터 송수신부(112a)로부터 수신한다.For example, the data conversion unit 112b receives the illumination control command in the form of a structure having the following format from the data transmission / reception unit 112a.

{{

"query_info":   "query_info":

"cmd_tablename": [  "cmd_tablename": [

{    {

"ctrl_data": 800,      "ctrl_data": 800,

"ctrl_cmd": 500,      "ctrl_cmd": 500,

"ctrl_type": 3000,      "ctrl_type": 3000,

"ctrl_ilcno": 123,      "ctrl_ilcno": 123,

"ctrl_val": 80.      "ctrl_val": 80.

}    }

]  ]

}
}

또한, 데이터 변환부(112b)는 구조체 형태의 조명제어명령을 아래와 같은 포맷을 갖는 쿼리문 형태의 조명제어명령으로 변환한다.
The data conversion unit 112b converts the lighting control command of the structure type into a lighting control command of a query type having the following format.

INSERT INTO cmd_tablenameINSERT INTO cmd_tablename

(ctrl_type, ctrl_data, ..., ctrl_val)(ctrl_type, ctrl_data, ..., ctrl_val)

VALUESVALUES

(3000, 800, ... , 80);
(3000, 800, ..., 80);

일 실시예에 있어서, 데이터 변환부(112b)는 데이터베이스(114)를 확인하여 데이터베이스(114)의 제1 테이블의 레코드에 조명제어명령이 기록되어 있지 않으면 변환된 조명제어명령을 삽입(Insert)하고, 제1 테이블의 레코드에 조명제어명령이 기록되어 있으면, 기록되어 있는 조명제어명령을 변환된 조명제어명령으로 업데이트(Update)한다.In one embodiment, the data conversion unit 112b checks the database 114 and inserts the converted illumination control command if the illumination control command is not recorded in the record of the first table of the database 114 If the lighting control command is recorded in the record of the first table, the recorded lighting control command is updated with the converted lighting control command.

또한, 데이터 변환부(112b)는 데이터베이스(114)를 실시간으로 감시하면서, 데이터베이스(114)의 제2 테이블의 레코드에 새로운 조명장치 상태정보가 삽입되거나 업데이트되면, 제2 테이블의 레코드로부터 조명장치 상태정보를 선택(Selection)하고, 선택된 조명장치 상태정보를 구조체 형태로 변환하여 데이터 송수신부(112a)로 전달한다.When the new illumination device status information is inserted or updated in the record of the second table of the database 114 while monitoring the database 114 in real time, the data conversion unit 112b extracts the illuminator status from the record of the second table Selects the information, converts the selected illumination device status information into a structure type, and transmits the converted information to the data transmission / reception unit 112a.

데이터 송수신부(112a)는, 데이터 변환부(112b)에 의해 구조체 형태로 변환된 조명장치 상태정보를 데이터 변환부(112b)로부터 수신하고, 수신된 구조체 형태의 조명장치 상태정보를 원격 단말기(130)로 전송한다.The data transmission / reception unit 112a receives the illumination device status information converted into the structure form by the data conversion unit 112b from the data conversion unit 112b, and transmits the illumination device status information in the form of the received configuration to the remote terminal 130 ).

상술한 실시예에 있어서는, 웹서버(112)가 원격 단말기(130)부터 수신되는 조명제어명령을 바로 데이터베이스(114)에 기록하거나 업데이트 하는 것으로 설명하였다. 하지만, 변형된 실시예에 있어서 웹서버(112)는 원격 단말기(130)로부터 새롭게 수신되는 제1 조명제어명령과 데이터베이스(114)에 이미 기록되어 있는 제2 조명제어명령을 확인한 후 일정 조건을 만족하는 경우에 한하여 제1 조명제어명령을 데이터베이스(114)에 기록할 수 있다.In the above-described embodiment, the web server 112 records or updates the illumination control command received from the remote terminal 130 directly in the database 114. [ However, in the modified embodiment, the web server 112 confirms the first illumination control command newly received from the remote terminal 130 and the second illumination control command already recorded in the database 114, The first illumination control command may be written to the database 114 only when the first illumination control command is received.

이하, 이러한 변형된 실시예에 대한 내용을 도 2를 참조하여 구체적으로 설명한다.Hereinafter, the contents of this modified embodiment will be described in detail with reference to FIG.

도 2는 본 발명의 변형된 실시예에 따른 웹서버의 구성을 개략적으로 보여주는 블록도이다.2 is a block diagram schematically showing a configuration of a web server according to a modified embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 변형된 실시예에 따른 웹서버(112)는 데이터 송수신부(210), 유효시간 판단부(220), 우선순위 판단부(230), 메시지 생성부(240), 및 데이터 변환부(250)를 포함한다.2, the web server 112 according to the modified embodiment of the present invention includes a data transmission / reception unit 210, a validity time determination unit 220, a priority determination unit 230, a message generation unit 240, and a data conversion unit 250.

먼저, 데이터 송수신부(210)는, 원격 단말기(130)로부터 구조체 형태의 제1 조명제어명령을 수신하여 유효시간 판단부(220)로 전달하고, 데이터 변환부(250)로부터 전달되는 구조체 형태의 조명상태 정보를 원격 단말기(130)로 제공한다.The data transmission and reception unit 210 receives the first illumination control command in the form of a structure from the remote terminal 130 and transmits the first illumination control command to the valid time determination unit 220. The data transmission / And provides lighting status information to the remote terminal 130.

일 실시예에 있어서, 원격 단말기(130)로부터 수신되는 구조체 형태의 제1 조명제어명령에는 원격 제어대상이 되는 타겟 조명장치의 식별번호, 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별번호, 및 타겟 조명자치에 대한 제어정보 이외에 제1 조명제어명령을 전송한 원격 단말기의 식별번호 및 제1 조명제어명령의 유효시간에 대한 정보가 추가로 포함되어 있다. 여기서, 제1 조명제어명령의 유효시간이란 제1 조명제어명령이 지속되어야 하는 시간을 의미한다.In one embodiment, the first illumination control command in the form of a structure received from the remote terminal 130 includes an identification number of the target illuminator to be remotely controlled, an identification number of the target illuminator controller managing the target illuminator, An identification number of the remote terminal that transmitted the first illumination control command and information on the effective time of the first illumination control command are additionally included in addition to the control information on the illumination autonomy. Here, the effective time of the first illumination control command means a time at which the first illumination control command should be continued.

또한, 데이터 송수신부(210)는 데이터 변환부(250)에 의해 구조체 형태로 변환된 조명장치 상태정보를 데이터 변환부(250)로부터 수신하고, 수신된 구조체 형태의 조명장치 상태정보를 원격 단말기(130)로 전달한다.The data transmitting and receiving unit 210 receives the lighting device state information converted into the structure form by the data converting unit 250 from the data converting unit 250 and transmits the lighting device state information of the received structure form to the remote terminal 130).

다음으로, 유효시간 판단부(220)는, 데이터 송수신부(210)로부터 구조체 형태의 제1 조명제어명령이 수신되면, 데이터베이스(114)에 제2 조명제어명령이 기록되어 있는지 여부를 확인하고, 제2 조명제어명령이 기록되어 있지 않으면 구조체 형태의 제1 조명제어명령을 데이터 변환부(250)로 전달한다.Next, when the first illumination control command of the structure type is received from the data transmission / reception unit 210, the validity time determination unit 220 checks whether the second illumination control command is recorded in the database 114, If the second illumination control command is not recorded, the first illumination control command of the structure type is transmitted to the data converter 250.

한편, 데이터베이스(114)에 제2 조명제어명령이 기록되어 있으면, 유효시간 판단부(220)는 제2 조명제어명령의 유효시간을 확인하여 제2 조명제어명령이 유효한지 여부를 판단한다. 판단결과, 제2 조명제어명령이 유효하지 않으면 제1 조명제어명령을 데이터 변환부(250)로 전달하고, 제2 조명제어명령이 유효하면 제1 조명제어명령을 우선순위 판단부(230)로 전달한다.On the other hand, if the second illumination control command is stored in the database 114, the validity time determination unit 220 determines whether the second illumination control command is valid by checking the valid time of the second illumination control command. If the second illumination control command is valid, the first illumination control command is transmitted to the data conversion unit 250. If the second illumination control command is valid, the first illumination control command is transmitted to the priority determination unit 230 .

다음으로, 우선순위 판단부(230)는 유효시간 판단부(220)에 의해 제2 조명제어명령이 유효한 것으로 판단되면, 제2 조명제어명령과 제1 조명제어명령 간의 우선순위를 판단한다. 판단결과, 제1 조명제어명령의 우선순위가 제2 조명제어명령의 우선순위보다 높으면, 우선순위 판단부(230)는 제1 조명제어명령을 데이터 변환부(240)로 전달하고, 제2 조명제어명령의 우선순위가 제1 조명제어명령의 우선순위보다 높으면 제1 조명제어명령의 폐기를 결정한다.Next, the priority determining unit 230 determines the priority between the second lighting control command and the first lighting control command if the validity time determining unit 220 determines that the second lighting control command is valid. If the priority of the first illumination control command is higher than the priority of the second illumination control command, the priority determination unit 230 transmits the first illumination control command to the data conversion unit 240, If the priority of the control command is higher than the priority of the first illumination control command, it is determined to discard the first illumination control command.

일 실시예에 있어서, 우선순위 판단부(230)는 제1 조명제어명령 및 제2 조명제어명령의 우선순위를 제1 조명제어명령에 포함된 원격 단말기의 식별번호와 제2 조명제어명령에 포함된 원격 단말기의 식별번호를 이용하여 판단할 수 있다. 즉, 우선순위 판단부(230)는 제1 조명제어명령에 포함된 원격 단말기의 식별번호에 매칭되어 있는 우선순위에 따라 제1 조명제어명령의 우선순위를 판단하고, 제2 조명제어명령에 포함된 원격 단말기의 식별번호에 매칭되어 있는 우선순위에 따라 제2 조명제어명령의 우선순위를 판단한다.In one embodiment, the priority determiner 230 may include the priority of the first lighting control command and the second lighting control command in the second lighting control command and the identification number of the remote terminal included in the first lighting control command By using the identification number of the remote terminal. That is, the priority determining unit 230 determines the priority of the first lighting control command according to the priority matched to the identification number of the remote terminal included in the first lighting control command, And determines the priority of the second illumination control command according to the priority matched to the identification number of the remote terminal.

예컨대, 메인 원격 단말기는 서브 원격 단말기에 비해 그 우선순위가 높은 것으로 결정되어 있을 수 있으므로, 제1 조명제어명령에 포함된 원격 단말기의 식별번호가 메인 원격 단말기의 식별번호에 해당하고, 제2 조명제어명령에 포함된 원격 단말기의 식별번호가 서브 원격 단말기의 식별번호에 해당한다면, 우선선위 판단부(230)는 제1 조명제어명령의 우선순위가 제2 조명제어명령의 우선순위보다 높은 것으로 판단하여 제1 조명제어명령을 데이터 변환부(250)로 전달하는 것이다. For example, since the main remote terminal may be determined to have a higher priority than the sub remote terminal, the identification number of the remote terminal included in the first illumination control command corresponds to the identification number of the main remote terminal, If the identification number of the remote terminal included in the control command corresponds to the identification number of the sub-remote terminal, the priority determination unit 230 determines that the priority of the first lighting control command is higher than the priority of the second lighting control command And transmits the first illumination control command to the data converter 250.

다음으로, 메시지 생성부(240)는 우선순위 판단부(230)에 의해 제1 조명제어명령의 폐기가 결정되면, 제1 조명제어명령의 폐기를 알리는 알림 메시지를 생성하여 제1 조명제어명령을 전송한 원격 단말기(130)로 생성된 알림 메시지를 전송한다.Next, when the priority determining unit 230 determines that the first lighting control command is discarded, the message generating unit 240 generates a notification message informing that the first lighting control command is discarded, And transmits the generated notification message to the remote terminal 130.

또한, 메시지 생성부(240)는 데이터 변환부(250)에 의해 제1 조명제어명령이 정상적으로 데이터베이스(114)에 기록되면, 제1 조명제어명령의 정상처리를 나타내는 알림 메시지를 생성하여 제1 조명제어명령을 전송한 원격 단말기(130)로 생성된 알림 메시지를 전송한다.When the first illumination control command is normally written to the database 114 by the data conversion unit 250, the message generation unit 240 generates a notification message indicating normal processing of the first illumination control command, And transmits the generated notification message to the remote terminal 130 that has transmitted the control command.

다음으로, 데이터 변환부(250)는 유효시간 판단부(220) 또는 우선순위 판단부(230)로부터 제1 조명제어명령이 전달되면, 구조체 형태의 제1 조명제어명령을 쿼리문으로 변환하여 데이터베이스(114)에 삽입하거나 업데이트한다.Next, when the first illumination control command is received from the validity determination unit 220 or the priority determination unit 230, the data conversion unit 250 converts the first illumination control command of the structure type into a query expression, 0.0 > 114 < / RTI >

또한, 데이터 변환부(250)는 데이터베이스(114)를 실시간으로 감시하면서, 데이터베이스(114)에 새로운 조명장치 상태정보가 삽입되거나 업데이트되면, 데이터베이스(114)로부터 조명장치 상태정보를 선택하고, 선택된 조명장치 상태정보를 구조체 형태로 변환하여 데이터 송수신부(210)로 전달한다.The data converter 250 may also be configured to select the lighting device status information from the database 114 when new lighting device status information is inserted or updated in the database 114 while monitoring the database 114 in real time, Converts the device state information into a structure type, and transfers the converted device state information to the data transmission / reception unit 210.

상술한 실시예에 있어서, 웹서버(112)는 제2 조명제어명령이 유효한 경우 제2 조명제어명령의 우선순위와 제1 조명제어명령의 우선순위를 비교하여 어느 하나를 데이터베이스(114)에 기록하는 것으로 설명하였다.In the above-described embodiment, the web server 112 compares the priority of the second illumination control command with the priority of the first illumination control command when the second illumination control command is valid, and writes any one to the database 114 .

하지만, 변형된 실시예에 있어서, 웹서버(112)는 제2 조명제어명령이 유효한 경우 제2 조명제어명령의 우선순위와 제1 조명제어명령의 우선순위에 관계없이 제1 조명제어명령을 폐기할 수도 있을 것이다.However, in a modified embodiment, the web server 112 discards the first lighting control command regardless of the priority of the second lighting control command and the priority of the first lighting control command if the second lighting control command is valid You can do it.

또 다른 실시예에 있어서는, 복수개의 원격 단말기(130)로부터 소정 시간 내에 복수개의 서로 다른 조명제어명령이 수신되는 경우, 웹서버(110)는 각각의 조명제어명령의 우선순위에 따라 가장 높은 우선순위를 갖는 조명제어명령만을 쿼리문형태로 변환하여 데이터베이스(114)에 기록하고 나머지 조명제어명령은 폐기할 수 있다.In another embodiment, when a plurality of different illumination control commands are received from the plurality of remote terminals 130 within a predetermined time, the web server 110 sets the highest priority Only the illumination control command having the illumination control command can be converted into the query form and recorded in the database 114 and the remaining illumination control command can be discarded.

이와 같이, 본 발명은 소정 시간 이내에 발생되는 서로 다른 조명제어명령들의 유효시간 또는 우선순위에 따라 조명제어명령을 처리함으로써 조명제어명령들 간의 충돌을 방지할 수 있고, 이로 인해 조명제어명령을 보다 효율적으로 처리할 수 있게 된다.As such, the present invention can prevent collision between lighting control commands by processing the lighting control command according to the valid time or priority of the different lighting control commands occurring within a predetermined time, . ≪ / RTI >

한편, 웹서버(112)는 상술한 기능 이외에도, 원격 제어용 에이전트(140)가 탑재되지 않은 원격 단말기(130)가 접속되면, 원격 단말기(130)에게 원격 제어용 웹화면을 제공하고, 웹화면을 통해 조명제어명령을 수신할 수도 있다.The web server 112 provides a remote control web screen to the remote terminal 130 when a remote terminal 130 without the remote control agent 140 is connected to the web server 112, And may receive an illumination control command.

또한, 웹서버(112)는 조명장치(125)의 원격 제어를 위한 원격 제어용 에이전트(140)를 무선 데이터 망 또는 와이파이 망을 통해 원격 단말기(130)로 제공할 수 있다.The web server 112 may also provide the remote control agent 140 for remote control of the lighting device 125 to the remote terminal 130 via the wireless data network or the Wi-Fi network.

다시 도 1을 참조하면, 데이터베이스(114)는 제1 테이블 및 제2 테이블을 포함하고, 제1 테이블에는 쿼리문 형태의 조명제어명령이 기록되고, 제2 테이블에는 쿼리문 형태의 조명장치 상태정보가 기록된다.Referring again to FIG. 1, the database 114 includes a first table and a second table, a light control command in the form of a query statement is written in the first table, and illumination condition information Is recorded.

일 실시예에 있어서, 이러한 데이터베이스(114)는 웹서버(112) 및 제어부(116)의해 데이터 삽입 또는 업데이트 여부가 실시간으로 감시된다.In one embodiment, such a database 114 is monitored in real time as to whether data is inserted or updated by the web server 112 and the control unit 116.

다음으로, 제어부(116)는, 웹서버(112)에 의해 변환된 쿼리문 형태의 조명제어명령이 데이터베이스(114)에 기록되는지 여부를 실시간으로 모니터링하고, 조명제어명령이 데이터베이스(114)에 기록되면 조명 제어기(120)를 데이터베이스(114)에 기록된 조명제어명령에 동기화시켜 조명 제어기(120)가 해당 조명제어명령에 따라 조명장치(125)를 제어하게 한다.Next, the control unit 116 monitors in real time whether or not the illumination control command in the form of a query statement converted by the web server 112 is recorded in the database 114, and if the illumination control command is recorded in the database 114 The illumination controller 120 synchronizes the illumination controller 120 to the illumination control command recorded in the database 114 to cause the illumination controller 120 to control the illumination device 125 in accordance with the illumination control command.

일 실시예에 있어서, 제어부(116)는, 쓰레드 풀(Thread Pool)방식을 이용하여 데이터베이스(114)에 쿼리문 형태의 조명제어명령이 기록되는지 여부를 실시간으로 모니터링할 수 있다. 이에 따라 데이터베이스(114)의 실시간 감시에 소요되는 컴퓨팅 자원의 소모를 최소화할 수 있게 된다.In one embodiment, the controller 116 may monitor in real time whether a query control type illumination control command is written to the database 114 using a thread pool method. Accordingly, consumption of computing resources required for real-time monitoring of the database 114 can be minimized.

즉, 제어부(116)는, 데이터베이스(114)를 실시간으로 감시하면서, 데이터베이스(114)의 제1 테이블에 쿼리문 형태의 조명제어명령이 삽입되거나 갱신되면 제1 테이블에서 쿼리문 형태의 조명제어명령을 선택하고, 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 조명 제어기(120)로 전달한다.That is, when the illumination control command of the query type is inserted or updated in the first table of the database 114 while monitoring the database 114 in real time, the control unit 116 controls the illumination control command And converts the selected illumination control command in the form of a query statement into socket data and transmits it to the lighting controller 120.

구체적으로, 제어부(1180)는 선택된 조명제어명령으로부터 해당 조명제어명령이 전달되어야 할 타겟 조명 제어기를 확인하고, 해당 조명제어명령을 소켓 데이터로 변환하여 타겟 조명 제어기로 전달한다. Specifically, the controller 1180 identifies a target lighting controller to which the corresponding lighting control command is to be transmitted from the selected lighting control command, converts the lighting control command into socket data, and transmits the socket control data to the target lighting controller.

또한, 제어부(116)는 복수개의 조명 제어기(120)로부터 각 조명 제어기(120)가 관장하고 있는 조명장치(125)들의 상태정보를 소켓 데이터 형태로 수신하고, 수신된 소켓 데이터 형태의 조명장치 상태정보를 쿼리문으로 변환하여 데이터베이스(114)의 제2 테이블의 레코드에 기록한다. 일 실시예에 있어서, 제어부(116)는 각 조명 제어기(120) 별로 별도로 마련된 제2 테이블에 조명장치 상태정보를 기록하거나, 제2 테이블 내에서 각 조명 제어기(120)별로 별도로 마련된 레코드에 조명장치 상태정보를 기록할 수 있다.The control unit 116 receives status information of the lighting devices 125 managed by the respective lighting controllers 120 from a plurality of the lighting controllers 120 in the form of socket data, Information into a query statement and records it in a record in the second table of the database 114. [ In one embodiment, the control unit 116 may record the lighting device status information in a second table separately provided for each lighting controller 120, or may record in the second table a record separately provided for each lighting controller 120, Status information can be recorded.

일 실시예에 있어서, 제어부(116)는 조명 제어기(120)와 TCP/IP 기반의 소켓통신을 통해 인터페이스할 수 있다.In one embodiment, the control unit 116 may interface with the lighting controller 120 through a TCP / IP based socket communication.

이와 같이, 본 발명의 경우 별도의 조명 제어 서버(110)를 운영하기 때문에 원격 단말기(130)는 조명제어명령을 원격 제어용 에이전트(140)를 이용하여 구조체 형태로만 작성하여 조명 제어 서버(110)로 전달하면 되므로, 원격 제어용 에이전트(140)를 구성하기 위한 코딩이 간소화된다.As described above, in the present invention, since the separate lighting control server 110 is operated, the remote terminal 130 creates the lighting control command in the form of a structure using the remote control agent 140 and transmits the lighting control command to the lighting control server 110 The coding for configuring the remote control agent 140 is simplified.

또한, 본 발명의 경우 원격 단말기(130)와 조명 제어기(120)가 직접 접속하는 구조가 아니라, 조명 제어 서버(110)를 매개하여 접속하고, 원격 단말기(130) 및 조명 제어기(120)는 웹서버(112)를 통해 데이터베이스(114)에 접속하기 때문에 보안 유지는 물론, 조명제어명령의 전달 또한 데이터베이스(114)에서 조명제어명령의 삽입 또는 업데이트에 의해 수행되기 때문에 공장 에너지 관리 시스템(Factory Energy Management System: FEMS, 150)나 빌딩 에너지 관리 시스템(Building Energy Management System: BEMS, 160)와 같은 타 시스템과의 연동이 용이해지게 된다.The remote terminal 130 and the lighting controller 120 are connected via a lighting control server 110 and the remote terminal 130 and the lighting controller 120 are connected via a web Since the connection to the database 114 via the server 112 is not only secured but also the transmission of the light control command is also performed by inserting or updating the light control command in the database 114, System: FEMS, 150) and Building Energy Management System (BEMS, 160).

이때, FEMS(150)나 BEMS(160)와 같은 타 시스템은 조명 제어 서버(110)와 TCP/IP 기반 소켓 통신이나 HTTP 통신을 통해 인터페이스할 수 있다.At this time, other systems such as the FEMS 150 and the BEMS 160 may interface with the lighting control server 110 through TCP / IP based socket communication or HTTP communication.

한편, 상술한 바와 같은 구성을 갖는 조명 제어 서버(110)는 도 3에 도시된 바와 같이, 6개의 레이어로 구성될 수 있다.Meanwhile, the lighting control server 110 having the above-described configuration may be composed of six layers as shown in FIG.

먼저, 어플리케이션(Application) 레이어(310)는, 조명장치의 제어, 모니터링, 및 장애관리 중 적어도 하나를 수행하기 위한 어플리케이션이 기록되는 레이어이다.First, the application layer 310 is a layer in which an application for performing at least one of control, monitoring, and failure management of a lighting apparatus is recorded.

일 실시예에 있어서, 어플리케이션 레이어(310)에 기록되는 어플리케이션은 조명장치의 색 온도, 온-오프, 및 디밍 레벨 중 적어도 하나를 제어 또는 설정하기 위한 제어관리 어플리케이션과, 조명장치의 모니터링, 장애 판단, 장애 알림, 및 장애 복구 중 적어도 하나를 관리하기 위한 상태관리 어플리케이션을 포함할 수 있다.In one embodiment, an application recorded in the application layer 310 includes a control management application for controlling or setting at least one of a color temperature, an on-off, and a dimming level of a lighting device, , A failure notification, and a failure management.

다음으로, 스크립트(Script) 레이어(320)는 상기 어플리케이션의 코딩을 위한 랭귀지를 제공하는 모듈이 설치되는 것으로서, 본 실시예에 있어서는 PHP(PHypertext Preprocessor) 모듈이 설치될 수 있다.Next, a script layer 320 is provided with a module for providing a language for coding the application. In this embodiment, a PHP (PHYpertext Preprocessor) module may be installed.

다음으로, 라이브러리(Library) 레이어(330)는, 어플리케이션 레이어(310)에 설치된 어플리케이션을 구동하기 위한 사용자 라이브러리 및 시스템 라이브러리를 제공한다. 일 실시예에 있어서, 라이브러리 레이어(330)는 MySQL Connector 라이브러리를 제공할 수 있고, MySQL Connector 라이브러리는 MySQL Server, MySQL Insert, MySQL Update, MySQL Delete, MySQL Fetch 등의 C/C++클래스들과 컴파일 바이너리, 및 다수의 헤더파일을 포함할 수 있다.Next, the library layer 330 provides a user library and a system library for driving applications installed in the application layer 310. In one embodiment, the library layer 330 may provide the MySQL Connector library, and the MySQL Connector library may include C / C ++ classes such as MySQL Server, MySQL Insert, MySQL Update, MySQL Delete, MySQL Fetch, And a plurality of header files.

다음으로, 데이터베이스(DB) 레이어(340)는, 데이터베이스(114)가 설치되는 레이어로써, 일 실시예에 있어서 이러한 데이터베이스 레이어(340)에는 오라클 사의 MySQL 데이터베이스가 설치될 수 있다.Next, the database (DB) layer 340 is a layer where the database 114 is installed. In one embodiment, the database layer 340 of the Oracle database may be installed with the MySQL database.

다음으로, 웹어플리케이션 서버(WAS) 레이어(350)는, 웹서비스 제공에 필요한 웹페이지 구성을 위한 웹서버(112)가 설치되는 레이어로써, 일 실시예에 있어서 웹어플리케이션 서버 레이어(350)에는 인터넷 또는 인트라넷 망을 통해 웹서비스를 수행하는 웹서버인 아파치 탐캣 웹서버가 설치될 수 있다. Next, the web application server (WAS) layer 350 is a layer in which a web server 112 for constituting a web page necessary for providing a web service is installed. In the web application server layer 350, Or an Apache Tomcat web server, which is a web server that performs web services through an intranet network.

다음으로, OS 레이어(360)는, 조명 제어 서버(110)를 구동시키는 운영체계(Operating System: OS)가 설치되는 레이어로, 어플리케이션 레이어(310)에 설치된 어플리케이션을 구동하고, 조명 제어 서버(110)의 네트워킹을 위한 하드웨어 자원을 관리한다. 일 실시예에 있어서, OS 레이어(360)에는 윈도우 2008 서버 운영체제가 설치될 수 있다.The OS layer 360 is a layer on which an operating system (OS) for driving the lighting control server 110 is installed. The OS layer 360 drives an application installed in the application layer 310, ) To manage the hardware resources for networking. In one embodiment, a Windows 2008 server operating system may be installed in the OS layer 360.

다시 도 1을 참조하면, 조명 제어기(120)는 조명 제어 서버(110)를 통해 전달되는 소켓 데이터로부터 조명제어명령을 추출하고, 추출된 조명제어명령에 따라 각 조명장치(125)를 온오프 시키거나 각 조명장치(125)의 디밍(Dimming)을 제어하거나 각 조명장치의 색온도를 조절한다.Referring again to FIG. 1, the illumination controller 120 extracts illumination control commands from the socket data transmitted through the illumination control server 110, and turns on / off each illumination device 125 according to the extracted illumination control command Or controls the dimming of each lighting device 125 or adjusts the color temperature of each lighting device.

또한, 조명 제어기(120)는 각 조명장치(125)의 상태를 모니터링함으로써 조명장치 상태정보를 생성하고, 생성된 조명장치 상태정보를 조명 제어 서버(110)로 전달한다.In addition, the lighting controller 120 generates lighting device status information by monitoring the status of each lighting device 125, and transmits the generated lighting device status information to the lighting control server 110.

일 실시예에 있어서, 조명 제어기(120)는 각 조명장치(125)들의 조명 제어 명령을DMX 512 또는 DALI 프로토콜을 이용하여 각 조명장치들로 전달할 수 있다.In one embodiment, the lighting controller 120 may communicate lighting control commands for each lighting device 125 to each lighting device using the DMX 512 or DALI protocol.

하나 이상의 조명장치(125)는, 실내 또는 실외의 특정 영역에 설치되어 해당 영역을 밝히거나, 해당 영역을 장식하는 기능을 수행한다. 일 실시예에 있어서, 하나 이상의 조명장치(125)는 LED(Light Emitting Diode)로 구현될 수 있다.The at least one lighting device 125 is installed in a specific area in the room or outside, and illuminates the area or decorates the area. In one embodiment, the one or more illumination devices 125 may be implemented with LEDs (Light Emitting Diodes).

하나 이상의 조명장치(125)는 조명 제어기(120)의 제어에 의해 온오프되거나, 디밍(Dimming)이 조절되는 것으로서, 각 조명장치(125)들은 조명 제어기(120)로부터 전송되는 디지털 형태의 제어정보를 아날로그 형태로 변환하는 DAC(Digital-Analog Convertor)와 각 조명장치(125)에 전원을 공급하기 위한 전원공급부(미도시), 예컨대 SMPS(Switched Mode Power Supply)를 포함할 수 있다.One or more illumination devices 125 may be turned on or off under the control of the illumination controller 120 and each illumination device 125 may be controlled by digital control information transmitted from the illumination controller 120 For example, a Switched Mode Power Supply (SMPS) for supplying power to each of the lighting devices 125. The digital-analog converter (DAC)

다음으로, 원격 단말기(130)는, 구조체 형태의 조명제어명령을 생성하여 조명 제어 서버(110)로 전달하고, 조명 제어 서버(110)로부터 구조체 형태의 조명장치 상태정보를 수신하여 출력하는 것으로서, 상술한 바와 같이 본 발명에 따른 원격 단말기(130)에는 조명장치(125)의 원격 제어를 위해 원격 제어용 에이전트(140)가 탑재되어 있다.The remote terminal 130 generates a lighting control command in the form of a structure and transmits the lighting control command to the lighting control server 110. The remote terminal 130 receives and outputs lighting condition information of the structure type from the lighting control server 110, As described above, the remote terminal 130 according to the present invention is equipped with a remote control agent 140 for remote control of the lighting device 125. [

원격 단말기(130)는 이러한 원격 제어용 에이전트(140)를 조명 제어 서버(110)로부터 무선 데이터망 또는 와이파이망을 통해 다운로드 받을 수 있다.The remote terminal 130 may download the remote control agent 140 from the lighting control server 110 via a wireless data network or a Wi-Fi network.

일 실시예에 있어서, 이러한 원격 제어용 에이전트(140)는, 상술한 바와 같이 원격 제어대상이 되는 타겟 조명장치의 식별번호, 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별번호, 조명장치가 설치되어 있는 공간의 식별번호, 상기 공간 중 일부 영역의 식별번호, 및 타겟 조명장치에 대한 제어정보 중 적어도 하나를 조합하여 구조체 형태의 조명제어명령을 생성할 수 있다.In one embodiment, the remote control agent 140 has the identification number of the target lighting apparatus to be remotely controlled, the identification number of the target lighting controller managing the target lighting apparatus, An identification number of a space, an identification number of a partial area of the space, and control information for a target illuminating device may be combined to generate a lighting control command in the form of a structure.

변형된 실시예에 있어서, 원격 제어용 에이전트(140)는, 원격 제어대상이 되는 타겟 조명장치의 식별번호, 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별번호, 조명장치가 설치되어 있는 공간의 식별번호, 상기 공간 중 일부 영역의 식별번호, 및 타겟 조명장치에 대한 제어정보 중 적어도 하나 이외에, 조명제어명령을 전송하는 원격 단말기의 식별번호, 및 조명제어명령의 유효시간을 추가로 포함하여 조명제어명령을 생성할 수도 있다.In the modified embodiment, the remote control agent 140 has an identification number of the target lighting apparatus to be remotely controlled, an identification number of the target lighting controller managing the target lighting apparatus, an identification number of the space in which the lighting apparatus is installed , The identification number of the remote terminal transmitting the lighting control command, and the effective time of the lighting control command, in addition to at least one of the identification number of the partial area of the space and the control information for the target illuminating device, May be generated.

구체적으로, 원격 제어용 에이전트(140)는 조명장치(125)의 원격 제어 요청이 수신되면, 조명장치(125)가 배치된 영역을 각 조명 제어기(120)가 관장하는 영역 별로 구획하여 형성한 조명맵을 원격 단말기(130)를 통해 출력한다.The remote control agent 140 receives the remote control request of the lighting device 125 and determines the lighting map of the lighting device 125 by dividing the area in which the lighting device 125 is disposed by the area managed by each lighting controller 120 Through the remote terminal 130.

이러한 조명맵 상에서 특정영역이 선택되면, 원격 제어용 에이전트(140)는 선택된 특정 영역에 포함되어 있는 조명장치들의 배치상태를 나타내는 서브맵을 원격 단말기(130)를 통해 출력한다.When a specific area is selected on the illumination map, the remote control agent 140 outputs a submap indicating the arrangement state of the lighting devices included in the selected specific area through the remote terminal 130. [

이후, 서브맵 상에서 조명장치(125)가 선택되면, 선택된 조명장치(125)의 제어정보를 입력할 수 있는 UI(User Interface)화면을 원격 단말기(130)를 통해 출력한다.Thereafter, when the illumination device 125 is selected on the submap, a UI (User Interface) screen for inputting control information of the selected illumination device 125 is output through the remote terminal 130.

원격 단말기(130)를 통해 출력되는 UI화면의 일 예가 도 4에 도시되어 있다. 도 4a는 조명장치의 색온도를 설정하기 위한 UI화면의 예를 보여주는 도면이고, 도 4b는 조명장치의 디밍레벨(조도)를 설정하기 위한 UI화면의 예를 보여주는 도면이다.An example of a UI screen output through the remote terminal 130 is shown in FIG. FIG. 4A is a view showing an example of a UI screen for setting a color temperature of a lighting apparatus, and FIG. 4B is a view showing an example of a UI screen for setting a dimming level (illumination) of the lighting apparatus.

이러한 실시예에 따르는 경우, 원격 제어용 에이전트(140)는 조명맵 상에서 공간 또는 상기 공간 중 일부에 해당하는 특정영역이 선택되면, 선택된 공간 또는 특정영역에 상응하는 조명 제어기의 식별번호를 타겟 조명 제어기의 식별번호로 획득하거나 선택된 공간 또는 특정영역의 식별번호를 직접 획득할 수 있다. 또한, 원격 제어용 에이전트(140)는, 서브맵 상에서 조명장치(125)가 선택되면, 선택된 조명장치(125)의 식별번호를 타겟 조명장치(125)의 식별번호를 획득하게 되며, UI화면을 통해 입력되는 정보를 타겟 조명장치(125)의 제어정보로 수신하게 된다.According to this embodiment, when a specific area corresponding to a space or a part of the space is selected on the illumination map, the remote control agent 140 transmits the identification number of the lighting controller corresponding to the selected space or the specific area to the target lighting controller It is possible to acquire the identification number or directly obtain the identification number of the selected space or the specific area. When the lighting device 125 is selected on the submap, the remote control agent 140 obtains the identification number of the selected lighting device 125 and obtains the identification number of the target lighting device 125. Then, As control information of the target illuminating device 125. [0064]

이때, 조명제어정보의 유효시간 또한 UI화면을 통해 입력되는 정보를 이용하여 획득할 수 있고, 원격 단말기의 식별번호는 원격 단말기로부터 직접 제공받을 수 있다.At this time, the validity time of the illumination control information may also be acquired using the information input through the UI screen, and the identification number of the remote terminal may be provided directly from the remote terminal.

상술한 실시예에 이어서는 조명맵 및 서브맵을 이용하여 조명장치의 식별번호, 조명 제어기의 식별번호, 또는 공간이나 특정영역의 식별번호를 획득하는 것으로 설명하였지만, 변형된 실시예에 있어서는 도 4b에 도시된 바와 같이 조명장치가 설치되어 있는 공간이나 영역들에 대한 정보를 직접 제공하고, 사용자로 하여금 사용자가 원하는 공간이나 영역들을 직접 선택하게 함으로써 해당 공간이나 영역들의 식별번호, 해당 영역을 관장하는 조명 제어기의 식별번호, 또는 해당 공간이나 영역들에 설치되어 있는 조명장치의 식별번호를 획득할 수도 있을 것이다. Although the illumination map and the submap are used to acquire the identification number of the illumination device, the identification number of the illumination controller, or the identification number of the space or the specific area using the illumination map and the submap in the above embodiment, As shown in the figure, the information about the space or areas in which the lighting device is installed is directly provided, and the user can directly select the space or areas desired by the user, so that the identification number of the space or areas, The identification number of the controller, or the identification number of the illumination device installed in the space or areas.

이외에도, 원격 제어용 에이전트(140)는 조명 제어 서버(110)로부터 구조체 형태의 조명장치 상태정보가 수신되면, 수신된 구조체 형태의 조명장치 상태정보로부터 조명장치 상태정보를 추출하고, 이를 미리 정해진 UI화면을 이용하여 원격 단말기(130)를 통해 출력할 수 있다.In addition, the remote control agent 140 extracts the lighting device status information from the lighting device status information of the structure-type when receiving the lighting status information of the structure type from the lighting control server 110, And output it through the remote terminal 130 using the remote terminal 130.

상술한 바와 같은 원격 제어용 에이전트(140)가 탑재되어 있는 원격 단말기는 도 5에 도시된 바와 같이, 5개의 레이어로 구성될 수 있다.The remote terminal equipped with the remote control agent 140 as described above may be composed of five layers as shown in FIG.

먼저, 어플리케이션 레이어(510)에는, 원격 조명 제어를 위한 원격 제어용 에이전트(140)가 설치된다.First, in the application layer 510, a remote control agent 140 for remote lighting control is installed.

다음으로, 인터랙션 레이어(520)에는 화면상에 보여지는 UI를 원격 단말기(130)를 통해 출력하기 위한 것으로서, 일 실시예에 있어서 이러한 인터랙션 레이어(520)는 인터랙션을 담당하기 위한 UI Kit를 포함하는 코코아 터치(Cocoa Touch) API로 구현될 수 있다.Next, the interaction layer 520 is used to output the UI displayed on the screen through the remote terminal 130. In one embodiment, the interaction layer 520 includes a UI Kit for performing interaction It can be implemented with the Cocoa Touch API.

다음으로, 메디어 서비스 레이어(530)는, 어플리케이션 레이어(510)에 설치된 원격 제어용 에이전트(140)의 구동에 필요한 이미지 처리를 수행하는 기능을 담당한다.Next, the media service layer 530 performs a function of performing image processing necessary for driving the remote control agent 140 installed in the application layer 510.

다음으로, 코어 서비스 레이어(540)는 원격 제어용 에이전트(140)의 구동을 위한 Foundation 라이브러리를 제공하거나 시스템 관리를 수행한다.Next, the core service layer 540 provides a foundation library for driving the remote control agent 140 or performs system management.

다음으로, 코어 OS 레이어(550)는 원격 제어용 에이전트(140)를 구동시키는 운영체계(Operating System: OS)가 설치되는 레이어로, 어플리케이션 레이어(510)에 설치된 원격 제어용 에이전트(140)를 구동하고, 원격 제어용 에이전트(140)의 네트워킹을 위한 하드웨어 자원 관리 및 원격 제어용 에이전트(140)의 데이터 입출력을 담당한다.Next, the core OS layer 550 is a layer in which an operating system (OS) for driving the remote control agent 140 is installed. The core OS layer 550 drives the remote control agent 140 installed in the application layer 510, And is responsible for hardware resource management for networking of the remote control agent 140 and data input / output of the agent 140 for remote control.

상술한 바와 같은, 원격 단말기(140)는 스마트폰 또는 태블릿 PC로 구현될 수도 있고, 노트북과 같은 모바일 PC로 구현될 수도 있다. 원격 단말기(140)가 스마트폰 또는 태블릿 PC로 구현되는 경우, 원격 제어용 에이전트(140)는 어플리케이션 형태로 탑재 가능하다.As described above, the remote terminal 140 may be implemented as a smart phone, a tablet PC, or a mobile PC such as a notebook computer. When the remote terminal 140 is implemented as a smartphone or a tablet PC, the remote control agent 140 can be loaded in an application form.

하지만, 원격 단말기(140)가 노트북으로 구현되면 원격 제어용 에이전트(140)가 어플리케이션 형태로 탑재될 수 없기 때문에, 이러한 경우 원격 단말기(140)는 웹서버(112)에 의해 제공되는 웹화면을 통해 조명제어명령을 전달하거나 조명장치 상태정보를 수신할 수 있다.
However, when the remote terminal 140 is implemented as a notebook, the remote control agent 140 can not be mounted in the form of an application. In this case, Control commands, or receive lighting device status information.

이하, 도 6 및 도 7을 참조하여 본 발명에 따른 조명장치의 원격 제어 방법에 대해 보다 구체적으로 설명한다.Hereinafter, a remote control method of the lighting apparatus according to the present invention will be described in more detail with reference to FIGS. 6 and 7. FIG.

도 6은 본 발명의 일 실시예에 따른 조명장치의 원격 제어 방법을 보여주는 플로우차트로써, 도 6에 도시된 조명장치의 원격 제어 방법은, 조명제어명령을 원격 단말기로부터 조명 제어기로 전달하는 과정을 나타낸다.6 is a flowchart showing a remote control method of a lighting apparatus according to an embodiment of the present invention. The remote control method of the lighting apparatus shown in FIG. 6 includes the steps of transmitting a lighting control command from a remote terminal to a lighting controller .

먼저, 원격 단말기가 구조체 형태의 조명제어명령을 생성한다(S600). 구조체형태의 조명제어명령은, 원격 제어대상이 되는 타겟 조명장치의 식별번호, 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별번호, 조명장치가 설치되어 있는 공간의 식별번호, 상기 공간 중 일부 영역의 식별번호, 및 타겟 조명장치에 대한 제어정보 중 적어도 하나를 포함하고, 조명제어명령의 유효시간 및 조명제어명령을 전달할 원격 단말기의 식별번호를 더 포함할 수 있다.First, the remote terminal generates a lighting control command in the form of a structure (S600). The illumination control command in the form of a structure includes an identification number of the target illumination device to be remotely controlled, an identification number of the target illumination controller managing the target illumination device, an identification number of the space in which the illumination device is installed, An identification number, and control information for the target illuminating device, and may further include an effective time of the illumination control command and an identification number of the remote terminal to transmit the illumination control command.

일 실시예에 있어서, 구조체 형태의 조명제어명령을 생성하기 위해 원격 단말기에 탑재된 원격 제어용 에이전트는, 조명장치가 배치된 영역을 각 조명 제어기가 관장하는 영역 별로 구획하여 형성한 조명맵을 출력하고, 조명맵 상에서 특정영역이 선택되면, 선택된 특정 영역에 포함되어 있는 조명장치들의 배치상태를 나타내는 서브맵을 출력하며, 서브맵 상에서 조명장치가 선택되면, 선택된 조명장치의 제어정보를 입력할 수 있는 UI(User Interface)화면을 출력한다.In one embodiment, the remote control agent mounted on the remote terminal for generating the illumination control command in the form of a structure outputs an illumination map formed by dividing the region in which the illumination device is disposed by each region supervised by each illumination controller A submap indicating a layout state of the lighting devices included in the selected specific area when the specific area is selected on the illumination map, and a UI (for example, User Interface screen.

원격 제어용 에이전트는 조명맵 상에서 특정영역이 선택되면, 선택된 특정영역에 상응하는 조명 제어기의 식별번호를 타겟 조명 제어기의 식별번호로 획득하고, 서브맵 상에서 조명장치가 선택되면, 선택된 조명장치의 식별번호를 타겟 조명장치의 식별번호를 획득하게 되며, UI화면을 통해 입력되는 정보를 타겟 조명장치의 제어정보로 획득하게 된다.When a specific area is selected on the illumination map, the remote control agent acquires the identification number of the lighting controller corresponding to the selected specific area with the identification number of the target lighting controller, and when the lighting device is selected on the submap, The identification number of the target illuminating device is obtained, and the information input through the UI screen is obtained as the control information of the target illuminating device.

변형된 실시예에 있어서는 도 4b에 도시된 바와 같이 조명장치가 설치되어 있는 공간이나 영역들에 대한 정보를 직접 제공하고, 사용자로 하여금 사용자가 원하는 공간이나 영역들을 직접 선택하게 함으로써 해당 공간이나 영역들의 식별번호, 해당 영역을 관장하는 조명 제어기의 식별번호, 또는 해당 공간이나 영역들에 설치되어 있는 조명장치의 식별번호를 획득할 수도 있다. In the modified embodiment, as shown in FIG. 4B, information about a space or areas in which the lighting apparatus is installed is directly provided, and the user can directly select a space or areas desired by the user, The identification number of the lighting controller managing the area, or the identification number of the lighting device installed in the corresponding space or areas.

이때, 조명제어정보의 유효시간 또한 UI화면을 통해 입력되는 정보를 이용하여 획득할 수 있고, 원격 단말기의 식별번호는 원격 단말기로부터 직접 제공받을 수 있다.At this time, the validity time of the illumination control information may also be acquired using the information input through the UI screen, and the identification number of the remote terminal may be provided directly from the remote terminal.

다음으로, 원격 단말기는 구조체 형태의 조명제어명령을 웹서버로 전송하고(S610), 웹서버는 구조체 형태의 조명제어명령을 쿼리(Query)문으로 변환하여 데이터베이스에 기록한다(S620).Next, the remote terminal transmits a lighting control command in the form of a structure to the web server (S610), and the web server converts the lighting control command in the form of a structure into a query statement and records it in the database (S620).

일 실시예에 있어서, 웹서버는 S610에서 변환된 수신된 조명제어명령(이하, '제1 조명제어명령'이라 함)을 데이터베이스에 기록함에 있어서, 데이터베이스에 기 기록된 조명제어명령(이하, '제2 조명제어명령'이라 함)이 존재하는지 여부를 확인하고 존재하지 않으면 제1 조명제어명령을 데이터베이스에 기록할 수 있다.In one embodiment, in recording the received illumination control command (hereinafter, referred to as' first illumination control command ') converted in step S610, the web server transmits a lighting control command (hereinafter referred to as' Quot; second illumination control command ") is present and may write the first illumination control command to the database if it is not present.

한편, 데이터베이스에 기 기록된 조명제어명령이 존재하는 경우, 먼저 제2 조명제어명령의 유효시간을 이용하여 제2 조명제어명령의 유효여부를 확인하고, 확인결과, 제2 조명제어명령이 유효하지 않으면 제2 조명제어명령을 제1 조명제어명령으로 갱신함으로써 제1 조명제어명령을 데이터베이스에 기록한다.On the other hand, if there is a lighting control command recorded in the database, the validity of the second lighting control command is first confirmed using the effective time of the second lighting control command, and if it is determined that the second lighting control command is valid The first illumination control command is written to the database by updating the second illumination control command with the first illumination control command.

제2 조명제어명령이 유효하면, 제2 조명제어명령의 우선순위와 제1 조명제어명령의 우선순위를 추가적으로 판단한다. 판단결과, 제1 조명제어명령의 우선순위가 높은 경우 제2 조명제어명령을 제1 조명제어명령으로 갱신함으로써 제1 조명제어명령을 데이터베이스에 기록한다.If the second illumination control command is valid, the priority of the second illumination control command and the priority of the first illumination control command are additionally determined. As a result of the determination, if the priority of the first illumination control command is high, the first illumination control command is written to the database by updating the second illumination control command with the first illumination control command.

한편, 제2 조명제어명령의 우선순위가 높으면 제1 조명제어명령을 폐기하고, 제1 조명제어명령의 폐기를 나타내는 알림 메시지를 작성하여 상기 원격 단말기로 전송한다.On the other hand, if the priority of the second lighting control command is high, the first lighting control command is discarded, and a notification message indicating the discarding of the first lighting control command is generated and transmitted to the remote terminal.

상술한 실시예에 있어서는 제2 조명제어명령이 유효한 경우 제1 조명제어명령과 제2 조명제어명령의 우선순위에 따라 제1 조명제어명령의 기록여부를 결정하는 것으로 설명하였지만, 변형된 실시예에 있어서는 제2 조명제어명령이 유효한 경우 제1 및 제2 조명제어명령의 우선순위에 관계없이 제1 조명제어명령을 폐기하고 제1 조명제어명령의 폐기를 나타내는 알림 메시지를 작성하여 상기 원격 단말기로 전송할 수도 있을 것이다.In the above-described embodiment, when the second illumination control command is valid, the first illumination control command and the second illumination control command are used to determine whether to record the first illumination control command. However, If the second illumination control command is valid, the first illumination control command is discarded irrespective of the priority of the first and second illumination control commands, and a notification message indicating destruction of the first illumination control command is generated and transmitted to the remote terminal It might be.

또 다른 실시예에 있어서, 제2 조명제어명령이 유효한지 여부와 제1 및 제2 조명제어명령의 우선순위에 관계없이 새롭게 수신된 제1 조명제어명령을 데이터베이스에 기록할 수도 있다.In another embodiment, the newly received first illumination control command may be written to the database regardless of whether the second illumination control command is valid and the priority of the first and second illumination control commands.

다음으로, 제어부는 데이터베이스에 기록된 조명제어명령에 조명 제어기를 동기화시키기 위해, 데이터베이스에 쿼리문 형태의 조명제어명령이 기록되는지 여부를 실시간으로 감시하여, 쿼리문 형태의 조명제어명령이 데이터베이스에 기록되면 데이터베이스에서 상기 쿼리문 형태의 조명제어명령을 선택한다(S630).Next, in order to synchronize the illumination controller with the illumination control command recorded in the database, the control unit monitors in real time whether or not the illumination control command in the form of a query statement is recorded in the database, The illumination control command of the query type is selected from the database (S630).

이후, 제어부는, 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터 형태로 변환하고(S640), 변환된 소켓 데이터 형태의 조명제어명령을 조명 제어기로 전송한다(S650). 이러한 S630 내지 S650 과정을 통해 조명 제어기가 데이터베이스에 기록된 조명제어명령에 동기화된다.Thereafter, the control unit converts the illumination control command of the selected query type into the socket data type (S640), and transmits the converted lighting control command to the lighting controller (S650). Through the steps S630 to S650, the lighting controller is synchronized with the lighting control command written in the database.

이후, 조명 제어기는 수신된 소켓 데이터 형태의 조명제어명령 따라 조명장치를 제어한다(S660).Thereafter, the lighting controller controls the lighting device according to the lighting control command in the form of the received socket data (S660).

도 7은 본 발명의 다른 실시예에 따른 조명장치의 원격 제어 방법을 보여주는 플로우차트로써, 도 7에 도시된 조명장치의 원격 제어 방법은, 조명장치 상태정보를 원격 단말기로 전달하는 과정을 나타낸다.FIG. 7 is a flowchart showing a remote control method of a lighting apparatus according to another embodiment of the present invention. The remote control method of the lighting apparatus shown in FIG. 7 shows a process of transmitting lighting apparatus status information to a remote terminal.

먼저, 조명 제어기가 각 조명장치들을 모니터링하여 조명장치 상태정보를 생성한다(S700). 일 실시예에 있어서, 조명장치 상태정보는 조명장치의 전력사용량 정보, 조명장치의 온-오프여부, 조명장치의 디밍 레벨, 조명장치의 색온도, 및 조명장치의 장애여부 중 적어도 하나를 포함한다.First, the lighting controller monitors each lighting device to generate lighting device status information (S700). In one embodiment, the illuminator status information includes at least one of power usage information of the illuminator, whether the illuminator is on-off, the dimming level of the illuminator, the color temperature of the illuminator, and the obstacle of the illuminator.

다음으로, 조명 제어기가 조명장치 상태정보를 소켓 데이터 형태로 제어부로 전송하면(S710), 제어부는 소켓 데이터 형태의 조명장치 상태정보를 쿼리문 형태로 변환하고(S720), 쿼리문 형태의 조명장치 상태정보를 데이터베이스에 기록한다(S730).Next, when the lighting controller transmits the lighting device status information to the control unit in the form of socket data (S710), the control unit converts the lighting device status information of the socket data type into a query form (S720) The state information is recorded in the database (S730).

웹서버는 데이터베이스에 쿼리문 형태의 조명장치 상태정보가 기록되는지 여부를 실시간으로 감시하여, 쿼리문 형태의 조명장치 상태정보가 데이터베이스에 기록되면 데이터베이스로부터 쿼리문 형태의 조명장치 상태정보를 선택한다(S740).The web server monitors in real time whether illuminator status information in the form of a query statement is recorded in the database, and selects the illuminator status information in the form of a query statement from the database when the illuminator status information in the form of a query statement is recorded in the database S740).

이후, 웹서버는 쿼리문 형태의 조명장치 상태정보를 구조체 형태의 조명장치 상태정보로 변환하고(S750), 변환된 구조체 형태의 조명장치 상태정보를 원격 단말기로 전송한다(S760). 이후, 원격 단말기는 구조체 형태의 조명장치 상태정보를 미리 정해진 UI화면을 통해 출력한다(S770).Thereafter, the web server converts the illuminator status information in the form of a query statement into illuminator status information in the form of a structure (S750), and transmits the illuminator status information in the form of the converted structure to the remote terminal (S760). Thereafter, the remote terminal outputs lighting device status information in the form of a structure through a predetermined UI screen (S770).

본 발명이 속하는 기술분야의 당업자는 상술한 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다.It will be understood by those skilled in the art that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.

그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

100: 조명장치 원격 제어 시스템 110: 조명 제어 서버
112: 웹서버 114: 데이터베이스
116: 제어부 120: 조명 제어기
125: 조명장치 130: 원격 단말기
140: 원격 제어용 에이전트 112a, 210: 데이터 송수신부
220: 유효시간 판단부 230: 우선순위 판단부
240: 메시지 생성부 112b, 250: 데이터 변환부
100: lighting device remote control system 110: lighting control server
112: Web server 114: Database
116: control unit 120: lighting controller
125: illumination device 130: remote terminal
140: remote control agent 112a, 210: data transmission /
220: Valid time determining unit 230: Priority determining unit
240: message generation unit 112b, 250: data conversion unit

Claims (15)

하나 이상의 조명장치에 직접 연결되어 상기 조명장치를 제어하는 조명 제어기; 및
상기 조명장치를 원격 제어하는 원격 단말기와 상기 조명 제어기간의 접속을 매개하는 조명 제어 서버를 포함하고,
상기 조명 제어 서버는,
상기 원격 단말기와 인터페이싱하여 상기 원격 단말기로부터 구조체 형태의 조명제어명령을 수신하고, 상기 구조체 형태의 조명제어명령을 쿼리(Query)문 형태의 조명제어명령으로 변환하는 웹서버;
상기 웹서버로부터 전달되는 쿼리문 형태의 조명제어명령을 제1 테이블에 기록하는 데이터베이스; 및
상기 데이터베이스의 제1 테이블에 쿼리문 형태의 조명제어명령이 삽입되거나 갱신되면 상기 제1 테이블에서 상기 쿼리문 형태의 조명제어명령을 선택하고, 상기 제1 테이블에서 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 상기 조명 제어기로 전달하는 제어부를 포함하고,
상기 조명제어서버는, 쓰레드 풀(Thread Pool)방식을 이용하여 상기 조명 제어기와 상기 데이터베이스를 동기화시키는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
A lighting controller directly connected to at least one lighting device to control the lighting device; And
And a lighting control server that mediates connection of the lighting control period with a remote terminal that remotely controls the lighting device,
The lighting control server includes:
A web server for interfacing with the remote terminal to receive a lighting control command of a structure type from the remote terminal and converting the lighting control command of the structure type into a lighting control command of a query type;
A database for writing in a first table the illumination control command in the form of a query sent from the web server; And
When the illumination control command of the query type is inserted or updated in the first table of the database, the illumination control command of the query type is selected from the first table, and the illumination control command of the query type, And transmitting the converted socket data to the lighting controller,
Wherein the illumination control server synchronizes the illumination controller with the database using a thread pool method.
삭제delete 삭제delete 제1항에 있어서,
상기 조명 제어 서버는,
상기 조명 제어기와 연동하여 상기 조명장치의 제어, 모니터링, 및 장애관리 중 적어도 하나를 수행하는 어플리케이션이 설치되는 어플리케이션 레이어;
상기 어플리케이션의 코딩을 위한 랭귀지를 제공하기 위한 모듈이 설치되는 스크립트 레이어;
상기 어플리케이션을 구동하기 위한 사용자 라이브러리 및 시스템 라이브러리를 제공하는 라이브러리 레이어;
상기 데이터베이스가 설치되는 데이터베이스 레이어;
상기 웹서버가 설치되는 웹어플리케이션 서버 레이러; 및
상기 어플리케이션 레이어에 설치된 상기 어플리케이션을 구동하고, 상기 조명 제어 서버의 네트워킹을 위한 하드웨어 자원을 관리하는 운영체제 레이어로 구성되는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
The method according to claim 1,
The lighting control server includes:
An application layer in which an application for performing at least one of control, monitoring, and fault management of the lighting apparatus is installed in cooperation with the lighting controller;
A script layer in which a module for providing a language for coding the application is installed;
A library layer for providing a user library and a system library for driving the application;
A database layer in which the database is installed;
A web application server driver in which the web server is installed; And
And an operating system layer that drives the application installed in the application layer and manages hardware resources for networking the lighting control server.
제1항에 있어서,
상기 조명제어명령은 상기 조명제어명령의 유효시간에 대한 정보를 포함하고,
상기 데이터베이스에 기록되어 있는 조명제어명령의 유효시간 내에 상기 원격단말기로부터 새로운 조명제어명령이 수신되면, 상기 웹서버는 상기 새로운 조명제어명령을 폐기하는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
The method according to claim 1,
Wherein the illumination control command includes information on an effective time of the illumination control command,
Wherein when a new illumination control command is received from the remote terminal within the valid time of the illumination control command recorded in the database, the web server discards the new illumination control command.
제1항에 있어서,
상기 원격 단말기에는 상기 조명장치의 원격 제어용 에이전트가 탑재되고,
상기 원격 제어용 에이전트는, 원격 제어대상이 되는 타겟 조명장치의 식별자, 상기 타겟 조명장치를 관장하는 타겟 조명 제어기의 식별자, 제어대상이 되는 공간의 식별자, 및 상기 타겟 조명장치의 제어정보 중 적어도 하나를 조합하여 상기 구조체 형태의 조명제어명령을 생성하는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
The method according to claim 1,
Wherein the remote terminal is equipped with an agent for remote control of the lighting device,
Wherein the remote control agent includes at least one of an identifier of a target lighting apparatus to be remotely controlled, an identifier of a target lighting controller managing the target lighting apparatus, an identifier of a space to be controlled, and control information of the target lighting apparatus And generates a lighting control command in the form of the structure in combination with the lighting control command.
삭제delete 삭제delete 하나 이상의 조명장치에 연결되어 상기 조명장치를 제어하는 조명 제어기; 및
원격 단말기로부터 수신되는 구조체 형태의 조명제어명령을 쿼리문 형태로 데이터베이스에 기록하고, 쓰레드 풀(Thread Pool)방식을 이용하여 상기 데이터베이스와 상기 조명 제어기를 동기화시켜 상기 조명 제어기가 상기 조명제어명령에 따라 상기 조명장치를 제어하게 하는 조명제어서버를 포함하는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
A lighting controller coupled to the at least one lighting device to control the lighting device; And
A light control command in the form of a structure received from a remote terminal is written into a database in the form of a query, and the database is synchronized with the light controller using a thread pool method so that the light controller And a lighting control server for controlling the lighting device.
삭제delete 제9항에 있어서,
상기 조명장치의 원격 제어용 에이전트가 탑재된 원격 단말기를 더 포함하고,
상기 원격 제어용 에이전트는, 제어대상이 되는 타겟 조명장치의 식별자, 제어대상이 되는 타겟 조명 제어기의 식별자, 및 제어대상이 되는 공간의 식별자 중 적어도 하나와, 상기 조명장치의 제어정보를 조합하여 상기 구조체 형태의 조명제어명령을 생성하는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
10. The method of claim 9,
Further comprising a remote terminal equipped with an agent for remote control of the lighting device,
The remote control agent combines at least one of an identifier of a target lighting apparatus to be controlled, an identifier of a target lighting controller to be controlled, and an identifier of a space to be controlled, and control information of the lighting apparatus, Type illumination control command of the lighting device.
제11항에 있어서,
상기 조명장치의 제어정보는, 상기 조명장치의 색 온도, 온-오프, 및 디밍 레벨 중 적어도 하나를 포함하는 것을 특징으로 하는 조명장치의 원격 제어 시스템.
12. The method of claim 11,
Wherein the control information of the illuminating device includes at least one of a color temperature, an on-off, and a dimming level of the illuminating device.
원격 단말기로부터 구조체 형태의 조명제어명령을 수신하는 단계;
상기 구조체 형태의 조명제어명령을 쿼리(Query)문 형태의 조명제어명령으로 변환하여 데이터베이스에 기록하는 단계;
상기 데이터베이스에 상기 쿼리문 형태의 조명제어명령이 기록되는지 여부를 감시하고, 기록되면 상기 데이터베이스에서 상기 쿼리문 형태의 조명제어명령을 선택하는 단계; 및
상기 선택된 쿼리문 형태의 조명제어명령을 소켓 데이터로 변환하여 조명 제어기로 전달하는 단계를 포함하고,
상기 데이터베이스는 상기 조명제어기와 쓰레드 풀(Thread Pool)방식을 이용하여 동기화되는 것을 특징으로 하는 조명장치의 원격 제어 방법.
Receiving a lighting control command in the form of a structure from a remote terminal;
Converting the lighting control command of the structure type into a lighting control command of a query type and recording the converted lighting control command into a database;
Monitoring whether or not the illumination control command of the query type is recorded in the database, and selecting the illumination control command of the query type in the database if the illumination control command is recorded; And
Converting the illumination control command of the selected query type into socket data and transmitting the socket control data to the lighting controller,
Wherein the database is synchronized with the lighting controller using a thread pool method.
제13항에 있어서,
상기 기록하는 단계는,
상기 데이터베이스에 기 기록된 조명제어명령의 유효시간을 이용하여 상기 기 기록된 조명제어명령의 유효여부를 확인하는 단계;
상기 기 기록된 조명제어명령이 유효하면 상기 기 기록된 조명제어명령의 우선순위와 상기 수신된 조명제어명령의 우선순위를 판단하는 단계; 및
상기 수신된 조명제어명령의 우선순위가 높으면 상기 기 기록된 조명제어명령을 상기 수신된 조명제어명령으로 갱신하는 단계를 포함하는 것을 특징으로 하는 조명장치의 원격 제어 방법.
14. The method of claim 13,
Wherein the recording step comprises:
Confirming the validity of the pre-recorded lighting control command using the effective time of the lighting control command recorded in the database;
Determining a priority of the previously stored lighting control command and a priority of the received lighting control command if the pre-recorded lighting control command is valid; And
And updating the stored lighting control command with the received illumination control command if the received illumination control command has a higher priority.
삭제delete
KR1020120131616A 2012-11-20 2012-11-20 System and Method for Remote Control of Lighting Device KR101453614B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120131616A KR101453614B1 (en) 2012-11-20 2012-11-20 System and Method for Remote Control of Lighting Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120131616A KR101453614B1 (en) 2012-11-20 2012-11-20 System and Method for Remote Control of Lighting Device

Publications (2)

Publication Number Publication Date
KR20140064359A KR20140064359A (en) 2014-05-28
KR101453614B1 true KR101453614B1 (en) 2014-10-22

Family

ID=50891815

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120131616A KR101453614B1 (en) 2012-11-20 2012-11-20 System and Method for Remote Control of Lighting Device

Country Status (1)

Country Link
KR (1) KR101453614B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942746A (en) * 2017-11-22 2018-04-20 吉利汽车研究院(宁波)有限公司 Vehicle remote control apparatus and method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101663370B1 (en) * 2014-08-27 2016-10-06 엘지전자 주식회사 Lighting control application
KR101671928B1 (en) * 2014-09-30 2016-11-04 한국생산기술연구원 A security window with lighting and systems therewith and a blind for security with lighting
KR101648420B1 (en) * 2015-07-23 2016-08-17 (주)알에프씨 Street light control system using low output RF communication
KR101961898B1 (en) * 2018-04-24 2019-03-25 주식회사 에이치엘 A wireless control device for DMX-512 lightings and a method thereof
KR102019287B1 (en) * 2018-10-10 2019-11-04 글로벌스마트솔루션 주식회사 Individual and group control apparatus of led light
CN109766109B (en) * 2018-12-17 2022-04-15 浙江创意声光电科技有限公司 Client updating method, device and system of lighting controller
KR102170822B1 (en) * 2019-02-28 2020-10-28 주식회사 에이치엘 An internet of things based integrated control device for DMX-512 lightings and a method thereof
KR102091639B1 (en) * 2019-12-18 2020-03-20 (주)탐진씨앤에스 Automatic building control system and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030019936A (en) * 2003-02-12 2003-03-07 윤여민 System and method of management and remote control of a street lamp
KR20110055807A (en) * 2009-11-20 2011-05-26 삼성에스디에스 주식회사 Control system for lighting based on wireless communication and method using the same
KR20110073157A (en) * 2009-12-23 2011-06-29 중앙대학교 산학협력단 Apparatus for displaying information using lighting equipment
KR20120110826A (en) * 2011-03-30 2012-10-10 주식회사엘이디파워 Lighting control system and method using a tablet mobile communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030019936A (en) * 2003-02-12 2003-03-07 윤여민 System and method of management and remote control of a street lamp
KR20110055807A (en) * 2009-11-20 2011-05-26 삼성에스디에스 주식회사 Control system for lighting based on wireless communication and method using the same
KR20110073157A (en) * 2009-12-23 2011-06-29 중앙대학교 산학협력단 Apparatus for displaying information using lighting equipment
KR20120110826A (en) * 2011-03-30 2012-10-10 주식회사엘이디파워 Lighting control system and method using a tablet mobile communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942746A (en) * 2017-11-22 2018-04-20 吉利汽车研究院(宁波)有限公司 Vehicle remote control apparatus and method

Also Published As

Publication number Publication date
KR20140064359A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
KR101453614B1 (en) System and Method for Remote Control of Lighting Device
US10075241B2 (en) Wireless network system, wireless device, and network registration method of the wireless device
CN109219987B (en) Connected lighting system
CN111586925B (en) Wireless lighting control system
EP3008974B1 (en) System comprising a controlling device and a controlled device
CN104360599A (en) Smart home control method, equipment and system based on LED lighting devices
CN101444145A (en) Lighting system with linked groups
KR20140124924A (en) Apparatus for controlling LED lighting and LED lighting control system using thereof
CN105765899A (en) Method and apparatus for controlling home devices on group basis in a home network system
CN106465512A (en) Configuring lighting electronics using database and mobile device
TWI622322B (en) Electric energy supply device with data bridge function and wireless lighting control system including the same
KR101299295B1 (en) Apparatus and Method for Controlling Lighting Device
WO2018155025A1 (en) Control device, wireless communication terminal, and position estimation system
KR20140081282A (en) System and method for lamp managment
CN204287781U (en) LED light device, wired home Control Server, intelligent household terminal and smart home control system
JP2014179783A (en) Electric apparatus and communication device
US10725140B2 (en) Operating of a transmission device of a lighting device comprising an illumination device
KR20120110715A (en) Apparatus and method for controlling lighting device
KR20020040959A (en) Home automation method based on jini
WO2017168855A1 (en) Control content management system, power control system, control content management method, and program
CN109089362B (en) Method and apparatus for controlling lighting
US20220385754A1 (en) Fast Remote Stage Applications
JP2020107560A (en) Wireless communication device, control device, wireless communication terminal, wireless communication system, wireless communication method, and program
EP4302851A1 (en) Method and system for integrated controlling to a plurality of lighting devices and the lighting devices
JP2024006978A (en) Lighting device, method for controlling lighting device, and director terminal

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee