KR100652568B1 - Control system and method for device according to type in network system - Google Patents

Control system and method for device according to type in network system Download PDF

Info

Publication number
KR100652568B1
KR100652568B1 KR1020040045116A KR20040045116A KR100652568B1 KR 100652568 B1 KR100652568 B1 KR 100652568B1 KR 1020040045116 A KR1020040045116 A KR 1020040045116A KR 20040045116 A KR20040045116 A KR 20040045116A KR 100652568 B1 KR100652568 B1 KR 100652568B1
Authority
KR
South Korea
Prior art keywords
command
handler
message
type
control
Prior art date
Application number
KR1020040045116A
Other languages
Korean (ko)
Other versions
KR20050119956A (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 KR1020040045116A priority Critical patent/KR100652568B1/en
Publication of KR20050119956A publication Critical patent/KR20050119956A/en
Application granted granted Critical
Publication of KR100652568B1 publication Critical patent/KR100652568B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2832Interconnection of the control functionalities between home networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators

Abstract

본 발명은 네트워크 시스템의 디바이스별 제어 시스템 및 방법에 관한 것으로 특히, 적어도 하나 이상의 유형별 디바이스를 제어함에 있어서, 공통명령과 해당 디바이스 유형별 명령을 구분하여 처리하도록 하는데 목적이 있는 것으로, 이러한 목적의 본 발명은 TCP/IP 기반의 메시지 송수신을 수행하는 LnCP 서버(110)로부터 수신한 제어명령이 공통명령인지 또는 디바이스 유형별 명령인지를 판단하는 디바이스 핸들러(130)와, 상기 디바이스 핸들러(130)에서 판단된 명령 종류에 따라 상기 제어명령을 분석하여 명령코드를 검색하고 그 명령코드, 메시지 패킷을 수신할 디바이스의 주소, 서비스 우선순위 정보를 포함하는 명령 메시지를 작성하도록 다수의 핸들러를 구비하는 유형별 명령 핸들러(140)와, 이 유형별 명령 핸들러(140)에서 작성한 명령 메시지를 하위 계층의 디바이스로 전송하고 그에 따른 상태 정보를 응답받아 상위 계층으로 전송하는 메시지 훅킹 핸들러(150)를 포함하여 구성함을 특징으로 한다.The present invention relates to a device-specific control system and method of a network system. In particular, in controlling at least one or more types of devices, the present invention aims to distinguish and process common commands and commands by device type. The device handler 130 determines whether the control command received from the LnCP server 110 performing the TCP / IP-based message transmission or reception is a common command or a command per device type, and the command determined by the device handler 130. The type of command handler 140 includes a plurality of handlers for analyzing the control command according to the type, searching for a command code, and creating a command message including the command code, the address of a device to receive the message packet, and service priority information. ) And command messages created by this type of command handler 140 Receiving and a device of the above layer and respond to status information according thereto, characterized in that comprises a hooking message handler 150 for transmission to an upper layer.

Description

네트워크 시스템의 디바이스별 제어 시스템 및 방법{CONTROL SYSTEM AND METHOD FOR DEVICE ACCORDING TO TYPE IN NETWORK SYSTEM} CONTROL SYSTEM AND METHOD FOR DEVICE ACCORDING TO TYPE IN NETWORK SYSTEM}

도1은 본 발명의 실시 예에서 디바이스별 제어 시스템의 블록 구성도. 1 is a block diagram of a device-specific control system in an embodiment of the present invention.

도2는 본 발명의 실시 예에서 디바이스별 제어 과정을 보인 동작 순서도. 2 is an operation flowchart showing a control process for each device in an embodiment of the present invention.

* 도면의 주요부분에 대한 부호 설명 * Explanation of symbols on the main parts of the drawings

110 : LnCP 서버 120 : LnGate API 110: LnCP Server 120: LnGate API

130 : 디바이스 핸들러 141 : 공통명령 핸들러 130: device handler 141: common command handler

142~144 : 디바이스명령 핸들러 142 ~ 144: device command handler

150 : 메시지 훅킹 핸들러 150: message hooking handler

본 발명은 네트워크 시스템에 관한 것으로 특히, 디바이스별 제어 시스템 및 방법에 관한 것이다. The present invention relates to network systems, and more particularly, to a device-specific control system and method.

최근 가정 내에 설치된 네트워크에 복수개의 가전기기를 연결하여 인터넷 등을 통해 원격 제어 가능하도록 한 홈 네트워크 시스템의 구축이 확산되고 있다. Recently, the construction of a home network system that connects a plurality of home appliances to a network installed in a home and enables remote control through the Internet has been spreading.

예로, LG 홈넷(HomNet)은 LnCP(Living network Control Protocol)를 사용하 여 가정 내에 존재하는 가전기기에 인터넷 서비스를 제공한다. For example, LG HomeNet (HomNet) uses the Living Network Control Protocol (LnCP) to provide Internet services to home appliances in the home.

LnCP 기반의 홈 네트워크는 디지털냉장고, 디지털에어컨, 디지털세탁기 등의 각종 디지털 가전기기를 전력선(Power Line), 전용선, 무선채널 등의 전송매체로 연결하여 소정의 데이터를 전송하면서 임의의 가전기기의 동작을 제어할 수 있도록 한다.Home network based on LnCP connects various digital home appliances such as digital refrigerator, digital air conditioner and digital washing machine to transmission media such as power line, leased line, wireless channel, and transmits predetermined data while operating arbitrary home appliances. To control.

현재 LnCP 기반의 홈 네트워크는 네트워크 매니저(network manager)를 포함하여 구성된다. 상기 네트워크 매니저는 마스터(master)로서 Network Layer, Application Layer, Application Software를 포함한 프로그램을 탑재하여 LnCP 메시지의 처리를 담당한다. Currently, LnCP-based home networks include a network manager. The network manager is a master that handles LnCP messages by loading a program including a network layer, an application layer, and application software.

그러나, 종래에는 LnCP 메시지 처리를 위하여 Network Layer, Application Layer, Application Software를 모두 하나의 프로그램에 포함함으로 소프트웨어 개발에 어려움이 수반되는 문제점이 있었다. However, in the related art, there is a problem that software development is accompanied by including all of a network layer, an application layer, and application software in one program for LnCP message processing.

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 현재 네트워크 제어 프로토콜이 적용되는 다향한 디바이스를 제어함에 있어서, 공통명령과 각 디바이스 유형별 특성에 따른 명령으로 구분하여 효율적인 처리를 할 수 있도록 창안한 네트워크 시스템의 디바이스별 제어 시스템 및 방법을 제공함에 그 목적이 있다. Accordingly, the present invention provides a network system that can be efficiently divided into common commands and commands according to characteristics of each device type in controlling various devices to which the current network control protocol is applied to improve the conventional problems. Its purpose is to provide a device-specific control system and method.

본 발명은 상기의 목적을 달성하기 위하여 네트워크 프로토콜 기반의 네트워크 시스템에 있어서, TCP/IP 기반의 메시지 송수신을 수행하는 네트워크 서버로부터 수신한 제어명령이 공통명령인지 또는 디바이스 명령인지를 판단하는 디바이스 핸들러(device handler)와, 상기 디바이스 핸들러에서 판단된 명령 종류에 따라 상기 제어명령을 분석하여 명령코드, 메시지 패킷을 수신할 디바이스의 주소 및 서비스 우선순위 정보를 포함하는 명령 메시지를 작성하도록 다수의 핸들러가 구비되는 유형별 명령 핸들러와, 상기 작성된 명령 메시지를 하위 계층의 디바이스로 전송하고 그에 따른 상태 정보를 응답받아 상기 네트워크 서버로 전송하는 메시지 훅킹 핸들러를 포함하여 구성함을 특징으로 한다. The present invention provides a device handler for determining whether a control command received from a network server performing a TCP / IP-based message transmission or reception is a common command or a device command in a network protocol-based network system. device handler) and a plurality of handlers for analyzing the control command according to the command type determined by the device handler to create a command message including a command code, an address of a device to receive a message packet, and service priority information. And a message hooking handler which transmits the created command message to a device of a lower layer and receives the status information accordingly and transmits it to the network server.

상기 유형별 명령 핸들러는 모든 디바이스에서 인식하여 처리할 수 있는 공통명령(common command)을 처리하는 공통명령 핸들러(command command handler)와, 각각의 디바이스에 대응하여 해당 디바이스의 특성에 따른 명령을 처리하는 다수의 디바이스명령 핸들러를 포함하여 구성함을 특징으로 한다. The command handler for each type includes a command command handler for processing a common command that can be recognized and processed by all devices, and a plurality of commands for processing each device according to the characteristics of the corresponding device. It comprises a device command handler of the configuration.

상기 공통명령 핸들러는 모든 디바이스(예로, 에어컨, 전자레인지, 세탁기 등)가 인식할 수 있는 공통명령을 처리하는 핸들러이다. 상기 공통명령은 제조업체, 소프트웨어버전을 확인하기 위한 명령이다. The common command handler is a handler that processes a common command that can be recognized by all devices (eg, an air conditioner, a microwave oven, a washing machine, etc.). The common command is a command for confirming the manufacturer and software version.

상기 디바이스명령 핸들러는 각각의 디바이스(예로, 에어컨, 전자레인지, 세탁기 등)의 특성에 대응하여 해당 디바이스의 동작을 제어하기 위한 명령을 처리하는 핸들러이다. The device command handler is a handler that processes a command for controlling an operation of a corresponding device in response to a characteristic of each device (eg, an air conditioner, a microwave oven, a washing machine, etc.).

상기 디바이스 핸들러와 유형별 명령 핸들러는 라이브러리 모듈 내의 마스터 핸들러에 포함하여 구성함을 특징으로 한다. The device handler and the command handler for each type may be configured to be included in a master handler in a library module.

즉, 본 발명은 네트워크 프로토콜이 적용된 네트워크 시스템에 존재하는 임의의 가전기기 제어를 위해 공통명령, 디바이스별 명령으로 구분하여 탑재하고 각각의 명령을 효율적으로 처리하기 위해 다수의 핸들러(handler)를 구비함으로써 디바이스 핸들러(Handler)로 명령이 들어오면 이를 스위칭하여 각각의 명령 유형에 따라 구비된 핸들러에서 처리하도록 하는 것이다. That is, the present invention is provided by dividing into common commands and device-specific commands for controlling any home appliances existing in a network system to which a network protocol is applied, and by providing a plurality of handlers to efficiently process each command. When a command comes into the device handler, it is switched so that the handler provided according to each command type is processed.

따라서, 본 발명은 공통명령어 처리의 경우 유형별 중복되는 코드 없이 공통명령어 처리기에서 처리하고, 디바이스별 명령어 처리의 경우 모든 명령코드가 같더라도 혼동 없이 유형별 명령을 처리할 수 있도록 한다. Therefore, the present invention allows the common instruction processor to process in the common instruction processor without overlapping codes for each type, and for the instruction processing for each device, even if all instruction codes are the same, it is possible to process the instructions for each type without confusion.

또한, 본 발명은 임의의 디바이스에 대한 라이브러리를 갱신하려는 경우 전체 라이브러리를 갱신할 필요없이 해당 디바이스의 라이브러리만을 갱신(수정, 추가, 삭제)하여 원하는 디바이스의 제어를 가능하도록 한다. In addition, when the library for any device is to be updated, the present invention enables the control of a desired device by updating (modifying, adding, and deleting) only the library of the corresponding device without having to update the entire library.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.
본원발명의 실시 예에서는 홈 네트워크 시스템을 가정하고 네트워크 프로토콜로서 LnCP를 적용한 경우에 대하여 설명하기로 한다.
Hereinafter, the present invention will be described in detail with reference to the drawings.
In the embodiment of the present invention, a case where a home network system is applied and LnCP is applied as a network protocol will be described.

도1은 본 발명의 실시 예에 따른 LnCP 기반의 홈 네트워크 시스템의 블록 구성도로서 이에 도시한 바와 같이, TCP/IP 기반의 메시지 송수신을 수행하는 LnCP 서버(110)와, 이 LnCP 서버(110)로부터 수신한 제어명령이 공통명령인지 또는 디바이스 유형별 명령인지를 판단하는 디바이스 핸들러(130)와, LnCP 서버(110)와 상기 디바이스 핸들러(130) 간의 인터페이스를 위한 LnGate API(120)와, 상기 디바이스 핸들러(130)에서 판단한 명령 종류에 따라 상기 제어명령을 분석하여 명령코드를 검색하고 그 명령코드, 메시지 패킷을 수신할 디바이스의 주소, 서비스 우선순위 정보를 포함하는 명령 메시지를 작성하는 유형별 명령 핸들러(140)와, 이 유형별 명령 핸들러(140)에서 작성한 명령 메시지를 하위 계층의 디바이스로 전송하고 그에 따른 응답과 그에 따른 상태 정보를 하위 계층의 디바이스에서 수신하여 상기 유형별 명령 핸들러(140)로 전송하는 메시지 훅킹 핸들러(150)를 포함하여 구성한다. 1 is a block diagram of an LnCP-based home network system according to an exemplary embodiment of the present invention, as shown in FIG. 1, an LnCP server 110 performing TCP / IP-based message transmission and reception, and the LnCP server 110. A device handler 130 for determining whether the control command received from the command is a common command or a device type command, an LnGate API 120 for interfacing between the LnCP server 110 and the device handler 130, and the device handler. Analyzing the control command according to the command type determined in step 130, searching for a command code, and creating a command message including the command code, the address of a device to receive a message packet, and service priority information. ) And the command message created by this type of command handler 140 to the lower layer device, and the response and the status information accordingly And it comprises a hooking message handler 150 for transmission to the receiving device in the layer with the type of the command handler (140).

상기 유형별 명령 핸들러(140)는 상기 디바이스 핸들러(130)가 판단한 공통명령이 수신되면 이 명령을 분석하여 명령코드(command code)와 input argument를 추출하고 이 추출된 명령코드와 input argument에 해당 명령을 수신할 디바이스의 주소(logical address), 서비스 우선순위(service priority) 정보를 포함하는 공통 명령 메시지를 작성하는 콤온명령 핸들러(141)와, 상기 디바이스 핸들러(130)가 판단한 디바이스 유형별(예로, 에어컨, 전자레인지, 세탁기) 명령이 수신되면 해당 명령을 분석하여 명령코드를 추출하고 그 추출된 명령코드에 해당 명령을 수신할 디바이스의 주소(logical address)와 서비스 우선순위(service priority) 정보를 포함하는 디바이스 명령 메시지를 작성하는 다수의 디바이스명령 핸들러(142~144)를 포함하여 구성한다. When the command handler 140 for each type receives a common command determined by the device handler 130, the command handler 140 extracts a command code and an input argument by analyzing the command, and applies a corresponding command to the extracted command code and input argument. The com-on command handler 141 for creating a common command message including a logical address of the device to be received and service priority information, and a device type determined by the device handler 130 (eg, an air conditioner, Microwave, washing machine) command is analyzed and the command code is extracted and the extracted command code includes a device (logical address) and service priority information (service priority) information of the device to receive the command It comprises a plurality of device command handlers (142 to 144) for creating a command message.

상기 디바이스명령 핸들러(142~144)는 '142'가 에어컨, '143'이 전자레인지, '144'가 세탁기에 해당하는 디바이스명령 핸들러이다. The device command handlers 142 to 144 are device command handlers in which '142' corresponds to an air conditioner, '143' corresponds to a microwave oven, and '144' corresponds to a washing machine.

이와 같이 구성한 본 발명의 실시 예에 대한 동작 및 작용 효과를 설명하면 다음과 같다. Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

본 발명의 실시 예에서는 에어컨을 구동하는 경우를 가정하여 설명하기로 한다. 또한, 본 발명의 실시 예에서 에어컨과 LnCP 라이브러리 모듈 간은 직렬 연결되어 있다고 가정한다. In the embodiment of the present invention, a case of driving an air conditioner will be described. In addition, in the embodiment of the present invention, it is assumed that the air conditioner and the LnCP library module are connected in series.

홈 네트워크에 존재하는 임의의 디바이스를 제어하기 위한 사용자의 명령이 LnCP 서버(110)에 수신되어 LnGate API(120)로 전달되면 상기 API(120)가 적절한 명령 형태로 변경하여 디바이스 핸들러(130)에 전달한다. When a user's command for controlling any device in the home network is received by the LnCP server 110 and transmitted to the LnGate API 120, the API 120 changes to an appropriate command form to the device handler 130. To pass.

본 발명의 실시 예에서는 에어컨을 가정하였으므로 예로 '에어컨을 켜라'는 명령이 호출되는 경우 에어컨의 지정번호와 파워온 명령을 LnGate API(120)로 전송하면 상기 API(120)는 디바이스 핸들러(130)가 인식할 수 있는 명령 형태로 변경한다. In the embodiment of the present invention, since the air conditioner is assumed, for example, when a command to turn on the air conditioner is called, the API 120 transmits the designation number and power-on command of the air conditioner to the LnGate API 120. Change to a command that can be recognized.

이때, 디바이스 핸들러(130)는 API(120)를 통해 수신된 명령이 공통명령인지 또는 디바이스 유형별 명령인지를 판단한다. In this case, the device handler 130 determines whether the command received through the API 120 is a common command or a device type command.

이에 따라, 에어컨의 제조업체 또는 소프트웨어 버전을 확인하기 위한 공통명령으로 확인되면 디바이스 핸들러(130)는 해당 명령 메시지를 공통명령 핸들러(141)로 전달한다.
이때, 공통명령 핸들러(141)가 명령 메시지를 분석하여 에어컨의 제조업체 또는 소프트웨어 버전 확인을 위한 명령코드(command code)을 확인한 후 에어컨의 주소(logical address)와 서비스 우선순위(service priority)를 추가하여 작성한 공통 명령 메시지를 메시지 훅킹 핸들러(150)로 전달하며 그 명령 메시지에 대한 응답을 대기하게 된다.
따라서, 메시지 훅킹 핸들러(150)는 공통명령 메시지를 하위 계층의 에어컨에 전달하고 그에 대한 응답이 회신되면 그 응답 메시지를 공통명령 핸들러(141)로 전달하면 상기 공통명령 핸들러(141)가 API(120)에서 인식할 수 있는 명령 형태로 변경하여 디바이스 핸들러(130)로 전달한다.
이에 따라, 디바이스 핸들러(130)가 해당 명령을 API(120)에 전달하면 상기 API(120)는 사용자가 요청한 제어명령에 대한 처리 결과를 LnCP 서버(110)로 전달하여 사용자에게 에어컨 제조업체 또는 소프트웨어 버전을 알리게 된다.
Accordingly, when it is confirmed as a common command for confirming the manufacturer or software version of the air conditioner, the device handler 130 transmits the corresponding command message to the common command handler 141.
At this time, the common command handler 141 analyzes the command message, checks the command code for checking the manufacturer or software version of the air conditioner, and then adds a logical address and a service priority of the air conditioner. The created common command message is delivered to the message hooking handler 150 and waits for a response to the command message.
Therefore, the message hooking handler 150 transmits the common command message to the air conditioner of the lower layer, and when the response is returned, the message hooking handler 150 transmits the response message to the common command handler 141. In the form of a command that can be recognized in the) and delivers it to the device handler (130).
Accordingly, when the device handler 130 transmits the corresponding command to the API 120, the API 120 delivers the processing result of the control command requested by the user to the LnCP server 110, thereby providing the user with an air conditioner manufacturer or software version. You will be informed.

그리고, 에어컨의 동작 제어를 위한 명령으로 확인되면 디바이스 핸들러(130)는 디바이스명령 핸들러(142~144) 중 에어컨에 해당하는 디바이스명령 핸들러(이하 "에어컨명령 핸들러"로 칭한다)(142)로 해당 명령 메시지를 전달한다. In addition, if it is confirmed as a command for controlling the operation of the air conditioner, the device handler 130 corresponds to a device command handler (hereinafter, referred to as an “air conditioner command handler”) 142 corresponding to the air conditioner among the device command handlers 142 to 144. Pass the message.

이때, API(120)를 통해 수신된 명령이 에어컨의 파워를 켜는 디바이스 명령이면 디바이스 핸들러(130)는 해당 명령을 에어컨명령 핸들러(142)에 전달한다.At this time, if the command received through the API 120 is a device command for turning on the air conditioner, the device handler 130 transmits the command to the air conditioner command handler 142.

이에 따라, 에어컨명령 핸들러(142)는 명령 형태를 분석하여 파워 온을 위한 명령코드(command code)을 확인한 후 에어컨의 주소(logical address)와 서비스 우선순위(service priority)를 추가하여 작성한 명령메시지를 메시지 훅킹 핸들러(150)로 전달하며 그 명령 메시지에 대한 응답을 대기하게 된다. Accordingly, the air conditioner command handler 142 analyzes a command form, checks a command code for power-on, and then adds a logical address and a service priority of the air conditioner to generate a command message. It passes to the message hooking handler 150 and waits for a response to the command message.

따라서, 메시지 훅킹 핸들러(150)에 전달된 명령 메시지는 트랜스미션 핸들러(도면 미도시), 채널 핸들러(도면 미도시), 디바이스 인터페이스(도면 미도시)를 순차적으로 통해 처리된 후 직렬 통신 방식으로 에어컨으로 전송된다. Therefore, the command message delivered to the message hooking handler 150 is sequentially processed through the transmission handler (not shown), the channel handler (not shown), and the device interface (not shown), and then, to the air conditioner by serial communication. Is sent.

이후, 에어컨이 전원을 켠 후 이에 대한 응답을 회신하면 이 응답 메시지는 디바이스 인터페이스(도면 미도시), 채널 핸들러(도면 미도시), 트랜스미션 핸들러(도면 미도시)를 순차적으로 통해 메시지 훅킹 핸들러(150)에 전송된다. Subsequently, when the air conditioner turns on the power and returns a response thereto, the response message is a message hooking handler 150 through a device interface (not shown), a channel handler (not shown), and a transmission handler (not shown). Is sent).

이때, 메시지 훅킹 핸들러(150)는 에어컨으로부터의 응답 메시지를 에어컨명령 핸들러(142)로 전달하면 상기 에어컨명령 핸들러(142)가 API(120)에서 인식할 수 있는 명령 형태로 변경하여 디바이스 핸들러(130)로 전달한다. In this case, when the message hooking handler 150 transmits the response message from the air conditioner to the air conditioner command handler 142, the message hooking handler 150 changes to a command form that the air conditioner command handler 142 can recognize in the API 120. To pass).

이에 따라, 디바이스 핸들러(130)가 해당 명령을 API(120)에 전달하면 상기 API(120)는 사용자가 요청한 제어명령에 대한 처리 결과를 LnCP 서버(110)로 전달하여 해당 사용자에게 전달되도록 한다. Accordingly, when the device handler 130 transmits the command to the API 120, the API 120 transmits the processing result of the control command requested by the user to the LnCP server 110 to be delivered to the user.

한편, 본 발명은 상기 과정에서 설명한 바와 같이 각 유형별로 라이브러리를 처리하도록 관리하므로써 해당 라이브러리만을 교체 또는 갱신할 수 있고 아울러 어플리케이션의 하드웨어 사양에 따라 메모리 용량이 작으면 필요한 유형의 명령만을 처리하도록 할 수 있다. Meanwhile, the present invention manages to process a library for each type as described in the above process, so that only the corresponding library can be replaced or updated, and if the memory capacity is small according to the hardware specification of the application, only the required type of instruction can be processed. have.

상기에서 상세히 설명한 바와 같이 본 발명은 각 디바이스에 대한 라이브러리를 통합하여 처리하는 것이 아니라 공통명령 및 디바이스별 명령으로 구분하여 처리하도록 관리함으로써 라이브러리의 효율적인 처리를 가능하도록 하여 네트워크 시스템의 성능을 향상시킬 수 있는 효과가 있다. As described in detail above, the present invention can improve the performance of the network system by enabling the efficient processing of the library by managing the processing by classifying the common command and the device-specific command instead of integrating and processing the library for each device. It has an effect.

또한, 본 발명은 라이브러리의 갱신을 필요로 하는 경우 전체 라이브러리를 갱신하는 것이 아니라 해당 디바이스의 라이브러리만을 갱신하도록 함으로써 라이브러리를 용이하게 갱신하도록 하는 효과가 있다. In addition, the present invention has the effect of easily updating the library by updating only the library of the device, rather than updating the entire library when the library needs to be updated.

Claims (5)

제어명령의 종류에 따라 상기 제어명령을 분석하여 명령코드, 메시지 패킷을 수신할 디바이스의 주소, 서비스 우선순위에 대한 정보를 포함하는 명령 메시지를 작성하도록 적어도 둘 이상의 핸들러가 구비되는 유형별 명령 핸들러를 포함하여 구성함을 특징으로 하는 네트워크 시스템의 디바이스별 제어 시스템. A type-specific command handler including at least two handlers for analyzing the control command according to the type of control command and generating a command message including a command code, an address of a device to receive a message packet, and information on service priority. Device-specific control system of the network system, characterized in that configuration. 제1항에 있어서, 유형별 명령 핸들러는 The method of claim 1, wherein the type-specific command handler is 모든 디바이스에서 인식하여 처리할 수 있는 공통명령(common command)을 처리하는 공통명령 핸들러(command command handler)와, A command command handler that processes common commands that all devices can recognize and process; 적어도 하나 이상의 디바이스에 대응하여 디바이스 특성에 따른 명령을 처리하는 적어도 하나 이상의 디바이스명령 핸들러를 포함하여 구성함을 특징으로 하는 네트워크 시스템의 디바이스별 제어 시스템. And at least one device command handler for processing a command according to device characteristics corresponding to at least one device. 네트워크 프로토콜 기반의 네트워크 시스템의 디바이스 제어 방법에 있어서, In the device control method of a network system based on a network protocol, 사용자의 디바이스 제어명령이 모든 디바이스가 인식할 수 있는 공통명령인지 또는 디바이스 특성에 따른 각각의 디바이스명령인지를 디바이스 핸들러에서 확인하는 단계; Confirming, by the device handler, whether the device control command of the user is a common command that all devices can recognize or each device command according to device characteristics; 상기 제어명령이 공통명령으로 확인되면 해당 공통명령을 메시지 훅킹 핸들러를 통해 모든 디바이스로 전송하는 단계; If the control command is identified as a common command, transmitting the common command to all devices through a message hooking handler; 상기 제어명령이 임의의 디바이스명령으로 확인되면 해당 디바이스를 판별하여 상기 확인된 디바이스명령을 처리하고 그 처리된 디바이스 명령을 상기 메시지 훅킹 핸들러를 통해 상기 판별된 해당 디바이스로 전송하는 단계; 및 Determining the corresponding device if the control command is confirmed as an arbitrary device command, processing the identified device command, and transmitting the processed device command to the determined corresponding device through the message hooking handler; And 상기 메시지 훅킹 핸들러에서 상기 제어명령 처리결과에 대한 응답을 수신하는 단계Receiving a response to the control command processing result in the message hooking handler 를 포함하여 이루어지는 것을 특징으로 하는 네트워크 시스템의 디바이스별 제어 방법. Device-specific control method of a network system comprising a. 제1항에 있어서, 네트워크 서버로부터 수신된 제어명령이 공통명령인지 또는 디바이스 명령인지를 판단하여 유형별 명령 핸들러에 전달하는 디바이스 핸들러(device handler)를 더 포함하여 구성함을 특징으로 하는 네트워크 시스템의 디바이스별 제어 시스템. The device of claim 1, further comprising a device handler which determines whether the control command received from the network server is a common command or a device command and delivers the same to a command handler for each type. Star control system. 제1항 또는 제4항에 있어서, 유형별 명령 핸들러에서 작성된 명령 메시지를 하위 계층의 디바이스에 전송하고 그 명령 메시지를 실행한 디바이스의 상태 정보를 응답받아 네트워크 서버에 전송하는 메시지 훅킹 핸들러를 더 포함하여 구성함을 특징으로 하는 네트워크 시스템의 디바이스별 제어 시스템. The method of claim 1 or 4, further comprising a message hooking handler for transmitting a command message created by the type command handler to a lower layer device, and receiving a status information of the device that executed the command message and transmitting it to a network server. Device-specific control system of the network system, characterized in that the configuration.
KR1020040045116A 2004-06-17 2004-06-17 Control system and method for device according to type in network system KR100652568B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040045116A KR100652568B1 (en) 2004-06-17 2004-06-17 Control system and method for device according to type in network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040045116A KR100652568B1 (en) 2004-06-17 2004-06-17 Control system and method for device according to type in network system

Publications (2)

Publication Number Publication Date
KR20050119956A KR20050119956A (en) 2005-12-22
KR100652568B1 true KR100652568B1 (en) 2006-12-06

Family

ID=37292546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040045116A KR100652568B1 (en) 2004-06-17 2004-06-17 Control system and method for device according to type in network system

Country Status (1)

Country Link
KR (1) KR100652568B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101632706B1 (en) * 2014-10-27 2016-06-22 (주)아이코닉스글로벌 System and method for controlling device

Also Published As

Publication number Publication date
KR20050119956A (en) 2005-12-22

Similar Documents

Publication Publication Date Title
US6609127B1 (en) Method for dynamically updating master controllers in a control system
KR100646478B1 (en) Service method for information exchanging between in-house device and mobile phone
US7882256B2 (en) Gateway device and control device
CN101461194B (en) A method and system for remotely accessing devices in a network
US10038754B2 (en) Method of establishing communication session using active connection of mobile terminal to relay server
US20040111490A1 (en) Home network system and method for operating the same
CN104601695A (en) Intelligent device control method, device and system
US20040158620A1 (en) Home networking communication system and method for communicating using the same
CN111083180B (en) Internet of things system and Internet of things equipment linkage method and device
CN113168334A (en) Data processing method and device, electronic equipment and readable storage medium
US8176343B2 (en) Method for providing information for power management of devices on a network
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
KR20120008401A (en) Apparatus and method for controlling a plurality of remote user interface servers in a home network
KR100652568B1 (en) Control system and method for device according to type in network system
US8001415B2 (en) Program control method for network devices and network system
KR20210000965A (en) Operating Method of Service Server For IoT Simultaneous Execution And Service Server of Thereof
CN102025576A (en) Home automation system and control method thereof
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
KR101041292B1 (en) Method for remote software upgrading in the home network serving node
CN112152889B (en) Method of controlling electronic device, computing device, and computer-readable storage medium
JP6096700B2 (en) API providing system
JP2002182936A (en) Network equipment controller
KR20040067281A (en) Method for setting retransmission number and response receiving time of packet in home network
KR100619694B1 (en) Controlling system for home network
KR100437797B1 (en) Method for assigning network manager of home network

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090929

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee