KR100585675B1 - Apparatus and method for processing event in home network system - Google Patents
Apparatus and method for processing event in home network system Download PDFInfo
- Publication number
- KR100585675B1 KR100585675B1 KR1020040045118A KR20040045118A KR100585675B1 KR 100585675 B1 KR100585675 B1 KR 100585675B1 KR 1020040045118 A KR1020040045118 A KR 1020040045118A KR 20040045118 A KR20040045118 A KR 20040045118A KR 100585675 B1 KR100585675 B1 KR 100585675B1
- Authority
- KR
- South Korea
- Prior art keywords
- event
- function
- user
- handler
- home network
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
본 발명은 홈 네트워크 시스템의 이벤트 처리 장치 및 방법에 관한 것으로 특히, 사용자가 임의의 이벤트에 대한 이벤트함수(event function)를 등록하도록 하고 이벤트가 발생하였을 때 상기 등록된 이벤트인 경우 해당 이벤트함수를 호출하여 사용자에게 알릴 수 있도록 함에 목적이 있다. 이러한 목적의 본 발명은 홈 네트워크 시스템에 있어서, 임의의 디바이스에서의 특정 이벤트에 대해 특정 동작 수행을 위한 이벤트함수 작성 및 등록 요청을 지원하는 사용자 인터페이스(130)와, 사용자의 요청에 의해 이벤트 함수를 등록, 탐색, 삭제하는 기능을 구비하며 디바이스(140)에 대해 사용자가 작성한 이벤트 함수를 등록하고 상기 디바이스(140)에서 이벤트가 발생되면 상기 등록된 이벤트 함수인지를 검색하여 해당 이벤트 함수를 호출하도록 LnCP 라이브러리(110)에 탑재되는 이벤트 핸들러(111)와, 인터넷 또는 상기 사용자 인터페이스(130)와 상기 이벤트 핸들러(111)간의 인터페이스를 위한 LnGate API(120)를 구비하여 구성함을 특징으로 한다. The present invention relates to an apparatus and method for processing an event of a home network system, and more particularly, to allow a user to register an event function for an arbitrary event and to call the event function when the event is registered. The purpose is to inform the user. The present invention for this purpose, in the home network system, a user interface 130 for requesting the creation and registration of the event function for performing a specific operation for a specific event in any device, and the event function at the request of the user It has a function of registering, searching, and deleting, and registers an event function written by a user with respect to the device 140, and if an event occurs in the device 140, search for whether the registered event function is called and then call the corresponding event function. And an LnGate API 120 for an interface between the event handler 111 mounted on the library 110 and the internet or the interface between the user interface 130 and the event handler 111.
Description
도1은 본 발명의 실시 예에 따른 이벤트 처리 장치의 블록 구성도. 1 is a block diagram of an event processing apparatus according to an embodiment of the present invention.
도2는 본 발명의 실시 예에서 이벤트 처리 과정을 보인 동작 순서도. 2 is an operation flowchart showing an event processing process in an embodiment of the present invention.
도3은 본 발명의 실시 예에서 웹 클라이언트로의 이벤트 메시지 전달 과정을 보인 신호 흐름도. 3 is a signal flow diagram illustrating an event message delivery process to a web client in an embodiment of the present invention.
* 도면의 주요부분에 대한 부호 설명 * Explanation of symbols on the main parts of the drawings
110 : LnCP 라이브러리 111 : 이벤트 핸들러(Event Handler) 110: LnCP Library 111: Event Handler
120 : LnGate API 130 : 유저 인터페이스 120: LnGate API 130: User Interface
140 : 디바이스 140: device
본 발명은 가전기기 제어 기술에 관한 것으로 특히, 홈 네트워크 시스템의 이벤트 처리 장치 및 방법에 관한 것이다. The present invention relates to a home appliance control technology, and more particularly, to an apparatus and method for processing events in a home network system.
최근 가정 내에 설치된 네트워크에 복수개의 가전기기를 연결하여 인터넷 등을 통해 원격 제어 가능하도록 한 홈 네트워크 시스템의 구축이 확산되고 있다. 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) provides Internet services to home appliances in the home using the Living Network Control Protocol (LnCP).
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.
그러나, 종래에는 LnGate 라이브러리(Library)가 고정되어 있음으로 사용자가 임의의 이벤트에서 어떤 동작이 이루어지는 알 수 없다는 단점이 있다. However, in the related art, since the LnGate library is fixed, the user may not know what operation is performed at any event.
따라서, 본 발명은 종래의 단점을 개선하기 위하여 사용자가 임의의 이벤트에 대한 이벤트함수(event function)를 등록하도록 하고 이벤트가 발생하였을 때 상기 등록된 이벤트인 경우 해당 이벤트함수를 호출하여 사용자에게 알릴 수 있도록 창안한 홈 네트워크 시스템의 이벤트 처리 장치 및 방법을 제공함에 그 목적이 있다. Accordingly, the present invention allows the user to register an event function for any event and to notify the user by calling the corresponding event function when the event occurs when the event occurs in order to improve the conventional disadvantage. An object of the present invention is to provide an apparatus and method for processing an event in a home network system.
본 발명은 상기의 목적을 달성하기 위하여 LnCP 라이브러리를 구비하는 홈 네트워크 시스템에 있어서, 사용자의 요청에 의해 이벤트함수를 등록, 탐색, 삭제하는 기능을 구비하며 임의의 디바이스에서 발생된 이벤트에 대해 특정 동작을 수행하기 위한 사용자 작성의 이벤트 함수를 등록하고 임의의 디바이스에서 이벤트가 발생되면 상기 이벤트함수인지를 검색하여 해당 이벤트함수를 호출하는 이벤트 핸들러(event handler)를 상기 LnCP 라이브러리(Library)에 탑재하여 구성함을 특징으로 한다. The present invention provides a home network system having an LnCP library in order to achieve the above object, and has a function of registering, searching for, and deleting an event function at the request of a user, and performing a specific operation on an event generated from any device. Register an event function of user's writing to execute the event, and if an event occurs in any device, configure it by mounting an event handler in the LnCP library to search whether the event function is called and call the event function. It is characterized by.
상기 이벤트 핸들러는 사용자가 작성한 이벤트 함수를 저장하기 위한 사용자 이벤트 함수 테이블(user event function table)과, 시스템에서 발생되는 이벤트에 대한 함수를 저장하는 시스템 이벤트 함수 테이블(system event function table)를 구비하여 구성함을 특징으로 한다. The event handler includes a user event function table for storing an event function created by a user, and a system event function table for storing a function of an event generated in the system. It is characterized by.
또한, 본 발명은 상기 목적을 달성하기 위해 이벤트 핸들러(event handler)를 구비하는 홈 네트워크 시스템의 이벤트 제어 방법에 있어서, 사용자가 임의의 디바이스의 특정 동작에 따른 이벤트함수를 작성하여 상기 이벤트 핸들러에 등록하는 단계와, 이벤트함수의 포인터를 이벤트 핸들러에 등록하는 단계와, 임의의 디바이스에서 이벤트가 발생하는지 확인하는 단계와, 상기에서 이벤트가 발생되면 이벤트 함수 테이블에서 해당 이벤트 함수를 검색하여 호출하는 단계를 수행하도록 구성함을 특징으로 한다. In addition, the present invention in the event control method of the home network system having an event handler (event handler) in order to achieve the above object, the user writes an event function according to a specific operation of any device to register with the event handler Registering a pointer of the event function to the event handler, checking whether an event occurs on any device, and searching for and calling the event function in the event function table when the event occurs. Characterized in that configured to perform.
상기 과정에서 사용자의 요청에 의해 특정 이벤트에 대한 이벤트함수를 삭제하는 단계를 포함하여 수행하도록 구성함을 특징으로 한다. And deleting an event function for a specific event at the request of the user.
이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다. Hereinafter, the present invention will be described in detail with reference to the drawings.
도1은 본 발명의 실시 예에 따른 이벤트 처리 장치의 블록 구성도로서 이에 도시한 바와 같이, 홈 네트워크 시스템에 있어서, 임의의 디바이스에서의 특정 이벤트에 대해 특정 동작 수행을 위한 이벤트함수 작성 및 등록 요청을 지원하는 사용자 인터페이스(130)와, 사용자의 요청에 의해 이벤트 함수를 등록, 탐색, 삭제하는 기능을 구비하며 디바이스(140)에 대해 사용자가 작성한 이벤트 함수를 등록하고 상기 디바이스(140)에서 이벤트가 발생되면 상기 등록된 이벤트 함수인지를 검색하여 해당 이벤트 함수를 호출하도록 LnCP 라이브러리(110)에 탑재되는 이벤트 핸들러(111)와, 인터넷 또는 상기 사용자 인터페이스(130)와 상기 이벤트 핸들러(111)간의 인터페이스를 위한 LnGate API(120)를 구비하여 구성한다. 1 is a block diagram of an event processing apparatus according to an exemplary embodiment of the present invention. As shown in the drawing, in the home network system, an event function creation and registration request for performing a specific operation with respect to a specific event in an arbitrary device is requested. And a
이와 같이 구성한 본 발명의 실시 예에 대한 동작 및 작용 효과를 도2 및 도3을 참조하여 설명하면 다음과 같다. Referring to Figures 2 and 3 the operation and effect of the embodiment of the present invention configured as described above are as follows.
도2는 이벤트 처리 과정을 보인 동작 순서도이고, 도3은 웹 클라이언트로의 이벤트 메시지 전달 과정을 보인 신호 흐름도이다. 2 is an operation flowchart showing an event processing process, and FIG. 3 is a signal flowchart showing an event message delivery process to a web client.
우선, 사용자가 홈 네트워크 내에 존재하는 디바이스(140)에서 임의의 이벤트가 발생할 때 그 이벤트에 대해 특정 동작을 수행하도록 사용자 이벤트함수 코드(user event function code)를 LnCP 라이브러리(110)에 등록하려는 경우 사용자 인터페이스(130)를 통해 상기 LnCP 라이브러리(110)에 사용자 이벤트함수 등록을 통보한다. First, when a user wants to register a user event function code in the LnCP
이때, LnCP 라이브러리(110)는 사용자 이벤트함수 코드를 작성하기 위한 창을 사용자 인터페이스(130)를 통해 사용자에게 제공한다. 필요하다면 사용자 인증 이 성공된 경우에 사용자 이벤트함수 코드 작성을 위한 창을 제공할 수 있다. In this case, the LnCP
이에 따라, 사용자는 사용자 이벤트함수 코드를 작성하고 등록을 요청하면 LnCP 라이브러리(110)는 이벤트 핸들러(111)가 해당 사용자 이벤트함수 코드를 포인터와 함께 사용자 이벤트함수 테이블(user event function table)에 등록한다. Accordingly, when a user writes a user event function code and requests registration, the LnCP
상기 이벤트 핸들러(111)는 시스템 내에서 발생하는 이벤트 처리를 위한 시스템 이벤트함수 테이블(system event function table)도 구비한다. 사용자는 시스템 이벤트함수에 대해서도 특정 동작을 설정할 수 있으며 이는 상기 사용자 이벤트함수를 등록하는경우와 동일한 과정으로 이루어진다. The
이후, 디바이스(140)로부터 메시지가 수신되면 LnCP 라이브러리(110)는 그 메시지를 분석하여 제어명령에 대한 응답인지 또는 상태 변화에 따른 이벤트통지인지를 판단한다. Thereafter, when a message is received from the
이때, 디바이스(140)의 상태 변화에 따른 이벤트 통지로 확인되면 디바이스 핸들러(111)에 상기 디바이스(140)에서의 이벤트 발생을 알린다. At this time, if it is confirmed that the event notification according to the change of the state of the
이에 따라, 이벤트 핸들러(111)는 디바이스(140)에서 발생된 이벤트에 대해 사용자가 등록한 이벤트함수가 있는지 사용자 이벤트함수 테이블을 검색한다. Accordingly, the
이때, 디바이스(140)에서 발생된 이벤트가 사용자 정의한 이벤트로 확인되면 이벤트 핸들러(111)는 해당 사용자 이벤트함수를 호출한다. At this time, when the event generated in the
따라서, 호출된 이벤트 함수가 LnGate API(120)에 전달되면 사용자 인터페이스(130)을 통해 디바이스(140)에서 특정 이벤트가 발생했음을 특정 동작 예로, 경보 등을 통해 사용자에게 알린다. Therefore, when the called event function is delivered to the LnGate
만일, 이벤트 핸들러(111)에 등록되어 있는 임의의 이벤트함수를 삭제하려는 경우 사용자가 해당 이벤트함수를 선택한 후 삭제를 요청하여 해당 이벤트함수를 삭제시킬 수 있다. If an event function registered in the
한편, 홈 네트워트 내에 존재하는 디바이스 또는 LnCP 라이브러리 내부에서 발생된 이벤트를 웹 클라이언트(web client)에게 알리는 과정을 도3에서 설명하면 다음과 같다. Meanwhile, a process of notifying a web client of an event generated in a device or an LnCP library existing in a home network will be described with reference to FIG. 3.
우선, 이벤트가 발생되면 LnCP 라이브러리(310)는 해당 이벤트 발생을 웹 클라이언트에게 통보하여야 하는지를 확인한다. First, when an event occurs, the LnCP
이때, 웹 클라이언트에게 이벤트 발생을 통보하여야 하는 것으로 확인되면 LnCP 라이브러리(310)는 해당 이벤트 메시지를 LnCP 서버(320)로 전달한다. At this time, when it is determined that the event should be notified to the web client, the LnCP
이에 따라, LnCP 서버(320)는 LnCP 라이브러리 모듈(310)에서의 이벤트 메시지를 인터넷 전송이 가능한 형태로 변환하여 DreamLG(330)로 전송한다. Accordingly, the LnCP
따라서, DreamLG(330)는 이벤트 메시지를 해석하여 이벤트 결과를 웹 클라이언트(340)으로 전달하게 된다. Accordingly, the DreamLG 330 interprets the event message and delivers the event result to the
또한, 사용자가 임의의 이벤트를 웹 클라이언트에게 통지하도록 사용자 이벤트함수를 작성하는 경우에도 상기와 동일한 과정을 수행하게 된다. In addition, when the user writes the user event function to notify the web client of any event, the same process as described above is performed.
상기에서 상세히 설명한 바와 같이 본 발명은 디바이스에서 발생하는 이벤트 또는 시스템 내부에서 발생하는 이벤트에 대해 LnCP 라이브러리의 이벤트 핸들러를 이용하여 등록하면 특정 디바이스에서 원하는 이벤트가 발생했을 때 해당 이벤트함 수를 호출하여 원하는 특정 동작을 수행시킴으로써 사용자가 해당 이벤트의 내용을 쉽게 인식할 수 있도록 하는 효과가 있다. As described in detail above, in the present invention, when an event occurring in a device or an event occurring in a system is registered using an event handler of an LnCP library, a desired function is called by calling a corresponding event function when a desired event occurs in a specific device. By performing a specific action, the user can easily recognize the content of the event.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040045118A KR100585675B1 (en) | 2004-06-17 | 2004-06-17 | Apparatus and method for processing event in home network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040045118A KR100585675B1 (en) | 2004-06-17 | 2004-06-17 | Apparatus and method for processing event in home network system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050119958A KR20050119958A (en) | 2005-12-22 |
KR100585675B1 true KR100585675B1 (en) | 2006-06-07 |
Family
ID=37292548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040045118A KR100585675B1 (en) | 2004-06-17 | 2004-06-17 | Apparatus and method for processing event in home network system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100585675B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100746023B1 (en) | 2005-07-20 | 2007-08-06 | 삼성전자주식회사 | Apparatus, method and system for providing event information |
KR101360190B1 (en) * | 2012-03-23 | 2014-02-11 | 김호연지기 | Apparatus for management event in Social Networking Service and method for the same |
-
2004
- 2004-06-17 KR KR1020040045118A patent/KR100585675B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050119958A (en) | 2005-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3493059B1 (en) | Application data migration method and device | |
US6591279B1 (en) | System and method for computer-based notifications of real-world events using digital images | |
CN108293181B (en) | Processing method for binding communication identifier and terminal | |
CN109542361B (en) | Distributed storage system file reading method, system and related device | |
US20100107150A1 (en) | Terminal having application update managing function, and application update managing program and system | |
CN108491722A (en) | A kind of malware detection method and system | |
US10216601B2 (en) | Agent dynamic service | |
US9535666B2 (en) | Dynamic agent delivery | |
US20110084803A1 (en) | Controlling location information | |
CN112688983A (en) | Proxy right management device, terminal device and storage medium | |
CN113923008A (en) | Malicious website interception method, device, equipment and storage medium | |
KR100585675B1 (en) | Apparatus and method for processing event in home network system | |
KR102567900B1 (en) | Method and Apparatus for Ensuring Continuous Device Operational Stability in Cloud Degraded Mode | |
CN111488163A (en) | Firmware updating method and device, electronic equipment and storage medium | |
CN111382039A (en) | Method, device, electronic equipment and storage medium for reporting user behavior event | |
CN115033656A (en) | Data processing method and device based on map cache technology and electronic device | |
CN114238021A (en) | SDK interface positioning method, device, equipment and computer storage medium | |
CN111562994B (en) | Application program interface forwarding method and device, electronic equipment and storage medium | |
CN111382038B (en) | Method, device, electronic equipment and storage medium for reporting service data | |
JP6029414B2 (en) | Information processing apparatus, information processing method, and program | |
KR100875912B1 (en) | Apparatus and method for processing network event processing network events in open environment | |
CN105630536A (en) | Information processing method and apparatus | |
JP2004152024A (en) | Log management method and computer program using the method | |
US11562092B1 (en) | Loading and managing third-party tools on a website | |
KR100485445B1 (en) | A system for protection-controling the connection about harmful internet web-sites and protection-control method thereof and computer readable medium stored computer program for performing the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |