KR20060107728A - Home network control system and data flow control method of above the home network control system - Google Patents
Home network control system and data flow control method of above the home network control system Download PDFInfo
- Publication number
- KR20060107728A KR20060107728A KR1020050030091A KR20050030091A KR20060107728A KR 20060107728 A KR20060107728 A KR 20060107728A KR 1020050030091 A KR1020050030091 A KR 1020050030091A KR 20050030091 A KR20050030091 A KR 20050030091A KR 20060107728 A KR20060107728 A KR 20060107728A
- Authority
- KR
- South Korea
- Prior art keywords
- home network
- buffer
- unit
- microcomputer
- command
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
본 발명은 홈넷 서버와 홈네트워크 제품을 포함하여 이루어지는 홈네트워크 제어 시스템에 있어서, 상기 홈네트워크 제품은 내부에 데이터 처리 공간인 제 1 버퍼부가 구비되고, 상기 제 1 버퍼부에 저장된 명령어를 처리하고, 상기 제 1 버퍼부의 용량 상태를 체크하는 기능을 포함하는 마이컴; 및 상기 홈넷 서버와 통신하기 위한 제 1 통신 모뎀부;를 포함하여 이루어지고, 상기 홈넷 서버는 홈네트워크 제품을 제어하는 프로그램이 탑재되고, 상기 제어 프로그램과 홈네트워크 제품간 통신을 담당하는 홈네트워크 제어 프로토콜 라이브러리 모듈부; 상기 마이컴의 제 1 버퍼부의 용량 상태를 상기 마이컴에게 요청하는 기능을 포함하는 흐름 제어부; 및 상기 제 1 통신 모뎀부와 직접적으로 통신이 이루어지는 제 2 통신 모뎀부;를 포함하여 이루어지는 것을 특징으로 한다. The present invention provides a home network control system including a home net server and a home network product, wherein the home network product includes a first buffer unit, which is a data processing space, and processes a command stored in the first buffer unit, A microcomputer including a function of checking a capacity state of the first buffer unit; And a first communication modem unit for communicating with the homenet server, wherein the homenet server is equipped with a program for controlling a home network product, and is responsible for communication between the control program and the home network product. A protocol library module unit; A flow controller including a function of requesting the microcomputer for a capacity state of the first buffer unit of the microcomputer; And a second communication modem unit in which communication is directly performed with the first communication modem unit.
또한, 본 발명에 따른 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법은 제어프로그램에서 발생된 명령어는 홈네트워크 제어 프로토콜 라이브러리 모듈부를 거쳐 흐름 제어부에 전달되는 단계; 흐름 제어부에서는 해당 홈네트워크 제품 내의 마이컴에게 비어 있는 버퍼용량의 체크를 요구하고, 마이컴은 현재 버퍼의 용량 상태를 흐름 제어부에 전달하는 단계; 흐름 제어부는 상기 버퍼 상태를 확인하여 상기 명령어의 처리를 위한 버퍼의 용량이 충분한지 그 여부를 판단하는 단계; 및 흐름 제어부가 상기 명령어의 처리를 위한 버퍼의 용량이 충분하다고 판단하면 상기 명령어를 마이컴 내의 버퍼부에 전송시켜 마이컴에게 처리하도록 하는 단계를 포함한다.In addition, the data flow control method in the home network control system according to the present invention comprises the steps of: the command generated in the control program is passed to the flow control unit via the home network control protocol library module; Requesting the microcomputer in the home network product to check the empty buffer capacity, and the microcomputer transmits the current buffer capacity state to the flow control unit; Checking, by the flow controller, whether the buffer has sufficient capacity for processing the command; And if the flow controller determines that the capacity of the buffer for processing the command is sufficient, transmitting the command to the buffer in the microcomputer to process the microcomputer.
이상에서와 같이, 본 발명은 홈네트워크 제어 프로토콜(LG홈넷 프로토콜인 경우 LnCP에 해당함) 라이브러리 모듈부의 하단에 상기 프로토콜과 홈네트워크 제품간 데이터 흐름을 제어하는 흐름 제어부(Flow Controller)를 더 구현시킴으로써 홈네트워크 제어 프로토콜 라이브러리 모듈부의 선점 에러율을 개선하여 네트워크 송/수신의 효율을 보다 향상시킬 수 있다.As described above, the present invention provides a home network control protocol (corresponding to LnCP in the case of the LG homenet protocol) by implementing a flow controller for controlling data flow between the protocol and the home network product at the bottom of the library module unit. By improving the preemptive error rate of the network control protocol library module unit, the network transmission / reception efficiency can be further improved.
홈네트워크 제품, 홈넷 서버, 선점 에러율, 흐름 제어부 Home network product, home net server, preemption error rate, flow control
Description
도 1은 종래의 기술에 따른 홈네트워크 제어 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a home network control system according to the related art.
도 2는 일반적인 홈 네트워크 제어 시스템의 구성도이다.2 is a block diagram of a general home network control system.
도 3은 도 2에서의 LnCP 라이브러리 모듈의 구성도이다. 3 is a block diagram of the LnCP library module shown in FIG.
도 4는 본 발명의 일실시예에 따른 홈네트워크 제어 시스템을 나타내는 블록도이다.4 is a block diagram illustrating a home network control system according to an embodiment of the present invention.
도 5는 본 발명의 일실시예에 따른 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법을 나타내는 순서도이다.5 is a flowchart illustrating a data flow control method in a home network control system according to an embodiment of the present invention.
<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
100 : 홈넷 서버 110 : 제어프로그램100: home net server 110: control program
120 : LnCP 라이브러리 모듈 130 : 제 2 통신 모뎀부120: LnCP library module 130: second communication modem unit
140 : 흐름 제어부 141 : 제 2 버퍼부140: flow control unit 141: second buffer unit
200 : 홈네트워크 제품 210 : 마이컴200: home network products 210: micom
211 : 제 1 버퍼부 220 : 제 1 통신 모뎀부211: first buffer unit 220: first communication modem unit
본 발명은 홈네트워크 제어 시스템 및 상기 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법에 관한 것으로, 특히 홈네트워크 제어 프로토콜(LG홈넷 프로토콜인 경우 LnCP에 해당함) 라이브러리 모듈부의 선점 에러율을 개선할 수 홈네트워크 제어 시스템 및 상기 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법에 관한 것이다.The present invention relates to a home network control system and a data flow control method in the home network control system. In particular, the home network control protocol (corresponding to LnCP in the case of the LG homenet protocol) can improve the preemption error rate of the library module unit. System and a data flow control method in the home network control system.
도 1을 참조하여, 종래의 기술에 대해 보다 상세히 살펴보기로 한다.With reference to FIG. 1, the prior art will be described in more detail.
도 1을 참조하면, 종래의 기술에 따른 홈네트워크 제어 시스템은 크게 홈넷 서버(HomeNet Server)(100)와, 홈네트워크 제품(디바이스 : Device)(200)을 포함하여 이루어진다.Referring to FIG. 1, a home network control system according to the related art includes a
상기 홈넷 서버(100)는 마스터 장치로서, 상기 홈네트워크 제품(200)을 제어하여 소정의 작업이 이루어지도록 함으로써 사용자에게 다양한 정보와 편리성을 제공한다.The
상기 홈넷 서버의 구조에 대해 보다 상세히 살펴보면, 홈넷 서버(100)는 제어프로그램(110)과, 리빙 네트워크 제어 프로토콜(Living network Control Protocol : LnCP) 라이브러리 모듈부(120) 및 제 2 모뎀부(130)를 포함하여 이루어 진다.Looking at the structure of the home net server in more detail, the
상기 리빙 네트워크 제어 프로토콜(Living network Control Protocol : LnCP)은 LG 홈넷(HomeNet) 프로토콜이다.The Living Network Control Protocol (LnCP) is an LG HomeNet protocol.
또한, 상기 LnCP는 직렬통신기능을 가진 저가의 마이컴을 채용한 가전제품들과의 전력선통신(Power Line Communication : PLC)라인의 네트워크 환경을 기반으로 한다.In addition, the LnCP is based on a network environment of a power line communication (PLC) line with home appliances employing a low-cost microcomputer having a serial communication function.
상기 제어프로그램(110)은 일례로, 그래픽 유저 인터페이스(Graphic User Interface : GUI)를 들 수 있으며, 사용자는 상기 GUI를 통해 홈네트워크 제품에 명령을 내려 홈네트워크 제품을 제어한다.The
상기 LnCP 라이브러리 모듈부(120)는 홈네트워크 제품간의 프로토콜을 정의한 라이브러리 모듈이다. The LnCP
상기 제어프로그램에서 명령이 내려오면 상기 명령을 제 2 모뎀부(130)를 통해 송신하고, 홈네트워크 제품에서 상기 모뎀부(130)를 통해 송신된 메시지(응답신호 등)를 다시 상층(제어프로그램)에 전달시키는 기능을 수행한다. When a command is issued from the control program, the command is transmitted through the
상기 LnCP 라이브러리 모듈부(120)에 대한 설명은 도 2 및 도 3 설명부분에서 보다 상세히 이루어지므로, 여기서는 생략하기로 한다.Since the description of the LnCP
또한, 상기 홈네트워크 제품(200)은 상기 마스터인 홈넷 서버의 제어를 받은 슬레이브 장치이다.In addition, the
상기 홈네트워크 제품(200)에는 홈넷 에어콘, 홈넷 가스렌즈, 홈넷 냉장고, 홈넷 TV 등이 있으며, 마스터의 명령을 받아 각 제품별 기능을 수행한 후 그 응답 신호를 내보낸다. 물론 상기 응답신호는 모뎀부(220)(130)를 거쳐 최종적으로 사용자에게 전달된다.The
상기 홈네트워크 제품(200)은 내부에 마이컴(210)이 구비되며, 상기 마이컴 내부에는 약 80Byte의 제 1 버퍼부(211)가 구비된다.The
상기 마이컴(210)은 데이터 수신시 버퍼에 충분한 공간이 확보되어 있지 않으면 수신 데이터를 버린다.If the
상기 제 1 통신 모뎀부(220)와 제 2 통신 모뎀부(130)간 통신은 직렬 통신 프로토콜을 사용하며, 자체내에서 흐름 제어(Flow Control)를 하여 데이터의 송/수신을 보장한다.The communication between the first
그러나, 종래의 홈네트워크 제어 시스템의 경우, 제어프로그램에서 하나의 명령어가 LnCP 라이브러리 모듈부(120)로 하달되면 그 명령어는 모뎀부를 통해 해당 홈네트워크 제품에 전달된다. 그런 후, 다른 명령어가 같은 홈네트워크 제품에 대해 전달시키기 위해 LnCP 라이브러리 모듈부(120)로 하달되면 상기 LnCP 라이브러리 모듈부(120)에서는 일단 제 2 통신 모뎀부(130)에 송신하고, 바로 이전(以前)에 홈네트워크 제품에 전달된 명령에 대한 응답이 올 때까지 대기한다. However, in the conventional home network control system, when one command is delivered to the LnCP
상기에서 응답이 올 때까지 대기하는 이유는 마이컴레벨에서 처리가능한 버퍼가 남아있는지를 모르기 때문이며, 이로 인해 확실한 성공을 위하여 응답이 오기 전에 다른 명령어(Command)가 오면 제어프로그램에 선점 에러를 보내고, 기존 명령어(Command)의 응답(Response)을 계속 기다린다. The reason for waiting until the response is because it does not know whether there is a buffer that can be processed at the microcomputer level, and this causes a preemptive error to the control program when another command comes before the response to ensure the success. Keep waiting for the response of the command.
따라서, 실제 통신라인상의 바쁨(Busy)으로 인한 데이터의 처리불능이 발생 한 것이 아니라 해당 명령어의 응답을 받은 후 다른 명령어의 처리를 할 수 있기 때문에 네트웍 송/수신의 효율이 상당한 수준으로 떨어진다.Therefore, the efficiency of network transmission / receiving drops to a considerable level because it is not possible to process data due to busy on the actual communication line but can process other commands after receiving the response of the corresponding command.
본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 그 목적은 홈네트워크 제어 프로토콜(LG홈넷 프로토콜인 경우 LnCP에 해당함) 라이브러리 모듈부의 하단에 상기 프로토콜과 홈네트워크 제품간 데이터 흐름을 제어하는 흐름 제어부(Flow Controller)를 더 구현시킴으로써 홈네트워크 제어 프로토콜 라이브러리 모듈부의 선점 에러율을 개선할 수 있는 홈네트워크 제어 시스템 및 상기 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법을 제공하는 데 있다.The present invention has been made to solve the above problems, the purpose is to control the flow of data between the protocol and the home network products at the bottom of the home network control protocol (corresponding to LnCP in the case of the LG home net protocol) library module unit The present invention provides a home network control system and a data flow control method in the home network control system which can improve the preemption error rate of the home network control protocol library module by further implementing a controller.
상기와 같은 목적을 이루기 위해 본 발명은 홈넷 서버와 홈네트워크 제품을 포함하여 이루어지는 홈네트워크 제어 시스템에 있어서,In order to achieve the above object, the present invention provides a home network control system including a home net server and a home network product.
상기 홈네트워크 제품은 내부에 데이터 처리 공간인 제 1 버퍼부가 구비되고, 상기 제 1 버퍼부에 저장된 명령어를 처리하고, 상기 제 1 버퍼부의 용량 상태를 체크하는 기능을 포함하는 마이컴; 및 상기 홈넷 서버와 통신하기 위한 제 1 통신 모뎀부;를 포함하여 이루어지고,The home network product may include a microcomputer including a first buffer unit, which is a data processing space, a function of processing a command stored in the first buffer unit, and checking a capacity state of the first buffer unit; And a first communication modem unit for communicating with the homenet server.
상기 홈넷 서버는 홈네트워크 제품을 제어하는 프로그램이 탑재되고, 상기 제어 프로그램과 홈네트워크 제품간 통신을 담당하는 홈네트워크 제어 프로토콜 라 이브러리 모듈부; 상기 마이컴의 제 1 버퍼부의 용량 상태를 상기 마이컴에게 요청하는 기능을 포함하는 흐름 제어부; 및 상기 제 1 통신 모뎀부와 직접적으로 통신이 이루어지는 제 2 통신 모뎀부;를 포함하여 이루어지는 것을 특징으로 한다.The home net server includes a program for controlling a home network product, and a home network control protocol library module unit responsible for communication between the control program and the home network product; A flow controller including a function of requesting the microcomputer for a capacity state of the first buffer unit of the microcomputer; And a second communication modem unit in which communication is directly performed with the first communication modem unit.
본 발명은 상기 흐름 제어부가 다수의 명령어를 동시에 전송시키는 기능을 더 포함함을 특징으로 한다.The present invention is characterized in that the flow control further comprises a function for transmitting a plurality of commands at the same time.
또한, 상기 흐름 제어부는 상층에서 전달된 명령어를 임시 저장하는 제 2 버퍼부를 더 포함함을 특징으로 한다.The flow control unit may further include a second buffer unit that temporarily stores the command transmitted from the upper layer.
뿐만 아니라 본 발명은 상기 홈넷 서버와 홈네트워크 제품간 통신이 직렬 통신 프로토콜 방식인 것을 특징으로 한다.In addition, the present invention is characterized in that the communication between the homenet server and the home network product is a serial communication protocol method.
또한, 본 발명에 따른 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법은 제어프로그램에서 발생된 명령어는 홈네트워크 제어 프로토콜 라이브러리 모듈부를 거쳐 흐름 제어부에 전달되는 단계; 흐름 제어부에서는 해당 홈네트워크 제품 내의 마이컴에게 비어 있는 버퍼용량의 체크를 요구하고, 마이컴은 현재 버퍼의 용량 상태를 흐름 제어부에 전달하는 단계; 흐름 제어부는 상기 버퍼 상태를 확인하여 상기 명령어의 처리를 위한 버퍼의 용량이 충분한지 그 여부를 판단하는 단계; 및 흐름 제어부가 상기 명령어의 처리를 위한 버퍼의 용량이 충분하다고 판단하면 상기 명령어를 마이컴 내의 버퍼부에 전송시켜 마이컴에게 처리하도록 하는 단계를 포함한다.In addition, the data flow control method in the home network control system according to the present invention comprises the steps of: the command generated in the control program is passed to the flow control unit via the home network control protocol library module; Requesting the microcomputer in the home network product to check the empty buffer capacity, and the microcomputer transmits the current buffer capacity state to the flow control unit; Checking, by the flow controller, whether the buffer has sufficient capacity for processing the command; And if the flow controller determines that the capacity of the buffer for processing the command is sufficient, transmitting the command to the buffer in the microcomputer to process the microcomputer.
본 발명은 상기에서 흐름 제어부가 상기 명령어의 처리를 위한 버퍼의 용량이 충분하다고 판단하지 않으면 마이컴은 지속적으로 버퍼의 상태를 흐름 제어부에 전달시키는 단계; 및 흐름 제어부는 일정 시간 내 상기 명령어 처리를 위한 버퍼용량의 확보가 이루어지는가를 판단하고, 일정 시간 내 상기 명령어 처리를 위한 버퍼용량의 확보가 이루어지면 상기 명령어를 마이컴에 전송시켜 마이컴에게 처리하도록 하는 단계를 더 포함함을 특징으로 한다.The present invention, if the flow control unit does not determine that the capacity of the buffer for the processing of the command, the microcomputer continuously transfers the state of the buffer to the flow control unit; And determining whether a buffer capacity for processing the command is secured within a predetermined time period, and if the buffer capacity for processing the command is secured within a predetermined time period, the flow controller transmits the command to the microcomputer to process the microcomputer for processing. It characterized in that it further comprises.
또한, 본 발명은 상기에서 일정 시간 내 상기 명령어 처리를 위한 버퍼용량의 확보가 이루어지지 않으면 흐름 제어부는 해당버퍼의 상태를 홈네트워크 제어 프로토콜 라이브러리 모듈부에 전달시키는 단계를 더 포함함을 특징으로 한다.In addition, the present invention is characterized in that it further comprises the step of transmitting the status of the buffer to the home network control protocol library module module if the buffer capacity for the instruction processing is not achieved within the predetermined time in the above. .
상기 홈네트워크 제어 프로토콜은 LG 홈넷(HomeNet) 프로토콜인 LnCP인 것을 특징으로 한다.The home network control protocol is characterized in that the LG HomeNet (HomeNet) protocol LnCP.
이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하고자 한다. 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.
먼저, 본 명세서에서는 도 2 및 도 3을 참조하여 상기 LnCP에 대해 보다 상세히 살펴본다.First, in the present specification, the LnCP will be described in more detail with reference to FIGS. 2 and 3.
도 2는 일반적인 홈 네트워크 제어 시스템의 구성도이며, 도 3은 도 2에서의 LnCP 라이브러리 모듈의 구성도이다. 2 is a configuration diagram of a general home network control system, and FIG. 3 is a configuration diagram of the LnCP library module of FIG. 2.
도 2를 참조하면, 홈 네트워크 제어 시스템은 인터넷(10)을 통해 TCP/IP 기반의 메시지 송수신을 수행하는 LnCP 서버(20); 및 상기 LnCP 서버(20)가 수신한 제어명령을 홈 네트워크 내에 존재하는 홈네트워크 제품(디바이스)(41~43) 중 해당 디바이스로 전달하고, 상기 디바이스의 제어에 따른 응답을 상기 LnCP 서버(20)로 전달하는 LnCP 라이브러리 모듈(30)을 포함하여 이루어진다.Referring to FIG. 2, the home network control system includes an
상기 LnCP 서버(20)와 LnCP 라이브러리 모듈(30)사이에는 인터페이싱 지원을 위한 LnCP 응용 프로그래밍 인터페이스부(Application Programming Interface : API)(36)가 구비된다. An LnCP application programming interface (API) 36 for interfacing support is provided between the
상기 LnCP API(36)는 도 2에 도시된 바와 같이, LnCP 라이브러리 외부에 구비시켜도 되지만, LnCP 라이브러리 내에 포함시켜도 무방하다.As shown in FIG. 2, the LnCP
상기 LnCP 서버(20)는 인터넷(10)과 홈 네트워크간의 연결을 위한 게이트웨이(Gateway) 기능을 구비하거나 별도의 게이트웨이가 접속된다. The LnCP
상기 LnCP 라이브러리 모듈(30)은 도 3에 도시한 바와 같이, 마스터 핸들러(Master Handler)(31)와, 메시지 후킹 핸들러(Message Hooking Handler)(32)와, 전달(트랜스미션) 핸들러(Transmission handler)(33)와, 채널 핸들러(channel handler)(34)와, 홈 네트워크에 존재하는 LnCP 기반의 디바이스와의 통신을 지원하기 위한 디바이스(물리적) 인터페이스(35)를 포함하여 구성한다. As shown in FIG. 3, the LnCP
상기 LnCP 라이브러리 모듈(30)은 로그 핸들러(log handler)와 데이터베이스 핸들러(database handler)를 더 포함한다. The LnCP
상기 마스터 핸들러(31)는 홈 코드(Home code) 관리, 주소 할당, 다수의 네트워크 매니저(Network Manager : NM)의 데이터베이스(DataBase : DB) 처리를 위한 멀티 NM 관리, 원하는 시간에 원하는 제어를 지원하기 위한 스케쥴 관리, 디바이스 등록 관리, 디바이스 유형/모델별 제어, 이벤트 액션 관리, 디바이스 이벤트 처리를 수행한다. The
상기 메시지 후킹 핸들러(32)는 미도시되어 있지만 전송 메시지 후킹 핸들러(Sending Message Hooking Handler)와 수신 메시지 후킹 핸들러(Receiving Message Hooking Handler)로 구분된다. Although not illustrated, the
상기 전송 메시지 후킹 핸들러는 상위 레이어(31)에서 전달한 요청(request) 또는 통지(notification) 패킷에 대한 특정 프로세스(필터링, log 처리)를 처리한다. 이후, 특정 프로세스 처리에 따른 해당 패킷을 트랜스미션 핸들러(33)에 전달한다. The transport message hooking handler handles a specific process (filtering, log processing) for a request or notification packet delivered from the
상기 수신 메시지 후킹 핸들러는 트랜스미션 핸들러(33)가 전달한 응답(Response), 이벤트(Event) 패킷에 대한 특정 프로세스를 처리한다. 이후, 특정 프로세스 처리에 따른 해당 패킷 메시지를 마스터 핸들러(31)에게 전달할 수도 있다. The received message hooking handler handles a specific process for a response and an event packet delivered by the
상기 트랜스미션 핸들러(33)는 상위 레이어가 전달한 패킷을 채널 핸들러(34)를 통해 인터페이스(35)로 전달될 수 있게 처리하고 상기 채널 핸들러(34)로부터 수신된 LnCP 패킷을 상위의 메시지 후킹 핸들러(32)로 전달한다. 만일, 전송 오류가 발생하면 재전송 처리를 한다. The
상기 채널 핸들러(34)는 LnCP 인터페이스(35)를 관리한다. 즉, 채널 핸들러(34)는 트랜스미션 핸들러(33)로부터 받은 패킷을 해당 LnCP 인터페이스(35)로 전달하고 LnCP 인터페이스(35)로부터 전달받은 패킷을 트랜스미션 핸들러(33)에게 전달한다. The
상기 LnCP 디바이스 인터페이스(35)는 최종 물리 인터페이스 예로, 전력선 통신(Power Line Communication : PLC),직렬 통신(RS-232C, RS-485), 무선통신(RF 통신), USB 인터페이스에 직접 패킷을 전달하고 그에 따른 응답을 전달받아 채널 핸들러(34)로 전달한다. The
도 4는 본 발명의 일실시예에 따른 홈네트워크 제어 시스템을 나타내는 블록도이다.4 is a block diagram illustrating a home network control system according to an embodiment of the present invention.
도 4를 참조하여 본 발명에 따른 홈네트워크 제어 시스템을 살펴보면, 크게 홈넷 서버(100)와 홈네트워크 제품(200)을 포함하여 이루어진다.Looking at the home network control system according to the present invention with reference to Figure 4, largely comprises a
먼저, 상기 홈네트워크 제품(200)에 대해 설명하면, 상기 홈네트워크 제품(200)은 마스터인 홈넷 서버(100)의 제어를 받은 슬레이브 장치이다. First, the
상기 홈네트워크 제품(200)은 그 일례로서, 홈넷 에어콘, 홈넷 가스렌즈, 홈넷 냉장고, 홈넷 TV 등이 있으며, 마스터(100)의 명령을 받아 각 제품별 기능을 수행한다. Examples of the
상기 홈네트워크 제품(200)의 내부에는 마이컴(210)이 구비되며, 상기 마이컴 내부에는 약 80Byte의 제 1 버퍼부(211)가 구비된다.The
상기 마이컴(210)은 상기 제 1 버퍼부(211)의 있는 명령어를 순차적으로 처리하고, 그 응답신호는 제 1 통신 모뎀부(220)를 거쳐 홈넷 서버(100)에 전달되며, 최종적으로 사용자(User)에게 전달된다.The
상기 홈넷 서버(100)는 마스터 장치로서, 상기 홈네트워크 제품(200)을 제어 하여 소정의 작업이 이루어지도록 함으로써 사용자에게 다양한 정보와 편리성을 제공한다.The
보다 상세히 상기 홈넷 서버의 구조에 대해 살펴보면, 홈넷 서버(100)는 제어프로그램(110)과, 리빙 네트워크 제어 프로토콜(Living network Control Protocol : LnCP) 라이브러리 모듈부(120), 제 2 모뎀부(130) 및 흐름 제어부(140)를 포함하여 이루어진다.In more detail with respect to the structure of the homenet server, the
리빙 네트워크 제어 프로토콜(LnCP)은 LG 홈넷(HomeNet) 프로토콜이다.Living Network Control Protocol (LnCP) is the LG HomeNet protocol.
또한, 상기 LnCP는 직렬통신기능을 가진 저가의 마이컴을 채용한 가전제품들과의 전력선통신(Power Line Communication : PLC)라인의 네트워크 환경을 기반으로 한다.In addition, the LnCP is based on a network environment of a power line communication (PLC) line with home appliances employing a low-cost microcomputer having a serial communication function.
상기 제어프로그램(110)은 일례로, GUI(Graphic User Interface)를 들 수 있으며, 사용자는 상기 GUI를 통해 홈네트워크 제품에 명령을 내려 홈네트워크 제품을 제어한다.The
상기 LnCP 라이브러리 모듈부(120)는 홈네트워크 제품(200)간의 프로토콜을 정의한 라이브러리 모듈이다. The LnCP
상기 흐름 제어부(140)는 마이컴(210)에 요청하여 제 1 버퍼부(211)의 용량 상태를 체크한다. 즉, 상기 흐름 제어부(140)는 홈넷 서버(100)에서 모뎀부(130)(220)를 통해 전달된 메시지(명령어)를 임시저장하기 위한 제 1 버퍼부(211)의 용량 상태를 체크한다.The
또한, 상기 흐름 제어부(140)는 그 내부에 제 2 버퍼부(141)가 구비되는 것 이 바람직하다.In addition, the
상기 제 2 버퍼부(141)에는 상층(LnCP 라이브러리 모듈부(120))에서 전달된 명령어가 임시 저장된다.Instructions transferred from the upper layer (LnCP library module unit 120) are temporarily stored in the
상기 흐름 제어부(140)는 마이컴(210)의 제 1 버퍼부(211)에 상기 명령어를 임시 저장할만한 공간(용량)이 있다고 판단했을 때 제 2 버퍼부(141)에 있는 명령어를 순서대로 모뎀부를 통해 전송시킨다.When the
하기에 보다 상세히 설명되겠지만, 상기 1 버퍼부(211)에 다수의 명령어를 수용할 공간이 마련되어 있다면, 상기 흐름 제어부(140)는 동시에 다수의 명령어를 전송시킬 수 있다.As will be described in more detail below, if the
이에 따라, 종래에는 상기와 같은 제 1 버퍼부(211)의 용량을 체크하는 수단이 따로 구비되어 있지 않아서 선점 에러가 발생하였으나, 본 발명에서는 상기 흐름 제어부(140)가 제 1 버퍼부(211)의 용량을 체크 가능하고, 또한 상기 흐름 제어부 내에 제 2 버퍼부(141)가 구비되므로 원활하게 상층에서 내려오는 명령어를 처리할 수 있다.Accordingly, in the related art, a preemption error occurs because there is no means for checking the capacity of the
또한, 상기 흐름 제어부(140)는 다수의 명령어를 동시에 전송시키는 기능을 포함한다. 즉, 종래에는 LnCP 라이브러를 통해 하나의 명령어씩 전송시켰으나, 본 발명에서는 상기 흐름 제어부(140) 및 제 2 버퍼부(141)를 더 구비시킴으로써 다수의 명령어를 동시에 전송시킬 수 있다.In addition, the
상기 제 1 모뎀부(220)와 제 2 모뎀부(130)간 통신은 직렬 통신 프로토콜을 사용하는 것이 바람직하며, 자체내에서 흐름 제어(Flow Control)를 하여 데이터의 송/수신을 보장한다.The communication between the
도 5는 본 발명의 일실시예에 따른 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법을 나타내는 순서도이다.5 is a flowchart illustrating a data flow control method in a home network control system according to an embodiment of the present invention.
도 5를 참조하여, 본 발명에 따른 홈네트워크 제어 시스템에서의 데이터 흐름 제어 방법을 설명하면, 사용자는 홈네트워크 제품(200)에 소정의 작업이 이루어지도록 하고자 했을 때 먼저, 제어프로그램(110)을 통해 명령을 내린다.(S101)Referring to FIG. 5, a data flow control method in a home network control system according to the present invention will be described. First, when a user wants to perform a predetermined operation on a
그러면, 상기 메시지(명령어)는 LnCP 라이브러리 모듈(120)을 통해 흐름 제어부(140)에 전달된다.(S102) 물론, 상기 명령어는 흐름 제어부 내의 제 2 버퍼부(141)에 임시저장된다.Then, the message (command) is transmitted to the
그리고 나서, 상기 흐름 제어부(140)는 해당 홈네트워크 제품 내의 마이컴(210)에게 제 2 버퍼부(211)의 용량 체크를 요청(요구)한다.(S103) 즉, 상기 흐름 제어부(140)는 상기 메시지(명령어)를 임시 저장할 수 있는 공간이 충분히 있는지 마이컴(210)에게 체크해달라고 요구(요청)한다.Then, the
그러면, 상기 홈네트워크 제품의 마이컴(210)은 현재 버퍼의 용량 상태를 흐름 제어부(140)에 전달한다.(S104)Then, the
도 5에는 미도시 되어 있지만, 상기에서 흐름 제어부(140)가 마이컴(210)에게 버퍼 용량 체크 요청 및 마이컴(210)이 상기 흐름 제어부(140)에게 그 응답을 보낼 때는 모뎀부(130)(220)를 통해 이루어진다.Although not shown in FIG. 5, when the
본 발명에서는 상기 단계 104와 같이, 마이컴(210)이 제 1 버퍼부의 용량 상 태를 흐름 제어부(140)에 전달하면 상기 흐름 제어부(140)에서는 상기 버퍼 용량 상태가 체크됨과 동시에, 상기 명령어 처리를 위한 제 1 버퍼부(211)의 용량이 충분한지 그 여부를 판단한다.(S105)In the present invention, when the
만약, 단계 105에서 흐름 제어부(140)가 상기 명령어 처리를 위한 제 1 버퍼부(211)의 용량이 충분하다고 판단하면 상기 메시지(명령어)는 제 2, 1 모뎀부(130)(220)를 통해 전송되며, 상기 명령어는 제 1 버퍼부(211)에 임시저장된다.(S106) 그러면 마이컴은 상기 명령어를 처리한다.(S107)If the
또한, 단계 105에서 흐름 제어부(140)가 상기 명령어의 처리를 위한 버퍼의 용량이 충분하다고 판단하지 않으면 마이컴(210)은 지속적으로 버퍼의 상태를 흐름 제어부(140)에 전달시킨다.(S108) In addition, if the
본 발명에서는 무한정 상기 명령어를 수행하기 위한 시간을 둘 수는 없다.In the present invention, the time for executing the command is not infinite.
즉, 본 발명에서는 상기 명령어를 처리하기 위한 소정 시간(일정 시간)을 둔다. That is, in the present invention, a predetermined time (a predetermined time) for processing the command is allowed.
이에 따라, 본 발명에서는 일정 시간 내 상기 명령어 처리를 위한 버퍼용량의 확보가 이루어지는지를 체크한다.(S109)Accordingly, in the present invention, it is checked whether the buffer capacity for the instruction processing is secured within a predetermined time period (S109).
만약, 단계 109에서 일정 시간 내 상기 제 1 버퍼부(211)에 상기 명령어를 저장시킬 수 있을만한 공간이 확보되면 상기 단계 106 및 107이 반복되어 상기 명령어는 처리된다If, in step 109, a space is available to store the command in the
그러나, 단계 109에서 일정 시간 내 상기 제 1 버퍼부(211)에 상기 명령어를 저장시킬 수 있을만한 공간이 확보되지 않으면 상기 흐름 제어부(140)는 제 1 버퍼 부(211)의 용량 상태를 상층(LnCP 라이브러리 모듈)(120)에 전달시킨다.(S110)However, in step 109, if there is no space to store the command in the
도 5에는 미도시 되어 있지만, 단계 110에서 LnCP 라이브러리 모듈에 전달된 명령어는 제어프로그램(110)을 통해 사용자에게 소정의 메시지로서 현재 상황이 전달되거나, 소정시간이 경과 후 LnCP 라이브러리 모듈에서 다시 상기 명령어를 흐름 제어부에 전달시켜 단계 103 내지 110을 반복하도록 할 수도 있다.Although not shown in FIG. 5, the command delivered to the LnCP library module in
상기와 같이, 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.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.
이상에서와 같이, 본 발명은 홈네트워크 제어 프로토콜(LG홈넷 프로토콜인 경우 LnCP에 해당함) 라이브러리 모듈부의 하단에 상기 프로토콜과 홈네트워크 제품간 데이터 흐름을 제어하는 흐름 제어부(Flow Controller)를 더 구현시킴으로써 홈네트워크 제어 프로토콜 라이브러리 모듈부의 선점 에러율을 개선하여 네트워크 송/수신의 효율을 보다 향상시킬 수 있다.As described above, the present invention provides a home network control protocol (corresponding to LnCP in the case of the LG homenet protocol) by implementing a flow controller for controlling data flow between the protocol and the home network product at the bottom of the library module unit. By improving the preemptive error rate of the network control protocol library module unit, the network transmission / reception efficiency can be further improved.
이에 따라, 본 발명에서는 사용자가 홈네트워크 제품 제어할 때 보다 편의성을 제공할 수 있다.Accordingly, the present invention can provide more convenience when the user controls the home network product.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050030091A KR101077992B1 (en) | 2005-04-11 | 2005-04-11 | Home Network Control System and Data Flow Control Method of Above the Home Network Control System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050030091A KR101077992B1 (en) | 2005-04-11 | 2005-04-11 | Home Network Control System and Data Flow Control Method of Above the Home Network Control System |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060107728A true KR20060107728A (en) | 2006-10-16 |
KR101077992B1 KR101077992B1 (en) | 2011-10-31 |
Family
ID=37627825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050030091A KR101077992B1 (en) | 2005-04-11 | 2005-04-11 | Home Network Control System and Data Flow Control Method of Above the Home Network Control System |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101077992B1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012050935A2 (en) * | 2010-09-28 | 2012-04-19 | Fusion-Io, Inc. | Apparatus, system, and method for data transformations within a data storage device |
US8527693B2 (en) | 2010-12-13 | 2013-09-03 | Fusion IO, Inc. | Apparatus, system, and method for auto-commit memory |
US8984216B2 (en) | 2010-09-09 | 2015-03-17 | Fusion-Io, Llc | Apparatus, system, and method for managing lifetime of a storage device |
US9047178B2 (en) | 2010-12-13 | 2015-06-02 | SanDisk Technologies, Inc. | Auto-commit memory synchronization |
US9208071B2 (en) | 2010-12-13 | 2015-12-08 | SanDisk Technologies, Inc. | Apparatus, system, and method for accessing memory |
US9218278B2 (en) | 2010-12-13 | 2015-12-22 | SanDisk Technologies, Inc. | Auto-commit memory |
US9223514B2 (en) | 2009-09-09 | 2015-12-29 | SanDisk Technologies, Inc. | Erase suspend/resume for memory |
US9251058B2 (en) | 2010-09-28 | 2016-02-02 | SanDisk Technologies, Inc. | Servicing non-block storage requests |
US9305610B2 (en) | 2009-09-09 | 2016-04-05 | SanDisk Technologies, Inc. | Apparatus, system, and method for power reduction management in a storage device |
US10817421B2 (en) | 2010-12-13 | 2020-10-27 | Sandisk Technologies Llc | Persistent data structures |
US10817502B2 (en) | 2010-12-13 | 2020-10-27 | Sandisk Technologies Llc | Persistent memory management |
US11573909B2 (en) | 2006-12-06 | 2023-02-07 | Unification Technologies Llc | Apparatus, system, and method for managing commands of solid-state storage using bank interleave |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100559023B1 (en) * | 2003-05-30 | 2006-03-10 | 엘지전자 주식회사 | Home network system and its configuration system |
KR100621568B1 (en) * | 2004-07-22 | 2006-09-14 | 삼성전자주식회사 | Method and system for transmitting multimedia data under home network |
KR20060094427A (en) * | 2005-02-24 | 2006-08-29 | 엘지전자 주식회사 | Method for executing network management general operation in living network control system |
-
2005
- 2005-04-11 KR KR1020050030091A patent/KR101077992B1/en not_active IP Right Cessation
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11960412B2 (en) | 2006-12-06 | 2024-04-16 | Unification Technologies Llc | Systems and methods for identifying storage resources that are not in use |
US11847066B2 (en) | 2006-12-06 | 2023-12-19 | Unification Technologies Llc | Apparatus, system, and method for managing commands of solid-state storage using bank interleave |
US11640359B2 (en) | 2006-12-06 | 2023-05-02 | Unification Technologies Llc | Systems and methods for identifying storage resources that are not in use |
US11573909B2 (en) | 2006-12-06 | 2023-02-07 | Unification Technologies Llc | Apparatus, system, and method for managing commands of solid-state storage using bank interleave |
US9305610B2 (en) | 2009-09-09 | 2016-04-05 | SanDisk Technologies, Inc. | Apparatus, system, and method for power reduction management in a storage device |
US9223514B2 (en) | 2009-09-09 | 2015-12-29 | SanDisk Technologies, Inc. | Erase suspend/resume for memory |
US8984216B2 (en) | 2010-09-09 | 2015-03-17 | Fusion-Io, Llc | Apparatus, system, and method for managing lifetime of a storage device |
WO2012050935A3 (en) * | 2010-09-28 | 2012-06-21 | Fusion-Io, Inc. | Apparatus, system, and method for data transformations within a data storage device |
WO2012050935A2 (en) * | 2010-09-28 | 2012-04-19 | Fusion-Io, Inc. | Apparatus, system, and method for data transformations within a data storage device |
US9251058B2 (en) | 2010-09-28 | 2016-02-02 | SanDisk Technologies, Inc. | Servicing non-block storage requests |
US9263102B2 (en) | 2010-09-28 | 2016-02-16 | SanDisk Technologies, Inc. | Apparatus, system, and method for data transformations within a data storage device |
US9208071B2 (en) | 2010-12-13 | 2015-12-08 | SanDisk Technologies, Inc. | Apparatus, system, and method for accessing memory |
US9767017B2 (en) | 2010-12-13 | 2017-09-19 | Sandisk Technologies Llc | Memory device with volatile and non-volatile media |
US9772938B2 (en) | 2010-12-13 | 2017-09-26 | Sandisk Technologies Llc | Auto-commit memory metadata and resetting the metadata by writing to special address in free space of page storing the metadata |
US10817421B2 (en) | 2010-12-13 | 2020-10-27 | Sandisk Technologies Llc | Persistent data structures |
US10817502B2 (en) | 2010-12-13 | 2020-10-27 | Sandisk Technologies Llc | Persistent memory management |
US9223662B2 (en) | 2010-12-13 | 2015-12-29 | SanDisk Technologies, Inc. | Preserving data of a volatile memory |
US9218278B2 (en) | 2010-12-13 | 2015-12-22 | SanDisk Technologies, Inc. | Auto-commit memory |
US9047178B2 (en) | 2010-12-13 | 2015-06-02 | SanDisk Technologies, Inc. | Auto-commit memory synchronization |
US8527693B2 (en) | 2010-12-13 | 2013-09-03 | Fusion IO, Inc. | Apparatus, system, and method for auto-commit memory |
Also Published As
Publication number | Publication date |
---|---|
KR101077992B1 (en) | 2011-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101077992B1 (en) | Home Network Control System and Data Flow Control Method of Above the Home Network Control System | |
US7516187B2 (en) | Remote control system for home appliance network and method for operating the same | |
US7032018B2 (en) | Home appliance networking system and method for controlling the same | |
EP1569419B1 (en) | Method of assigning addresses to a plurality of devices on a network and a network system therefor | |
KR20210008118A (en) | A method and apparatus for controlling devices for a smart home service | |
US7986701B2 (en) | Wireless building control system bridge | |
KR100565832B1 (en) | Home network system | |
KR100996309B1 (en) | Network device | |
EP3229420A1 (en) | Method for establishing persistent connection between multiple smart devices and server, and smart device | |
US20070150616A1 (en) | Home network system | |
US20080057872A1 (en) | Method and device for binding in a building automation system | |
US20040240451A1 (en) | Connection handling, service management, and channel handling devices of home network management system | |
WO2004107659A1 (en) | Home network system | |
US8484323B2 (en) | Network system connected with multiple master devices and method for operating the same | |
JP2004194273A (en) | Home network system and method of adding/deleting home electrical appliance therein | |
US20130311611A1 (en) | Method and device for executing a device management command based on an execution time | |
JP2000244549A5 (en) | ||
CN103576664A (en) | Automation component for transmitting value change information in intelligent household system and method | |
CN101785245B (en) | Method and apparatus for managing resources of a universal plug and play device based on a connection status of a control point | |
JP4729969B2 (en) | Gateway device | |
KR20160147330A (en) | Home appliance | |
KR100706318B1 (en) | Method of Supporting for Compatibility between LnCP and Another Protocol | |
KR101084335B1 (en) | Home GateWay ? Multi Master Process Method of Home Network | |
JP2011061874A (en) | Gateway device | |
KR101401261B1 (en) | The data concentrator and communication method of the data concentrator |
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 | ||
LAPS | Lapse due to unpaid annual fee |