KR100706318B1 - Method of Supporting for Compatibility between LnCP and Another Protocol - Google Patents

Method of Supporting for Compatibility between LnCP and Another Protocol Download PDF

Info

Publication number
KR100706318B1
KR100706318B1 KR1020050009699A KR20050009699A KR100706318B1 KR 100706318 B1 KR100706318 B1 KR 100706318B1 KR 1020050009699 A KR1020050009699 A KR 1020050009699A KR 20050009699 A KR20050009699 A KR 20050009699A KR 100706318 B1 KR100706318 B1 KR 100706318B1
Authority
KR
South Korea
Prior art keywords
packet
lncp
protocol
handler
bridge
Prior art date
Application number
KR1020050009699A
Other languages
Korean (ko)
Other versions
KR20060088746A (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 KR1020050009699A priority Critical patent/KR100706318B1/en
Publication of KR20060088746A publication Critical patent/KR20060088746A/en
Application granted granted Critical
Publication of KR100706318B1 publication Critical patent/KR100706318B1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01CCONSTRUCTION OF, OR SURFACES FOR, ROADS, SPORTS GROUNDS, OR THE LIKE; MACHINES OR AUXILIARY TOOLS FOR CONSTRUCTION OR REPAIR
    • E01C11/00Details of pavings
    • E01C11/22Gutters; Kerbs ; Surface drainage of streets, roads or like traffic areas
    • E01C11/224Surface drainage of streets
    • E01C11/227Gutters; Channels ; Roof drainage discharge ducts set in sidewalks
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03FSEWERS; CESSPOOLS
    • E03F5/00Sewerage structures
    • E03F5/04Gullies inlets, road sinks, floor drains with or without odour seals or sediment traps
    • E03F5/0401Gullies for use in roads or pavements
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03FSEWERS; CESSPOOLS
    • E03F5/00Sewerage structures
    • E03F5/04Gullies inlets, road sinks, floor drains with or without odour seals or sediment traps
    • E03F5/06Gully gratings
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01CCONSTRUCTION OF, OR SURFACES FOR, ROADS, SPORTS GROUNDS, OR THE LIKE; MACHINES OR AUXILIARY TOOLS FOR CONSTRUCTION OR REPAIR
    • E01C2201/00Paving elements
    • E01C2201/20Drainage details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Hydrology & Water Resources (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법에 있어서, 패킷이 LnCP 채널 핸들러에서 브릿지로 전송되고, 브릿지에서는 상기 패킷이 변환모듈 또는 슬레이브 모듈로 전송되는 단계; 패킷이 변환모듈로 보내지면 해당 프로토콜 패킷으로 변환되어 브릿지의 물리적 인터페이스를 통해 해당 프로토콜 제품으로 전송되는 단계; 및 해당 제품에서 발생되는 응답 패킷은 브릿지의 물리적 인터페이스를 통해 상기 변환모듈에 전달되어 LnCP 패킷으로 변환되고, LnCP 채널 핸들러로 전달되는 단계를 포함함을 특징으로 한다. The present invention provides a method for supporting compatibility between LnCP and a heterogeneous protocol, the method comprising: transmitting a packet from an LnCP channel handler to a bridge, wherein the packet is transmitted to a conversion module or a slave module; When the packet is sent to the conversion module, converted to the corresponding protocol packet and transmitted to the corresponding protocol product through the physical interface of the bridge; And a response packet generated in the corresponding product is transferred to the conversion module through the physical interface of the bridge, converted into an LnCP packet, and transmitted to the LnCP channel handler.

이상에서와 같이, 본 발명은 기존 LnCP 라이브러리(Library)의 변경 없이 소프트웨어적으로 프로토콜 레벨(Protocol Level)을 변경하여 LnCP와 이질적인 프로토콜간의 호환이 이루어지도록 할 수 있다.As described above, the present invention can make the compatibility between the LnCP and the heterogeneous protocol by changing the protocol level in software without changing the existing LnCP library.

이에 따라, 상기와 같은 브릿지(Bridge) 내부의 변환을 통하여 상위에 있는 사용자(end user)는 LnCP 제품이든지 LnCP를 따르지 않는 제품이든지 LnCP 라이브러리(Library)를 통해 같은 방법으로 제어할 수 있다.Accordingly, the upper end user can be controlled in the same manner through the LnCP library, whether the product is a LnCP product or a product that does not conform to the LnCP.

LnCP, 이질적인 프로토콜, 브릿지LnCP, Heterogeneous Protocol, Bridge

Description

LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법{Method of Supporting for Compatibility between LnCP and Another Protocol} Method of Supporting for Compatibility between LnCP and Another Protocol             

도 1은 일반적인 홈 네트워크 제어 시스템의 구성도이다.1 is a block diagram of a general home network control system.

도 2는 도 1에서의 LnCP 라이브러리 모듈의 구성도이다. FIG. 2 is a configuration diagram of the LnCP library module in FIG. 1.

도 3은 본 발명의 일실시예에 따른 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법을 설명하기 위한 구조도이다.3 is a structural diagram illustrating a method for supporting compatibility between LnCP and heterogeneous protocols according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a method for supporting compatibility between LnCP and heterogeneous protocols according to an embodiment of the present invention.

<도면의 주요부분에 대한 부호의 설명>            <Description of the symbols for the main parts of the drawings>

100 : LnCP 채널 핸들러 200 : 브릿지100: LnCP channel handler 200: bridge

210 : 패킷 임시 저장소 221 : A 핸들러210: packet temporary storage 221: A handler

221a : A 핸들러의 패킷 변환부 222 : B 핸들러221a: packet conversion part of the A handler 222: B handler

222a : B 핸들러의 패킷 변환부 230 : 폴링 스레드부222a: packet conversion part of B handler 230: polling thread part

240 : 리시브 250 : 슬레이브 핸들러240: receive 250: slave handler

251 : 슬레이브의 핸들러의 패킷 임시 저장소 252 : 슬레이브 핸들링251: Packet temporary storage of the handler of the slave 252: Slave handling

본 발명은 LnCP(Living network Control Protocol)와 이질적인 프로토콜간의 호환을 지원하는 방법에 관한 것으로, 특히 LnCP를 적용하는 홈네트워크 제품과 다른 프로토콜을 적용하는 홈네트워크 제품간 호환을 지원하여 여러 홈네트워크 제품을 통합시킬 수 있는 방법에 관한 것이다.The present invention relates to a method for supporting compatibility between a living network control protocol (LnCP) and a heterogeneous protocol, and in particular, supports a home network product using a LnCP and a home network product using a different protocol to support various home network products. It's about how you can integrate it.

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

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

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 라이브러리(Library)에서는 LnCP를 따르는 제품만을 지원하였다. 따라서, 프로토콜(Protocol)의 해석과 번역에 대한 고려보다는 물리적인 인터페이스(Physical Interface)에 대한 확장만이 고려되었다.In the conventional LnCP library, only the products following LnCP were supported. Therefore, only extensions to the physical interface were considered, rather than the interpretation and translation of the protocol.

하지만, 실제 홈네트워크 망이 확장하면서 LnCP보다 훨씬 간단한 프로토콜 (Protocol)(이하, '이질적인 프로토콜'이라고도 함)을 사용하는 수많은 제품들이 개발되었다.However, as the actual home network expands, a number of products have been developed that use protocols that are much simpler than LnCP (also called "heterogeneous protocols").

이에, 상기 LnCP를 지원하는 홈네트워크 제품은 상기 다른 프로토콜을 지원하는 홈네트워크 제품과 호환해야 할 필요성이 발생되었다.Accordingly, there is a need for a home network product supporting the LnCP to be compatible with a home network product supporting the other protocol.

또한, 상기 이질적인 프로토콜(Protocol)을 적용하는 홈네트워크 제품의 경우, LnCP에서 필수적으로 제공해야하는 기능조차 구현되지 않은 경우가 많다.In addition, in the case of a home network product to which the heterogeneous protocol is applied, even functions essential to LnCP are not implemented.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 그 목적은 기존 LnCP 라이브러리(Library)의 변경 없이 소프트웨어적으로 프로토콜 레벨(Protocol Level)을 변경하여 LnCP와 이질적인 프로토콜간의 호환이 이루어지도록 하는 데 있다.
The present invention has been made to solve the above problems, the object of which is to change the protocol level in software without changing the existing LnCP library (Library) to achieve compatibility between LnCP and heterogeneous protocols. have.

상기와 같은 목적을 이루기 위해 본 발명은 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법에 있어서, 패킷이 LnCP 채널 핸들러에서 브릿지로 전송되고, 브릿지에서는 상기 패킷이 변환모듈 또는 슬레이브 모듈로 전송되는 단계; 패킷이 변환모듈로 보내지면 해당 프로토콜 패킷으로 변환되어 브릿지의 물리적 인터페이스를 통해 해당 프로토콜 제품으로 전송되는 단계; 및 해당 제품에서 발생되는 응답 패킷은 브릿지의 물리적 인터페이스를 통해 상기 변환모듈에 전달되어 LnCP 패 킷으로 변환되고, LnCP 채널 핸들러로 전달되는 단계를 포함함을 특징으로 한다.In order to achieve the above object, the present invention provides a method for supporting compatibility between LnCP and a heterogeneous protocol, the method comprising: transmitting a packet from an LnCP channel handler to a bridge, wherein the packet is transmitted to a conversion module or a slave module; When the packet is sent to the conversion module, converted to the corresponding protocol packet and transmitted to the corresponding protocol product through the physical interface of the bridge; And a response packet generated in the corresponding product is transferred to the conversion module through the physical interface of the bridge, converted into an LnCP packet, and transmitted to the LnCP channel handler.

여기서, '해당 프로토콜'이라는 것은, 이질적인 프로토콜을 의미한다.Here, the term "the protocol" means a heterogeneous protocol.

상기 패킷이 슬레이브 모듈로 보내지면 사용자가 요청하는 이질적인 프로토콜에 대한 정보가 생성되며 LnCP 핸들러로 전달되는 것을 특징으로 한다.When the packet is sent to the slave module, information on the heterogeneous protocol requested by the user is generated and transmitted to the LnCP handler.

상기 슬레이브 모듈로 보내지는 패킷은 이질적인 프로토콜에서는 지원하지 않으면서 LnCP에서 지원하는 패킷을 말한다.A packet sent to the slave module refers to a packet supported by LnCP while not supported by a heterogeneous protocol.

상기 슬레이브 모듈로 보내지는 패킷의 일례로, 제품 메이커 요청 패킷, 모델명 요청 패킷, 소프트웨어 버젼 요청 패킷, 상태 체크 요청 패킷, 주소 요청 패킷, 조인 요청 패킷, 주소 변환 요청 패킷, 디바이스 서치 요청 패킷 등을 들 수 있다.Examples of packets sent to the slave module include a product maker request packet, a model name request packet, a software version request packet, a status check request packet, an address request packet, a join request packet, an address translation request packet, a device search request packet, and the like. Can be.

본 발명은 상기 브릿지 내부에 LnCP 채널 핸들러에 전송된 패킷을 임시 저장시키는 임시저장소가 더 구비되는 것을 특징으로 한다.The present invention is further characterized in that the temporary storage for temporarily storing the packets transmitted to the LnCP channel handler inside the bridge.

또한, 본 발명은 상기 이질적인 프로토콜이 이벤트가 없는 프로토콜이면 브릿지에 폴링 스레드(Polling_thread)부를 추가시켜 폴링 스레드부에서 규칙적으로 제품에 대해 모니터링을 수행하고, 상기 모터링된 값과 바로 이전에 모니터링하여 저장된 값을 비교하여 두 값이 다르면 모니터링한 값을 저장하고 이벤트로 만들어 LnCP 채널 핸들러로 전송시키는 것을 특징으로 한다.In addition, when the heterogeneous protocol is an event-free protocol, the polling thread unit may monitor the product regularly by adding a polling thread unit to the bridge, and monitor and store the motored value immediately before the stored protocol. If the two values are different by comparing the values, the monitored value is saved, made into an event, and transmitted to the LnCP channel handler.

상기 브릿지에는 각 제품에 해당하는 핸들러가 있으며, 상기 핸들러에는 패킷 변환 모듈이 구비되어 상기 패킷 변환 모듈에서 패킷 변환이 이루어지는 것을 특징으로 한다.The bridge has a handler corresponding to each product, and the handler is provided with a packet conversion module, wherein the packet conversion module performs packet conversion.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하고자 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 일실시예에서는 LG 홈넷(HomeNet) 프로토콜인 LnCP(Living network Control Protocol)를 사용하여 설명하기로 한다.In an embodiment of the present invention will be described using the LnCP (Living Network Control Protocol), which is the LG HomeNet protocol.

먼저, 본 명세서에서는 도 1 및 도 2를 참조하여 상기 LnCP에 대해 보다 상세히 살펴본다.First, in the present specification, the LnCP will be described in more detail with reference to FIGS. 1 and 2.

도 1은 일반적인 홈 네트워크 제어 시스템의 구성도이며, 도 2는 도 1에서의 LnCP 라이브러리 모듈의 구성도이다. 1 is a configuration diagram of a general home network control system, and FIG. 2 is a configuration diagram of the LnCP library module of FIG. 1.

도 1을 참조하면, 홈 네트워크 제어 시스템은 인터넷(10)을 통해 TCP/IP 기반의 메시지 송수신을 수행하는 LnCP 서버(20); 및 상기 LnCP 서버(20)가 수신한 제어명령을 홈 네트워크 내에 존재하는 디바이스(41~43) 중 해당 디바이스로 전달하고, 상기 디바이스의 제어에 따른 응답을 상기 LnCP 서버(20)로 전달하는 LnCP 라이브러리 모듈(30)을 포함하여 이루어진다.Referring to FIG. 1, the home network control system includes an LnCP server 20 which performs TCP / IP-based message transmission and reception through the Internet 10; And a LnCP library that transmits the control command received by the LnCP server 20 to a corresponding device among the devices 41 to 43 existing in the home network, and transmits a response according to the control of the device to the LnCP server 20. Module 30.

상기 LnCP 서버(20)와 LnCP 라이브러리 모듈(30)사이에는 인터페이싱 지원을 위한 LnGate API(36)가 구비된다. An LnGate API 36 for interfacing support is provided between the LnCP server 20 and the LnCP library module 30.

상기 LnCP 서버(20)는 인터넷(10)과 홈 네트워크간의 연결을 위한 게이트웨이(Gateway) 기능을 구비하거나 별도의 게이트웨이가 접속된다. The LnCP server 20 has a gateway function for connection between the Internet 10 and a home network or a separate gateway is connected.

상기 LnCP 라이브러리 모듈(30)은 도 2에 도시한 바와 같이, 마스터 핸들러(Master Handler)(31)와, 메시지 후킹 핸들러(Message Hooking Handler)(32)와, 전달(트랜스미션) 핸들러(Transmission handler)(33)와, 채널 핸들러(channel handler)(34)와, 홈 네트워크에 존재하는 LnCP 기반의 디바이스와의 통신을 지원하기 위한 디바이스(물리적) 인터페이스(35)를 포함하여 구성한다. As shown in FIG. 2, the LnCP library module 30 includes a master handler 31, a message hooking handler 32, and a transmission handler. 33), a channel handler 34, and a device (physical) interface 35 for supporting communication with the LnCP-based device in the home network.

상기 LnCP 라이브러리 모듈(30)은 로그 핸들러(log handler)와 데이터베이스 핸들러(database handler)를 더 포함한다. The LnCP library module 30 further includes a log handler and a database handler.

상기 마스터 핸들러(31)는 홈 코드(Home code) 관리, 주소 할당, 다수의 네트워크 매니저(Network Manager : NM)의 데이터베이스(DataBase : DB) 처리를 위한 멀티 NM 관리, 원하는 시간에 원하는 제어를 지원하기 위한 스케쥴 관리, 디바이스 등록 관리, 디바이스 유형/모델별 제어, 이벤트 액션 관리, 디바이스 이벤트 처리를 수행한다. The master handler 31 supports home code management, address assignment, multi-NM management for processing a database of multiple network managers (NMs), and supports desired control at a desired time. Schedule management, device registration management, device type / model control, event action management, and device event processing are performed.

상기 메시지 후킹 핸들러(32)는 미도시되어 있지만 전송 메시지 후킹 핸들러(Sending Message Hooking Handler)와 수신 메시지 후킹 핸들러(Receiving Message Hooking Handler)로 구분된다. Although not illustrated, the message hooking handler 32 may be divided into a sending message hooking handler and a receiving message hooking handler.

상기 전송 메시지 후킹 핸들러는 상위 레이어에서 전달한 요청(request) 또는 통지(notification) 패킷에 대한 특정 프로세스(필터링, long 처리)를 처리한다. 이후, 특정 프로세스 처리에 따른 해당 패킷을 트랜스미션 핸들러(33)에 전달한다. The transport message hooking handler handles a specific process (filtering, long processing) for a request or notification packet delivered from an upper layer. Thereafter, the packet is transmitted to the transmission handler 33 according to a specific process.

상기 수신 메시지 후킹 핸들러는 트랜스미션 핸들러(33)가 전달한 응답(Response), 이벤트(Event) 패킷에 대한 특정 프로세스를 처리한다. 이후, 특정 프로세스 처리에 따른 해당 패킷 메시지를 마스터 핸들러(31)에게 전달할 수도 있다. The received message hooking handler handles a specific process for a response and an event packet delivered by the transmission handler 33. Thereafter, the packet message according to a specific process may be delivered to the master handler 31.

상기 트랜스미션 핸들러(33)는 상위 레이어가 전달한 패킷을 채널 핸들러 (34)를 통해 인터페이스(35)로 전달될 수 있게 처리하고 상기 채널 핸들러(34)로부터 수신된 LnCP 패킷을 상위의 메시지 후킹 핸들러(32)로 전달한다. 만일, 전송 오류가 발생하면 재전송 처리를 한다. The transmission handler 33 processes the packet delivered by the upper layer to be delivered to the interface 35 through the channel handler 34 and processes the LnCP packet received from the channel handler 34 to the upper message hooking handler 32. To pass). If a transmission error occurs, the retransmission process is performed.

상기 채널 핸들러(34)는 LnCP 인터페이스(35)를 관리한다. 즉, 채널 핸들러(34)는 트랜스미션 핸들러(33)로부터 받은 패킷을 해당 LnCP 인터페이스(35)로 전달하고 LnCP 인터페이스(35)로부터 전달받은 패킷을 트랜스미션 핸들러(33)에게 전달한다. The channel handler 34 manages the LnCP interface 35. That is, the channel handler 34 transmits the packet received from the transmission handler 33 to the LnCP interface 35 and the packet received from the LnCP interface 35 to the transmission handler 33.

상기 LnCP 디바이스 인터페이스(35)는 최종 물리 인터페이스 예로, 전력선 통신(Power Line Communication : PLC), 직렬 통신(RS-232C, RS-485), 무선통신(RF 통신), USB 인터페이스에 직접 패킷을 전달하고, 그에 따른 응답을 전달받아 채널 핸들러(34)로 전달한다. The LnCP device interface 35 delivers packets directly to a final physical interface, for example, power line communication (PLC), serial communication (RS-232C, RS-485), wireless communication (RF communication), and USB interface. In response, the response is transmitted to the channel handler 34.

도 3은 본 발명의 일실시예에 따른 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법을 설명하기 위한 구조도이다.3 is a structural diagram illustrating a method for supporting compatibility between LnCP and heterogeneous protocols according to an embodiment of the present invention.

도 3을 참조하여 본 발명에 따른 LnCP의 채널 핸들러와 이질적인 프로토콜간 시스템을 살펴보면 LnCP의 채널 핸들러(100) 및 브릿지(200)를 포함한다.Referring to FIG. 3, a channel handler of LnCP and a heterogeneous interprotocol system according to the present invention include a channel handler 100 and a bridge 200 of LnCP.

상기 LnCP의 채널 핸들러(100)에 대한 설명은 도 2 설명부분에서 상세히 이루어졌으므로 생략하기로 한다.Description of the channel handler 100 of the LnCP is made in detail in the description of Figure 2 will be omitted.

상기 브릿지(200)는 상위 레이어(Upper Layer)(LnCP의 채널 핸들러)(100)에서 받은 패킷을 적절한 변환 모듈(Handler)로 분배하는 역할을 수행한다.The bridge 200 distributes packets received from the upper layer (LnCP channel handler) 100 to an appropriate conversion module (Handler).

상기 브릿지(200)의 내부에는 패킷 임시 저장소인 큐(queue)(120), 이질적 홈네트워크 제품에 대한 각각의 핸들러(A핸들러, B 핸들러 등)(221)(222) 및 슬레이브 핸들러(250)가 포함된다. Inside the bridge 200 are queues 120, which are temporary packets of packets, and respective handlers (A handlers, B handlers, etc.) 221 and 222 and slave handlers 250 for heterogeneous home network products. Included.

상기 큐(queue)(120)에서는 상기 LnCP 채널 핸들러(100)에서 온 패킷을 임시 저장시킨다.The queue 120 temporarily stores packets from the LnCP channel handler 100.

상기 브릿지(200)는 상기 큐(queue)(120)에 메시지가 있으면 그 메시지가 해당되는 핸들러로 패킷을 전송시킨다.If there is a message in the queue 120, the bridge 200 transmits the packet to the handler corresponding to the message.

상기 A(B)핸들러(221)(222)의 내부에는 각각 LnCP 패킷을 A(B)프로토콜 패킷으로 변환시키거나 A(B)프로토콜 패킷을 LnCP 패킷으로 변환시키는 패킷 변환부(221a)(222a)가 구비된다.Inside the A (B) handlers 221 and 222, packet converters 221a and 222a respectively convert LnCP packets into A (B) protocol packets or A (B) protocol packets into LnCP packets. Is provided.

상기 변환모듈로 보내질 명령에 대해서는 브릿지(Bridge)에서 디바이스 형태(Device type)를 통해 해당 제품을 변역할 수 있는 각 핸들러(Handler)로 전달된다.The command to be sent to the conversion module is delivered to each handler capable of translating the corresponding product through a device type from the bridge.

상기 슬레이브 핸들러(250)로 보내지는 패킷은 해당 프로토콜에서는 지원하지 않으면서 LnCP 기능을 지원하는 패킷들이다. 즉, 본 발명에서는 상기 슬레이브 핸들러(250)로 보내지는 패킷들을 제외한 나머지 패킷은 임시저장소인 큐(210)를 통해 각각의 핸들러(221)(222)로 전달된다.Packets sent to the slave handler 250 are packets that support the LnCP function without being supported by the corresponding protocol. That is, in the present invention, the remaining packets except for the packets sent to the slave handler 250 are delivered to the respective handlers 221 and 222 through the queue 210 which is a temporary storage.

상기 슬레이브 모듈(250)로 보내지는 패킷은 그 일례로, 제품 메이커 요청 패킷, 모델명 요청 패킷, 소프트웨어 버젼 요청 패킷, 상태 체크 요청 패킷, 주소 요청 패킷, 조인 요청 패킷, 주소 변환 요청 패킷, 디바이스 서치 요청 패킷 등을 들 수 있다.Packets sent to the slave module 250 are, for example, product maker request packets, model name request packets, software version request packets, status check request packets, address request packets, join request packets, address translation request packets, and device search requests. Packets and the like.

상기 패킷이 슬레이브 모듈로 보내지면 사용자가 요청하는 이질적인 프로토콜에 대한 정보가 생성되며, 상기 정보는 LnCP 핸들러로 전달된다.When the packet is sent to the slave module, information about the heterogeneous protocol requested by the user is generated, and the information is passed to the LnCP handler.

여기서, 정보라는 것은, 일례로 홈네트워크 제품의 모델명, 그 제품의 소프트웨어 버젼 등을 말한다.Here, the information means, for example, the model name of the home network product, the software version of the product, and the like.

즉, 상기 슬레이브 모듈(250)로 보내지는 패킷이 제품 메이커 요청 패킷이면 이질적인 프로토콜을 적용하는 홈네트워크 제품의 메이커가 리턴(Return)된다.That is, if the packet sent to the slave module 250 is a product maker request packet, the maker of the home network product applying the heterogeneous protocol is returned.

상기 리턴은 슬레이브 핸들링부에서 이루어진다.The return is made at the slave handling unit.

또한, 상기 슬레이브 핸들러내의 슬레이브 큐(Slave_queue)는 상기 큐(queue)와 동일한 기능을 수행한다. 즉, 상기 슬레이브 핸들러내의 슬레이브 큐(Slave_queue)에서는 상기 슬레이브 모듈(250)로 보내지는 패킷을 임시 저장한다.In addition, the slave queue Slave_queue in the slave handler performs the same function as the queue. That is, the slave queue Slave_queue in the slave handler temporarily stores the packet sent to the slave module 250.

상기 브릿지(200)는 실제 물리적 인터페이스를 가지며, 이질적인 홈네트워크 제품으로 패킷을 전송하거나 이질적인 홈네트워크 제품에서 발생되는 응답패킷을 받기도 한다. The bridge 200 has a real physical interface, and may transmit packets to heterogeneous home network products or receive response packets generated from heterogeneous home network products.

또한, 본 발명에서는 폴링 스레드(Polling_thread)부(230)를 더 포함함을 특징으로 한다.In addition, the present invention is characterized in that it further comprises a polling thread (Polling_thread) unit 230.

상기 폴링 스레드부(230)는 상기 이질적인 프로토콜이 이벤트가 없는 프로토콜인 경우에 적용된다. The polling thread unit 230 is applied when the heterogeneous protocol is an event-free protocol.

상기 폴링 스레드부(230)에 대해 보다 상세히 살펴보면, 상기 폴링 스레드부(230)에서는 규칙적으로 홈네트워크 제품에 대해 모니터링을 수행한다. Looking at the polling thread unit 230 in more detail, the polling thread unit 230 performs regular monitoring for home network products.

처음에 모니터링한 값은 일시 저장되고, 계속해서 모니터링이 수행된다. The initially monitored value is stored temporarily, and monitoring continues.

그리고 나서 상기 모터링된 값은 바로 이전에 모니터링하여 저장된 값과 비교되고, 만약 두 값이 다르면 모니터링한 값을 저장하고 이벤트로 만들어 LnCP 채널 핸들러로 전송시킨다.The motored value is then compared with the previously monitored and stored value, and if the two values are different, the monitored value is stored, made an event, and sent to the LnCP channel handler.

만약, 상기에서 두 값이 같으면 저장하지 않고 상기 모니터링을 계속 반복 수행한다.If the two values are the same, the monitoring is repeatedly performed without storing.

도 4는 본 발명의 일실시예에 따른 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a method for supporting compatibility between LnCP and heterogeneous protocols according to an embodiment of the present invention.

도 3 및 도 4를 참조하여 발명에 따른 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법을 설명하면, 먼저, 본 발명에서는 패킷이 LnCP 채널 핸들러에서 브릿지로 전송된다.(S101)Referring to FIGS. 3 and 4, a method of supporting compatibility between an LnCP and a heterogeneous protocol according to the present invention will be described. First, in the present invention, a packet is transmitted from an LnCP channel handler to a bridge (S101).

그러면 상기 브릿지에서는 상기 패킷이 변환모듈 또는 슬레이브 모듈로 분기(전송)된다.(S102)In the bridge, the packet is branched (transmitted) to a conversion module or a slave module (S102).

상기에서 패킷이 변환모듈로 보내지면 해당 프로토콜, 즉 이질적인 프로토콜의 패킷(예 : A프로토콜 패킷, B프로토콜 패킷 등)으로 변환된다.(S103)When the packet is sent to the conversion module, the packet is converted into a packet of a corresponding protocol, that is, a heterogeneous protocol (for example, A protocol packet or B protocol packet).

상기와 같이, 해당 프로토콜로 변환된 패킷은 브릿지의 물리적 인터페이스를 통해 해당 프로토콜 제품으로 전송된다.(S104)As described above, the packet converted into the corresponding protocol is transmitted to the corresponding protocol product through the physical interface of the bridge (S104).

그러면 상기 해당 제품에서 응답패킷이 발생되며(S105), 상기 응답 패킷은 브릿지의 물리적 인터페이스를 통해 브릿지의 변환모듈에 전달된다.Then, a response packet is generated in the corresponding product (S105), and the response packet is transmitted to the conversion module of the bridge through the physical interface of the bridge.

상기 변환모듈에서는 응답 패킷이 LnCP 패킷으로 변환되고(S106), 상기 LnCP 패킷은 LnCP 채널 핸들러로 전달된다.(S107)In the conversion module, the response packet is converted into an LnCP packet (S106), and the LnCP packet is transferred to the LnCP channel handler (S107).

또한, 본 발명에서는 단계 102에서 패킷이 슬레이브 핸들러로 전달되면 그 패킷은 우선 슬레이브 큐(251)에 임시 저장된다.In the present invention, when a packet is delivered to a slave handler in step 102, the packet is temporarily stored in the slave queue 251.

그리고 나서, 상기 패킷은 슬레이브 핸들러(252)에서 전달되어 처리되며, 그 처리된 결과는 LnCP 핸들러로 전달된다.(S108)Then, the packet is delivered to and processed by the slave handler 252, and the processed result is transferred to the LnCP handler (S108).

여기서, 처리는 사용자가 요청하는 이질적인 프로토콜에 대한 정보를 생성시키는 것을 말한다. Here, processing refers to generating information about heterogeneous protocols requested by the user.

상기 정보는 일례로 홈네트워크 제품의 모델명, 그 제품의 소프트웨어 버젼 등을 말한다.The information refers to a model name of a home network product, a software version of the product, and the like, for example.

상기와 같이, 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.As described above, with reference to the preferred embodiment of the present invention, those skilled in the art will be variously modified and modified within the scope of the present invention without departing from the spirit and scope of the present invention described in the claims below. It will be appreciated that it can be changed.

이상에서와 같이, 본 발명은 기존 LnCP 라이브러리(Library)의 변경 없이 소프트웨어적으로 프로토콜 레벨(Protocol Level)을 변경하여 LnCP와 이질적인 프로토콜간의 호환이 이루어지도록 할 수 있다. As described above, the present invention can make the compatibility between the LnCP and the heterogeneous protocol by changing the protocol level in software without changing the existing LnCP library.                     

이에 따라, 상기와 같은 브릿지(Bridge) 내부의 변환을 통하여 상위에 있는 사용자(end user)는 LnCP 제품이든지 LnCP를 따르지 않는 제품이든지 LnCP 라이브러리(Library)를 통해 같은 방법으로 제어할 수 있다.Accordingly, the upper end user can be controlled in the same manner through the LnCP library, whether the product is a LnCP product or a product that does not conform to the LnCP.

또한, 본 발명은 이질적인 프로토콜의 단순한 패킷의 변경(타 프로토콜 패킷을 LnCP 패킷으로 변환)을 넘어 기존 LnCP 제품의 수준으로 기능까지 지원할 수 있다. In addition, the present invention can support functions at the level of existing LnCP products beyond simple packet changes of other heterogeneous protocols (converting other protocol packets to LnCP packets).

Claims (7)

LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법에 있어서,In a method that supports compatibility between LnCP and heterogeneous protocols, 패킷이 LnCP 채널 핸들러에서 브릿지로 전송되고, 브릿지에서는 상기 패킷이 변환모듈 또는 슬레이브 모듈로 전송되는 단계;Transmitting the packet from the LnCP channel handler to the bridge, wherein the packet is transmitted to the conversion module or the slave module; 패킷이 변환모듈로 보내지면 해당 프로토콜 패킷으로 변환되어 브릿지의 물리적 인터페이스를 통해 해당 프로토콜 제품으로 전송되고, 패킷이 슬레이브 모듈로 보내지면 사용자가 요청하는 이질적인 프로토콜에 대한 정보가 생성되며 LnCP 핸들러로 전달되는 단계; 및When the packet is sent to the conversion module, it is converted into the corresponding protocol packet and transmitted to the corresponding protocol product through the physical interface of the bridge.When the packet is sent to the slave module, information about the heterogeneous protocol requested by the user is generated and transmitted to the LnCP handler. step; And 해당 제품에서 발생되는 응답 패킷은 브릿지의 물리적 인터페이스를 통해 상기 변환모듈에 전달되어 LnCP 패킷으로 변환되고, LnCP 채널 핸들러로 전달되는 단계를 포함함을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.The response packet generated in the product is transmitted to the conversion module through the physical interface of the bridge to be converted into an LnCP packet, and transmitted to the LnCP channel handler, a method for supporting compatibility between LnCP and heterogeneous protocols . 삭제delete 제 1항에 있어서, 슬레이브 모듈로 보내지는 패킷은 이질적인 프로토콜에서는 지원하지 않으면서 LnCP에서 지원하는 패킷인 것을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.The method of claim 1, wherein the packet sent to the slave module is a packet supported by LnCP without being supported by a heterogeneous protocol. 제 3항에 있어서, 슬레이브 모듈로 보내지는 패킷은 제품 메이커 요청 패킷, 모델명 요청 패킷, 소프트웨어 버젼 요청 패킷, 상태 체크 요청 패킷, 주소 요청 패킷, 조인 요청 패킷, 주소 변환 요청 패킷, 디바이스 서치 요청 패킷 중 하나인 것을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.4. The packet of claim 3, wherein the packet sent to the slave module is one of a product maker request packet, a model name request packet, a software version request packet, a status check request packet, an address request packet, a join request packet, an address translation request packet, and a device search request packet. Method for supporting compatibility between LnCP and heterogeneous protocol, characterized in that one. 제 1항에 있어서, 브릿지 내부에는 LnCP 채널 핸들러에 전송된 패킷을 임시 저장시키는 임시저장소가 더 구비되는 것을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.The method of claim 1, further comprising: a temporary storage for temporarily storing a packet transmitted to the LnCP channel handler inside the bridge. 제 1항에 있어서, 이질적인 프로토콜이 이벤트가 없는 프로토콜이면 브릿지에 폴링 스레드(Polling_thread)부를 추가시켜 폴링 스레드부에서 규칙적으로 제품에 대해 모니터링을 수행하고, 상기 모터링된 값과 바로 이전에 모니터링하여 저장된 값을 비교하여 두 값이 다르면 모니터링한 값을 저장하고 이벤트로 만들어 LnCP 채널 핸들러로 전송시키는 것을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.According to claim 1, If the heterogeneous protocol is an event-free protocol, by adding a polling thread (Polling_thread) to the bridge to monitor the product on a regular basis in the polling thread unit, and stored by monitoring immediately before the motored value A method that supports compatibility between LnCP and heterogeneous protocols by comparing the values and storing the monitored values as events and sending them to the LnCP channel handler if they differ. 제 1항, 5항, 6항 중 어느 한 항에 있어서, 브릿지에는 각 제품에 해당하는 핸들러가 있으며, 상기 핸들러에는 패킷 변환 모듈이 구비되어 상기 패킷 변환 모듈에서 패킷 변환이 이루어지는 것을 특징으로 하는 LnCP와 이질적인 프로토콜간의 호환을 지원하는 방법.The LnCP according to any one of claims 1, 5 and 6, wherein the bridge has a handler corresponding to each product, and the handler is provided with a packet conversion module to perform packet conversion in the packet conversion module. How to support compatibility between and heterogeneous protocols.
KR1020050009699A 2005-02-02 2005-02-02 Method of Supporting for Compatibility between LnCP and Another Protocol KR100706318B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050009699A KR100706318B1 (en) 2005-02-02 2005-02-02 Method of Supporting for Compatibility between LnCP and Another Protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050009699A KR100706318B1 (en) 2005-02-02 2005-02-02 Method of Supporting for Compatibility between LnCP and Another Protocol

Publications (2)

Publication Number Publication Date
KR20060088746A KR20060088746A (en) 2006-08-07
KR100706318B1 true KR100706318B1 (en) 2007-04-13

Family

ID=37177081

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050009699A KR100706318B1 (en) 2005-02-02 2005-02-02 Method of Supporting for Compatibility between LnCP and Another Protocol

Country Status (1)

Country Link
KR (1) KR100706318B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9558050B2 (en) 2009-09-15 2017-01-31 Electronics And Telecommunications Research Institute General middleware bridge and method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030075691A (en) * 2002-03-20 2003-09-26 엘지전자 주식회사 Home Appliance Network System with Multiple Communication Protocol and Operating Method for the Same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030075691A (en) * 2002-03-20 2003-09-26 엘지전자 주식회사 Home Appliance Network System with Multiple Communication Protocol and Operating Method for the Same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1020030075691 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9558050B2 (en) 2009-09-15 2017-01-31 Electronics And Telecommunications Research Institute General middleware bridge and method thereof

Also Published As

Publication number Publication date
KR20060088746A (en) 2006-08-07

Similar Documents

Publication Publication Date Title
JP4624701B2 (en) Device information management apparatus and method via network
JP5574544B2 (en) Unified device management method and system
US7516187B2 (en) Remote control system for home appliance network and method for operating the same
EP2854374B1 (en) Method and device for managing terminal in home network and home network
WO2017067327A1 (en) Method for establishing persistent connection between multiple smart devices and server, and smart device
KR101077992B1 (en) Home Network Control System and Data Flow Control Method of Above the Home Network Control System
CN113411215B (en) Time-sensitive network centralized user configuration method and system based on OPC UA
CA2839034A1 (en) Wireless communication network for smart appliances
CN102763373A (en) Method and apparatus for using service of home network device based on remote access
EP1696606A1 (en) Service framework for home network
CN103312715A (en) Web service oriented home network system architecture
US20180124168A1 (en) Load balancing server for forwarding prioritized traffic from and to one or more prioritized auto-configuration servers
KR101926367B1 (en) IoT BROKER SERVER PROCESSING COPATIBILITY OF COMMUNICATIONS AND CONTROLLONG DEVICE ACCORDING TO PRIORITY
CN101494561A (en) Network management method and system based on simple network management protocol
US20070130312A1 (en) Web service provision apparatus and method and web service request apparatus and method
JP5038956B2 (en) Network system
CN111200808B (en) Dual-protocol gateway data transmission method and system
KR20050079480A (en) Upnp based on rg system for home network service
KR100706318B1 (en) Method of Supporting for Compatibility between LnCP and Another Protocol
CN102904978B (en) In Ubiquitous Network, ubiquitous equipment realizes the method for UPnP
CN101465783B (en) Connection method, device and connection network bridge for isomery household network appliances
US9712993B2 (en) System and method of trigger service
KR100833335B1 (en) System and method for device management using OMA master device management client
KR20120070893A (en) Method for exchanging information using smart grid in universal plug and play
JP5135422B2 (en) Gateway device

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
FPAY Annual fee payment
LAPS Lapse due to unpaid annual fee