KR102236158B1 - Terminal apparatus for executing control program - Google Patents

Terminal apparatus for executing control program Download PDF

Info

Publication number
KR102236158B1
KR102236158B1 KR1020170064926A KR20170064926A KR102236158B1 KR 102236158 B1 KR102236158 B1 KR 102236158B1 KR 1020170064926 A KR1020170064926 A KR 1020170064926A KR 20170064926 A KR20170064926 A KR 20170064926A KR 102236158 B1 KR102236158 B1 KR 102236158B1
Authority
KR
South Korea
Prior art keywords
control program
target device
control target
program
control
Prior art date
Application number
KR1020170064926A
Other languages
Korean (ko)
Other versions
KR20180129227A (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 KR1020170064926A priority Critical patent/KR102236158B1/en
Priority to US16/614,568 priority patent/US10915611B2/en
Priority to CN201780091189.1A priority patent/CN110678819B/en
Priority to JP2019562608A priority patent/JP7058671B2/en
Priority to EP17910636.4A priority patent/EP3633475A4/en
Priority to PCT/KR2017/008627 priority patent/WO2018216854A1/en
Publication of KR20180129227A publication Critical patent/KR20180129227A/en
Application granted granted Critical
Publication of KR102236158B1 publication Critical patent/KR102236158B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0267Fault communication, e.g. human machine interface [HMI]
    • G05B23/0272Presentation of monitored results, e.g. selection of status reports to be displayed; Filtering information to the user
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0224Process history based detection method, e.g. whereby history implies the availability of large amounts of data
    • G05B23/0227Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions
    • G05B23/0235Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions based on a comparison with predetermined threshold or range, e.g. "classical methods", carried out during normal operation; threshold adaptation or choice; when or how to compare with the threshold
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0264Control of logging system, e.g. decision on which data to store; time-stamping measurements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0267Fault communication, e.g. human machine interface [HMI]
    • G05B23/027Alarm generation, e.g. communication protocol; Forms of alarm
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

본 발명은 제어 프로그램을 실행하는 단말 장치에 관한 것이다. 본 발명의 일 실시예에 따른 단말 장치는 제어 대상 장치를 관리하는 하위 제어 프로그램 및 상기 하위 제어 프로그램을 실행하는 상위 제어 프로그램 중 적어도 하나가 설치된 적어도 하나의 메모리, 상기 메모리와 통신하며 상기 상위 제어 프로그램 또는 상기 하위 제어 프로그램을 실행하는 적어도 하나의 프로세서, 및 외부 장치와의 통신을 수행하는 통신부를 포함하고, 상기 하위 제어 프로그램은, 상기 제어 대상 장치의 상태 값을 획득하는 단계와, 상기 제어 대상 장치의 상태 값이 미리 정해진 정상 동작 범위에 포함되는지 여부를 판단하는 단계와, 상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위를 벗어나는 경우, 상기 제어 대상 장치에 이상이 발생했음을 상기 상위 제어 프로그램에 보고하는 단계를 실행한다.The present invention relates to a terminal device that executes a control program. The terminal device according to an embodiment of the present invention includes at least one memory in which at least one of a lower control program for managing a control target device and an upper control program for executing the lower control program is installed, and communicates with the memory and the upper control program Or at least one processor executing the lower control program, and a communication unit performing communication with an external device, wherein the lower control program comprises: obtaining a state value of the control target device, and the control target device Determining whether the state value of is included in a predetermined normal operation range, and when the state value of the control target device is out of the normal operation range, reporting that an abnormality has occurred in the control target device to the upper control program To execute the steps.

Description

제어 프로그램을 실행하는 단말 장치{Terminal apparatus for executing control program}Terminal apparatus for executing a control program TECHNICAL FIELD

본 발명은 제어 프로그램을 실행하는 단말 장치에 관한 것이다.The present invention relates to a terminal device that executes a control program.

산업 현장에 설치되는 전력 기기나 설비, 즉 제어 대상 장치를 제어하기 위해서, 각각의 장치에 적합한 관리 기능을 수행하는 제어 프로그램이 존재한다.In order to control power devices or facilities installed in industrial sites, that is, devices to be controlled, there is a control program that performs a management function suitable for each device.

도 1은 종래의 개별적 프로그램 제어 방법을 설명하기 위한 도면이다.1 is a diagram for explaining a conventional individual program control method.

도 1을 참조하면, 종래에는 개별적 프로그램 제어 방법을 이용하여 프로그램을 관리한다. 개별적 프로그램 제어 방법은 제어 대상 장치 별로 해당 제어 대상 장치에 대한 제어 기능을 각각의 프로그램으로 구현함으로써, 각각의 프로그램을 통해 해당 제어 대상 장치를 관리 하는 방법이다. Referring to FIG. 1, in the related art, a program is managed using an individual program control method. The individual program control method is a method of managing a corresponding control target device through each program by implementing a control function for a corresponding control target device for each control target device with each program.

예를 들어, 제어 대상 장치(10_1)에 대한 프로그램(20_1)은 제어 대상 장치(10_1)에 대한 관리(즉, 모니터링 또는 제어) 기능을, 제어 대상 장치(10_2)에 대한 프로그램(20_2)은 제어 대상 장치(10_2)에 대한 관리 기능을, 제어 대상 장치(10_3)에 대한 프로그램(20_3)은 제어 대상 장치(10_3)에 대한 관리 기능을 각각 수행한다.For example, the program 20_1 for the control target device 10_1 provides a management (ie, monitoring or control) function for the control target device 10_1, and the program 20_2 for the control target device 10_2 controls The management function for the target device 10_2 and the program 20_3 for the control target device 10_3 respectively perform a management function for the control target device 10_3.

그런데, 도 1과 같은 개별적 프로그램 제어 방법을 사용할 경우, 각각의 제어 대상 장치를 관리하기 위하여, 사용자는 각각의 제어 대상 장치에 대응되는 제어 프로그램을 스스로 검색하여 단말 장치(예컨대, 컴퓨터 또는 스마트폰)에 설치하여야 하는 불편함이 있다. 이와 같이 제어 프로그램을 검색하는 과정에서, 사용자가 제어 대상 장치의 종류, 모델명 등을 확인하기 어렵거나 어떤 제어 프로그램이 적합한 프로그램인지를 판단하기가 어려운 문제가 있다.However, in the case of using the individual program control method as shown in FIG. 1, in order to manage each control target device, a user searches for a control program corresponding to each control target device by himself and a terminal device (eg, computer or smartphone). There is an inconvenience that must be installed in. In the process of searching for a control program as described above, there is a problem in that it is difficult for a user to check the type and model name of a control target device or to determine which control program is a suitable program.

또한, 제어 대상 장치의 수가 증가할수록 설치되어야 하는 제어 프로그램의 수도 증가하게 된다. 이와 같이 제어 프로그램의 수가 증가하게 되면, 특정 제어 대상 장치에 대한 제어 프로그램의 설치 여부를 확인하기가 어려워 이미 설치된 제어 프로그램의 설치를 다시 시도하는 등의 문제가 발생한다.Also, as the number of devices to be controlled increases, the number of control programs to be installed increases. When the number of control programs increases as described above, it is difficult to check whether the control program is installed for a specific control target device, and thus, a problem such as retrying the installation of the previously installed control program occurs.

사용자가 관리 하고자 하는 제어 대상 장치의 개수가 증가할수록 제어 대상 장치의 개수에 비례한 다수의 프로그램을 단말 장치(30)에 다운로드 하여 설치해야 하며, 이러한 경우 단말 장치(30)에 설치되는 프로그램의 개수가 증가하게 되어 사용자 단말 장치(30)에서 디스플레이 하는 프로그램의 아이콘의 개수가 증가하게 된다. 이때, 단말 장치(30) 상의 아이콘만을 보고, 특정 제어 대상 장치를 관리하는 프로그램에 대한 아이콘을 쉽게 확인하기 어렵다는 문제가 있다.As the number of control target devices that the user wants to manage increases, a number of programs proportional to the number of control target devices must be downloaded to the terminal device 30 and installed. In this case, the number of programs installed on the terminal device 30 As is increased, the number of icons of programs displayed by the user terminal device 30 increases. In this case, there is a problem in that it is difficult to easily check the icon for a program that manages a specific control target device by looking at only the icon on the terminal device 30.

한편, 단말 장치에 설치된 제어 프로그램의 개수가 증가하게 되면, 사용자가 원하는 제어 프로그램을 실행하기 위한 실행 버튼 또는 아이콘의 위치나 설치된 각각의 제어 프로그램이 어떤 제어 대상 장치의 제어 프로그램인지를 확인하기가 어렵다는 문제도 있다.On the other hand, when the number of control programs installed in the terminal device increases, it is difficult to check the location of the execution button or icon for executing the control program desired by the user, or the control program of which control target device is each installed control program. There is also a problem.

도 2는 종래 하위 제어 프로그램이 설치되어 있는 단말 장치(30)에서 디스플레이 하는 아이콘을 나타낸다.2 shows an icon displayed by a terminal device 30 in which a lower control program is installed in the related art.

단말 장치(30)에는 제어 대상 장치(10_1)를 관리하는 프로그램(20_1)이 설치되어 있으나, 사용자는 복수의 아이콘 중에서 제어 대상 장치(10_1)를 관리하는 프로그램(20_1)을 나타내는 아이콘을 쉽게 확인하기 어렵다는 문제가 있다.The terminal device 30 has a program 20_1 that manages the control target device 10_1, but the user can easily check the icon representing the program 20_1 that manages the control target device 10_1 among a plurality of icons. There is a problem that it is difficult.

또한, 프로그램(20_1)에 대한 아이콘을 찾지 못하여, 중복적으로 프로그램(20_1)을 재설치 하게 되는 경우도 있다. 이와 같이, 도 2의 사용자는 제어 대상 장치(10_1, 10_2, 10_3) 각각을 관리하는 프로그램(20_1, 20_2, 20_3)을 나타내는 아이콘이 무엇인지 미리 파악하고 있어야 한다. 즉, 사용자는 해당 프로그램을 지시하는 아이콘이 무엇이며, 아이콘이 어느 위치에 배치되어 있는지 미리 파악하고 있어야 한다는 불편함이 있다.In addition, there is a case where an icon for the program 20_1 is not found, and the program 20_1 is repeatedly reinstalled. As such, the user of FIG. 2 must know in advance what icons represent the programs 20_1, 20_2, and 20_3 that manage each of the control target devices 10_1, 10_2, and 10_3. In other words, there is an inconvenience in that the user must know in advance what icon indicates the corresponding program and where the icon is arranged.

또한, 특정 제어 대상 장치를 관리하는 제어 프로그램이 업데이트 되는 경우, 사용자가 업데이트가 필요한 제어 프로그램을 개별적으로 확인하기 어렵거나, 제어 프로그램을 쉽게 업데이트하기 어려운 문제가 있다.In addition, when a control program that manages a specific control target device is updated, it is difficult for a user to individually identify a control program that needs to be updated, or it is difficult to easily update the control program.

이러한 문제를 해결하기 위하여, 통합적 프로그램 제어 방법이 사용되기도 한다. 도 3은 종래의 통합적 프로그램 제어 방법을 설명하기 위한 도면이다.In order to solve this problem, an integrated program control method is sometimes used. 3 is a diagram for explaining a conventional integrated program control method.

도 3에 도시된 종래의 통합적 프로그램 제어 방법은 제어 대상 장치 각각에 대한 관리 기능을 통합 프로그램(40)으로 구현함으로써, 통합 프로그램(40)을 통해 복수의 제어 대상 장치를 관리하는 방법이다. The conventional integrated program control method illustrated in FIG. 3 is a method of managing a plurality of control target devices through the integrated program 40 by implementing a management function for each of the control target devices as an integrated program 40.

예를 들어, 제어 대상 장치(10_1), 제어 대상 장치(10_2), 및 제어 대상 장치(10_3)가 존재하는 경우, 통합 프로그램(40)은 제어 대상 장치(10_1)를 관리하기 위한 기능, 제어 대상 장치(10_2)를 관리하기 위한 기능 및 제어 대상 장치(10_3)를 관리하기 위한 기능을 모두 포함한다.For example, when the control target device 10_1, the control target device 10_2, and the control target device 10_3 exist, the integrated program 40 is a function for managing the control target device 10_1, the control target It includes both a function for managing the device 10_2 and a function for managing the control target device 10_3.

도 3과 같은 통합적 프로그램 제어 방법을 사용할 경우, 사용자가 제어 대상 장치 중 특정 제어 대상 장치만을 관리하는 경우에도 통합 프로그램(40)을 단말 장치(30)에 설치해야 하므로, 자신이 사용하지 않는 제어 대상 장치를 관리하기 위한 기능까지 단말 장치(30)에 모두 설치해야 하는 비효율적인 문제가 있다. In the case of using the integrated program control method as shown in FIG. 3, since the integrated program 40 must be installed on the terminal device 30 even when the user manages only a specific control target device among control target devices, the control target that is not used by the user There is an inefficient problem in that all functions for managing the device must be installed in the terminal device 30.

예를 들어, 제어 대상 장치(10_1), 제어 대상 장치(10_2), 및 제어 대상 장치(10_3)가 존재하고 사용자가 관리하는 제어 대상 장치는 제어 대상 장치(10_1)이더라도 통합 프로그램(40)을 단말 장치(30)에 설치해야 하므로, 단말 장치(30)에는 제어 대상 장치(10_1)를 관리하기 위한 기능, 제어 대상 장치(10_2)를 관리하기 위한 기능, 및 제어 대상 장치(10_3)를 관리하기 위한 기능이 설치된다. 이때, 사용자가 관리하는 제어 대상 장치는 제어 대상 장치(10_1)이므로, 통합 프로그램(40) 중 제어 대상 장치(10_1)를 관리하기 위한 기능만을 사용하고, 제어 대상 장치(10_2)를 관리하기 위한 기능 및 제어 대상 장치(10_3)를 관리하기 위한 기능은 사용하지 않게 되어, 메모리를 비효율적으로 사용하게 된다는 문제가 있다.For example, even if the control target device 10_1, the control target device 10_2, and the control target device 10_3 exist and the control target device managed by the user is the control target device 10_1, the integrated program 40 is used as a terminal. Since it must be installed in the device 30, the terminal device 30 includes a function for managing the control target device 10_1, a function for managing the control target device 10_2, and the control target device 10_3. The function is installed. At this time, since the control target device managed by the user is the control target device 10_1, only a function for managing the control target device 10_1 of the integrated program 40 is used, and a function for managing the control target device 10_2 And there is a problem that the function for managing the control target device 10_3 is not used, and thus the memory is used inefficiently.

또한, 통합 프로그램(40)은 특정 시간 간격 또는 제어 대상 장치 각각의 관리를 위한 기능이 갱신될 때 마다 업데이트될 수 있다. 이와 같이, 통합 프로그램(40)과 같이 제어 대상 장치(10_1, 10_2, 10_3)의 관리를 위한 모든 기능이 구현되어 있는 경우에는 통합 프로그램(40)에 구현된 기능이 다양하여, 그 만큼 갱신되는 횟수가 많아 사용자는 통합 프로그램(40)의 기능이 갱신될 때마다 통합 프로그램(40)을 업데이트해야 한다는 번거로움이 있다. In addition, the integrated program 40 may be updated at a specific time interval or whenever a function for management of each of the control target devices is updated. As described above, when all functions for management of the control target devices 10_1, 10_2, and 10_3 are implemented, such as the integrated program 40, the functions implemented in the integrated program 40 are various, and the number of times that the corresponding functions are updated. In many cases, the user has to update the integrated program 40 whenever the function of the integrated program 40 is updated.

예를 들어, 통합 프로그램(40)에 제어 대상 장치(10_1), 제어 대상 장치(10_2), 및 제어 대상 장치(10_3) 각각에 대한 관리를 위한 기능이 구현되어 있는 경우에는 제어 대상 장치(10_1)의 기능이 갱신되면 통합 프로그램(40)을 업데이트해야 하고, 제어 대상 장치(10_2)의 기능이 갱신되면 통합 프로그램(40)을 업데이트해야 하고, 제어 대상 장치(10_3)의 기능이 갱신되면 통합 프로그램(40)을 업데이트해야 한다. For example, when a function for managing each of the control target device 10_1, the control target device 10_2, and the control target device 10_3 is implemented in the integrated program 40, the control target device 10_1 When the function of the control target device 10_3 is updated, the integrated program 40 must be updated, when the function of the control target device 10_2 is updated, the integrated program 40 must be updated, and when the function of the control target device 10_3 is updated, the integrated program ( 40) should be updated.

도 1에 도시된 종래의 개별적 프로그램 제어 방법 또는 도 3에 도시된 종래의 통합적 프로그램 제어 방법을 사용할 경우, 제어 대상 장치의 상태 값(예를 들어, 전류 값, 전압 값, 전력 값 또는 주파수 값)의 변화에 따라 사용자가 직접 제어 프로그램을 통제해야 한다는 번거로움이 있다.When using the conventional individual program control method shown in Fig. 1 or the conventional integrated program control method shown in Fig. 3, the state value of the control target device (for example, current value, voltage value, power value, or frequency value) In accordance with the change of the user, there is an inconvenience that the user must directly control the control program.

또한, 제어 대상 장치의 동일한 상태 값에 대하여 다른 사용자 또는 다른 단말 장치에 설치된 제어 프로그램에 따라 상이하게 제어 프로그램을 통제하는 문제도 있다.In addition, there is a problem of controlling a control program differently according to a control program installed in another user or another terminal device with respect to the same state value of the controlling device.

본 발명은 사용자가 제어 대상 장치나 제어 프로그램의 종류를 직접 확인하지 않고도, 각 제어 대상 장치에 적합한 제어 프로그램을 용이하게 설치할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a terminal device that executes a control program in which a user can easily install a control program suitable for each control target device without directly confirming the type of the control target device or the control program.

또한, 본 발명은 설치된 제어 프로그램의 수가 증가하더라도 사용자가 각 제어 프로그램의 설치 여부나, 각 제어 프로그램의 실행 버튼 또는 아이콘의 위치를 용이하게 확인할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 다른 목적으로 한다.In addition, the present invention is to provide a terminal device that executes a control program that allows a user to easily check whether each control program is installed or the location of an execution button or icon of each control program even if the number of installed control programs increases. The purpose.

또한, 본 발명은 각 제어 대상 장치에 대응되는 제어 프로그램의 업데이트 필요 여부를 확인하고, 제어 프로그램을 용이하게 업데이트할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 다른 목적으로 한다.Another object of the present invention is to provide a terminal device that checks whether a control program corresponding to each control target device needs to be updated, and executes a control program capable of easily updating the control program.

또한, 본 발명은 설치된 제어 프로그램에 대응되는 제어 대상 장치를 사용자가 신속하게 확인하고, 제어 프로그램을 간편하게 실행할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 다른 목적으로 한다.In addition, another object of the present invention is to provide a terminal device that executes a control program that allows a user to quickly check a control target device corresponding to an installed control program, and simply execute the control program.

또한, 본 발명은 제어 대상 장치의 상태 값의 변화에 따라 제어 대상 장치의 정상 동작 여부를 확인하고, 제어 프로그램을 용이하게 통제할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 다른 목적으로 한다.Another object of the present invention is to provide a terminal device that checks whether a control target device operates normally according to a change in a state value of a control target device, and executes a control program capable of easily controlling the control program. .

또한, 본 발명은 제어 대상 장치의 상태 값에 따라 적합하게 제어 프로그램을 통제할 수 있는 제어 프로그램을 실행하는 단말 장치를 제공하는 것을 다른 목적으로 한다.Another object of the present invention is to provide a terminal device that executes a control program capable of appropriately controlling a control program according to a state value of a control target device.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention that are not mentioned can be understood by the following description, and will be more clearly understood by examples of the present invention. In addition, it will be easily understood that the objects and advantages of the present invention can be realized by the means shown in the claims and combinations thereof.

상기의 목적을 달성하기 위해 본 발명의 단말 장치는 제어 대상 장치를 관리하는 하위 제어 프로그램 및 상기 하위 제어 프로그램을 실행하는 상위 제어 프로그램 중 적어도 하나가 설치된 적어도 하나의 메모리, 상기 메모리와 통신하며 상기 상위 제어 프로그램 또는 상기 하위 제어 프로그램을 실행하는 적어도 하나의 프로세서, 및 외부 장치와의 통신을 수행하는 통신부를 포함하고, 상기 하위 제어 프로그램은, 상기 제어 대상 장치의 상태 값을 획득하는 단계와, 상기 제어 대상 장치의 상태 값이 미리 정해진 정상 동작 범위에 포함되는지 여부를 판단하는 단계와, 상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위를 벗어나는 경우, 상기 제어 대상 장치에 이상이 발생했음을 상기 상위 제어 프로그램에 보고하는 단계를 실행한다.In order to achieve the above object, the terminal device of the present invention includes at least one memory in which at least one of a lower control program for managing a control target device and an upper control program for executing the lower control program is installed, and communicates with the memory. At least one processor that executes a control program or the lower control program, and a communication unit that performs communication with an external device, wherein the lower control program includes the steps of obtaining a state value of the control target device, and the control Determining whether a state value of the target device is included in a predetermined normal operation range, and when the state value of the control target device is out of the normal operation range, the upper control program indicates that an abnormality has occurred in the control target device Steps to report to are executed.

또한, 상기 상위 제어 프로그램은 상기 하위 제어 프로그램으로부터 상기 제어 대상 장치에 이상이 발생했음을 보고 받으면 알람을 발생하는 단계를 실행할 수 있다.In addition, when the upper control program receives a report that an abnormality has occurred in the control target device from the lower control program, the step of generating an alarm may be executed.

또한, 상기 상위 제어 프로그램은 상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위로부터 미리 결정된 오차 범위를 벗어나는지 확인하는 단계와, 상기 제어 대상 장치의 상태 값이 상기 오차 범위를 벗어나는 경우 알람을 발생하는 단계를 실행할 수 있다.In addition, the upper level control program checks whether the state value of the control target device is out of a predetermined error range from the normal operation range, and generates an alarm when the state value of the control target device exceeds the error range. Steps can be executed.

또한, 상기 상위 제어 프로그램은 상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위를 벗어나는 경우, 상기 하위 제어 프로그램의 로그 파일 중 최빈값을 이용하여 상기 하위 제어 프로그램을 통제하는 단계를 실행할 수 있다.In addition, when the state value of the control target device is out of the normal operation range, the upper control program may execute a step of controlling the lower control program using a mode value among log files of the lower control program.

또한, 상기 상위 제어 프로그램은 상기 최빈값이 복수인 경우, 사용자로부터 선택된 상기 최빈값을 이용하여 상기 하위 제어 프로그램을 통제하는 단계를 실행할 수 있다.In addition, the upper level control program may execute a step of controlling the lower level control program using the mode value selected by a user when the mode value is plural.

또한, 상기 하위 제어 프로그램은 다른 장치에서 생성된 상기 하위 제어 프로그램의 로그 파일을 수신하는 단계를 더 실행할 수 있다.In addition, the lower control program may further execute the step of receiving a log file of the lower control program generated by another device.

본 발명에 따르면 사용자가 제어 대상 장치나 제어 프로그램의 종류를 직접 확인하지 않고도, 각 제어 대상 장치에 적합한 제어 프로그램을 용이하게 설치할 수 있는 장점이 있다.According to the present invention, there is an advantage that a user can easily install a control program suitable for each control target device without directly checking the type of the control target device or the control program.

또한, 본 발명에 따르면 설치된 제어 프로그램의 수가 증가하더라도 사용자가 각 제어 프로그램의 설치 여부나, 각 제어 프로그램의 실행 버튼 또는 아이콘의 위치를 용이하게 확인할 수 있는 장점이 있다.In addition, according to the present invention, even if the number of installed control programs increases, there is an advantage in that the user can easily check whether each control program is installed or the location of an execution button or icon of each control program.

또한, 본 발명에 따르면 각 제어 대상 장치에 대응되는 제어 프로그램의 업데이트 필요 여부를 확인하고, 제어 프로그램을 용이하게 업데이트할 수 있는 장점이 있다.In addition, according to the present invention, it is possible to check whether a control program corresponding to each control target device needs to be updated, and to easily update the control program.

또한, 본 발명에 따르면 설치된 제어 프로그램에 대응되는 제어 대상 장치를 사용자가 신속하게 확인하고, 제어 프로그램을 간편하게 실행할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage in that a user can quickly check a control target device corresponding to an installed control program and simply execute the control program.

또한, 본 발명에 따르면 제어 대상 장치의 상태 값의 변화에 따라 제어 대상 장치의 정상 동작 여부를 확인하고, 제어 프로그램을 용이하게 통제할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage in that it is possible to check whether a control target device is normally operated according to a change in a state value of the control target device, and to easily control a control program.

또한, 본 발명에 따르면 제어 대상 장치의 상태 값에 따라 적합하게 제어 프로그램을 통제할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage in that a control program can be appropriately controlled according to a state value of a control target device.

상술한 효과와 더불어 본 발명의 구체적인 효과는 이하 발명을 실시하기 위한 구체적인 사항을 설명하면서 함께 기술한다. In addition to the above-described effects, specific effects of the present invention will be described together with explanation of specific matters for carrying out the present invention.

도 1은 종래의 개별적 프로그램 제어 방법을 설명하기 위한 도면이다.
도 2는 종래 하위 제어 프로그램이 설치되어 있는 단말 장치에서 디스플레이 하는 아이콘을 나타낸다.
도 3은 종래의 통합적 프로그램 제어 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 단말 장치 및 단말 장치를 포함하는 프로그램 제어 시스템을 나타내는 도면이다.
도 5는 도 4의 메모리에 저장된 프로그램 및 관련 데이터의 구성을 나타내는 도면이다.
도 6은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 순서도이다.
도 7은 본 발명의 몇몇 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.
도 9는 본 발명의 다른 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램 및 하위 제어 프로그램이 실행되는 순서도이다.
1 is a diagram for explaining a conventional individual program control method.
2 shows an icon displayed by a terminal device in which a conventional lower control program is installed.
3 is a diagram for explaining a conventional integrated program control method.
4 is a diagram illustrating a terminal device and a program control system including the terminal device according to an embodiment of the present invention.
5 is a diagram illustrating a configuration of a program and related data stored in the memory of FIG. 4.
6 is a flowchart illustrating an execution of a higher level control program implemented using a terminal device according to an embodiment of the present invention.
7 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to some embodiments of the present invention.
8 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to an embodiment of the present invention.
9 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to another embodiment of the present invention.
10 is a flowchart illustrating execution of an upper control program and a lower control program implemented using a terminal device according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention, and a method of achieving them will become apparent with reference to the embodiments described below in detail together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in various forms different from each other, and only these embodiments make the disclosure of the present invention complete, and common knowledge in the technical field to which the present invention pertains. It is provided to completely inform the scope of the invention to the possessor, and the invention is only defined by the scope of the claims. The same reference numerals refer to the same elements throughout the specification.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in the present specification may be used with meanings that can be commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, terms defined in a commonly used dictionary are not interpreted ideally or excessively unless explicitly defined specifically.

이하에서, 도 4 내지 도 10을 참조하여 본 발명의 몇몇 실시예에 따른 제어 프로그램을 실행하는 단말 장치에 대해 설명하도록 한다. 참고로, 본 명세서에서 복수의 제어 대상 장치(10_1~10_3)에 대하여 공통적 또는 일반적인 설명을 하는 경우, 제어 대상 장치(10)로 설명하도록 한다.Hereinafter, a terminal device that executes a control program according to some embodiments of the present invention will be described with reference to FIGS. 4 to 10. For reference, in the present specification, when a common or general description of the plurality of control target devices 10_1 to 10_3 is described, it will be described as the control target device 10.

도 4는 본 발명의 일 실시예에 따른 단말 장치 및 단말 장치를 포함하는 프로그램 제어 시스템을 나타내는 도면이다.4 is a diagram illustrating a terminal device and a program control system including the terminal device according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일 실시예에 따른 단말 장치(50)는 메모리(52), 프로세서(54), 및 통신부(56)를 포함하고, 메모리(52)는 상위 제어 프로그램(520) 및 하위 제어 프로그램(522_1~522_3)을 포함할 수 있다.4, a terminal device 50 according to an embodiment of the present invention includes a memory 52, a processor 54, and a communication unit 56, and the memory 52 is an upper control program 520 And lower control programs 522_1 to 522_3.

메모리(52)는 RAM(Random Access Memory)과 같이 프로세서(54)에 의한 실행을 위한 동적 정보 및 명령어들을 저장하는 동적 저장 디바이스를 포함할 수 있다. The memory 52 may include a dynamic storage device that stores dynamic information and instructions for execution by the processor 54, such as a random access memory (RAM).

또한, 메모리(52)는 ROM(Read Only Memory)과 같이 프로세서(54)에 의한 사용을 위한 정적 정보 및 명령어들을 저장하는 정적 저장 디바이스를 포함할 수 있다. 메모리(52)는 휘발성 메모리 유닛 또는 비휘발성 메모리 유닛일 수 있다. 메모리(52)는 또한 자기 또는 광디스크와 같은 컴퓨터 판독가능 매체의 또 다른 유형일 수 있다.Further, the memory 52 may include a static storage device that stores static information and instructions for use by the processor 54, such as a read only memory (ROM). The memory 52 may be a volatile memory unit or a nonvolatile memory unit. Memory 52 may also be another type of computer readable medium such as a magnetic or optical disk.

프로세서(54)는 임의의 유형의 종래의 프로세서, 마이크로프로세서, 또는 명령어들을 해석하고 실행하는 프로세싱 로직을 포함할 수 있다. Processor 54 may include any type of conventional processor, microprocessor, or processing logic that interprets and executes instructions.

프로세서(54)는 고속 인터페이스에 결합된 디스플레이와 같은 외부의 입력/출력 디바이스상에 그래픽 사용자 인터페이스(GUI)를 위한 그래픽정보를 디스플레이하기 위해 메모리(52) 내에 저장된 명령어들을 실행할 수 있다. Processor 54 may execute instructions stored in memory 52 to display graphical information for a graphical user interface (GUI) on an external input/output device, such as a display coupled to a high speed interface.

본 발명의 다른 실시예에서, 다수의 프로세서들이 다수의 메모리들과 함께 사용될 수 있다. 일부 실시예들에서, 프로세서(54)는 컴퓨터 실행가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로프로세서로 변형될 수 있다.In another embodiment of the present invention, multiple processors may be used with multiple memories. In some embodiments, the processor 54 may be transformed into a special purpose microprocessor by executing computer-executable instructions or by being programmed.

통신부(65)는 외부 장치와 통신을 수행하는 모듈 또는 프로그램을 포함한다. 예를 들어, 통신부(65)는 제어 대상 장치(10)로부터 수신한 연결 정보(640)를 참조하여, 제어 대상 장치(10)와 통신할 수 있다. The communication unit 65 includes a module or program that performs communication with an external device. For example, the communication unit 65 may communicate with the control target device 10 by referring to the connection information 640 received from the control target device 10.

통신부(65)에서 서버(60) 또는 제어 대상 장치(10)와 통신을 위해 이용하는 통신 규약은, 예를 들어, CDMA(Code Division Multiple Access) 통신, WCDMA(Wideband Code Division Multiple Access) 통신 혹은, 광대역 무선 통신을 포함한다. 이때, 무선 통신망으로는 무선랜(WLAN), 와이 파이(Wi-Fi), 와이브로(Wireless Broadband: Wibro), 와이맥스(World Interoperability for Microwave Access: Wimax), HSDPA(High Speed Downlink Packet Access), 롱 텀 에볼루션(Long Term Evolution: LTE), IEEE802.16, 광대역 무선 이동 통신 서비스(Wireless Mobile Broadband Service: WMBS) 등이 포함될 수 있다. The communication protocol used by the communication unit 65 for communication with the server 60 or the control target device 10 is, for example, CDMA (Code Division Multiple Access) communication, WCDMA (Wideband Code Division Multiple Access) communication, or broadband Includes wireless communication. At this time, as a wireless communication network, wireless LAN (WLAN), Wi-Fi, Wibro (Wireless Broadband: Wibro), Wimax (World Interoperability for Microwave Access: Wimax), HSDPA (High Speed Downlink Packet Access), long term Evolution (Long Term Evolution: LTE), IEEE802.16, Wireless Mobile Broadband Service (WMBS), and the like may be included.

또한, 근거리 무선 통신망으로는 비콘(Beacon), 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(Infrared Data Association: IrDA), UWB(Ultra Wideband), 지그비(ZigBee) 및 지웨이브(Z-Wave) 등이 포함될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.In addition, short-range wireless communication networks include Beacon, Bluetooth, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), ZigBee, and Z-wave. Wave), etc. may be included. However, the present invention is not limited thereto.

제어 대상 장치(10)는 전력값을 측정하는 전력 기기와 같은 산업 장비 또는 산업 제어 대상 장치를 포함할 수 있다. 예를 들어, 제어 대상 장치(10)는 MCCB(Molded Case Circuit Breaker), MCB(Miniature circuit breaker), ACB(Air Circuit Breaker), VCB(Vacuum circuit breaker), Digital relay 또는 PLC(programmable logic controller)를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The control target device 10 may include industrial equipment such as a power device that measures a power value or an industrial control target device. For example, the control target device 10 uses a MCCB (Molded Case Circuit Breaker), MCB (Miniature circuit breaker), ACB (Air Circuit Breaker), VCB (Vacuum circuit breaker), Digital relay, or PLC (programmable logic controller). Can include. However, the present invention is not limited thereto.

제어 대상 장치(10)는 제어 대상 장치(10)와 단말 장치(50) 사이의 통신을 제공하는 통신 모듈을 포함할 수 있다. 구체적으로, 통신 모듈은 내장형으로 구현되는 경우 제어 대상 장치(10)에 내장되어 있거나, 외장형으로 구현되는 경우 제어 대상 장치(10)의 외장에 탈부착될 수 있다. The control target device 10 may include a communication module that provides communication between the control target device 10 and the terminal device 50. Specifically, the communication module may be embedded in the control target device 10 when implemented as a built-in type, or may be detachably attached to the exterior of the control target device 10 when implemented as an external type.

본 발명의 일 실시예에서, 통신 모듈이 내장형으로 구현되는 경우 특정 제어 대상 장치(10)의 내부에 고정되어 제어 대상 장치(10)와 단말 장치(50)사이의 통신을 제공할 수 있다. 구체적으로, 통신 모듈은 제어 대상 장치(10)에 연결될 때마다 제어 대상 장치(10)로부터 제어 대상 장치 정보를 수신하여 통신 모듈 내부의 메모리에 제어 대상 장치 정보를 저장할 수 있다. 예를 들어, 제어 대상 장치 정보는 제어 대상 장치의 종류 및 제어 대상 장치의 식별 정보를 포함할 수 있다.In an embodiment of the present invention, when the communication module is implemented as a built-in type, it may be fixed inside the specific control target device 10 to provide communication between the control target device 10 and the terminal device 50. Specifically, the communication module may receive control target device information from the control target device 10 whenever it is connected to the control target device 10 and store the control target device information in a memory inside the communication module. For example, the control target device information may include the type of the control target device and identification information of the control target device.

통신 모듈은 제어 대상 장치 정보를 단말 장치(50)에 제공함으로써 단말 장치(50)에서 제어 대상 장치 정보와 함께 연결 정보(640)(즉, 제어 대상 장치(10)와 하위 제어 프로그램을 연결하여, 관리하는 통신을 위한 연결 데이터)를 서버(60)에 제공하여 서버(60)가 제어 대상 장치 정보 별 연결 정보(640)를 저장할 수 있도록 한다. 이러한 과정은 이하의 단말 장치(50) 및 서버(60)를 설명하면서 보다 구체적으로 설명하기로 한다.The communication module provides the control target device information to the terminal device 50 so that the terminal device 50 connects the connection information 640 with the control target device information (that is, the control target device 10 and the lower control program, Connection data for managed communication) is provided to the server 60 so that the server 60 can store the connection information 640 for each control target device information. This process will be described in more detail while describing the terminal device 50 and the server 60 below.

단말 장치(50)는 제어 대상 장치(10)와 통신이 연결되면, 복수의 프로그램 중 제어 대상 장치(10)를 관리할 수 있는 프로그램을 실행하는 장치를 포함한다. 예를 들어, 단말 장치(50)는 컴퓨터, UMPC(Ultra Mobile PC), 워크스테이션, 넷북(net-book), PDA(Personal Digital Assistants), 포터블(portable) 컴퓨터, 웹 타블렛(web tablet), 무선 전화기(wireless phone), 모바일 폰(mobile phone), 스마트폰(smart phone), e-북(e-book), PMP(portable multimedia player), 휴대용 게임기, 네비게이션(navigation) 장치, 블랙 박스(black box) 또는 디지털 카메라(digital camera) 같은 전자 장치의 다양한 구성 요소들 중 하나로 제공될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The terminal device 50 includes a device that executes a program capable of managing the control target device 10 among a plurality of programs when communication with the control target device 10 is connected. For example, the terminal device 50 includes a computer, an ultra mobile PC (UMPC), a workstation, a net-book, a personal digital assistant (PDA), a portable computer, a web tablet, and a wireless device. Wireless phone, mobile phone, smart phone, e-book, portable multimedia player (PMP), portable game console, navigation device, black box ) Or a digital camera. However, the present invention is not limited thereto.

단말 장치(50)에는 제어 대상 장치 중 특정 제어 대상 장치(10)와 특정 프로그램을 연결하는 상위 제어 프로그램(520) 및 하위 제어 프로그램(522)이 설치될 수 있다. 예를 들어, 하위 제어 프로그램(522)은 단말 장치(50)에 설치되어 상위 제어 프로그램(520)에 의하여 실행되면, 특정 제어 대상 장치(10)와 통신을 연결한 후 특정 제어 대상 장치(10)에 대한 관리를 수행하는 프로그램을 포함할 수 있다.The terminal device 50 may be provided with an upper control program 520 and a lower control program 522 that connect a specific control target device 10 and a specific program among control target devices. For example, when the lower control program 522 is installed in the terminal device 50 and executed by the upper control program 520, after connecting communication with the specific control target device 10, the specific control target device 10 It may include a program that performs management of.

상위 제어 프로그램(520)은 자동으로 또는 사용자로부터 수신한 명령에 의해 서버(60)에 저장되어 있는 하위 제어 프로그램(522)을 서버(60)로부터 획득하여 단말 장치(50)의 메모리(52)에 설치할 수 있다. The upper control program 520 acquires the lower control program 522 stored in the server 60 automatically or according to a command received from the user from the server 60 and stores it in the memory 52 of the terminal device 50. Can be installed.

상위 제어 프로그램(520)은 하위 제어 프로그램(522)으로부터 제어 대상 장치(10)에 이상이 발생했음을 보고 받으면 알람을 발생할 수 있다. 이때, 제어 대상 장치(10)에 대한 이상은 미리 저장된 정상 동작 범위를 참조하여 판단할 수 있다.The upper control program 520 may generate an alarm when it receives a report from the lower control program 522 that an abnormality has occurred in the control target device 10. In this case, an abnormality with respect to the control target device 10 may be determined with reference to a pre-stored normal operation range.

예를 들어, 상위 제어 프로그램(520)은 단말 장치(50)의 알람부를 통해 빛 또는 소리를 이용해 알람을 발생하거나, 단말 장치(50)의 디스플레이부에 메시지 형태로 알람을 표시할 수 있다.For example, the upper control program 520 may generate an alarm using light or sound through the alarm unit of the terminal device 50 or may display an alarm in the form of a message on the display unit of the terminal device 50.

상위 제어 프로그램(520)은 하위 제어 프로그램(522)으로부터 제어 대상 장치(10)에 이상이 발생했음을 보고 받으면, 제어 대상 장치(10)의 상태 값이 정상 동작 범위로부터 미리 결정된 오차 범위를 벗어나는지 확인하고, 제어 대상 장치의 상태 값이 오차 범위를 벗어나는 경우 알람을 발생할 수 있다.When the upper control program 520 receives a report that an abnormality has occurred in the control target device 10 from the lower control program 522, the upper control program 520 checks whether the state value of the control target device 10 is out of a predetermined error range from the normal operation range. And, when the state value of the control target device is out of the error range, an alarm may be generated.

상위 제어 프로그램(520)은 제어 대상 장치(10)의 상태 값이 정상 동작 범위를 벗어나는 경우, 하위 제어 프로그램(522)의 로그 파일 중 최빈값을 이용하여 하위 제어 프로그램을 통제할 수 있다.The upper control program 520 may control the lower control program using a mode value among log files of the lower control program 522 when the state value of the control target device 10 is out of the normal operation range.

예를 들어, 상위 제어 프로그램(520)은 로그 파일 중 최빈값에 따라 하위 제어 프로그램(522)을 통제할 수 있다.For example, the upper control program 520 may control the lower control program 522 according to a mode value among log files.

또한, 상위 제어 프로그램(520)은 최빈값이 복수인 경우, 사용자로부터 선택된 최빈값을 이용하여 하위 제어 프로그램(522)을 통제할 수 있다.또한, 상위 제어 프로그램(520)은 자동으로 또는 사용자로부터 수신한 명령에 의해 단말 장치(50)에 저장되어 있는 하위 제어 프로그램(522)을 검색하고, 검색을 통해 획득한 하위 제어 프로그램(522)을 단말 장치(50)의 메모리(52)에 설치할 수 있다.In addition, the upper control program 520 may control the lower control program 522 using the mode selected by the user when the mode value is plural. In addition, the upper control program 520 automatically or received from the user. The lower control program 522 stored in the terminal device 50 may be searched for by a command, and the lower control program 522 obtained through the search may be installed in the memory 52 of the terminal device 50.

이와 같이, 본 명세서에서 사용하는 프로그램의 '저장'과 프로그램의 '설치'에 대하여 서로 의미를 구별하여 사용한다. 구체적으로, 하위 제어 프로그램(522)이 메모리(52)에 저장되어 있는 경우, 하위 제어 프로그램(522)을 설치하기 위한 설치 파일이 메모리(52)에 저장되어 있을 수 있다. 이때, 상위 제어 프로그램(520)은 하위 제어 프로그램(522)을 설치하는 설치 파일을 검색하여 획득한 후, 획득한 설치 파일을 이용해 하위 제어 프로그램(522)을 메모리(52)에 설치할 수 있다.In this way, the meanings of'storage' of a program and'installation' of a program used in the present specification are distinguished and used. Specifically, when the lower control program 522 is stored in the memory 52, an installation file for installing the lower control program 522 may be stored in the memory 52. At this time, the upper control program 520 may search for and obtain an installation file for installing the lower control program 522 and then install the lower control program 522 in the memory 52 using the obtained installation file.

단말 장치(50)는 통신 모듈로부터 수신된 제어 대상 장치 정보(즉, 제어 대상 장치의 종류 또는 제어 대상 장치의 식별 번호) 또는 서버(60)로부터 수신한 사용자가 미리 설정한 설정 정보를 기초로 특정 제어 대상 장치(10)에 해당하는 특정 하위 제어 프로그램(522)을 매칭하여 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)이 통신할 수 있도록 연결할 수 있다. 이때, 사용자가 미리 설정한 설정 정보는 사용자로부터 미리 수신한 프로그램 검색 설정 정보, 제어 대상 장치에 대한 제어 설정 정보 또는 제어 대상 장치에 대한 모니터링 설정 정보를 포함할 수 있다.The terminal device 50 specifies the control target device information received from the communication module (ie, the type of the control target device or the identification number of the control target device) or the setting information preset by the user received from the server 60. A specific lower control program 522 corresponding to the control target device 10 may be matched to connect the specific control target device 10 and the specific lower control program 522 to communicate with each other. In this case, the setting information preset by the user may include program search setting information previously received from the user, control setting information for a control target device, or monitoring setting information for a control target device.

본 발명의 일 실시예에서, 단말 장치(50)는 서버(60)로부터 수신된 제어 대상 장치 별 하위 제어 프로그램 연결 정보 중 제어 대상 장치 식별 번호에 해당하는 하위 제어 프로그램 연결 정보를 추출한 후, 하위 제어 프로그램 연결 정보를 기초로 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)을 매칭하고, 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)의 통신을 연결할 수 있다.In one embodiment of the present invention, the terminal device 50 extracts the lower control program connection information corresponding to the control target device identification number among the lower control program connection information for each control target device received from the server 60, and then controls the lower control program. A specific control target device 10 and a specific lower control program 522 may be matched based on the program connection information, and communication between the specific control target device 10 and a specific lower control program 522 may be connected.

이때, 하위 제어 프로그램 연결 정보는 상위 제어 프로그램(520)이 참조하는 제어 대상 장치(10) 및 하위 제어 프로그램(522)에 대한 매칭 고유 데이터, 상위 제어 프로그램(520)의 하위 제어 프로그램(522)을 검색한 검색 이력 또는 하위 제어 프로그램(522)과 제어 대상 장치(10)의 통신 연결 이력 또는 제어 대상 장치(10)에 대한 제어 이력을 포함할 수 있다. At this time, the lower control program connection information includes matching unique data for the control target device 10 and the lower control program 522 referenced by the upper control program 520, and the lower control program 522 of the upper control program 520. The searched search history or a communication connection history between the lower control program 522 and the control target device 10 or a control history of the control target device 10 may be included.

예를 들어, 서버(60) 또는 메모리(52)는 하위 제어 프로그램(522)의 매칭 고유 데이터, 하위 제어 프로그램(522)에 대한 검색 이력, 통신 연결 이력 또는 제어 이력을 저장 및 관리할 수 있다.For example, the server 60 or the memory 52 may store and manage matching unique data of the lower control program 522, a search history for the lower control program 522, a communication connection history, or a control history.

본 발명의 다른 일 실시예에서, 단말 장치(50)는 사용자 설정 정보를 기초로 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)을 매칭하고, 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)의 통신을 연결할 수 있다. 이때, 사용자 설정 정보는 사용자가 관리 하고자 하는 기능별 또는 제어 대상 장치 종류별로 미리 설정된 설정 정보를 포함할 수 있다. In another embodiment of the present invention, the terminal device 50 matches a specific control target device 10 and a specific sub-control program 522 based on user setting information, and The communication of the control program 522 can be connected. In this case, the user setting information may include preset setting information for each function or control target device type that the user wants to manage.

서버(60)는 제어 대상 장치 별 하위 제어 프로그램 연결 정보를 단말 장치(50)에 제공하여, 단말 장치(50)의 상위 프로그램(520)이 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)의 통신을 연결하도록 하는 정보를 저장 및 관리하는 데이터 베이스, 모듈 또는 장치이다.The server 60 provides connection information of a lower control program for each control target device to the terminal device 50, so that the upper program 520 of the terminal device 50 connects the specific control target device 10 and the specific lower control program 522 to the terminal device 50. It is a database, module, or device that stores and manages information that connects communication of ).

서버(60)는 제어 대상 장치 별 하위 제어 프로그램 연결 정보에 대한 정보 데이터베이스를 미리 저장하고 있거나, 단말 장치(50)로부터 수신한 제어 대상 장치 별 하위 제어 프로그램 연결 정보를 이용하여 정보 데이터베이스를 구축할 수 있다. The server 60 may pre-store an information database for connection information of a lower control program for each device to be controlled, or construct an information database using connection information for a lower control program for each device to be controlled received from the terminal device 50. have.

본 발명의 일 실시예에서, 서버(60)는 제어 대상 장치 별 하위 제어 프로그램 연결 정보에 대한 정보 데이터베이스를 미리 저장하고 있는 경우, 제어 대상 장치 별 하위 제어 프로그램 연결 정보를 단말 장치(50)에 제공하여 단말 장치(50)의 상위 제어 프로그램(520)이 특정 제어 대상 장치(10)와 특정 하위 제어 프로그램(522)의 통신을 연결하도록 할 수 있다.In an embodiment of the present invention, when the server 60 previously stores an information database for connection information of a lower control program for each device to be controlled, the server 60 provides connection information for a lower control program for each device to be controlled to the terminal device 50 Thus, the upper control program 520 of the terminal device 50 may connect communication between the specific control target device 10 and the specific lower control program 522.

도 4와 같이, 하나의 상위 제어 프로그램(520)은 제어 대상 장치(100_1~100_3) 각각에 대한 하위 제어 프로그램(522_1~522_3)과 계층적 구조를 이룰 수 있다. As shown in FIG. 4, one upper control program 520 may form a hierarchical structure with lower control programs 522_1 to 522_3 for each of the control target devices 100_1 to 100_3.

예를 들어, 상위 제어 프로그램(520)은 제어 대상 장치(100_1)에 대한 하위 제어 프로그램(522_1), 제어 대상 장치(100_2)에 대한 하위 제어 프로그램(522_2), 제어 대상 장치(100_3)에 대한 하위 제어 프로그램(522_3) 등과 계층적 구조를 이루고 있을 수 있다. For example, the upper control program 520 is a lower control program 522_1 for the control target device 100_1, a lower control program 522_2 for the control target device 100_2, and the lower control program 522_2 for the control target device 100_3. The control program 522_3 and the like may have a hierarchical structure.

또한, 상위 제어 프로그램(520)은 하나의 하위 제어 프로그램(522_1)과 복수의 제어 대상 장치(100_1~100_3)의 통신을 연결하는 계층적 구조를 이룰 수 있다.In addition, the upper control program 520 may form a hierarchical structure connecting communication between one lower control program 522_1 and a plurality of control target devices 100_1 to 100_3.

상위 제어 프로그램(520) 및 복수의 하위 제어 프로그램(522_1~522_3)이 계층적 구조를 이루고 있기 때문에, 상위 제어 프로그램(520)이 제어 대상 장치 중 특정 제어 대상 장치(100_1~100_3)와 통신을 수행하게 되면, 하위 제어 프로그램(522_1~522_3) 중 특정 제어 대상 장치(100_1)에 해당하는 특정 하위 제어 프로그램(522_1)이 존재하는지 여부를 확인하여, 상위 제어 프로그램(520)은 확인 결과에 따라 특정 제어 대상 장치(100_1)와 특정 하위 제어 프로그램(522_1)의 통신을 연결할 수 있다.Since the upper control program 520 and the plurality of lower control programs 522_1 to 522_3 have a hierarchical structure, the upper control program 520 communicates with a specific control target device 100_1 to 100_3 among control target devices. If so, it is checked whether a specific lower control program 522_1 corresponding to the specific control target device 100_1 exists among the lower control programs 522_1 to 522_3, and the upper control program 520 performs specific control according to the check result. Communication between the target device 100_1 and a specific lower control program 522_1 may be connected.

본 발명의 일 실시예에서, 상위 제어 프로그램(520)은 복수의 하위 제어 프로그램(522_1~522_3) 중 특정 제어 대상 장치(100_1)에 해당하는 특정 하위 제어 프로그램(522_1)이 존재하면, 특정 제어 대상 장치(100_1)와 특정 하위 제어 프로그램(522_1)을 연결할 수 있다. 이때, 특정 하위 제어 프로그램(522_1)과 연결되는 제어 대상 장치(10)는 복수의 제어 대상 장치(100_1~100_3)를 포함할 수 있다. In one embodiment of the present invention, if a specific lower control program 522_1 corresponding to a specific control target device 100_1 exists among the plurality of lower control programs 522_1 to 522_3, the upper control program 520 The device 100_1 and a specific lower control program 522_1 may be connected. In this case, the control target device 10 connected to the specific lower control program 522_1 may include a plurality of control target devices 100_1 to 100_3.

예를 들어, 상위 제어 프로그램(520)이 제어 대상 장치(100_1)에 대한 하위 제어 프로그램(522_1)과 계층적 구조를 이루고 있는 경우, 상위 제어 프로그램(520)이 제어 대상 장치(100_1)의 통신 모듈을 통해 통신하게 되면, 제어 대상 장치(100_1)와 하위 제어 프로그램(522_1)의 통신을 연결할 수 있다. For example, when the upper control program 520 has a hierarchical structure with the lower control program 522_1 for the control target device 100_1, the upper control program 520 is a communication module of the control target device 100_1 When communication is performed through, communication between the control target device 100_1 and the lower control program 522_1 may be connected.

본 발명의 다른 일 실시예에서, 상위 제어 프로그램(520)은 하위 제어 프로그램(522_1~522_3) 중 특정 제어 대상 장치에 해당하는 특정 하위 제어 프로그램(522)이 존재하지 않으면, 특정 제어 대상 장치에 해당하는 하위 제어 프로그램의 다운로드 안내 메시지를 단말 장치(50)의 디스플레이부를 통해 표시할 수 있다.In another embodiment of the present invention, the upper control program 520 corresponds to a specific control target device if there is no specific lower control program 522 corresponding to a specific control target device among the lower control programs 522_1 to 522_3. The download guide message of the lower control program to be performed may be displayed through the display unit of the terminal device 50.

본 발명의 다른 일 실시예에서, 상위 제어 프로그램(520)이 단말 장치(50)의 메모리(52)에 설치되어 있지 않은 경우, 상위 제어 프로그램(520)은 서버(60) 또는 단말 장치(50)와 다른 외부 장치(미도시)에 설치될 수 있다. 이때, 사용자는 외부 장치(미도시) 또는 서버(60)와 통신하는 단말 장치(50)를 이용하여 원격으로 서버(60) 또는 외부 장치(미도시)에 설치된 상위 제어 프로그램을 실행할 수 있다.In another embodiment of the present invention, when the upper control program 520 is not installed in the memory 52 of the terminal device 50, the upper control program 520 is the server 60 or the terminal device 50 And may be installed in other external devices (not shown). In this case, the user may remotely execute a host control program installed in the server 60 or the external device (not shown) by using an external device (not shown) or a terminal device 50 communicating with the server 60.

이때, 단말 장치(50)를 이용하여 사용자로부터 원격 제어 되는 상위 제어 프로그램(520)은 복수의 하위 제어 프로그램(522_1~522_3)과 계층적 구조를 이룰 수 있다.In this case, the upper control program 520 remotely controlled by the user using the terminal device 50 may form a hierarchical structure with the plurality of lower control programs 522_1 to 522_3.

단말 장치(50)에 특정 제어 대상 장치에 해당하는 하위 제어 프로그램이 설치된 경우, 상위 제어 프로그램(520)은 하위 제어 프로그램(522_1~522_3) 중 특정 제어 대상 장치에 해당하는 특정 하위 제어 프로그램(522)의 설치 여부를 확인하고, 확인 결과 특정 제어 대상 장치에 해당하는 특정 하위 제어 프로그램(522)이 설치되어 있으면, 특정 제어 대상 장치와 특정 하위 제어 프로그램(522)의 통신을 연결한다. When a lower control program corresponding to a specific control target device is installed in the terminal device 50, the upper control program 520 is a specific lower control program 522 corresponding to a specific control target device among the lower control programs 522_1 to 522_3. If a specific sub-control program 522 corresponding to a specific control target device is installed as a result of checking whether or not is installed, communication between the specific control target device and the specific sub-control program 522 is connected.

단말 장치(50)에 제어 대상 장치(100_3)에 대한 하위 제어 프로그램(522_3)이 설치되어 있지 않은 경우, 상위 제어 프로그램(520)이 제어 대상 장치(100_3)의 통신 모듈을 통해 제어 대상 장치(100_3)와 통신하게 되면, 제어 대상 장치(100_3)에 대한 하위 제어 프로그램이 단말 장치(50)에 설치되어 있지 않아, 상위 제어 프로그램(520)은 제어 대상 장치(100_3)에 대한 하위 제어 프로그램(522_3)의 다운로드 안내 메시지를 단말 장치(50)의 디스플레이부를 통해 표시할 수 있다.When the lower control program 522_3 for the control target device 100_3 is not installed in the terminal device 50, the upper control program 520 is configured to control the control target device 100_3 through the communication module of the control target device 100_3. ), since the lower control program for the control target device 100_3 is not installed in the terminal device 50, the upper control program 520 is the lower control program 522_3 for the control target device 100_3. The download guide message of may be displayed through the display unit of the terminal device 50.

상위 제어 프로그램(520)은 제어 대상 장치(100_3)에 대한 하위 제어 프로그램이 단말 장치(50)에 설치되어 있는지 여부를 확인하고, 확인 결과 제어 대상 장치(100_3)에 해당하는 하위 제어 프로그램(522_3)이 단말 장치(50)에 설치되어 있는 경우, 제어 대상 장치(100_3)와 하위 제어 프로그램(522_3)의 통신을 연결할 수 있다.The upper control program 520 checks whether a lower control program for the control target device 100_3 is installed in the terminal device 50, and as a result of the confirmation, the lower control program 522_3 corresponding to the control target device 100_3 When installed in the terminal device 50, communication between the control target device 100_3 and the lower control program 522_3 can be connected.

하위 제어 프로그램(522)은 제어 대상 장치(100_1~100_3) 각각에 대한 관리(예를 들어, 제어 또는 모니터링 기능)를 실행하는 프로그램이다. 하위 제어 프로그램은 제어 대상 장치 별 또는 기능 별로 존재할 수 있다. The lower control program 522 is a program that executes management (eg, a control or monitoring function) for each of the control target devices 100_1 to 100_3. The lower control program may exist for each device to be controlled or for each function.

예를 들어, 하위 제어 프로그램(522_1~522_3)은 제어 대상 장치 A군에 대한 하위 제어 프로그램(522_1), 제어 대상 장치 B군에 대한 하위 제어 프로그램(522_2), 제어 대상 장치 C군에 대한 하위 제어 프로그램(522_3)을 포함할 수 있다. For example, the lower control programs 522_1 to 522_3 are the lower control programs 522_1 for the control target device group A, the lower control program 522_2 for the control target device group B, and the lower control for the control target device group C. It may include a program 522_3.

하위 제어 프로그램(522)은 제어 대상 장치(10)로부터 제어 대상 장치(10)의 상태 값을 획득할 수 있다. 예를 들어, 제어 대상 장치의 상태 값은 제어 대상 장치의 전류 값, 전압 값, 전력 값 또는 주파수 값을 포함할 수 있다.The lower control program 522 may obtain a state value of the control target device 10 from the control target device 10. For example, the state value of the controlling device may include a current value, a voltage value, a power value, or a frequency value of the controlling device.

하위 제어 프로그램(522)은 제어 대상 장치(10)를 제어하거나 모니터링하는 과정에서 제어 대상 장치(10)로부터 획득한 상태 값이 미리 저장된 제어 대상 장치(10)의 정상 동작 범위내에 속하는지 여부를 판단할 수 있다.The lower control program 522 determines whether or not the state value obtained from the control target device 10 falls within the normal operating range of the control target device 10 stored in advance in the process of controlling or monitoring the control target device 10 can do.

하위 제어 프로그램(520)은 제어 대상 장치(10)의 상태 값이 미리 저장된 정상 동작 범위를 벗어나는 경우, 제어 대상 장치(10)에 이상이 발생했음을 상위 제어 프로그램에 전달할 수 있다.The lower control program 520 may transmit to the upper control program that an abnormality has occurred in the control target device 10 when the state value of the control target device 10 is out of a pre-stored normal operation range.

하위 제어 프로그램(520)은 로그 파일을 생성할 수 있고, 생성된 로그 파일을 메모리(52) 또는 서버(60)에 저장할 수 있다. 이때, 하위 제어 프로그램(520)은 로그 파일을 다른 장치와 공유할 수 있다. 예를 들어, 하위 제어 프로그램(520)은 다른 장치에서 생성된 로그 파일을 수신하거나, 다른 장치로 로그 파일을 송신할 수 있다.The lower control program 520 may generate a log file and store the generated log file in the memory 52 or the server 60. In this case, the lower control program 520 may share the log file with other devices. For example, the lower control program 520 may receive a log file generated by another device or may transmit a log file to another device.

또한, 하위 제어 프로그램(522_1~522_3)은 제어 대상 장치 A군에 대한 제어 기능을 수행하는 하위 제어 프로그램(522_1), 제어 대상 장치 A군에 대한 모니터링 기능을 수행하는 하위 제어 프로그램(522_2)을 포함할 수 있다.In addition, the lower control programs 522_1 to 522_3 include a lower control program 522_1 that performs a control function for the control target device group A, and a lower control program 522_2 that performs a monitoring function for the control target device group A. can do.

본 발명의 일 실시예에 따르면, 하위 제어 프로그램(522_1~522_3)이 복수의 제어 대상 장치 각각에 대한 관리 기능을 수행하는 경우, 사용자는 모든 하위 제어 프로그램을 단말 장치(50)에 미리 설치하지 않고, 상위 제어 프로그램(520)을 통해 자신이 관리하고자 하는 특정 제어 대상 장치에 대한 하위 제어 프로그램만을 단말 장치(50)에 설치한 후, 상위 제어 프로그램(520)을 통해 간편하게 하위 제어 프로그램을 실행할 수 있다. According to an embodiment of the present invention, when the lower control programs 522_1 to 522_3 perform a management function for each of a plurality of control target devices, the user does not install all the lower control programs in the terminal device 50 in advance. , After installing only a lower control program for a specific control target device that it wants to manage through the upper control program 520 on the terminal device 50, the lower control program can be easily executed through the upper control program 520. .

도 5는 도 4의 메모리에 저장된 프로그램 및 관련 데이터의 구성을 나타내는 도면이다.5 is a diagram illustrating a configuration of a program and related data stored in the memory of FIG. 4.

도 5를 참조하면, 도 4의 메모리(52)는 상위 제어 프로그램(520) 및 하위 제어 프로그램(522)을 포함하고, 프로세서(54)는 서버(60) 또는 메모리(52)에 저장된 프로그램 설정 파일(62)을 참조할 수 있다. Referring to FIG. 5, the memory 52 of FIG. 4 includes an upper control program 520 and a lower control program 522, and the processor 54 is a program setting file stored in the server 60 or the memory 52. See (62).

프로세서(54)는 메모리(52)와 통신하며 메모리(52)에 설치되는 상위 제어 프로그램(520) 또는 하위 제어 프로그램(522)을 실행할 수 있다.The processor 54 communicates with the memory 52 and may execute an upper control program 520 or a lower control program 522 installed in the memory 52.

상위 제어 프로그램(520)은 제어 대상 장치(10)와 하위 제어 프로그램(522)의 통신을 연결한 후, 단말 장치(50)의 메모리(52)에 저장되어 있는 하위 제어 프로그램(522)을 검색하여 획득하는 프로그램 또는 모듈을 포함한다.본 발명의 다른 일 실시예에서, 상위 제어 프로그램(520)은 단말 장치(50)와 다른 외부 장치(미도시) 또는 서버(60)에 설치될 수 있다. 이때, 상위 제어 프로그램(520)은 제어 대상 장치(10)의 연결 정보(640)를 이용하여 서버(60) 또는 단말 장치(50)의 메모리(52)에 저장되어 있는 하위 제어 프로그램(522)을 검색하여, 하위 제어 프로그램(522)의 설치 파일을 획득할 수 있다.The upper control program 520 connects communication between the control target device 10 and the lower control program 522, and then searches for the lower control program 522 stored in the memory 52 of the terminal device 50. A program or module to be acquired. In another embodiment of the present invention, the upper control program 520 may be installed in an external device (not shown) different from the terminal device 50 or in the server 60. At this time, the upper control program 520 uses the connection information 640 of the control target device 10 to access the lower control program 522 stored in the memory 52 of the server 60 or the terminal device 50. By searching, an installation file of the lower control program 522 may be obtained.

하위 제어 프로그램(522)은 제어 대상 장치(10)를 관리하는 프로그램 또는 모듈을 포함한다. The lower control program 522 includes a program or module for managing the control target device 10.

본 발명의 일 실시예에서, 하위 제어 프로그램(522)이 단말 장치(50)의 메모리(52)에 저장되어 있는 경우, 상위 제어 프로그램(520)은 단말 장치(50)의 메모리(52)에 저장되어 있는 복수의 하위 제어 프로그램 중 제어 대상 장치에 대응되는 하위 제어 프로그램(522)을 검색한 후, 검색한 하위 제어 프로그램(522)의 설치 파일을 획득하여, 단말 장치(50)의 메모리(52)에 설치할 수 있다.In one embodiment of the present invention, when the lower control program 522 is stored in the memory 52 of the terminal device 50, the upper control program 520 is stored in the memory 52 of the terminal device 50 After searching for the lower control program 522 corresponding to the control target device among the plurality of lower control programs, the installation file of the searched lower control program 522 is obtained, and the memory 52 of the terminal device 50 Can be installed on.

본 발명의 다른 일 실시예에서, 하위 제어 프로그램(520)이 서버(60)에 저장되어 있는 경우, 상위 제어 프로그램(520)은 서버(60)에 저장되어 있는 복수의 하위 제어 프로그램 중 제어 대상 장치에 대응되는 하위 제어 프로그램(522)을 검색한 후, 검색한 하위 제어 프로그램(522)의 설치 파일을 획득하여, 단말 장치(50)의 메모리(52)에 설치할 수 있다.In another embodiment of the present invention, when the lower control program 520 is stored in the server 60, the upper control program 520 is a control target device among a plurality of lower control programs stored in the server 60. After searching for the lower control program 522 corresponding to, the installation file of the searched lower control program 522 may be obtained and installed in the memory 52 of the terminal device 50.

상위 제어 프로그램(520)은 매칭 정보(642)에 포함되는 제어 대상 장치의 식별 정보(642a) 또는 식별 정보(642a)에 대응하는 하위 제어 프로그램(522)의 정보를 참조하여, 서버(60)에 저장된 복수의 하위 제어 프로그램 중 식별 정보(642a)에 대응하는 하위 제어 프로그램(522)을 서버(60)로부터 검색할 수 있다. The upper control program 520 refers to the identification information 642a of the control target device included in the matching information 642 or the information of the lower control program 522 corresponding to the identification information 642a, to the server 60 The lower control program 522 corresponding to the identification information 642a among a plurality of stored lower control programs may be retrieved from the server 60.

본 발명의 다른 일 실시예에서, 상위 제어 프로그램(520)은 식별 정보(642a) 또는 하위 제어 프로그램(522)의 정보를 참조하여, 단말 장치(50)의 메모리(52)에 저장된 복수의 하위 제어 프로그램 중 식별 정보(642a)에 대응하는 하위 제어 프로그램(522)을 메모리(52)로부터 검색할 수 있다.In another embodiment of the present invention, the upper control program 520 refers to the identification information 642a or the information of the lower control program 522, and a plurality of lower control programs stored in the memory 52 of the terminal device 50 Among the programs, the lower control program 522 corresponding to the identification information 642a may be retrieved from the memory 52.

예를 들어, 식별 정보(642a) 또는 프로그램 정보(642b)는 하위 제어 프로그램(522)을 식별할 수 있는 고유의 정보이며, 식별 정보(642a)는 제어 대상 장치(10)의 제어 대상 장치 종류, 제어 대상 장치 군 또는 제어 대상 장치 식별 번호를 포함할 수 있고, 프로그램 정보(642b)는 제어 기능에 대한 정보 또는 모니터링 기능에 대한 정보를 포함할 수 있다. For example, the identification information 642a or the program information 642b is unique information capable of identifying the lower control program 522, and the identification information 642a is the type of the control target device of the control target device 10, The control target device group or the control target device identification number may be included, and the program information 642b may include information about a control function or information about a monitoring function.

이때, 상위 제어 프로그램(520)은 제어 대상 장치(10)의 식별 정보(642a)를 이용하여 제어 대상 장치(10) 별로 하위 제어 프로그램(522)을 검색하거나, 프로그램 정보(642b)를 이용하여 제어 또는 모니터링 하는 기능 별로 하위 제어 프로그램(522)을 검색할 수 있다.At this time, the upper control program 520 searches for a lower control program 522 for each control target device 10 using the identification information 642a of the control target device 10, or controls using the program information 642b. Alternatively, the lower control program 522 may be searched for each function to be monitored.

하위 제어 프로그램(522)과 매칭되는 제어 대상 장치(10)는 복수의 제어 대상 장치를 포함할 수 있고, 제어 대상 장치(10)와 매칭되는 하위 제어 프로그램(522)은 복수의 하위 제어 프로그램을 포함할 수 있다. The control target device 10 matching the lower control program 522 may include a plurality of control target devices, and the lower control program 522 matching the control target device 10 includes a plurality of lower control programs can do.

구체적으로, 상위 제어 프로그램(520)은 제어 대상 장치(10)와 일대일로 대응되는 하위 제어 프로그램(522)을 검색할 수 있고, 사용자의 설정 또는 제어 대상 장치별 또는 기능별에 따른 연결 정보(640) 또는 매칭 정보(642)에 따라 복수의 하위 제어 프로그램을 검색할 수 있다.Specifically, the upper control program 520 may search for the lower control program 522 corresponding to the control target device 10 on a one-to-one basis, and the user's setting or connection information 640 according to the control target device or function Alternatively, a plurality of lower control programs may be searched according to the matching information 642.

프로세서(54)는 상위 제어 프로그램(520)이 실행되는 경우 생성되는 실행 정보(620)를 기초로, 메모리(52)에 설치된 하위 제어 프로그램(522)의 제1 리스트와 미리 결정된 통신 범위 내의 제어 대상 장치(10)에 대응하는 하위 제어 프로그램(522)의 제2 리스트를 참조하여, 제2 리스트에 포함된 하위 제어 프로그램(522)에 대한 검색 여부를 판단할 수 있다. The processor 54 includes a first list of the lower control programs 522 installed in the memory 52 and a control target within a predetermined communication range based on the execution information 620 generated when the upper control program 520 is executed. With reference to the second list of the lower control program 522 corresponding to the device 10, it may be determined whether to search for the lower control program 522 included in the second list.

구체적으로, 상위 제어 프로그램(520)은 중복적인 하위 제어 프로그램(522)의 검색 또는 설치를 방지하기 위하여, 기 설치된 하위 제어 프로그램(522)을 포함하는 제1 리스트와 단말 장치(50)에서 미리 결정된 통신 범위 내에 존재하는 제어 대상 장치(10)에 대응하는 하위 제어 프로그램(522)을 포함하는 제2 리스트를 비교 또는 대조할 수 있다. 구체적으로, 상위 제어 프로그램(520)은 제2 리스트가 제1 리스트의 범위를 벗어나는 경우, 제1 리스트의 범위를 벗어난 하위 제어 프로그램(522)을 서버(60)로부터 검색 할 수 있다. Specifically, the upper control program 520 is a first list including the pre-installed lower control program 522 and the terminal device 50 to prevent the search or installation of the redundant lower control program 522. The second list including the lower control program 522 corresponding to the control target device 10 existing within the communication range may be compared or collated. Specifically, when the second list is outside the range of the first list, the upper control program 520 may search the server 60 for a lower control program 522 outside the range of the first list.

예를 들어, 상위 제어 프로그램(520)은 제2 리스트에 포함된 하위 제어 프로그램(522) 중 제1 리스트에 포함된 하위 제어 프로그램(522)에 해당하지 않는 하위 제어 프로그램(522)이 존재하는 경우, 서버(60)로부터 하위 제어 프로그램(522)을 검색할 수 있다.For example, when the upper control program 520 has a lower control program 522 that does not correspond to the lower control program 522 included in the first list among the lower control programs 522 included in the second list , It is possible to search the lower control program 522 from the server 60.

상위 제어 프로그램(520)은 제1 리스트에 제2 리스트가 전부 포함되는 경우, 상위 제어 프로그램(520)의 실행 정보(620)를 기초로 제1 리스트에 포함된 하위 제어 프로그램(522)을 실행할 수 있다. 구체적으로, 상위 제어 프로그램(520)은 제1 리스트에 포함된 하위 제어 프로그램(522)이 제2 리스트에 포함된 하위 제어 프로그램(522)에 모두 포함되는 경우, 서버(60)로부터 하위 제어 프로그램(522)을 검색하지 않고, 메모리(52)에 저장되어 있는 하위 제어 프로그램(522)을 실행할 수 있다.When the second list is all included in the first list, the upper control program 520 may execute the lower control program 522 included in the first list based on the execution information 620 of the upper control program 520. have. Specifically, when all of the lower control programs 522 included in the first list are included in the lower control programs 522 included in the second list, the upper control program 520 is transmitted from the server 60 to the lower control program ( The lower control program 522 stored in the memory 52 can be executed without searching 522.

상위 제어 프로그램(520)은 검색 정보(680)를 기초로 서버(60)에서 검색된 하위 제어 프로그램(522)을 서버(60)로부터 획득하여 메모리(52)에 설치할 수 있다. The upper control program 520 may acquire the lower control program 522 searched by the server 60 based on the search information 680 from the server 60 and install it in the memory 52.

또한, 상위 제어 프로그램(520)은 검색 정보(680)를 기초로 메모리(52)에서 검색된 하위 제어 프로그램(522)의 설치 파일을 메모리(52)로부터 획득하여 메모리(52)에 설치할 수 있다.Also, the upper control program 520 may acquire an installation file of the lower control program 522 searched in the memory 52 based on the search information 680 from the memory 52 and install it in the memory 52.

예를 들어, 상위 제어 프로그램(520)은 상위 제어 프로그램(520)의 검색 결과로부터 생성된 검색 정보(680)를 기초로, 검색된 하위 제어 프로그램(522)의 설치 파일을 서버(60) 또는 메모리(52)로부터 획득하여 메모리(52)에 설치할 수 있다. 이때, 검색 정보(680)는 검색 이력, 검색 경로, 검색 횟수 또는 검색 결과에 따른 하위 제어 프로그램(522)의 리스트를 포함할 수 있다.For example, the upper control program 520 stores the searched installation file of the lower control program 522 on the basis of the search information 680 generated from the search result of the upper control program 520 to the server 60 or the memory ( 52) and can be installed in the memory 52. In this case, the search information 680 may include a search history, a search path, a search number, or a list of the lower control programs 522 according to the search result.

또한, 상위 제어 프로그램(520)은 검색 정보(680)를 기초로 단말 장치(50)의 메모리(52)에서 검색된 하위 제어 프로그램(522)의 설치 파일을 메모리(52)로부터 획득하여 하위 제어 프로그램(522)을 메모리(52)에 설치할 수 있다.In addition, the upper control program 520 acquires the installation file of the lower control program 522 retrieved from the memory 52 of the terminal device 50 based on the search information 680 from the memory 52 and obtains the lower control program ( 522) can be installed in the memory 52.

프로그램 설정 파일(62)은 프로세서(54)에 의하여 상위 제어 프로그램(520)이 실행되는 경우, 상위 제어 프로그램(520)에 의하여 참조될 수 있다. 예를 들어, 프로그램 설정 파일(62)은 실행 정보(620), 연결 정보(640), 매칭 정보(642), 식별 정보(642a), 프로그램 정보(642b), 접속 정보(660), 및 검색 정보(680)를 포함할 수 있다.The program setting file 62 may be referred to by the upper control program 520 when the upper control program 520 is executed by the processor 54. For example, the program setting file 62 includes execution information 620, connection information 640, matching information 642, identification information 642a, program information 642b, access information 660, and search information. (680) may be included.

실행 정보(620)는 단말 장치(50)에서 상위 제어 프로그램(520) 또는 하위 제어 프로그램(522)이 실행될 때 생성되는 데이터이다. 예를 들어, 실행 정보(620)는 사용자의 설정에 의한 명령 데이터를 포함할 수 있다. 이때, 명령 데이터는 검색 명령, 설치 명령, 실행 명령, 제어 명령 또는 모니터링 명령을 포함할 수 있다.The execution information 620 is data generated when the upper control program 520 or the lower control program 522 is executed in the terminal device 50. For example, the execution information 620 may include command data according to a user's setting. In this case, the command data may include a search command, an installation command, an execution command, a control command, or a monitoring command.

연결 정보(640)는 단말 장치(50)가 제어 대상 장치(10)와의 통신 연결을 수행하기 위하여 필요한 통신 데이터이다. 예를 들어, 연결 정보(640)는 매칭 정보(642), 식별 정보(642a), 및 프로그램 정보(642b)를 포함할 수 있다.The connection information 640 is communication data necessary for the terminal device 50 to perform a communication connection with the control target device 10. For example, the connection information 640 may include matching information 642, identification information 642a, and program information 642b.

매칭 정보(642)는 제어 대상 장치(10)와 하위 제어 프로그램(522)을 매칭하기 위하여 필요한 데이터이다. 구체적으로, 미리 결정된 기준에 의하여 식별 정보(642a) 또는 프로그램 정보(642b)와 하위 제어 프로그램(522)을 매칭하여 서버(60)에 매칭 정보(642)를 미리 저장할 수 있다. The matching information 642 is data necessary to match the control target device 10 and the lower control program 522. Specifically, the matching information 642 may be previously stored in the server 60 by matching the identification information 642a or the program information 642b with the lower control program 522 according to a predetermined criterion.

예를 들어, 매칭 정보(642)는 제어 대상 장치(10)의 식별 정보(642a), 제어 대상 장치(10)를 관리하는 하위 제어 프로그램(522)의 식별 데이터 또는 하위 제어 프로그램(522)을 검색하는 상위 제어 프로그램(520)의 식별 데이터를 포함할 수 있다. For example, the matching information 642 searches for identification information 642a of the control target device 10, identification data of the lower control program 522 managing the control target device 10, or the lower control program 522 It may include identification data of the upper control program 520 to be performed.

식별 정보(642a)는 제어 대상 장치(10)를 식별하기 위하여 필요한 데이터이다. 구체적으로, 제어 대상 장치(10)는 제어 대상 장치 종류, 제어 대상 장치 군 또는 설치 정보에 따라 고유의 식별 정보(642a)를 포함할 수 있다. The identification information 642a is data necessary to identify the control target device 10. Specifically, the control target device 10 may include unique identification information 642a according to a control target device type, a control target device group, or installation information.

이때, 설치 정보는 제어 대상 장치(10)의 설치 개수, 설치 위치 또는 사용자로부터 미리 결정된 고유의 설치 데이터를 포함할 수 있다.In this case, the installation information may include the number of installations of the control target device 10, installation locations, or unique installation data predetermined by a user.

프로그램 정보(642b)는 단말 장치(50)가 제어, 검색, 설치 또는 실행하는 프로그램에 대한 정보이다. 예를 들어, 프로그램 정보(642b)는 프로그램의 종류, 프로그램의 고유 번호, 프로그램에 포함된 명령 데이터, 제어 대상 장치에 대한 대응 데이터를 포함할 수 있다. 이때, 프로그램 정보(642b)는 상위 제어 프로그램(520)의 정보 및 하위 제어 프로그램(522)의 정보를 포함한다.The program information 642b is information on a program that the terminal device 50 controls, searches for, installs, or executes. For example, the program information 642b may include a type of a program, a unique number of a program, command data included in the program, and corresponding data for a control target device. At this time, the program information 642b includes information of the upper control program 520 and information of the lower control program 522.

접속 정보(660)는 제어 대상 장치(10)와 단말 장치(50) 사이의 통신에 의한 접속을 관리하는 데이터이다. 예를 들어, 접속 정보(660)는 제어 대상 장치(10)와 상위 제어 프로그램(520) 또는 하위 제어 프로그램(522)의 접속 이력, 프로그램 실행 이력, 프로그램 설치 이력 또는 프로그램 검색 이력을 포함할 수 있다.The connection information 660 is data that manages connection through communication between the control target device 10 and the terminal device 50. For example, the access information 660 may include a connection history, a program execution history, a program installation history, or a program search history between the control target device 10 and the upper control program 520 or the lower control program 522. .

검색 정보(680)는 상위 제어 프로그램(520)이 수행하는 하위 제어 프로그램(522)에 대한 검색을 실행 하거나, 검색 결과를 저장하기 위하여 필요한 데이터이다. The search information 680 is data necessary to perform a search for the lower control program 522 performed by the upper control program 520 or to store a search result.

예를 들어, 검색 정보(680)는 검색 이력, 검색 성공 이력, 제어 대상 장치(10)와 매칭되는 하위 제어 프로그램 리스트 또는 제어 또는 모니터링 기능과 매칭되는 하위 제어 프로그램 리스트를 포함할 수 있다.For example, the search information 680 may include a search history, a search success history, a list of lower control programs matching the control target device 10 or a list of lower control programs matching a control or monitoring function.

프로그램 설정 파일(62)은 제어 대상 장치(10)의 상태 값의 정상 동작 범위 정보와 하위 제어 프로그램의 로그 파일을 저장할 수 있다.The program setting file 62 may store information about a normal operation range of a state value of the control target device 10 and a log file of a lower control program.

상태 값의 정상 동작 범위 정보는 제어 대상 장치(10)가 정상 동작하기 위한 상태 값의 정보를 저장할 수 있다. 예를 들어, 제어 대상 장치(10)가 정상 동작하는 전압 값의 범위가 10V~20V인 경우, 전압 값의 정상 동작 범위 정보는 제어 대상 장치(10)에 대응하도록 전압 값의 범위 10V~20V를 저장할 수 있다.The normal operation range information of the state value may store information of a state value for the control target device 10 to operate normally. For example, when the range of the voltage value in which the control target device 10 operates normally is 10V to 20V, the normal operation range information of the voltage value is set to a voltage value range of 10V to 20V to correspond to the control target device 10. Can be saved.

정상 동작 범위 정보는 사용자 또는 서버(60)로부터 수신하거나 하위 제어 프로그램(522)이 제어 대상 장치(10)를 제어 또는 모니터링하는 과정에서 생성 또는 저장될 수 있다.The normal operation range information may be received from the user or the server 60 or may be generated or stored in the process of controlling or monitoring the control target device 10 by the lower control program 522.

또한, 정상 동작 범위 정보에 포함된 제어 대상 장치(10)의 정상 동작 범위는 복수의 사용자 각각에 대하여 상위 제어 프로그램(520)에 로그인한 사용자 별로 서로 다르게 생성 및 저장될 수 있다. In addition, the normal operation range of the control target device 10 included in the normal operation range information may be differently generated and stored for each user who logs in to the upper control program 520 for each of the plurality of users.

예를 들어, A 사용자가 상위 제어 프로그램(520)에 로그인하여 하위 제어 프로그램(522)을 통해 제어 대상 장치(10)를 모니터링하는 경우, 제어 대상 장치(10)의 전압 값이 정상 동작 범위인 10V~20V와 상이한 15V~25V 일 때, A 사용자가 전압 값 15V~25V를 정상 동작 범위라고 설정하거나, 반복적으로 정상 동작 범위 10V~20V를 기초로 작동한 알람을 방치 한다면, 하위 제어 프로그램(522)은 A 사용자에 대하여 전압 값 15V~25V를 정상 동작 범위로 매칭하여 정상 동작 범위를 생성 및 저장할 수 있다.For example, when the user A logs in to the upper control program 520 and monitors the control target device 10 through the lower control program 522, the voltage value of the control target device 10 is 10V, which is the normal operating range. When 15V~25V is different from ~20V, if the user A sets the voltage value 15V~25V as the normal operation range, or repeatedly neglects the alarm operated based on the normal operation range 10V~20V, the lower control program 522 A can generate and store the normal operating range by matching the voltage value 15V~25V for the user A to the normal operating range.

예를 들어, B 사용자가 상위 제어 프로그램(520)에 로그인하여 하위 제어 프로그램(522)을 통해 제어 대상 장치(10)를 모니터링하는 경우, 제어 대상 장치(10)의 전압 값이 정상 동작 범위인 10V~20V 일 때, B 사용자가 전압 값이 10V~20V 범위에서 반복적인 제어 동작(예를 들어, 전압 차단)을 한다면, 하위 제어 프로그램(522)은 B 사용자에 대하여 전압 값 10V~20V 범위에 대하여 알람 또는 메시지를 제공하도록 상위 제어 프로그램(520)에 보고할 수 있다.For example, when user B logs in to the upper control program 520 and monitors the control target device 10 through the lower control program 522, the voltage value of the control target device 10 is 10V, which is the normal operating range. When ~20V, if the user B performs a repetitive control operation (for example, voltage cutoff) in the range of 10V to 20V, the lower control program 522 is for the voltage value in the range of 10V to 20V for the user B. It may report to the upper control program 520 to provide an alarm or message.

로그 파일은 하위 제어 프로그램(522)이 실행되는 중에 발생하는 이벤트(예를 들어, 제어 이력) 및 메시지(예를 들어, 제어 대상 장치의 상태 값)를 저장할 수 있다.로그 파일은 하위 제어 프로그램(522)이 실행되는 과정에서 생성 및 저장되거나 다른 장치 또는 서버(60)로부터 수신할 수 있다.The log file may store events (e.g., control history) and messages (e.g., status values of the device to be controlled) occurring while the lower control program 522 is being executed. 522) may be created and stored in the process of being executed, or may be received from another device or server 60.

통신부(56)는 상위 제어 프로그램(520)의 실행 정보(620)를 기초로, 제어 대상 장치에 연결 요청 신호를 송출할 수 있다. 구체적으로, 단말 장치(50)에서 상위 제어 프로그램(520)이 실행되는 경우, 통신부(56)는 상위 제어 프로그램(520)에서 생성된 실행 정보(620)를 기초로 제어 대상 장치에 연결 요청 신호를 송출하고, 연결 요청 신호를 수신한 제어 대상 장치로부터 연결 정보(640)를 수신할 수 있다. The communication unit 56 may transmit a connection request signal to the control target device based on the execution information 620 of the upper control program 520. Specifically, when the upper control program 520 is executed in the terminal device 50, the communication unit 56 transmits a connection request signal to the control target device based on the execution information 620 generated by the upper control program 520. The connection information 640 may be received from a control target device that transmits and receives a connection request signal.

예를 들어, 실행 정보(620)는 제어 대상 장치에 대한 검색 명령, 통신 연결 명령 또는 하위 제어 프로그램에 대한 검색 명령을 포함할 수 있다. 이때, 연결 요청 신호는 미리 결정된 통신 가능 범위 내의 제어 대상 장치(10) 또는 통신 모듈과 통신할 수 있는 유선 또는 무선 통신 방식을 통해 송출될 수 있다.For example, the execution information 620 may include a search command for a control target device, a communication connection command, or a search command for a lower control program. In this case, the connection request signal may be transmitted through a wired or wireless communication method capable of communicating with the control target device 10 or a communication module within a predetermined communication range.

통신부(56)는 연결 정보(640)에 포함되는 제어 대상 장치의 식별 정보(642a) 또는 제어 대상 장치에 대한 접속 정보(660)를 참조하여, 제어 대상 장치와 통신할 수 있다. 이때, 통신부(56)는 제어 대상 장치로부터 연결 정보(640)를 수신할 수 있다. The communication unit 56 may communicate with the control target device by referring to the identification information 642a of the control target device or the access information 660 of the control target device included in the connection information 640. In this case, the communication unit 56 may receive the connection information 640 from the control target device.

예를 들어, 연결 정보(640)에 포함되어 있는 식별 정보(642a)는 제어 대상 장치의 제어 대상 장치 종류, 제어 대상 장치 군 또는 제어 대상 장치 식별 번호를 포함할 수 있다. 또한, 접속 정보(660)는 제어 대상 장치와 프로그램 제어 장치 사이의 통신 이력 정보를 포함할 수 있다. 이때, 통신 이력 정보는 통신 횟수 또는 통신 성공 여부를 포함할 수 있다.For example, the identification information 642a included in the connection information 640 may include a control target device type, a control target device group, or a control target device identification number of the control target device. In addition, the access information 660 may include communication history information between the control target device and the program control device. In this case, the communication history information may include the number of communication or whether the communication is successful.

상위 제어 프로그램(520)을 포함하는 단말 장치(50)에서 상위 제어 프로그램(520)이 구동되면, 프로그램 설정 파일(62)에 저장된 정보에 기초하여 상위 제어 프로그램(520)이 자동으로 또는 사용자로부터 수신한 명령에 의해 실행됨으로써, 상위 제어 프로그램(520)으로 하위 제어 프로그램(522)을 검색, 설치, 및 실행할 수 있다.When the upper control program 520 is driven in the terminal device 50 including the upper control program 520, the upper control program 520 is automatically received or received from the user based on the information stored in the program setting file 62 By being executed by one command, the lower control program 522 can be searched, installed, and executed by the upper control program 520.

이하에서는 구체적인 실시예를 통해서 본 발명에 따른 단말 장치(50)의 상위 제어 프로그램(520)의 구동 과정에 대하여 상세히 설명한다.Hereinafter, a driving process of the upper control program 520 of the terminal device 50 according to the present invention will be described in detail through specific embodiments.

도 6은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 순서도이다.6 is a flowchart illustrating an execution of a higher level control program implemented using a terminal device according to an embodiment of the present invention.

도 6을 참조하면, 상위 제어 프로그램(520)은 단말 장치(50)에서 사용자로부터 제어 대상 장치(10)에 대한 검색 요청을 수신한다(S100). 구체적으로, 검색 요청을 수신하는 단계는 사용자로부터 수신한 검색 요청에 따라 상위 제어 프로그램(520)이 하위 제어 프로그램(522)을 검색하거나, 미리 저장된 검색 정보에 따라 상위 제어 프로그램(520)이 자동으로 하위 제어 프로그램(522)을 검색하는 검색 요청을 사용자로부터 수신하는 것을 포함할 수 있다. Referring to FIG. 6, the upper control program 520 receives a search request for the control target device 10 from the user in the terminal device 50 (S100). Specifically, in the step of receiving the search request, the upper control program 520 searches the lower control program 522 according to the search request received from the user, or the upper control program 520 automatically searches the lower control program 522 according to the search information stored in advance. It may include receiving a search request from the user to search for the lower control program 522.

예를 들어, 검색 요청은 검색하고자 하는 제어 대상 장치의 제어 대상 장치 종류 또는 제어 대상 장치 식별 번호를 포함할 수 있다. 또한, 미리 저장된 검색 정보는 자동 검색 주기, 자동 검색 횟수 또는 사용자로부터 수신한 상기 검색 요청을 포함할 수 있다.For example, the search request may include a control target device type or a control target device identification number of the control target device to be searched. Also, the pre-stored search information may include an automatic search period, the number of automatic searches, or the search request received from a user.

이어서, 단말 장치(50)의 통신부(56)에서 검색 요청에 따라 연결 요청 신호를 제어 대상 장치에 송신한다(S105). 구체적으로, 상위 제어 프로그램(520)은 사용자로부터 수신한 검색 요청에 따라 제어 대상 장치에서 연결 정보(640)를 생성 및 송신하도록 하는 연결 요청 신호를 통신부(56)에서 송신할 수 있다. Subsequently, the communication unit 56 of the terminal device 50 transmits a connection request signal to the control target device according to the search request (S105). Specifically, the upper level control program 520 may transmit, from the communication unit 56, a connection request signal for generating and transmitting the connection information 640 in the control target device according to the search request received from the user.

이어서, 단말 장치(50)의 통신부(56)에서 제어 대상 장치(10)로부터 연결 정보(640)를 수신 한다(S110). 구체적으로, 단말 장치(50)에서 미리 결정된 통신 범위 내에 속하는 제어 대상 장치(10)에서 연결 요청 신호를 수신하는 경우, 제어 대상 장치(10)는 연결 정보(640)를 생성하여 단말 장치(50)에 송신할 수 있다. Subsequently, the communication unit 56 of the terminal device 50 receives the connection information 640 from the control target device 10 (S110). Specifically, when the terminal device 50 receives a connection request signal from the control target device 10 that falls within a predetermined communication range, the control target device 10 generates the connection information 640 and the terminal device 50 Can send to.

또한, 제어 대상 장치(10)는 연결 요청 신호를 수신하지 않는 경우에도, 사용자로부터 미리 설정된 주기에 따라 연결 정보(640)를 생성하여 단말 장치(50)에 송신할 수 있다.In addition, even when the control target device 10 does not receive a connection request signal, the connection information 640 may be generated and transmitted to the terminal device 50 according to a preset period from the user.

이어서, 상위 제어 프로그램(520)은 검색 결과 정보를 단말 장치(50)의 디스플레이부에 표시하여 제공한다(S115). 구체적으로, 상위 제어 프로그램(520)은 검색된 제어 대상 장치(10) 및 검색된 제어 대상 장치에 대응되는 하위 제어 프로그램(522)의 설치 여부 및 하위 제어 프로그램(522)의 업데이트 정보를 포함하는 검색 결과 정보를 제공할 수 있다. Subsequently, the upper level control program 520 displays and provides the search result information on the display unit of the terminal device 50 (S115). Specifically, the upper control program 520 is search result information including whether the searched control target device 10 and the lower control program 522 corresponding to the searched control target device is installed, and update information of the lower control program 522 Can provide.

예를 들어, 단말 장치(50)에서 상위 제어 프로그램(520)이 실행되는 경우, 상위 제어 프로그램(520)은 연결 정보(640)를 송신한 제어 대상 장치의 리스트를 제공하거나, 연결 정보(640)를 송신한 제어 대상 장치에 대응되는 하위 제어 프로그램(522)이 단말 장치(50)에 설치되어 있는지를 확인하여 제공할 수 있다. For example, when the upper control program 520 is executed in the terminal device 50, the upper control program 520 provides a list of control target devices that have transmitted the connection information 640, or the connection information 640 It can be provided by checking whether the lower control program 522 corresponding to the control target device that has transmitted is installed in the terminal device 50.

또한, 상위 제어 프로그램(520)은 단말 장치(50)에 설치되어 있는 하위 제어 프로그램(522)의 업데이트 일시, 업데이트 필요 여부 또는 업데이트 가능 여부를 포함하는 업데이트 정보를 단말 장치(50)의 디스플레이부에 표시할 수 있다.In addition, the upper control program 520 displays update information including the update date and time of the lower control program 522 installed in the terminal device 50, whether the update is necessary, or whether the update is possible on the display of the terminal device 50. Can be displayed.

이어서, 상위 제어 프로그램(520)은 서버(60)에서 하위 제어 프로그램(522)을 검색한다(S120). 구체적으로, 상위 제어 프로그램(520)은 연결 정보(640)를 참조하여, 서버(60)에 저장되어 있는 하위 제어 프로그램(522) 중 연결 정보(640)에 매칭되는 하위 제어 프로그램(522)을 검색할 수 있다Subsequently, the upper control program 520 searches for the lower control program 522 from the server 60 (S120). Specifically, the upper control program 520 refers to the connection information 640 and searches for the lower control program 522 that matches the connection information 640 among the lower control programs 522 stored in the server 60. can do

본 발명의 다른 실시예로, 하위 제어 프로그램(520)이 단말 장치(50)의 메모리(52)에 저장되어 있는 경우, 상위 제어 프로그램(520)은 단말 장치(50)의 메모리(52)에 저장된 하위 제어 프로그램(522)을 검색할 수 있다. 구체적으로, 상위 제어 프로그램(520)은 연결 정보(640)를 참조하여, 단말 장치(50)의 메모리(52)에 저장되어 있는 하위 제어 프로그램(522)의 설치 파일 중 연결 정보(640)에 매칭되는 하위 제어 프로그램(522)의 설치 파일을 검색할 수 있다.In another embodiment of the present invention, when the lower control program 520 is stored in the memory 52 of the terminal device 50, the upper control program 520 is stored in the memory 52 of the terminal device 50. The lower control program 522 can be searched. Specifically, the upper control program 520 refers to the connection information 640 and matches the connection information 640 among the installation files of the lower control program 522 stored in the memory 52 of the terminal device 50 The installation file of the lower control program 522 to be used can be searched.

이어서, 상위 제어 프로그램(520)은 서버(60)로부터 검색된 하위 제어 프로그램(522)을 획득한다(S125). 구체적으로, 상위 제어 프로그램(520)에 의하여 서버(60)에서 하위 제어 프로그램(522)이 검색되는 경우, 상위 제어 프로그램(520)은 서버(60)에서 검색된 하위 제어 프로그램(522)의 설치 파일을 획득할 수 있다.Subsequently, the upper control program 520 obtains the lower control program 522 retrieved from the server 60 (S125). Specifically, when the lower control program 522 is retrieved from the server 60 by the upper control program 520, the upper control program 520 stores the installation file of the lower control program 522 retrieved from the server 60. Can be obtained.

본 발명의 다른 실시예로, 하위 제어 프로그램(520)이 단말 장치(50)의 메모리(52)에 저장되어 있는 경우, 상위 제어 프로그램(520)은 메모리(52)에서 검색된 하위 제어 프로그램(522)의 설치 파일을 획득할 수 있다.In another embodiment of the present invention, when the lower control program 520 is stored in the memory 52 of the terminal device 50, the upper control program 520 is the lower control program 522 retrieved from the memory 52. You can get the installation file of

이어서, 상위 제어 프로그램(520)은 획득한 하위 제어 프로그램(522)을 단말 장치(50)의 메모리(52)에 설치한다(S130). 구체적으로, 상위 제어 프로그램(520)은 서버(60) 또는 메모리(52)에서 획득한 하위 제어 프로그램(522)의 설치 파일을 이용하여 단말 장치(50)의 메모리(52)에 하위 제어 프로그램(522)을 설치할 수 있다.Subsequently, the upper control program 520 installs the acquired lower control program 522 in the memory 52 of the terminal device 50 (S130). Specifically, the upper control program 520 uses the installation file of the lower control program 522 obtained from the server 60 or the memory 52 and stores the lower control program 522 in the memory 52 of the terminal device 50. ) Can be installed.

이어서, 단말 장치(50)에서 제어 또는 모니터링 신호를 제어 대상 장치(10)에 송신한다(S135). 구체적으로, 단말 장치(50)에서 프로세서(52)에 의하여 상위 제어 프로그램(520) 또는 하위 제어 프로그램(522)이 실행되는 경우, 통신부(56)에서 제어 또는 모니터링 하고자 하는 특정 제어 대상 장치에 제어 또는 모니터링 신호를 송신할 수 있다.Subsequently, the terminal device 50 transmits a control or monitoring signal to the control target device 10 (S135). Specifically, when the upper control program 520 or the lower control program 522 is executed by the processor 52 in the terminal device 50, the communication unit 56 controls or controls a specific control target device to be controlled or monitored. Can transmit monitoring signal.

이어서, 단말 장치(50)에서 제어 대상 장치(10)로부터 제어 또는 모니터링 정보를 수신한다(S140). 구체적으로, 제어 또는 모니터링 신호를 수신한 특정 제어 대상 장치는 제어값 또는 모니터링값을 포함하는 제어 또는 모니터링 정보를 단말 장치(50)의 통신부(56)에 송신할 수 있다. 이때, 상위 제어 프로그램(520) 또는 하위 제어 프로그램(522)은 제어 또는 모니터링 정보를 수신하여, 단말 장치(50)의 디스플레이부에 표시할 수 있다.Subsequently, the terminal device 50 receives control or monitoring information from the control target device 10 (S140). Specifically, a specific control target device receiving a control or monitoring signal may transmit control or monitoring information including a control value or a monitoring value to the communication unit 56 of the terminal device 50. In this case, the upper control program 520 or the lower control program 522 may receive control or monitoring information and display it on the display unit of the terminal device 50.

도 7은 본 발명의 몇몇 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.7 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to some embodiments of the present invention.

도 7을 참조하면, 먼저 단말 장치(50)에 설치된 상위 제어 프로그램(520)이 사용자에 의하여 실행 된다(S200). 예를 들어, 사용자가 단말 장치(50)의 디스플레이부에 표시된 상위 제어 프로그램(520)과 대응되는 아이콘을 손가락 또는 마우스를 이용하여 더블 클릭하면, 더블 클릭된 아이콘과 대응되는 상위 제어 프로그램(520)이 실행될 수 있다.Referring to FIG. 7, first, the upper control program 520 installed in the terminal device 50 is executed by the user (S200). For example, when a user double-clicks an icon corresponding to the upper control program 520 displayed on the display unit of the terminal device 50 using a finger or a mouse, the upper control program 520 corresponding to the double-clicked icon This can be done.

본 발명의 다른 실시예에서, 상위 제어 프로그램(520)이 단말 장치(50)와 다른 외부 장치(미도시) 또는 서버(60)에 설치된 경우, 상위 제어 프로그램(520)은 외부 장치(미도시) 또는 서버(60)와 통신하는 단말 장치(50) 에서 사용자의 원격 제어에 의하여 실행 될 수 있다.In another embodiment of the present invention, when the upper control program 520 is installed in an external device (not shown) different from the terminal device 50 or the server 60, the upper control program 520 is an external device (not shown). Alternatively, it may be executed by the user's remote control in the terminal device 50 communicating with the server 60.

이어서, 상위 제어 프로그램(520)은 제어 대상 장치(10)를 검색하고, 검색 메시지(S215)를 제공한다(S210). 구체적으로, 상위 제어 프로그램(520)은 단말 장치(50)에서 미리 결정된 통신 가능 범위 내의 제어 대상 장치(10)로부터 연결 정보(640)를 수신하거나, 제어 대상 장치(10)에 연결 요청 신호를 송신한 후 연결 요청 신호의 응답으로 제어 대상 장치(10)로부터 연결 정보(640)를 수신할 수 있다. Subsequently, the upper control program 520 searches for the control target device 10 and provides a search message S215 (S210). Specifically, the upper control program 520 receives the connection information 640 from the control target device 10 within a predetermined communication range in the terminal device 50 or transmits a connection request signal to the control target device 10 After that, the connection information 640 may be received from the control target device 10 in response to the connection request signal.

이때, 연결 정보(640)를 수신하거나 연결 요청 신호를 송신하는 단계는 미리 설정된 수신 또는 송신 정보에 의하여 자동으로 실행되거나, 사용자로부터 수신한 요청 정보에 의하여 실행될 수 있다.In this case, the step of receiving the connection information 640 or transmitting the connection request signal may be automatically performed according to preset reception or transmission information, or may be performed according to request information received from a user.

이어서, 상위 제어 프로그램(520)은 검색된 제어 대상 장치(10)에 대응되는 하위 제어 프로그램(522)을 설치하고, 설치 메시지(S235)를 제공한다(S230). Subsequently, the upper control program 520 installs the lower control program 522 corresponding to the searched control target device 10 and provides an installation message S235 (S230).

하위 제어 프로그램(522)의 설치가 완료되면, 상위 제어 프로그램(520)은 새로 설치된 하위 제어 프로그램에 대응되는 아이콘(522)을 생성하여 제어 대상 장치(10)의 디스플레이부에 표시한다.When the installation of the lower control program 522 is completed, the upper control program 520 creates an icon 522 corresponding to the newly installed lower control program and displays it on the display of the control target device 10.

도 8은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.8 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to an embodiment of the present invention.

도 8을 참조하면, 상위 제어 프로그램(520)은 사용자로부터 수신한 검색 모드 설정(S310)에 따라, 사용자로부터 제어 대상 장치 종류(S330) 또는 제어 대상 장치 식별 번호(S350)를 수신할 수 있다. Referring to FIG. 8, the upper level control program 520 may receive a control target device type (S330) or a control target device identification number (S350) from a user according to a search mode setting (S310) received from a user.

이때, 제어 대상 장치 종류 또는 제어 대상 장치 식별 번호는 제어 대상 장치를 식별하기 위하여 미리 결정된 고유의 식별 코드를 포함할 수 있다. In this case, the control target device type or the control target device identification number may include a predetermined unique identification code to identify the control target device.

예를 들어, 상위 제어 프로그램(520)은 사용자로부터 제어 대상 장치 종류(A) 또는 제어 대상 장치 식별 번호(A101)를 수신하여 특정 제어 대상 장치 종류(A) 또는 특정 제어 대상 장치 식별 번호(A101)에 해당하는 특정 제어 대상 장치를 검색할 수 있다.For example, the upper level control program 520 receives a control target device type (A) or a control target device identification number (A101) from a user, and receives a specific control target device type (A) or a specific control target device identification number (A101). You can search for a specific control target device corresponding to.

이어서, 상위 제어 프로그램(520)은 사용자로부터 검색 시작 명령(S370)을 수신할 수 있다. 이때, 상위 제어 프로그램(520)은 사용자로부터 수신한 검색 시작 명령에 따라 검색을 시작하거나, 정지 또는 종료할 수 있다.Subsequently, the upper level control program 520 may receive a search start command (S370) from the user. In this case, the upper level control program 520 may start, stop, or end the search according to the search start command received from the user.

도 9는 본 발명의 다른 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램이 실행되는 과정을 설명하기 위한 도면이다.9 is a diagram for explaining a process of executing an upper control program implemented using a terminal device according to another embodiment of the present invention.

도 9를 참조하면, 먼저 단말 장치(50)에 설치된 상위 제어 프로그램(520)이 사용자에 의해서 실행 된다(S400). 예를 들어, 사용자가 단말 장치(50)의 디스플레이부에 표시된 상위 제어 프로그램(520)과 대응되는 아이콘을 손가락 또는 마우스를 이용하여 더블 클릭하면, 더블 클릭된 아이콘과 대응되는 상위 제어 프로그램(520)이 실행될 수 있다. 이때, 상위 제어 프로그램(520)과 대응되는 아이콘과 하위 제어 프로그램(522)과 대응되는 아이콘은 서로 구별되어 표시될 수 있다. Referring to FIG. 9, first, the upper control program 520 installed in the terminal device 50 is executed by the user (S400). For example, when a user double-clicks an icon corresponding to the upper control program 520 displayed on the display unit of the terminal device 50 using a finger or a mouse, the upper control program 520 corresponding to the double-clicked icon This can be done. In this case, an icon corresponding to the upper control program 520 and an icon corresponding to the lower control program 522 may be distinguished from each other and displayed.

본 발명의 다른 실시예에서, 상위 제어 프로그램(520)이 단말 장치(50)와 다른 외부 장치(미도시) 또는 서버(60)에 설치된 경우, 상위 제어 프로그램(520)은 외부 장치(미도시) 또는 서버(60)와 통신하는 단말 장치(50) 에서 사용자의 원격 제어에 의하여 실행 될 수 있다.이어서, 상위 제어 프로그램(520)은 제어 대상 장치(10)를 검색하고, 검색된 제어 대상 장치에 대응되는 하위 제어 프로그램(522)의 설치 여부를 확인하여 표시한다(S410). 구체적으로, 상위 제어 프로그램(520)은 단말 장치(50)에서 미리 결정된 통신 가능 범위 내의 제어 대상 장치(10)로부터 연결 정보(640)를 수신하거나, 제어 대상 장치(10)에 연결 요청 신호를 송신한 후 연결 요청 신호의 응답으로 제어 대상 장치(10)로부터 연결 정보(640)를 수신할 수 있다. In another embodiment of the present invention, when the upper control program 520 is installed in an external device (not shown) different from the terminal device 50 or the server 60, the upper control program 520 is an external device (not shown). Alternatively, it may be executed by the user's remote control in the terminal device 50 communicating with the server 60. Subsequently, the upper control program 520 searches for the control target device 10 and corresponds to the searched control target device. Whether the lower control program 522 is installed is checked and displayed (S410). Specifically, the upper control program 520 receives the connection information 640 from the control target device 10 within a predetermined communication range in the terminal device 50 or transmits a connection request signal to the control target device 10 After that, the connection information 640 may be received from the control target device 10 in response to the connection request signal.

예를 들어, 단말 장치(50)의 디스플레이부에 표시되는 검색 결과 정보(S415)는 연결 정보(640)를 송신한 제어 대상 장치의 리스트 및 연결 정보(640)를 송신한 제어 대상 장치에 대응하는 하위 제어 프로그램의 설치 여부를 포함할 수 있다. For example, the search result information S415 displayed on the display unit of the terminal device 50 corresponds to a list of control target devices that have transmitted the connection information 640 and the control target device that has transmitted the connection information 640. It may include whether to install a lower control program.

이때, 연결 정보(640)를 송신한 제어 대상 장치의 리스트를 표시할 수 있다. 또한, 상위 제어 프로그램(520)은 연결 정보(640)를 송신한 제어 대상 장치에 대응하는 하위 제어 프로그램이 단말 장치(50)에 설치되어 있는지 확인하고, 설치 여부를 상기 리스트에 대응되도록 표시할 수 있다.In this case, a list of control target devices that have transmitted the connection information 640 may be displayed. In addition, the upper control program 520 can check whether a lower control program corresponding to the control target device that has transmitted the connection information 640 is installed in the terminal device 50, and display whether or not to be installed to correspond to the list. have.

또한, 단말 장치(50)의 디스플레이부에 표시되는 검색 결과 정보(S415)는 하위 제어 프로그램의 업데이트 정보를 표시할 수 있다. 구체적으로, 업데이트 정보는 단말 장치(50)에 설치된 하위 제어 프로그램의 업데이트 필요 여부, 업데이트 가능 여부 또는 기존 업데이트 날짜를 포함할 수 있으며, 상위 제어 프로그램은 하위 제어 프로그램을 업데이트할 수 있다.Also, the search result information S415 displayed on the display unit of the terminal device 50 may display update information of a lower control program. Specifically, the update information may include whether a lower control program installed in the terminal device 50 needs to be updated, whether an update is possible, or an existing update date, and the upper control program may update the lower control program.

예를 들어, 사용자가 단말 장치(50)의 디스플레이부에 표시된 하위 제어 프로그램(522)과 대응되는 업데이트 아이콘(미도시)을 손가락 또는 마우스를 이용하여 더블 클릭하면, 더블 클릭된 업데이트 아이콘과 대응되는 하위 제어 프로그램(522)이 업데이트 될 수 있다. For example, when a user double-clicks an update icon (not shown) corresponding to the lower control program 522 displayed on the display unit of the terminal device 50 using a finger or a mouse, The lower control program 522 may be updated.

또한, 상위 제어 프로그램(520)은 단말 장치(50)의 디스플레이부에 표시되는 제어 대상 장치(10)에 대응되는 하위 제어 프로그램(522)을 실행할 수 있다. In addition, the upper control program 520 may execute the lower control program 522 corresponding to the control target device 10 displayed on the display unit of the terminal device 50.

예를 들어, 사용자가 단말 장치(50)의 디스플레이부에 표시된 제어 대상 장치(A101)의 목록을 손가락 또는 마우스를 이용하여 더블 클릭하면, 더블 클릭된 제어 대상 장치의 목록(A101)과 대응되는 하위 제어 프로그램(522_1)이 상위 제어 프로그램(520)에 의하여 실행될 수 있다.For example, when the user double-clicks the list of control target devices A101 displayed on the display unit of the terminal device 50 using a finger or a mouse, the lower part corresponding to the double-clicked control target device list A101 The control program 522_1 may be executed by the upper control program 520.

이어서, 상위 제어 프로그램(520)은 사용자로부터 수신한 설치 요청에 따라서 또는 자동으로 하위 제어 프로그램(522)을 설치하고, 현재 설치되고 있는 하위 제어 프로그램명을 포함하는 설치 메시지(S435)를 표시한다(S430). Subsequently, the upper control program 520 installs the lower control program 522 automatically or according to the installation request received from the user, and displays an installation message (S435) including the name of the lower control program currently being installed ( S430).

예를 들어, 사용자가 검색 결과 정보(S435)에서 제어 대상 장치(A102)에 대응되는 하위 제어 프로그램의 설치 여부(미설치) 란을 더블 클릭하면, 상위 제어 프로그램(520)은 사용자에 의해 더블 클릭된 제어 대상 장치(A102)에 대응되는 하위 제어 프로그램을 설치하면서 설치 메시지(S435)를 표시할 수 있다. 또 다른 예로, 상위 제어 프로그램(520)은 검색 결과 정보(S435)에서 하위 제어 프로그램이 설치되지 않은 제어 대상 장치(A102, B102, B103)에 대응되는 하위 제어 프로그램을 사용자의 요청과 관계없이 자동으로 설치할 수도 있다.For example, when the user double-clicks the installation (not installed) field of the lower control program corresponding to the control target device A102 in the search result information (S435), the upper control program 520 is double-clicked by the user. The installation message S435 may be displayed while installing a lower control program corresponding to the control target device A102. As another example, the upper control program 520 automatically searches the lower control program corresponding to the control target devices A102, B102, B103 in which the lower control program is not installed in the search result information S435, regardless of the user's request. It can also be installed.

하위 제어 프로그램의 설치가 완료되면, 상위 제어 프로그램(520)은 새로 설치된 하위 제어 프로그램에 대응되는 아이콘(522_3)을 생성하여 제어 대상 장치(10)의 디스플레이부에 표시한다.When the installation of the lower control program is completed, the upper control program 520 generates an icon 522_3 corresponding to the newly installed lower control program and displays it on the display of the control target device 10.

도 10은 본 발명의 일 실시예에 따른 단말 장치를 이용하여 구현되는 상위 제어 프로그램 및 하위 제어 프로그램이 실행되는 순서도이다.10 is a flowchart illustrating execution of an upper control program and a lower control program implemented using a terminal device according to an embodiment of the present invention.

도 10을 참조하면, 하위 제어 프로그램(522)은 제어 대상 장치의 상태 값을 획득한다(S500). 예를 들어, 제어 대상 장치의 상태 값은 제어 대상 장치의 전류 값, 전압 값, 전력 값 또는 주파수 값을 포함할 수 있다.Referring to FIG. 10, the lower control program 522 acquires a state value of a control target device (S500). For example, the state value of the controlling device may include a current value, a voltage value, a power value, or a frequency value of the controlling device.

이어서, 하위 제어 프로그램(522)은 제어 대상 장치의 상태 값이 미리 정해진 정상 동작 범위에 포함되는지 여부를 판단한다(S510). 구체적으로, 하위 제어 프로그램(522)은 제어 대상 장치를 제어하거나 모니터링하는 과정에서 제어 대상 장치로부터 획득한 상태 값이 미리 저장된 제어 대상 장치의 정상 동작 범위내에 속하는지 여부를 판단할 수 있다.Subsequently, the lower control program 522 determines whether the state value of the control target device is included in a predetermined normal operation range (S510). Specifically, the lower control program 522 may determine whether or not a state value obtained from the control target device falls within the normal operation range of the control target device stored in advance during the process of controlling or monitoring the control target device.

예를 들어, 하위 제어 프로그램(522)은 서버(60) 또는 메모리(52)에 미리 저장된 제어 대상 장치의 정상 동작 범위를 이용하여, 제어 대상 장치의 상태 값이 미리 정해진 정상 동작 범위에 속하는지 여부를 상기 상태 값과 상기 정상 동작 범위를 비교하여 판단할 수 있다.For example, the lower control program 522 uses the normal operation range of the control target device stored in advance in the server 60 or the memory 52, and whether the state value of the control target device falls within a predetermined normal operation range. May be determined by comparing the state value with the normal operation range.

이어서, 하위 제어 프로그램(522)은 제어 대상 장치의 상태 값이 정상 동작 범위를 벗어나는 경우, 제어 대상 장치에 이상이 발생했음을 상위 제어 프로그램에 보고한다.Subsequently, when the state value of the controlling device is out of the normal operation range, the lower control program 522 reports to the upper control program that an abnormality has occurred in the controlling device.

이어서, 상위 제어 프로그램(520)은 하위 제어 프로그램으로부터 제어 대상 장치에 이상이 발생했음을 보고 받으면 알람을 발생한다(S520). 이때,, 상위 제어 프로그램(520)은 제어 대상 장치의 상태 값이 정상 동작 범위로부터 미리 결정된 오차 범위를 벗어나는지 확인하고, 제어 대상 장치의 상태 값이 오차 범위를 벗어나는 경우 알람을 발생할 수 있다.Subsequently, the upper control program 520 generates an alarm when it receives a report that an abnormality has occurred in the control target device from the lower control program (S520). In this case, the upper control program 520 checks whether the state value of the control target device is out of a predetermined error range from the normal operation range, and may generate an alarm when the state value of the control target device exceeds the error range.

예를 들어, 상위 제어 프로그램(520)은 제어 대상 장치의 상태 값이 정상 동작 범위로부터 미리 결정된 오차 범위를 벗어나는 경우, 정상 동작 범위 및 제어 대상 장치의 상태 값을 단말 장치(50)의 디스플레이부에 표시할 수 있다. 또한, 상위 제어 프로그램(520)은 하위 제어 프로그램(522)의 로그 파일을 기초로 사용자에게 최빈값에 따라 하위 제어 프로그램(522)을 제어할 것을 추천하는 메시지를 알람과 함께 제공할 수 있다.For example, when the state value of the control target device is out of a predetermined error range from the normal operation range, the upper control program 520 displays the normal operation range and the state value of the control target device on the display of the terminal device 50. Can be displayed. Also, the upper control program 520 may provide a message recommending that the user to control the lower control program 522 according to the mode based on the log file of the lower control program 522 along with an alarm.

예를 들어, 상위 제어 프로그램(520)은 제어 대상 장치(10)의 전압 값이 미리 결정된 오차 범위를 5V 벗어나는 경우, 하위 제어 프로그램(522)의 최빈 값(예를 들어, 전압 값이 미리 결정된 오차 범위를 5V 벗어나는 경우에 대한 최빈값은 전압 차단 제어 동작)을 기초로 전압을 차단할 것을 추천하는 메시지를 제공할 수 있다.For example, when the voltage value of the control target device 10 is out of a predetermined error range by 5V, the upper control program 520 is a mode value of the lower control program 522 (for example, the voltage value is a predetermined error). A message recommending that the voltage be cut off may be provided based on a mode value for a case outside the range of 5V (voltage cutoff control operation).

이때, 상위 제어 프로그램(520)은 사용자로부터 정상 동작 범위 또는 오차 범위를 입력 받거나 서버(60)로부터 정상 동작 범위 또는 오차 범위를 수신할 수 있다.In this case, the upper control program 520 may receive a normal operation range or an error range from a user or a normal operation range or an error range from the server 60.

이어서, 상위 제어 프로그램(520)은 제어 대상 장치의 상태 값이 정상 동작 범위를 벗어나는 경우, 하위 제어 프로그램의 로그 파일 중 최빈값을 이용하여 하위 제어 프로그램을 통제할 수 있다. Subsequently, when the state value of the control target device is out of the normal operation range, the upper control program 520 may control the lower control program using the mode value among log files of the lower control program.

구체적으로, 하위 제어 프로그램(522)의 로그 파일은 하위 제어 프로그램(522)이 실행되는 중에 발생하는 이벤트(예를 들어, 제어 이력) 및 메시지(예를 들어, 제어 대상 장치의 상태 값)를 저장하는 데이터이다.Specifically, the log file of the lower control program 522 stores events (eg, control history) and messages (eg, status values of the control target device) occurring while the lower control program 522 is being executed. This is the data.

또한, 하위 제어 프로그램(522)은 다른 장치에서 생성된 하위 제어 프로그램의 로그 파일을 수신할 수 있다. 다른 장치에서 생성된 다른 사용자 또는 다른 하위 제어 프로그램의 로그 파일을 이용함으로써, 제어 대상 장치의 상태 값에 대하여 정확하거나 적합한 제어를 수행할 수 있다.In addition, the lower control program 522 may receive a log file of the lower control program generated in another device. By using a log file of another user or another sub-control program created in another device, it is possible to perform accurate or appropriate control on the state value of the control target device.

또한, 최빈값은 로그 파일에 포함된 하위 제어 프로그램의 제어 이력 중 다른 제어 이력에 비해 가장 많이 저장되어 있는 제어 이력 데이터를 의미할 수 있다.In addition, the mode value may mean control history data that is stored the most compared to other control history among the control history of the lower control program included in the log file.

예를 들어, 제어 대상 장치의 전압 값이 정상 동작 범위(예를 들어, 10V 내지 15V)에서 5V 벗어난 20V를 갖는 경우, 하위 제어 프로그램이 전압 값을 10V 내리는 제어를 10번, 전압 값을 5V 내리는 제어를 5번 수행했다면, 최빈값은 하위 제어 프로그램이 제어 대상 장치의 전압 값을 10V 내리는 제어 이력 데이터이다.For example, if the voltage value of the device to be controlled has 20V out of 5V from the normal operating range (for example, 10V to 15V), the lower control program controls the voltage value by 10V and decreases the voltage value by 5V. If the control is performed 5 times, the mode is the control history data in which the lower control program lowers the voltage value of the device to be controlled by 10V.

상위 제어 프로그램(520)은 최빈값이 복수인지 판단한다(S530). 예를 들어, 상기 예시에서 하위 제어 프로그램이 전압 값을 10V 내리는 제어를 10번, 전압 값을 5V 내리는 제어를 10번 수행했다면 최빈값이 복수가 될 수 있다.The upper level control program 520 determines whether the mode is plural (S530). For example, in the above example, if the lower control program performs the control of decreasing the voltage value by 10V 10 times and controlling the voltage value by 5V 10 times, there may be a plurality of modes.

상위 제어 프로그램(520)은 최빈값이 복수인 경우, 사용자로부터 복수의 최빈값 중 사용자가 실행하고자 하는 최빈값을 수신한다(S535). 예를 들어, 상기 예시에서 하위 제어 프로그램이 전압 값을 10V 내리는 제어를 10번, 전압 값을 5V 내리는 제어를 10번 수행하여 최빈값이 복수인 경우, 사용자로부터 전압 값을 5V 내리는 최빈값을 입력 받을 수 있다.When there is a plurality of modes, the upper control program 520 receives a mode value that the user intends to execute from among the plurality of modes from the user (S535). For example, in the above example, if the lower control program performs 10 times of controlling the voltage value by 10V and controlling the voltage value by 5V 10 times, and there are multiple modes, the user can input the mode of decreasing the voltage value by 5V. have.

이어서, 상위 제어 프로그램(520)은 복수의 최빈값 중 사용자로부터 선택된 최빈값을 이용하거나, 단수인 최빈값을 이용하여 하위 제어 프로그램(522)을 통제한다(S540). 예를 들어, 상위 제어 프로그램(520)은 하위 제어 프로그램(522)을 통해 제어 대상 장치를 제어할 수 있고, 선택된 최빈값에 따라서는 하위 제어 프로그램(522)을 실행시키지 않을 수도 있다.Subsequently, the upper control program 520 controls the lower control program 522 by using the mode selected by the user among the plurality of mode values or by using the mode value which is the singular number (S540). For example, the upper control program 520 may control the control target device through the lower control program 522, and may not execute the lower control program 522 depending on the selected mode.

이어서, 하위 제어 프로그램(522)은 제어 이력을 로그 파일에 저장한다(S550). 예를 들어, 하위 제어 프로그램(522)은 로그 파일에 최빈값 및 최빈값에 따른 제어 이력을 누적하여 저장할 수 있고, 다른 장치와 로그 파일을 공유할 수 있다.Subsequently, the lower control program 522 stores the control history in a log file (S550). For example, the lower control program 522 may accumulate and store a control history according to a mode value and a mode value in a log file, and may share the log file with other devices.

지금까지 설명된 본 발명에 따르면 사용자가 제어 대상 장치나 제어 프로그램의 종류를 직접 확인하지 않고도, 각 제어 대상 장치에 적합한 제어 프로그램을 용이하게 설치할 수 있는 장점이 있다.According to the present invention described so far, there is an advantage that a user can easily install a control program suitable for each control target device without directly checking the type of the control target device or the control program.

또한, 본 발명에 따르면 설치된 제어 프로그램의 수가 증가하더라도 사용자가 각 제어 프로그램의 설치 여부나, 각 제어 프로그램의 실행 버튼 또는 아이콘의 위치를 용이하게 확인할 수 있는 장점이 있다.In addition, according to the present invention, even if the number of installed control programs increases, there is an advantage in that the user can easily check whether each control program is installed or the location of an execution button or icon of each control program.

또한, 본 발명에 따르면 각 제어 대상 장치에 대응되는 제어 프로그램의 업데이트 필요 여부를 확인하고, 제어 프로그램을 용이하게 업데이트할 수 있는 장점이 있다.In addition, according to the present invention, it is possible to check whether a control program corresponding to each control target device needs to be updated, and to easily update the control program.

또한, 본 발명에 따르면 설치된 제어 프로그램에 대응되는 제어 대상 장치를 사용자가 신속하게 확인하고, 제어 프로그램을 간편하게 실행할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage in that a user can quickly check a control target device corresponding to an installed control program and simply execute the control program.

또한, 본 발명에 따르면 제어 대상 장치의 상태 값의 변화에 따라 제어 대상 장치의 정상 동작 여부를 확인하고, 제어 프로그램을 용이하게 통제할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage in that it is possible to check whether a control target device is normally operated according to a change in a state value of the control target device, and to easily control a control program.

또한, 본 발명에 따르면 제어 대상 장치의 상태 값에 따라 적합하게 제어 프로그램을 통제할 수 있는 장점이 있다.전술한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.In addition, according to the present invention, there is an advantage in that the control program can be appropriately controlled according to the state value of the device to be controlled. The present invention described above is for those of ordinary skill in the art to which the present invention belongs. Since various substitutions, modifications, and changes are possible within the scope of the technical concept of, it is not limited by the above-described embodiments and the accompanying drawings.

Claims (7)

제어 대상 장치를 관리하는 하위 제어 프로그램 및 상기 하위 제어 프로그램을 실행하는 상위 제어 프로그램 중 적어도 하나가 설치된 적어도 하나의 메모리;
상기 메모리와 통신하며 상기 상위 제어 프로그램 또는 상기 하위 제어 프로그램을 실행하는 적어도 하나의 프로세서; 및
연결 요청 신호 또는 모니터링 신호를 상기 제어 대상 장치에 송신하고, 이후 상기 제어 대상 장치로부터 연결 정보 또는 모니터링 정보를 수신하는 통신부를 포함하고,
상기 상위 제어 프로그램은
서버로부터 검색된 상기 하위 제어 프로그램을 획득하여 단말 장치의 메모리에 설치 및 상기 하위 제어 프로그램의 업데이트가 가능하고,
상기 하위 제어 프로그램은,
상기 제어 대상 장치의 상태 값을 획득하는 단계와,
상기 제어 대상 장치의 상태 값이 미리 정해진 정상 동작 범위에 포함되는지 여부를 판단하는 단계와,
상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위를 벗어나는 경우, 상기 제어 대상 장치에 이상이 발생했음을 상기 상위 제어 프로그램에 보고하는 단계를 실행하는
단말 장치.
At least one memory in which at least one of a lower control program for managing a control target device and an upper control program for executing the lower control program is installed;
At least one processor communicating with the memory and executing the upper control program or the lower control program; And
A communication unit that transmits a connection request signal or a monitoring signal to the control target device, and then receives connection information or monitoring information from the control target device,
The upper level control program is
It is possible to acquire the lower control program searched from the server, install it in the memory of the terminal device, and update the lower control program,
The lower control program,
Obtaining a state value of the control target device; and
Determining whether a state value of the control target device is included in a predetermined normal operation range;
When the state value of the control target device is out of the normal operation range, reporting to the upper level control program that an abnormality has occurred in the control target device is executed.
Terminal device.
제1항에 있어서,
상기 상위 제어 프로그램은,
상기 하위 제어 프로그램으로부터 상기 제어 대상 장치에 이상이 발생했음을 보고 받으면 알람을 발생하는 단계를 실행하는
단말 장치.
The method of claim 1,
The upper level control program,
Executing the step of generating an alarm when a report is received that an abnormality has occurred in the control target device from the lower control program
Terminal device.
제2항에 있어서,
상기 상위 제어 프로그램은,
상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위로부터 미리 결정된 오차 범위를 벗어나는지 확인하는 단계와,
상기 제어 대상 장치의 상태 값이 상기 오차 범위를 벗어나는 경우 알람을 발생하는 단계를 실행하는
단말 장치.
The method of claim 2,
The upper level control program,
Checking whether a state value of the control target device is out of a predetermined error range from the normal operation range; and
Executing the step of generating an alarm when the state value of the control target device is out of the error range
Terminal device.
제2항에 있어서,
상기 상위 제어 프로그램은,
복수의 사용자 중 상기 상위 제어 프로그램에 로그인한 사용자의 로그인 정보를 기초로 상기 알람 발생 여부 또는 상기 정상 동작 범위를 상기 사용자 별로 서로 다르게 설정하는 단계를 실행하는
단말 장치.
The method of claim 2,
The upper level control program,
Executing the step of setting whether or not the alarm occurs or the normal operation range differently for each user based on the login information of a user who has logged in to the upper control program among a plurality of users.
Terminal device.
제1항에 있어서,
상기 상위 제어 프로그램은,
상기 제어 대상 장치의 상태 값이 상기 정상 동작 범위를 벗어나는 경우,
상기 하위 제어 프로그램의 로그 파일 중 최빈값을 이용하여 상기 하위 제어 프로그램을 통제하는 단계를 실행하는
단말 장치.
The method of claim 1,
The upper level control program,
When the state value of the control target device is out of the normal operation range,
Executing the step of controlling the lower control program using a mode value among the log files of the lower control program
Terminal device.
제5항에 있어서,
상기 상위 제어 프로그램은,
상기 최빈값이 복수인 경우, 사용자로부터 선택된 상기 최빈값을 이용하여 상기 하위 제어 프로그램을 통제하는 단계를 실행하는
단말 장치.
The method of claim 5,
The upper level control program,
When the mode value is plural, performing the step of controlling the lower control program using the mode value selected by a user
Terminal device.
제1항에 있어서,
상기 하위 제어 프로그램은,
다른 장치에서 생성된 상기 하위 제어 프로그램의 로그 파일을 수신하는 단계를 더 실행하는
단말 장치.
The method of claim 1,
The lower control program,
Further performing the step of receiving a log file of the lower control program generated in another device
Terminal device.
KR1020170064926A 2017-05-25 2017-05-25 Terminal apparatus for executing control program KR102236158B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020170064926A KR102236158B1 (en) 2017-05-25 2017-05-25 Terminal apparatus for executing control program
US16/614,568 US10915611B2 (en) 2017-05-25 2017-08-09 Control program execution method
CN201780091189.1A CN110678819B (en) 2017-05-25 2017-08-09 Control program operation method
JP2019562608A JP7058671B2 (en) 2017-05-25 2017-08-09 How to execute the control program
EP17910636.4A EP3633475A4 (en) 2017-05-25 2017-08-09 Control program execution method
PCT/KR2017/008627 WO2018216854A1 (en) 2017-05-25 2017-08-09 Control program execution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170064926A KR102236158B1 (en) 2017-05-25 2017-05-25 Terminal apparatus for executing control program

Publications (2)

Publication Number Publication Date
KR20180129227A KR20180129227A (en) 2018-12-05
KR102236158B1 true KR102236158B1 (en) 2021-04-02

Family

ID=64744120

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170064926A KR102236158B1 (en) 2017-05-25 2017-05-25 Terminal apparatus for executing control program

Country Status (1)

Country Link
KR (1) KR102236158B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013171388A (en) * 2012-02-20 2013-09-02 Azbil Corp Management system and system management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140028163A (en) * 2011-10-26 2014-03-10 현대중공업 주식회사 Management system for industrial robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013171388A (en) * 2012-02-20 2013-09-02 Azbil Corp Management system and system management method

Also Published As

Publication number Publication date
KR20180129227A (en) 2018-12-05

Similar Documents

Publication Publication Date Title
US9883567B2 (en) Device indication and commissioning for a lighting control system
US9389600B2 (en) Central control system and method for setting control point thereof
US20200374149A1 (en) Systems and methods for the implementation of an ai/iot hub in the control of electrical devices, electronics and appliances
CN112804319B (en) Intelligent device control method and device, electronic device and computer readable medium
CN105306318A (en) Intelligent scene configuration method and device and server
US9615211B2 (en) Server for home appliance network system
CN106648781A (en) Remote firmware upgrading method and system for communication equipment
CN102625230A (en) Building system communication method, apparatus and system thereof
JP2006129219A (en) Network household electric appliance control system and portable communication equipment
CN105656894A (en) Main control intelligent terminal, controlled intelligent terminal and monitoring method
CN105140886A (en) Protective relaying system and method for gathering data using thereof
KR102236158B1 (en) Terminal apparatus for executing control program
KR101986141B1 (en) Terminal apparatus for executing control program
KR101893592B1 (en) Terminal apparatus for executing control program
CN104765531A (en) Interface display method and terminal
KR20190108275A (en) System for managing access right of power device
CN110678819B (en) Control program operation method
JP2020031419A (en) Methods and systems for controlling operation of satellite data units of aircraft
KR101986142B1 (en) Terminal apparatus for executing control program
US11937339B2 (en) Method for provisioning a wireless device using a smartphone application
KR101986143B1 (en) Method for executing control program
EP3373618A1 (en) Method and apparatus for enrolling electronic devices in a connected home monitoring/security system
CN113535202B (en) Charging pile upgrading method, upgrading device and charging pile system
EP3175586B1 (en) Residential automation system, equipment and process that is easy to install, configure and use
KR102129245B1 (en) Method And System for Updating Sensor Profile

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant