KR100631511B1 - Method and apparatus for processing response based living network control protocol - Google Patents

Method and apparatus for processing response based living network control protocol Download PDF

Info

Publication number
KR100631511B1
KR100631511B1 KR1020040052659A KR20040052659A KR100631511B1 KR 100631511 B1 KR100631511 B1 KR 100631511B1 KR 1020040052659 A KR1020040052659 A KR 1020040052659A KR 20040052659 A KR20040052659 A KR 20040052659A KR 100631511 B1 KR100631511 B1 KR 100631511B1
Authority
KR
South Korea
Prior art keywords
response
handler
packet
command code
index
Prior art date
Application number
KR1020040052659A
Other languages
Korean (ko)
Other versions
KR20060003676A (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 KR1020040052659A priority Critical patent/KR100631511B1/en
Publication of KR20060003676A publication Critical patent/KR20060003676A/en
Application granted granted Critical
Publication of KR100631511B1 publication Critical patent/KR100631511B1/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/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 네트워크 시스템의 리스펀스 처리 방법 및 장치에 관한 것으로 특히, 다양한 리스펀스(response)에 대응하는 핸들러(handler)를 등록하고 수신패킷이 리스펀스 패킷으로 판정되면 해당 핸들러를 호출하여 해당 패킷을 처리하도록 함으로써 처리 효율을 향상시킬 수 있도록 함에 그 목적이 있다. 이러한 목적의 본 발명은 등록요청된 리스펀스 핸들러(response handler)를 그 핸들러가 작동할 커맨드 코드를 인덱스로 하여 리스펀스 핸들러 테이블(122)에 등록하는 단계와, 패킷 파싱 모듈(110)에서 파싱된 수신패킷의 에러 유무를 점검하는 단계와, 상기에서 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하는 단계와, 상기에서 리스펀스 패킷으로 확인되면 그 패킷에서 추출한 커맨드 코드를 기반으로 리스펀스 핸들러 테이블에서 상기 리스펀스 패킷에 대응하는 해당 핸들러를 검색하여 호출하는 단계를 리스펀스 처리 모듈(120)에서 수행하도록 구성함을 특징으로 한다. The present invention relates to a method and apparatus for processing a response of a network system, and in particular, by registering handlers corresponding to various responses, and when a receiving packet is determined to be a response packet, by calling the handler to process the corresponding packet. The purpose is to improve the treatment efficiency. According to the present invention, a registered request handler is registered in the response handler table 122 using an index of a command code to operate the handler, and a received packet parsed by the packet parsing module 110. Checking whether there is an error, checking whether the packet is a response packet if the packet is found to be a normal packet without errors, and if the response packet is identified as the response packet, checking the response packet in the response handler table based on a command code extracted from the packet. The response processing module 120 is configured to perform a step of searching for and calling a corresponding handler corresponding to the response.

Description

LnCP 기반의 리스펀스 처리 방법 및 장치{METHOD AND APPARATUS FOR PROCESSING RESPONSE BASED LIVING NETWORK CONTROL PROTOCOL} LNP-based response processing method and apparatus {METHOD AND APPARATUS FOR PROCESSING RESPONSE BASED LIVING NETWORK CONTROL PROTOCOL}

도1은 본 발명의 실시 예에 따른 리스펀스 처리 장치의 블록 구성도. 1 is a block diagram of a response processing apparatus according to an embodiment of the present invention.

도2는 본 발명의 실시 예에서 리스펀스 처리 과정을 보인 동작 순서도. 2 is an operation flowchart showing a response processing process in an embodiment of the present invention.

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

110 : 패킷 파싱 모듈 120 : 리스펀스 처리 모듈 110: packet parsing module 120: response processing module

121 : 쓰레드(thread) 122 : 리스펀스 핸들러 테이블 121: thread 122: response handler table

130 : 리스펀스 핸들러 130: response handler

본 발명은 가전 제어에 관한 것으로 특히, 홈 네트워크 시스템(일례로, LnCP 를 기반으로 구성됨)을 포함하는 네트워크 시스템의 리스펀스 처리 방법 및 장치에 관한 것이다. The present invention relates to home appliance control, and more particularly, to a response processing method and apparatus for a network system including a home network system (for example, based on LnCP).

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

현재 가전기기는 직렬통신 기능이 구비된 마이크로칩이 내장되어 마이크로 컴퓨터 또는 기기와 통신할 수 있다. Currently, home appliances have a microchip equipped with a serial communication function to communicate with a microcomputer or a device.

그런데, 가전기기에 내장되는 마이크로칩은 기기의 성능에 따라 통신에 사용할 수 있는 자원이 다양하다. However, microchips embedded in home appliances have various resources that can be used for communication according to the performance of the device.

예를 들어, PC(Personal Computer) 또는 티브이, 오디오 등의 멀티미디어 기기의 경우에는 다양한 기능을 실현하기 위해 고기능의 하드웨어 사양이 채택됨으로 많은 데이터 량과 빠른 속도의 통신을 위한 규격이 필요하다. For example, in the case of a personal computer (PC) or a multimedia device such as TV or audio, a high-performance hardware specification is adopted to realize various functions, and thus a specification for a large amount of data and high-speed communication is required.

반면 냉장고, 세탁기, 전자레인지, 전등 또는 보일러 등의 기능은 PC 또는 멀티미디어 기기의 기능에 비해 매우 단순함으로 일반적으로 8비트 이하의 저기능 마이크로칩을 채용한다. On the other hand, functions such as refrigerators, washing machines, microwave ovens, lights, or boilers are very simple compared to those of PCs or multimedia devices, and generally adopt low-function microchips of 8 bits or less.

이와 같은 저기능의 마이크로칩을 채용한 가전기기의 경우 원격 제어 또는 동작상태 모니터링을 위하여 최소의 자원으로 통신할 수 있는 규격을 필요로 한다. In the case of a home appliance employing such a low-function microchip, a standard capable of communicating with minimum resources is required for remote control or operation status monitoring.

LG전자는 가정 내에 설치된 가전기기에 인터넷 서비스를 제공하기 위한 LnCP(Living network Control Protocol)를 개발하였다. LG Electronics has developed Living Network Control Protocol (LnCP) to provide Internet services to home appliances installed in homes.

LnCP를 적용한 LG 홈넷(HomNet)은 가정 내의 가전기기를 인터넷을 통해 제어할 수 있는 서비스를 제공한다. LG HomeNet (HomNet) using LnCP provides a service to control home appliances in the home through the Internet.

LnCP 기반의 홈 네트워크는 가정 내의 다양한 가전기기를 통합 조정할 수 있는 홈 네트워크 서버를 구비하며, 냉장고, 에어컨, 세탁기, 전자레인지 등의 각종 디지털 가전기기를 별도의 장치나 복잡한 공사 없이 전기코드만 연결되면 다양한 가전기기를 하나의 네트워크로 연결할 수 있도록 전력선통신(PLC ; Power Line Communication) 방식을 이용한다. 상기 서버는 게이투웨이(Gateway) 기능을 포함하여 구성될 수 있다. LnCP-based home network is equipped with a home network server that can coordinate various home appliances in the home, and connects various electric appliances such as refrigerators, air conditioners, washing machines, and microwave ovens without any equipment or complicated construction. Power Line Communication (PLC) is used to connect various home appliances in one network. The server may be configured to include a gateway function.

그러나, 종래의 서버는 기능별로 계층(layer)이나 핸들러(handler)를 구분하여 구현하지 않았기 때문에 하나의 루틴에서 패킷의 헤더(header)로부터 테일(tail)까지 연속적(sequential)으로 처리하여야 함으로 처리 과정이 복잡함은 물론 처리 시간이 지연되는 단점이 있다. However, since the conventional server does not implement a layer or a handler for each function, it must be processed sequentially from the header of the packet to the tail in one routine. This complexity has the disadvantage of delaying processing time.

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 다양한 리스펀스(response)에 대응하는 핸들러(handler)를 등록하고 수신패킷이 리스펀스 패킷으로 판정되면 해당 핸들러를 호출하여 해당 패킷을 처리하도록 함으로써 처리 효율을 향상시킬 수 있도록 창안한 LnCP 기반의 리스펀스 처리 방법 및 장치를 제공함에 목적이 있다. Accordingly, the present invention improves the processing efficiency by registering handlers corresponding to various responses in order to improve the conventional problems and calling the corresponding handlers to process the packets when the received packet is determined to be a response packet. It is an object of the present invention to provide an LnCP-based response processing method and apparatus that can be created.

본 발명은 상기의 목적을 달성하기 위하여 리스펀스(response) 패킷 처리를 위한 리스펀스 핸들러(response handler)를 등록하는 단계와, 수신패킷을 파싱하여 에러 유무를 점검하는 단계와, 상기에서 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하는 단계와, 상기에서 리스펀스 패킷으로 확인되면 리스펀스 핸들러 테이블(response handler table)에서 상기 리스펀스 패킷에 대응하는 해당 핸들러를 검색하여 호출하는 단계를 수행하도록 구성함을 특징으로 한다. In order to achieve the above object, the present invention includes the steps of registering a response handler for processing a response packet, parsing a reception packet to check for an error, and a normal packet without errors. If it is confirmed that the response packet is confirmed, and if the response packet is confirmed in the response handler table (response handler table) characterized in that it is configured to perform the step of searching and calling the corresponding handler corresponding to the response packet .

상기 핸들러 등록 단계는 리스펀스 핸들러를 생성하고 그 핸들러가 작동할 대상 커맨드 코드(command code)를 설정하는 과정과, 상기 커맨트 코드를 인덱스로 하여 그 하위에 해당 핸들러를 삽입하는 과정과, 상기 생성된 핸들러가 기존에 존 재하면 그 핸들러 하위에 현재 생성된 핸들러를 포인터로 연결하여 삽입하는 과정으로 이루어짐을 특징으로 한다. The handler registration step may include creating a response handler and setting a target command code to operate the handler, inserting the corresponding handler below the command code as an index, and generating the handler. If exists, the process consists of inserting by connecting the currently created handler under the handler with a pointer.

상기 핸들러 검색 단계는 수신 패킷에서 커맨드 코드를 추출하는 과정과, 그 커맨드 코드에 일치하는 인덱스에 해당하는 리스펀스 핸들러를 검색하는 과정과, 수신 패킷의 주소와 상기 검색된 핸들러의 주소가 일치하는지 비교하는 과정과, 상기 비교 결과 주소가 일치하면 해당 핸들러를 호출하는 과정으로 이루어짐을 특징으로 한다. The searching of the handler may include extracting a command code from a received packet, searching for a response handler corresponding to an index corresponding to the command code, and comparing the address of the received packet with an address of the found handler. And, if the comparison result is the address is characterized in that the process of calling the handler.

또한, 본 발명은 상기의 목적을 달성하기 위하여 수신 패킷을 파싱하는 패킷 파싱 모듈과, 리스펀스 핸들러를 그 핸들러가 작동할 커맨드 코드를 인덱스 코드로 하여 내부 테이블에 등록하고 The present invention also provides a packet parsing module for parsing a received packet and a response handler for registering the response handler as an index code in an internal table.

상기 파싱된 패킷이 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하며 리스펀스 패킷으로 판정되면 그 리스펀스 패킷에서 추출한 커맨드 코드를 기반으로 상기 테이블에서 해당 리스펀스 핸들러를 검색하여 호출하는 리스펀스 처리 모듈을 LnCP 라이브러리에 포함하여 구성함을 특징으로 한다. If the parsed packet is found to be a normal packet without errors, it is checked whether it is a response packet, and if it is determined as a response packet, a response processing module for searching and calling a corresponding response handler from the table based on the command code extracted from the response packet is LnCP library. It is characterized by including in the configuration.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다. Hereinafter, the present invention will be described in detail with reference to the drawings.

일반적으로 가전 네트워크 시스템은 1사이클 방식으로 통신한다. 1사이클 방식은 1리퀘스트-1리스펀스 방식, 1리퀘스트-멀티리스펀스 방식, 1리퀘스트 방식으로 구분할 수 있다. In general, home appliance network systems communicate in a single cycle. One cycle may be classified into one request-1 response method, one request-multi-response method, and one request method.

본 발명의 실시 예에서는 리스펀스 처리 과정만을 설명하기로 한다. In the embodiment of the present invention, only the response process will be described.

도1은 본 발명의 실시 예에 따른 리스펀스 처리 장치의 블록 구성도로서 이에 도시한 바와 같이, 수신 패킷을 파싱하는 패킷 파싱 모듈(120)과, 쓰레드(thread)(121)가 등록 요청된 리스펀스 핸들러를 그 리스펀스 핸들러가 작동할 커맨드 코드를 인덱스로 하여 내부의 리스펀스 핸들러 테이블(122)에 등록하고 상기 파싱된 패킷이 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하며 리스펀스 패킷으로 판정되면 그 리스펀스 패킷에서 추출한 커맨드 코드를 인덱스로 하여 상기 리스펀스 핸들러 테이블(122)에서 해당 리스펀스 핸들러를 검색하여 해당 리스펀스 핸들러(130)를 호출하는 리스펀스 처리 모듈(120)을 포함하여 구성한다. 1 is a block diagram of a response processing apparatus according to an exemplary embodiment of the present invention. As shown in FIG. 1, a response handler in which a packet parsing module 120 and a thread 121 parse a received packet are requested to be registered. Is registered in the internal response handler table 122 using the command code for the response handler as an index, and if the parsed packet is found to be a normal packet without errors, it is determined to be a response packet. And a response processing module 120 for searching for the response handler in the response handler table 122 and calling the response handler 130 by using the command code extracted as an index.

이와 같이 구성한 본 발명의 실시 예에 대한 동작 및 작용 효과를 도2의 동작 순서도를 참조하여 설명하면 다음과 같다. The operation and the effect of the embodiment of the present invention configured as described above will be described with reference to the operation flowchart of FIG. 2.

우선, 사용자는 LnCP 라이브러리 내부에 구비되어 있는 리스펀스 핸들러 테이블(122)에 각각의 리스펀스에 대해 처리할 리스펀스 핸들러를 등록한다. 이는 핸들러 등록이 요청되면 리스펀스 처리 모듈(120)는 쓰레드(121)가 이를 인식하여 해당 핸들러를 리스펀스 핸들러 테이블(122)에 등록하는 것이다. 이때, 리스펀스 핸들러 등록 과정을 설명하면, 해당 핸들러를 생성하고 그 핸들러가 작동할 커맨드 코드를 설정하고 그 커맨드 코드를 인덱스로 하여 리스펀스 핸들러 테이블(122)에 등록한 후 그 인덱스의 하위에 해당 핸들러를 삽입한다. 만일, 생성된 핸들러와 동일한 핸들러가 기존에 존재하면 현재 생성된 핸들러를 기존 핸들러의 하위에 포인터로 연결하여 삽입한다. First, a user registers a response handler to be processed for each response in the response handler table 122 provided in the LnCP library. When the handler registration is requested, the response processing module 120 recognizes the thread 121 and registers the handler in the response handler table 122. In this case, the response handler registration process will be described.Then, create a handler, set a command code to operate the handler, register the command code as an index in the response handler table 122, and insert the handler below the index. do. If the same handler as the generated handler already exists, the currently created handler is inserted by connecting with the pointer below the existing handler.

이후, 패킷 파싱 모듈(110)은 수신된 패킷을 파싱(parsing)하여 리스펀스 처 리 모듈(120)로 전달한다. Thereafter, the packet parsing module 110 parses the received packet and delivers the received packet to the response processing module 120.

이때, 리스펀스 처리 모듈(120)은 쓰레드(121)가 파싱된 패킷의 에러 유무를 확인하고 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지를 확인한다. In this case, the response processing module 120 checks whether the thread 121 parses the parsed packet and checks whether the response packet is a response packet when it is confirmed as a normal packet without an error.

이에 따라, 리스펀스 패킷으로 확인되면 쓰레드(121)는 리스펀스 핸들러 테이블(122)를 검색하여 상기 리스펀스 패킷을 처리할 핸들러를 확인하고 해당 리스펀스 핸들러(130)를 호출하여 상기 리스펀스 패킷을 처리하게 한다. Accordingly, if the response packet is determined to be a response packet, the thread 121 searches the response handler table 122 to identify a handler to process the response packet, and calls the response handler 130 to process the response packet.

상기 핸들러 검색 과정을 상세히 설명하면, 수신패킷에서 커맨드 코드를 추출하고 그 커맨드 코드에 해당하는 인덱스가 리스펀스 핸들러 테이블(122)에 존재하는지 검색한다. 이후, 커맨드 코드에 해당하는 인덱스를 찾으면 그 인덱스 하위에 삽입된 핸들러를 검색하는데 포인터를 참조하여 상기 인덱스 하위에 삽입된 모든 핸들러를 찾는다. 이후, 수신패킷에서 추출한 주소(address)와 상기에서 검색된 핸들러의 주소를 비교하고 주소가 일치하는 핸들러를 현재 검색하려는 핸들러로 판단한다. The handler search process will be described in detail. The command code is extracted from the reception packet and the index corresponding to the command code is searched for in the response handler table 122. Then, when an index corresponding to the command code is found, all handlers inserted below the index are searched by referring to a pointer to search for a handler inserted below the index. Thereafter, the address extracted from the receiving packet is compared with the address of the handler retrieved above, and the handler matching the address is determined as the handler to be searched.

만일, 상기 과정에서 파싱된 패킷에 에러가 존재한다고 확인되면 에러 내용을 포함하는 리스펀스 패킷을 응답하여 적절한 처리가 되도록 한다. If it is confirmed that an error exists in the parsed packet in the above process, the response packet including the error content is responded to the proper processing.

통상적으로 리스펀스 패킷은 successful 리스펀스와 failed 리스펀스로 구분된다. 이는 패킷 헤더(packet header)에 있는 패킷 타입(PT) 필드만을 확인하여 failed 리스펀스일 경우 바로 리퀘스트를 재전송할 수 있도록 하기 위한 것이다. Typically, a response packet is divided into a successful response and a failed response. This is to check only the packet type (PT) field in the packet header so that the request can be resent immediately in case of a failed response.

이후, 리스펀스 핸들러가 필요없다고 판단되어 핸들러 해지가 요청되면 리스펀스 처리 모듈(120)은 쓰레드(121)가 리스펀스 핸들러 테이블(122)에서 해당 핸들러 함수를 삭제하여 해당 핸들러의 등록을 해지시키게 된다. 본 발명의 실시예에서는 홈 네트워크 시스템을 예로 들어 설명하였지만, 홈 네트워크 시스템은 본 발명이 사용될 수 있는 네트워크 시스템의 일 실시예에 불과하며 본 발명은 홈 네트워크 시스템에 한정되지 않는다.Subsequently, when it is determined that the response handler is not required and the handler is requested to cancel, the response processing module 120 terminates the registration of the handler by deleting the handler function from the thread 121 in the response handler table 122. Although an embodiment of the present invention has been described using a home network system as an example, the home network system is only one embodiment of a network system in which the present invention can be used, and the present invention is not limited to the home network system.

상기에서 상세히 설명한 바와 같이 본 발명은 LnCP 라이브러리에 리스펀스 패킷을 분류하여 처리함에 있어서 해당 리스펀스 핸들러를 필요에 따라 등록/해지할 수 있도록 유동성을 보장함으로써 라이브러리의 자원을 효율적으로 활용할 수 있도록 하는 효과가 있다. As described in detail above, the present invention has an effect of efficiently utilizing the resources of the library by guaranteeing liquidity so that the response handler can be registered / canceled as necessary in classifying and processing the response packet in the LnCP library. .

Claims (6)

라이브러리를 구비한 네트워크 시스템의 리스펀스 처리방법에 있어서,In the response processing method of a network system having a library, 각각의 리스펀스 신호에 대응하는 리스펀스 핸들러(response handler)를 테이블에 등록하는 단계와, Registering a response handler corresponding to each response signal in a table; 수신패킷을 파싱하여 에러 유무를 점검하는 단계와, Parsing the received packet to check for errors; 상기에서 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하는 단계와, If it is confirmed as a normal packet without an error in the above step of checking whether the response packet, 상기에서 리스펀스 패킷으로 확인되면 상기 테이블에서 리스펀스 패킷에 대응하는 해당 리스펀스 핸들러를 검색하여 호출하는 단계를 수행하도록 구성함을 특징으로 하는 네트워크 시스템의 리스펀스 처리 방법. And searching for and calling the corresponding response handler corresponding to the response packet in the table when the response packet is identified as the response packet. 제1항에 있어서, 해지요청된 리스펀스 핸들러를 상기 테이블에서 삭제하는 단계를 더 포함하여 수행하도록 구성함을 특징으로 하는 네트워크 시스템의 리스펀스 처리 방법. 2. The method of claim 1, further comprising deleting the requested response handler from the table. 제1항에 있어서, 핸들러 등록 단계는 The method of claim 1 wherein the handler registration step is 리스펀스 핸들러를 생성하고 그 핸들러가 작동할 대상 커맨드 코드를 설정하는 과정과, Creating a response handler and setting the target command code for the handler to operate, 상기 커맨드 코드를 인덱스로 하여 그 하위에 해당 핸들러를 삽입하는 과정으로 이루어짐을 특징으로 하는 네트워크 시스템의 리스펀스 처리 방법. And inserting the handler below the command code as an index. 제3항에 있어서, 현재 생성된 핸들러와 일치하는 핸들러가 기존에 존재하면 그 핸들러 하위에 현재 생성된 핸들러를 포인터로 연결하여 삽입하는 과정을 포함하여 이루어짐을 특징으로 하는 네트워크 시스템의 리스펀스 처리 방법. 4. The method of claim 3, wherein if there is a handler that matches the currently generated handler, the method comprises inserting the currently created handler under the handler by using a pointer and inserting the handler. 제1항에 있어서, 핸들러 검색 단계는 The method of claim 1 wherein the handler retrieval step 수신 패킷에서 커맨드 코드를 추출하는 과정과, Extracting a command code from a received packet; 그 커맨드 코드에 일치하는 인덱스에 해당하는 핸들러를 검색하는 과정과, Searching for a handler corresponding to the index corresponding to the command code; 수신 패킷의 주소와 상기 검색된 핸들러의 주소가 일치하는지 비교하는 과정과, Comparing the address of the received packet with the address of the retrieved handler; 상기 비교 결과 주소가 일치하면 해당 핸들러를 호출하는 과정으로 이루어짐을 특징으로 하는 네트워크 시스템의 리스펀스 처리 방법. And responding to the corresponding address as a result of the comparison, wherein the response processing method of the network system is performed. 수신 패킷을 파싱하는 패킷 파싱 모듈과, A packet parsing module for parsing received packets; 리스펀스 핸들러를 그 핸들러가 작동할 커맨드 코드를 인덱스 코드로 하여 테이블에 등록하고 상기 파싱된 패킷이 에러가 없는 정상 패킷으로 확인되면 리스펀스 패킷인지 확인하며 리스펀스 패킷으로 판정되면 그 리스펀스 패킷에서 추출된 커맨드 코드를 기반으로 상기 테이블에서 해당 리스펀스 핸들러를 검색하여 호출하는 리스펀스 처리 모듈을 라이브러리에 포함하여 구성함을 특징으로 하는 네트워크 시스템의 리스펀스 처리 장치. Register the response handler in the table with the command code to operate the handler as an index code, and if the parsed packet is found to be an error-free packet, check whether it is a response packet, and if it is determined to be a response packet, the command code extracted from the response packet. And a response processing module configured to include a response processing module for searching for and calling a response handler from the table based on the response.
KR1020040052659A 2004-07-07 2004-07-07 Method and apparatus for processing response based living network control protocol KR100631511B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040052659A KR100631511B1 (en) 2004-07-07 2004-07-07 Method and apparatus for processing response based living network control protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040052659A KR100631511B1 (en) 2004-07-07 2004-07-07 Method and apparatus for processing response based living network control protocol

Publications (2)

Publication Number Publication Date
KR20060003676A KR20060003676A (en) 2006-01-11
KR100631511B1 true KR100631511B1 (en) 2006-10-09

Family

ID=37106081

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040052659A KR100631511B1 (en) 2004-07-07 2004-07-07 Method and apparatus for processing response based living network control protocol

Country Status (1)

Country Link
KR (1) KR100631511B1 (en)

Also Published As

Publication number Publication date
KR20060003676A (en) 2006-01-11

Similar Documents

Publication Publication Date Title
CN100483966C (en) Control device and method for automatic household system
US7852860B2 (en) Protocol conversion apparatus, communication apparatus, method and program
US20180174434A1 (en) Internet-of-Things Systems and Methods
CN103595717B (en) Household appliance control protocol conversion method and control terminal
US11310066B2 (en) Method and apparatus for pushing information
WO2013143403A1 (en) Method and system for accessing website
CN102387354B (en) Video monitoring system based on embedded web server
CN105893097A (en) Method and device for processing option information of BIOS (basic input output system)
EP3320423A1 (en) Authentication method, apparatus, and system
CN113615141B (en) Account association method, device, system, server and storage medium
CN108471343B (en) Method and device for determining communication check code, and communication check method and system
JP2002196932A (en) Extensible providing mechanism for service gateway
CN104113553A (en) Port state recognition method, device and system
Dutertre Formal modeling and analysis of the Modbus protocol
US9992311B2 (en) Correct port identification in a network host connection
JP6701377B2 (en) SIP information analysis method, device, server and medium
CN113873057A (en) Data processing method and device
Pohl et al. Automatic wireless protocol reverse engineering
KR100631511B1 (en) Method and apparatus for processing response based living network control protocol
KR100556759B1 (en) Method and apparatus for processing system event based living network control protocol
KR100631510B1 (en) Method and apparatus for processing request based living network control protocol
KR100608635B1 (en) Method and apparatus for processing event based network protocol
CN116821215A (en) OPC UA server searching method based on port inquiry
US11416557B2 (en) System and method to identifying network appliances by data endpoints
CN113612972B (en) Communication method and device of terminal monitoring equipment, electronic equipment and storage medium

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
FPAY Annual fee payment

Payment date: 20090619

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee