KR100596757B1 - Home network system - Google Patents
Home network system Download PDFInfo
- Publication number
- KR100596757B1 KR100596757B1 KR1020040022219A KR20040022219A KR100596757B1 KR 100596757 B1 KR100596757 B1 KR 100596757B1 KR 1020040022219 A KR1020040022219 A KR 1020040022219A KR 20040022219 A KR20040022219 A KR 20040022219A KR 100596757 B1 KR100596757 B1 KR 100596757B1
- Authority
- KR
- South Korea
- Prior art keywords
- activity
- notification interval
- event message
- master device
- activity notification
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B26—HAND CUTTING TOOLS; CUTTING; SEVERING
- B26D—CUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
- B26D7/00—Details of apparatus for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
- B26D7/26—Means for mounting or adjusting the cutting member; Means for adjusting the stroke of the cutting member
- B26D7/2628—Means for adjusting the position of the cutting member
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B26—HAND CUTTING TOOLS; CUTTING; SEVERING
- B26D—CUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
- B26D1/00—Cutting through work characterised by the nature or movement of the cutting member or particular materials not otherwise provided for; Apparatus or machines therefor; Cutting members therefor
- B26D1/01—Cutting through work characterised by the nature or movement of the cutting member or particular materials not otherwise provided for; Apparatus or machines therefor; Cutting members therefor involving a cutting member which does not travel with the work
- B26D1/04—Cutting through work characterised by the nature or movement of the cutting member or particular materials not otherwise provided for; Apparatus or machines therefor; Cutting members therefor involving a cutting member which does not travel with the work having a linearly-movable cutting member
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B26—HAND CUTTING TOOLS; CUTTING; SEVERING
- B26D—CUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
- B26D7/00—Details of apparatus for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
- B26D7/0006—Means for guiding the cutter
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B26—HAND CUTTING TOOLS; CUTTING; SEVERING
- B26D—CUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
- B26D5/00—Arrangements for operating and controlling machines or devices for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
- B26D5/08—Means for actuating the cutting member to effect the cut
- B26D5/16—Cam means
Abstract
본 발명은 홈 네트워크 시스템에 관한 것으로서, 특히 리빙 네트워크 제어 프로토콜이 적용된 홈 네트워크 시스템에 관한 것이다. The present invention relates to a home network system, and more particularly, to a home network system to which a living network control protocol is applied.
본 발명인 홈 네트워크 시스템은 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 소정의 프로토콜에 따른 네트워크를 통하여 마스터 디바이스로 전송하는 전기 기기와, 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 마스터 디바이스를 포함한다.The home network system of the present invention includes an electric device that transmits an activity event message to a master device through a network according to a predetermined protocol at every pre-stored predetermined first activity notification interval, and receives the transmitted activity event message to receive the received activity event message. It includes a master device for checking the status.
Description
도 1은 본 발명에 따른 홈 네트워크 시스템의 구성도이다.1 is a block diagram of a home network system according to the present invention.
도 2는 본 발명에 따른 리빙 네트워크 제어 프로토콜 스택의 구성도이다.2 is a block diagram of a living network control protocol stack according to the present invention.
도 3a 및 3b는 도 2의 계층 간의 인터페이스의 구성도이다. 3A and 3B are diagrams illustrating an interface between the layers of FIG. 2.
도 4a 내지 4f는 도 3a 및 3b의 인터페이스의 상세한 구성도이다.4A to 4F are detailed block diagrams of the interfaces of FIGS. 3A and 3B.
도 5a 내지 5c는 본 발명에 따른 홈 네트워크 시스템에서 사용되는 번지 시스템을 도시한다. 5A-5C illustrate a bungee system used in a home network system in accordance with the present invention.
도 6은 네트워크 관리기와 전기 기기의 공통적인 개략 구성도이다. 6 is a schematic schematic configuration diagram of a network manager and an electric device.
도 7은 본 발명에 따른 홈 네트워크 시스템의 상태확인방법의 제1실시예의 순서도이다. 7 is a flowchart of a first embodiment of a method for checking a status of a home network system according to the present invention.
도 8은 홈넷 프로파일에 따른 디바이스들의 정보의 실시예이다. 8 is an embodiment of information of devices according to a homenet profile.
도 9는 본 발명에 따른 홈 네트워크 시스템의 상태확인방법의 제2실시예의 순서도이다. 9 is a flowchart of a second embodiment of a method for checking a status of a home network system according to the present invention.
*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
1: 홈 네트워크 시스템 2: 인터넷1: home network system 2: Internet
3: LnCP 서버 4: 클라이언트 디바이스3: LnCP Server 4: client device
10: 홈 게이트웨이 20 내지 23: 네트워크 관리기10:
30, 31: LnCP 라우터 40 내지 49: 전기 기기30, 31: LnCP
본 발명은 홈 네트워크 시스템에 관한 것으로서, 특히 리빙 네트워크 제어 프로토콜이 적용된 홈 네트워크 시스템에 관한 것이다. The present invention relates to a home network system, and more particularly, to a home network system to which a living network control protocol is applied.
홈 네트워크(home Network)란 집안과 밖에서 언제든지 편리하고 안전하며 경제적인 생활 서비스를 즐길 수 있도록 다양한 디지털 가전 기기들이 서로 연결된 네트워크를 의미한다. 디지털 신호 처리 기술의 발전으로 인하여 백색 가전으로 불리우던 냉장고나 세탁기 등이 점차 디지털화 되고, 가전용 운영 체제 기술과 고속 멀티미디어 통신 기술 등이 디지털 가전에 집약되고, 새로운 형태의 정보 가전이 등장함에 따라, 홈 네트워크가 발전하게 되었다.A home network refers to a network in which various digital home appliances are connected to each other so as to enjoy convenient, safe and economical living services at home and at any time. With the development of digital signal processing technology, refrigerators and washing machines, which have been called white household appliances, have gradually become digital, and home appliance operating system technology and high-speed multimedia communication technology have been concentrated on digital home appliances, and new types of information home appliances have emerged. Home networks have evolved.
이러한 홈 네트워크는 하기의 표 1과 같이 제공 서비스의 유형에 따라 데이터 네트워크, 엔터테인먼트 네트워크, 그리고 리빙 네트워크로 분류할 수 있다.Such a home network may be classified into a data network, an entertainment network, and a living network according to types of provided services as shown in Table 1 below.
여기서, 데이터 네트워크(data network)란 PC와 주변 장치들 간에 데이터 교환이나 인터넷 서비스 제공 등을 위해 구축되는 네트워크 유형을 말하며, 엔터테인먼트 네트워크(entertainment network)는 오디오나 비디오 정보를 다루는 가전 기기들간의 네트워크 유형을 말한다. 그리고, 리빙 네트워크(living network)는 가전기기, 홈 오토메이션 그리고 원격 검침과 같이 기기들의 단순한 제어를 목적으로 하여 구축되는 네트워크를 말한다. Here, a data network refers to a network type established for exchanging data or providing Internet service between a PC and peripheral devices, and an entertainment network refers to a network type between home appliances that handle audio or video information. Say And, a living network is a network built for the purpose of simple control of devices such as home appliances, home automation, and remote meter reading.
이러한 가정 내에 구성된 홈 네트워크 시스템은 다른 전기 기기의 동작을 제어하거나 상태를 모니터링할 수 있는 전기 기기인 마스터 장치와, 전기 기기의 특성이나 기타 요인에 의하여 마스터 장치의 요구에 응답하는 기능과 자신의 상태 변화에 대한 정보를 알리는 기능을 갖는 전기 기기 슬레이브 장치로 이루어진다. 본 명세서에서 사용되는 전기 기기는 세탁기, 냉장고 등과 같은 상술된 리빙 네트워크 서비스를 위한 가전기기와, 데이터 네트워크 서비스 및 엔터테인먼트 네트워크 서비스를 위한 가전기기를 모두 포함하고, 또한, 가스밸브제어장치, 자동 도어 장치, 전등 등과 같은 제품들도 포함하는 것을 의미한다. A home network system configured in such a home is a master device, which is an electric device capable of controlling or monitoring the operation of other electric devices, and a function of responding to a request of the master device by the characteristics or other factors of the electric device, and its status. It consists of an electrical appliance slave device having the function of informing information about the change. As used herein, the electric appliance includes both the home appliance for the living network service described above, such as a washing machine and a refrigerator, and the home appliance for the data network service and the entertainment network service, and also includes a gas valve control device and an automatic door device. It also includes products such as lamps.
이러한 종래 기술에서는 홈 네트워크 시스템에 구비된 전기 기기에 대한 제어 및 모니터링 등을 위한 기능을 제공하는 범용의 통신 규격을 제공하고 있지 못 하다. Such a prior art does not provide a general-purpose communication standard that provides functions for controlling and monitoring an electric device provided in a home network system.
이러한 문제점을 해결하기 위해, 본 발명은 홈 네트워크 시스템 내의 전기 기기의 제어 및 모니터링 등을 위한 기능을 제공하는 범용의 통신 규격인 제어 프로토콜이 적용된 홈 네트워크 시스템을 제공하는 것을 목적으로 한다. In order to solve this problem, an object of the present invention is to provide a home network system to which a control protocol, which is a general-purpose communication standard, provides functions for controlling and monitoring electric devices in a home network system.
또한, 본 발명은 특히 범용의 통신 규격으로 리빙 네트워크 제어 프로토콜(Living network Control Protocol: LnCP)이 적용된 홈 네트워크 시스템을 제공하는 것을 목적으로 한다. In addition, an object of the present invention is to provide a home network system to which a Living Network Control Protocol (LnCP) is applied, particularly as a general-purpose communication standard.
또한, 본 발명은 홈 네트워크 시스템 내의 모든 디바이스의 현재 상태에 대한 정보를 획득하는 홈 네트워크 시스템을 제공하는 것을 목적으로 한다. It is also an object of the present invention to provide a home network system for obtaining information on the current state of all devices in the home network system.
또한, 본 발명은 네트워크 상에서의 트래픽을 제어하여 효율적으로 모든 디바이스의 정보를 획득하는 홈 네트워크 시스템을 제공하는 것을 목적으로 한다. In addition, an object of the present invention is to provide a home network system that efficiently obtains information of all devices by controlling traffic on a network.
또한, 본 발명은 네트워크 상태에 따라 이벤트 메시지의 송신 주기를 변경하여 네트워크 사용의 효율성을 향상시킨 홈 네트워크 시스템을 제공하는 것을 목적으로 한다.
In addition, an object of the present invention is to provide a home network system that improves the efficiency of network use by changing the transmission period of the event message according to the network conditions.
본 발명인 홈 네트워크 시스템은 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 소정의 프로토콜에 따른 네트워크를 통하여 마스터 디바이스로 전 송하는 전기 기기와, 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 마스터 디바이스를 포함한다. The home network system of the present invention includes an electric device that transmits an activity event message to a master device through a network according to a predetermined protocol at every pre-stored first activity notification interval, and receives the transmitted activity event message to receive the electric device. Includes a master device to check the status of.
이때, 상기 전기 기기는 기저장된 논리번지가 초기논리번지인가를 판단하여, 만약 상기 기저장된 논리번지가 초기논리번지가 아닌 경우에만, 상기 마스터 디바이스로 상기 활동 이벤트 메시지를 전송하는 것이 바람직하다. At this time, the electronic device determines whether the pre-stored logical address is the initial logical address, and if the pre-stored logical address is not the initial logical address, it is preferable to transmit the activity event message to the master device.
또한, 상기 기저장된 논리번지는 상기 마스터 디바이스가 상기 전기 기기에 할당한 논리번지인 것이 바람직하다. In addition, the pre-stored logical address is preferably a logical address assigned to the electrical device by the master device.
또한, 상기 전기 기기는 상기 네트워크에 연결되어 전원이 공급된 때 상기 활동 이벤트 메시지를 전송하는 것이 바람직하다. In addition, the electrical device is preferably connected to the network to transmit the activity event message when the power is supplied.
또한, 상기 전기 기기는 상기 네트워크에 연결되어 전원이 공급된 때 소정의 시간 범위에서 랜덤 시간 동안 상기 활동 이벤트 메시지의 전송을 지연하는 것이 바람직하고, 상기 시간 범위는 0 ~ 5000ms 이내인 것을이 더욱 바람직하다. In addition, the electrical device is preferably connected to the network to delay the transmission of the activity event message for a random time in a predetermined time range when the power is supplied, the time range is more preferably within 0 ~ 5000ms Do.
또한, 상기 전기 기기는 상기 지연 이후에, 소정의 제2활동통지간격마다 소정의 회수로 상기 활동 이벤트 메시지를 상기 마스터 디바이스로 송신하고, 이 이후에는 상기 제1활동통지간격마다 상기 활동 이벤트 메시지를 송신하는 것이 바람직하다. In addition, the electric device transmits the activity event message to the master device at a predetermined number of times every predetermined second activity notification interval after the delay, after which the activity event message is transmitted at each first activity notification interval. It is desirable to transmit.
또한, 상기 제1활동통지간격은 상기 제2활동통지간격보다 더 크거나 같은 것이 바람직하다. In addition, the first activity notification interval is preferably greater than or equal to the second activity notification interval.
또한, 상기 마스터 디바이스는 상기 전기 기기에 기저장된 제1활동통지간격과 다른 값을 지닌 새로운 활동통지간격을 포함하는 활동통지간격 설정요청 메시지 를 상기 전기 기기로 송신하고, 상기 전기 기기는 기저장된 제1활동통지간격을 상기 새로운 활동통지간격으로 변경하여 저장하고, 상기 마스터 디바이스로 활동통지간격 설정 ACK 응답 메시지를 송신하는 것이 바람직하다. In addition, the master device transmits an activity notification interval setting request message including a new activity notification interval having a different value from the first activity notification interval previously stored in the electrical device, and the electrical device stores the previously stored first message. It is preferable to change the activity notification interval to the new activity notification interval and store it, and to send the activity notification interval setting ACK response message to the master device.
또한, 상기 전기 기기는 상기 새로운 활동통지간격을 비휘발성 메모리에 저장하는 것이 바람직하다. In addition, the electrical device preferably stores the new activity notification interval in a nonvolatile memory.
또한, 상기 마스터 디바이스는 상기 확인된 전기 기기의 상태를 디스플레이를 통하여 표시하는 것이 바람직하다. In addition, the master device preferably displays the confirmed state of the electrical device through a display.
또한, 상기 활동 이벤트 메시지는 이벤트 코드와, 상태값을 적어도 포함하는 것이 바람직하다. In addition, the activity event message preferably includes at least an event code and a status value.
또한, 상기 상태값은 대기 중 또는 동작 중 또는 일시정지 중의 적어도 하나를 나타내는 것이 바람직하다. In addition, the state value preferably represents at least one of standby, operation, or pause.
또한, 상기 활동 이벤트 메시지는 에러상태값을 추가적으로 포함하는 것이 바람직하다. In addition, the activity event message preferably further includes an error state value.
또한, 상기 활동 이벤트 메시지는 상기 제1활동통지간격을 포함하는 것이 바람직하다. In addition, the activity event message preferably includes the first activity notification interval.
또한, 본 발명인 홈 네트워크 시스템의 상태확인방법은 적어도 하나 이상의 전기 기기와, 상기 전기 기기와 소정의 프로토콜에 따른 네트워크로 연결되는 마스터 디바이스로 이루어진 홈 네트워크 시스템에서, 상기 전기 기기가 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 상기 마스터 디바이스로 전송하는 단계 및, 상기 마스터 디바이스가 상기 전송된 활동 이벤트 메시지를 수신하여 상 기 전기 기기의 상태를 확인하는 단계를 포함한다. In addition, the method of checking the status of the home network system of the present invention is a home network system comprising at least one or more electrical devices and a master device connected to the network according to a predetermined protocol. And transmitting an activity event message to the master device at each activity notification interval, and checking, by the master device, the state of the electrical device by receiving the transmitted activity event message.
또한, 본 발명인 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체는 적어도 하나 이상의 전기 기기와, 상기 전기 기기와 소정의 프로토콜에 따른 네트워크로 연결되는 마스터 디바이스로 이루어진 홈 네트워크 시스템에 제공되는 상태확인을 위한 프로그램에 있어서, 상기 프로그램은:In addition, the program storage medium storing the computer-readable program of the present invention is a program for checking the status provided in a home network system consisting of at least one or more electrical devices, and a master device connected to the network according to a predetermined protocol. In the program:
상기 전기 기기가 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 상기 마스터 디바이스로 전송하는 단계 및, 상기 마스터 디바이스가 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 단계를 포함한다. Transmitting, by the electrical device, an activity event message to the master device at every pre-stored predetermined first activity notification interval; and receiving, by the master device, the transmitted activity event message to confirm the state of the electrical device. Include.
본 발명은 본 발명의 실시예들 및 첨부도면에 기초하여 홈 네트워크 시스템을 예로 들어 상세하게 설명되었다. 그러나, 이하의 실시예들 및 도면에 의해 본 발명의 범위가 제한되지는 않으며, 본 발명의 범위는 후술한 특허청구범위에 기재된 내용에 의해서만 제한될 것이다.The present invention has been described in detail by taking a home network system as an example based on the embodiments of the present invention and the accompanying drawings. However, the scope of the present invention is not limited by the following embodiments and drawings, and the scope of the present invention will be limited only by the contents described in the claims below.
도 1은 본 발명에 따른 홈 네트워크 시스템의 구성도이다. 1 is a block diagram of a home network system according to the present invention.
도 1에 도시된 바와 같이, 홈 네트워크 시스템(1)은 인터넷(2)을 통하여 LnCP 서버(3)에 접속하고, 또한 클라이언트 디바이스(4)는 인터넷(2)을 통하여 LnCP 서버(3)에 접속한다. 즉, 홈 네트워크 시스템(1)은 LnCP 서버(3) 및/또는 클라이언트 디바이스(4)와 통신가능하도록 연결된다. As shown in FIG. 1, the
인터넷(2)을 포함하는 홈 네트워크 시스템(1) 외부의 네트워크는 클라이언트 디바이스(4)의 종류에 따라 다른 구성소자들을 추가적으로 구비한다. 즉, 이 인터넷(2)은 예를 들면, 클라이언트 디바이스(4)가 컴퓨터인 경우에는, 웹 서버(Web sever)(도시되지 않음)를 구비하고, 클라이언트 디바이스(4)가 인터넷 폰인 경우에는, 왑 서버(Wap sever)(도시되지 않음)를 구비한다. The network outside the
다음으로, LnCP 서버(3)는 소정의 로그인 및 로그아웃 절차에 따라 홈 네트워크 시스템(1) 및 클라이언트 디바이스(4)와 각각 접속되어, 클라이언트 디바이스(4)로부터 모니터링 및 제어 명령 등을 수신하여, 이를 홈 네트워크 시스템(1)으로 소정의 형식을 지닌 메시지로 인터넷(2)을 통하여 전송한다. 또한, LnCP 서버(3)는 소정의 형식을 지닌 메시지를 홈 네트워크 시스템(1)으로부터 수신하여 저장하거나 클라이언트 디바이스(4)로 전송한다. 또한, LnCP 서버(3)는 자체적으로 저장되거나 생성된 메시지를 상기 홈 네트워크 시스템(1)으로 전송하고 수신한다. 즉, 홈 네트워크 시스템(1)은 LnCP 서버(3)에 접속하여, 제공되는 컨텐츠를 다운로드 받을 수 있다.Next, the
이 홈 네트워크 시스템(1)은 인터넷(2)과의 연결 기능을 담당하는 홈 게이트웨이(10)와, 전기 기기(40 내지 49)의 환경 설정 및 관리 기능을 수행하는 네트워크 관리기(20 내지 23)와, 전송매체 간의 접속을 위한 LnCP 라우터(30 및 31)와, 네트워크 관리기(22) 및 전기 기기(46)가 전송매체에 접속될 수 있도록 하는 LnCP 어댑터(35 및 36)와, 다수의 전기 기기(40 내지 49)를 포함한다. This home network system (1) includes a home gateway (10) that performs a connection function with the Internet (2), a network manager (20 to 23) that performs environment setting and management functions of the electric devices (40 to 49), and
홈 네트워크 시스템(1) 내의 네트워크는 전기 기기들(40 내지 49)이 공유하는 전송매체를 이용하여 연결함으로써 구성된다. 이 전송매체는 RS-485나 소출력 RF와 같은 데이터링크 계층이 비규격화된 전송 매체(non-standardized transmission medium)를 이용하거나, 전력선이나 IEEE 802.11과 같은 규격화된 전 송 매체(standardized transmission medium)를 이용할 수 있다.The network in the
이 홈 네트워크 시스템(1) 내의 네트워크는 인터넷(2)과 서로 분리된 네트워크로 이루어지고, 즉 유선 혹은 무선 전송 매체로 연결하는 독립형 네트워크를 구성하게 된다. 여기서 독립형 네트워크는 물리적으로 연결되어 있으나 논리적으로 분리된 네트워크를 포함하는 것으로 한다. The network in the
이 홈 네트워크 시스템(1)은 다른 전기 기기(40 내지 49)의 동작을 제어하거나 상태를 모니터링 할 수 있는 마스터(Master) 디바이스와, 마스터 디바이스의 요구에 응답하는 기능과 자신의 상태 변화에 대한 정보를 알리는 기능을 갖는 슬레이브(Slave) 디바이스를 포함한다. 이 마스터 디바이스는 네트워크 관리기(20 내지 23)를 포함하고, 슬레이브 디바이스는 전기 기기(40 내지 49)를 포함한다. 다만, 이 네트워크 관리기(20 내지 23)는 제어하려는 전기 기기(40 내지 49)에 대한 정보 및 제어 코드를 포함하고, 프로그램된 방식에 따르거나 LnCP 서버(3) 및/또는 클라이언트 디바이스(4)로부터의 입력을 받아 제어하게 된다. 또한, 도시된 바와 같이, 다수의 네트워크 관리기(20 내지 23)가 연결된 경우, 이 네트워크 관리기(20 내지 23)는 다른 네트워크 관리기(20 내지 23)와의 정보 교환과, 정보의 동기화 및 제어를 위해 마스터 디바이스이면서도 슬레이브 디바이스가 되도록, 즉 물리적으로는 하나의 디바이스이지만, 논리적으로 마스터와 슬레이브의 기능을 동시에 수행하는 장치(즉, 하이브리드 장치)이어야 한다. This home network system (1) is a master device that can control the operation or monitor the status of other electrical equipment (40 to 49), the function of responding to the request of the master device and information about its state change It includes a slave device having a function of notifying. This master device includes
또한, 이들 네트워크 관리기(20 내지 23) 및 전기 기기(40 내지 49)는 네트워크(도시된 전력선 네트워크, RS-485 네트워크, RF 네트워크)에 직접 연결될 수 있으며, 또한 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)를 통하여 연결될 수 있다.In addition, these
또한, 전기 기기(40 내지 49) 및/또는 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)는 네트워크 관리기(20 내지 23)에 등록되어 제품에 따라 유일한 논리번지(예를 들면, Ox00, Ox01 등)를 부여받게 되어, 이 논리번지는 제품코드(예를 들면, 에어컨인 경우 '0x02', 세탁기인 경우 '0x01')와 조합되어 노드 번지(Node Address)로서 사용된다. LnCP에 따른 번지 시스템(address system)은 하기에서 개시된다. In addition, the
도 2는 본 발명에 따른 리빙 네트워크 제어 프로토콜 스택의 구성도이다. 홈 네트워크 시스템(1)은 도 2의 리빙 네트워크 제어 프로토콜(LnCP)에 따라 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와, LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49) 간의 통신이 가능하도록 한다. 따라서, 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와, LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49)는 이러한 LnCP에 따라 네트워크 통신을 수행한다. 2 is a block diagram of a living network control protocol stack according to the present invention. The
도 2에 도시된 바와 같이, LnCP는 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49)의 고유 기능을 수행하며, 네트워크 상에서 원격 조작 및 모니터링을 위하여 응용 계층(60)과의 인터페이스 기능을 제공하는 응용 소프트웨어(50)와, 사용자에게 서비스를 제공하고 사용자가 제공한 정보나 명령을 메시지로 구성하여 하위 계층으로 전달하는 기능을 제공하는 응용계층(60)과, 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31) 와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49) 간의 신뢰성있는 네트워크 연결을 위한 네트워크 계층(70)과, 공유 전송 매체에 접속하기 위한 매체 접근 제어 기능을 제공하는 데이터링크 계층(80)과, 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49) 간의 물리적 인터페이스와 전송할 비트에 대한 규칙을 제공하는 물리계층(90) 및 각 계층에서 사용되는 노드 매개 변수(node parameter)를 설정하고 관리하는 매개 변수 관리 계층(100)으로 이루어진다. As shown in FIG. 2, the LnCP performs unique functions of the
자세하게는, 응용 소프트웨어(50)는 노드 매개 변수와 네트워크 상에 접속된 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49)의 관리 기능을 담당하는 네트워크 관리 부속계층(51)을 추가적으로 포함한다. 즉, 이 네트워크 관리 부속계층(51)은 매개 변수 관리 계층(100)을 통하여 노드 매개 변수의 값을 설정하거나 이용하는 매개 변수 관리 기능과, LnCP가 적용된 기기가 마스터 디바이스인 경우 네트워크를 구성하거나 관리하는 네트워크 관리 기능을 수행한다. In detail, the
또한, 네트워크 계층(70)은 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49)가 접속되는 네트워크가 전력선이나 IEEE 802.11, 무선과 같은 비독립형 전송 매체(예를 들면, LnCP가 전력선통신(PLC) 프로토콜 및/또는 무선(wireless) 프로토콜을 포함하는 경우)를 이용하여 구성될 때, 각 개별 네트워크를 논리적으로 구분하기 위한 홈 코드의 설정, 관리 및 처리 기능을 수행하는 홈코드 제어 부속계층(71)을 추가적으로 포함한다. 이 홈코드 제어 부속계층(71)은 RS-485와 같은 독립형 전송 매체에 의해서 개별 네트워크 간에 물리적으로 분리되는 경우에는 LnCP에 포함되지 않는다. 이 홈코드는 4바이트로 구성되며 랜덤값 또는 사용자가 지정한 값으로 설정된다. In addition, the
도 3a 및 3b는 도 2의 계층 간의 인터페이스의 구성도이다. 3A and 3B are diagrams illustrating an interface between the layers of FIG. 2.
도 3a는 물리계층(90)이 비독립형 전송매체에 연결되는 경우의 계층 간의 인터페이스를 도시하고, 도 3b는 물리계층(90)이 독립형 전송매체에 연결되는 경우의 계층 간의 인터페이스를 도시한다. 3A illustrates an interface between layers when the
홈 네트워크 시스템(1)은 상위 계층으로부터 전달받은 프로토콜 정보 단위(Protocol Data Unit: PDU)에 각 계층에서 요구되는 헤더와 트레일러 정보를 합쳐 하위 계층으로 전달한다. The
도시된 바와 같이, APDU(Application layer PDU)는 응용 계층(60)과 네트워크 계층(70) 간에 전달되는 데이터이고, NPDU(Network Layer PDU)는 네트워크 계층(70)과 데이터링크 계층(80) 또는 홈 코드 부속 계층(71) 간에 전달되는 데이터이고, HCNPDU(Home Code Control Sublayer PDU)는 네트워크 계층(70)(정확하게는 홈코드 부속계층(71))과 데이터링크 계층(80) 간에 전달되는 데이터이다. 데이터링크 계층(80)과 물리계층(90) 간에는 데이터 프레임 단위로 인터페이스가 이루어진다. As shown, an application layer PDU (APDU) is data transferred between the
도 4a 내지 4f는 도 3a 및 3b의 인터페이스의 상세한 구성도이다. 4A to 4F are detailed block diagrams of the interfaces of FIGS. 3A and 3B.
도 4a는 응용 계층(60)에서의 APDU의 구조이다. 4A is the structure of an APDU at the
AL(APDU Length) 필드는 APDU의 길이(AL로부터 메시지 필드까지의 길이)를 나타내는 필드로서, 최소값은 4이고 최대값은 77이다. The AL (APDU Length) field is a field indicating the length of the APDU (the length from the AL to the message field). The minimum value is 4 and the maximum value is 77.
AHL(APDU Header Length) 필드는 APDU 헤더의 길이(AL로부터 ALO까지의 길이)를 나타내는 필드로서, 확장이 되지 않는 경우에는 3바이트이며, 7바이트까지 확장이 가능하다. LnCP 프로토콜에서는 메시지 필드의 암호화, 응용 프로토콜의 변경 등을 위하여 APDU 헤더를 7바이트까지 확장할 수 있다. The ADU (APDU Header Length) field indicates the length of the APDU header (the length from AL to ALO). If it is not extended, it is 3 bytes and can be extended to 7 bytes. In the LnCP protocol, the APDU header can be extended to 7 bytes in order to encrypt a message field and change an application protocol.
ALO(Application Layer Option) 필드는 메시지 셋의 확장을 위한 필드이고, 예를 들어 '0'으로 설정되면, 다른 값이 담겨 있는 경우에는 메시지 처리를 무시한다.The ALO (Application Layer Option) field is a field for extending a message set. For example, when set to '0', message processing is ignored when other values are included.
메시지 필드는 사용자의 제어 메시지나 이벤트 정보를 처리하기 위한 필드로서, ALO 필드에 담긴 값에 따라 달리 구성된다. The message field is a field for processing a user's control message or event information, and is configured differently according to the value contained in the ALO field.
도 4b는 네트워크 계층(70)에서의 NPDU의 구조이고, 도 4c는 NPDU 중에서 NLC의 상세 구조이다. FIG. 4B is a structure of NPDU in
SLP(Start of LnCP Packet) 필드는 패킷의 시작을 나타내는 필드로서 0x02 값을 갖는다. The Start of LnCP Packet (SLP) field is a field indicating the start of a packet and has a value of 0x02.
DA(Destination Address) 및 SA(Source Address) 필드는 전송하려는 패킷의 수신자와 송신자의 노드 번지로서 각각 16 비트로 구성된다. 여기서 최상위 1비트는 그룹 번지를 나타내기 위한 플랙(flag), 다음 7비트는 제품의 종류(제품코드), 하위 8비트는 같은 종류의 네트워크 관리기(20 내지 23) 및 전기 기기(40 내지 49)가 다수 개 있을 때 서로 구분하기 위하여 할당된 논리번지를 포함한다. The DA (Source Address) and SA (Source Address) fields are 16 bits each as a node address of a receiver and a sender of a packet to be transmitted. Here, the most significant one bit is a flag for indicating a group address, the next seven bits are a kind of product (product code), and the lower eight bits are the same kind of
PL(Packet Length) 필드는 전송하려는 NPDU의 전체 길이를 나타내는 필드로 서 최소값은 12 바이트, 최대값은 100 바이트이다. The PL (Packet Length) field indicates the total length of the NPDU to be transmitted. The minimum value is 12 bytes and the maximum value is 100 bytes.
SP(Service Priority) 필드는 전송 메시지에 전송 우선 순위를 부여하기 위한 필드로서 3비트로 구성되며, 각 전송 메시지에 따른 우선 순위는 표 2와 같다.The SP (Service Priority) field is a field for assigning a transmission priority to a transmission message and consists of 3 bits. The priority according to each transmission message is shown in Table 2.
슬레이브 디바이스가 마스터 디바이스의 요청에 의하여 응답하는 경우에는 마스터 디바이스로부터 수신된 요청 메시지의 우선 순위를 따른다.When the slave device responds by the request of the master device, the slave device follows the priority of the request message received from the master device.
NHL(NPDU Header Length) 필드는 NPDU 헤더(SLP에서 NLC 필드)의 확장을 위하여 사용되는 필드로서, 확장이 되지 않은 경우에는 9 바이트이며, 최대 16 바이트까지 확장 가능하다. The NDU (NPDU Header Length) field is used for the expansion of the NPDU header (the NLC field in the SLP). If it is not expanded, the NDU field is 9 bytes and can be extended up to 16 bytes.
PV(Protocol Version) 필드는 채용된 프로토콜의 버전을 나타내는 1 바이트 필드로서 상위 4비트는 버전(version) 필드로, 하위 4비트는 서브 버전(sub-version) 필드로 구성된다. 버전과 서브 버전은 각각 16 진수 표기로 버전을 나타낸다. The PV (Protocol Version) field is a 1-byte field indicating the version of the adopted protocol. The upper 4 bits are composed of a version field, and the lower 4 bits are composed of a sub-version field. Versions and subversions each indicate a version in hexadecimal notation.
NPT(Network layer Packet Type) 필드는 네트워크 계층에서 패킷의 종류를 구분하는 4 비트 필드로서, LnCP는 요청 패킷(Request Packet), 응답 패킷(Response Packet), 통지 패킷(Notification Packet)을 포함하고, 마스터 디바이스의 NPL 필드는 요청 패킷 또는 통지 패킷으로 설정되어야 하며, 슬레이브 디바이스의 NPL 필드는 응답 패킷 또는 통지 패킷으로 설정되어야 한다. 패킷 종류에 따른 NPT값은 하기의 표 3과 같다. The network layer packet type (NPT) field is a 4-bit field that identifies the type of packet in the network layer. The LnCP includes a request packet, a response packet, and a notification packet. The NPL field of the device should be set to a request packet or a notification packet, and the NPL field of the slave device should be set to a response packet or a notification packet. NPT values according to packet types are shown in Table 3 below.
TC(Transmission Counter) 필드는 네트워크 계층에서 통신 에러가 발생하여 요청 패킷 또는 응답 패킷이 성공적으로 전송되지 않을 때 요청 패킷을 재전송하거나, 통지 패킷의 전송 성공율을 높이기 위하여 반복 전송하기 위한 2비트의 필드이다. 수신자는 TC 필드 값을 이용하여 중복 메시지를 검출할 수 있다. NPT값에 따른 TC 필드의 값의 범위는 표 4와 같다. The Transmission Counter (TC) field is a 2-bit field for retransmitting a request packet when a communication error occurs in the network layer and a request packet or response packet is not successfully transmitted, or for repetitive transmission to increase the success rate of the notification packet. . The receiver may detect duplicate messages using the TC field value. The range of values of the TC field according to the NPT value is shown in Table 4.
PN(Packet Number) 필드는 2비트로 구성되며, 슬레이브 디바이스에서는 TC와 함께 중복 패킷의 검출을 위하여 사용되고, 마스터 디바이스에서는 복수 개의 통신 싸이클을 처리하기 위하여 사용된다. NPT값에 따른 PN 필드의 범위는 하기의 표 5와 같다. The packet number (PN) field is composed of 2 bits. The PN field is used for detecting duplicate packets with a TC in a slave device and used for processing a plurality of communication cycles in a master device. The range of the PN field according to the NPT value is shown in Table 5 below.
APDU 필드는 응용 계층(60)과 네트워크 계층(70) 간에 전달되는 응용 계층의 프로토콜 데이터 단위이다. APDU의 최소값은 0바이트이며, 최대값은 88바이트이다. The APDU field is a protocol data unit of the application layer transmitted between the
CRC(Cyclic Redundancy Check) 필드는 수신된 패킷(SLP부터 APDU 필드)의 에러를 검출하기 위한 16비트의 필드이다. The cyclic redundancy check (CRC) field is a 16-bit field for detecting an error in a received packet (SLP to APDU field).
ELP(End of LnCP Packet) 필드는 패킷의 끝을 나타내는 필드로서 0x03 값을 갖는다. 만약, 패킷의 길이 필드에 담긴 길이만큼 데이터를 수신하였음에도 불구하고 ELP 필드가 검출되지 않으면 패킷 에러로 간주한다. The End of LnCP Packet (ELP) field is a field indicating the end of a packet and has a value of 0x03. If the ELP field is not detected despite the data received in the length field of the packet, it is regarded as a packet error.
도 4d는 홈 코드 제어 부속계층(71)에서의 HCNPDU의 구조이다. 4D shows the structure of the HCNPDU in the home
도시된 바와 같이, NPDU의 상위 부분에 HC(Home Code) 필드가 추가로 포함된다. As shown, the HC (Home Code) field is further included in the upper portion of the NPDU.
이 홈 코드값은 4바이트로 구성되되, 이 홈코드는 패킷이 전파될 수 있는 선로의 거리 내에서 유일한 값을 지닌다. This home code value consists of 4 bytes, the home code having a unique value within the distance of the line on which the packet can propagate.
도 4e는 데이터링크 계층(80)에서의 프레임의 구조이다. 4E shows the structure of a frame in the
LnCP의 데이터 링크 계층 프레임의 헤더 및 트레일러는 전송 매체에 따라 그 구성이 달라지게 된다. 데이터링크 계층(80)이 비규격화된 전송 매체를 사용하는 경우에는 프레임의 헤더 및 트레일러가 널 필드(Null Field)를 가져야 한다. 만약, 규격화된 전송 매체를 사용하는 경우에는 프로토콜에서 규정된 바에 의한다. NPDU필드는 상위 네트워크 계층(70)에서 전달한 데이터 단위이고, HCNPDU는 물리계층(90)이 전력선이나 IEEE 802.11과 같은 비독립적인 전송 매체인 경우에 사용된 4바이트의 홈 코드가 NPDU 앞부분에 추가된 데이터 단위이다. 데이터링크 계층(80)은 NPDU와 HCNPDU를 구분하여 처리하지 않는다.The header and trailer of the LnCP's data link layer frame vary depending on the transmission medium. If the
도 4f는 물리 계층(90)에서의 프레임 구조이다. 4F is a frame structure in the
LnCP의 물리 계층(90)에서는 전송 매체에 물리적인 신호를 송수신하는 기능을 다룬다. LnCP 프로토콜의 물리 계층(90)으로는 RS-485나 소출력 RF와 같은 데이터링크 계층(80)이 비규격화된 전송 매체를 사용할 수 있으며, 전력선이나 IEEE 802.11과 같은 규격화된 전송 매체를 사용할 수 있다. LnCP 네트워크에서 적용된 홈 네트워크 시스템(1)에서, 네트워크 관리기(20 내지 23) 및 전기 기기(40 내지 49)가 RS-485나 LnCP 라우터(30 및 31), LnCP 어댑터(35 및 36)와 인터페이스되도록 UART(Universal Asynchronous Receiver and Transmitter) 프레임 구조와 RS-232의 신호 레벨을 이용한다. UART는 디바이스간에 시리얼 버스를 이용하여 연결되는 경우 통신 선로에서 비트 신호의 흐름을 제어한다. LnCP에서는 상위 계층에서 보내오는 패킷을 도 4f와 같이, 10 비트 크기의 UART 프레임 단위로 변환하여 전송 매체를 통해 전달한다. UART 프레임은 1 비트의 시작 비트(Start Bit), 8 비트의 데이터, 그리고 1 비트의 정지 비트(Stop Bit)로 구성되며, 패리티 비트(Parity Bit)는 사용하지 않는다. UART 프레임은 시작 비트부터 전달되며, 맨 마지막으로 정지 비트가 전달된다. LnCP가 적용된 홈 네트워크 시스템(1)에서 UART를 이용하는 경우에는 추가적인 프레임 헤더와 프레임 트레일러를 사용하지 않는다. The
도 5a 내지 5c는 본 발명에 따른 홈 네트워크 시스템에서 사용되는 번지 시스템을 도시한다. 5A-5C illustrate a bungee system used in a home network system in accordance with the present invention.
도 5a는 본 발명에 따른 홈 네트워크 시스템(1)에서 사용되는 번지 필드의 구조를 개시한다. 도시된 바와 같이, 제품 코드는 제품의 기본적 기능을 식별하도록 하는 유일한 값으로 할당되는 것으로 제품 출하 시에 제품에 할당되는 변경될 수 없는 물리적 번지이며 동일한 종류의 제품은 동일한 고정번지를 갖게 된다. 장치 코드는 동일한 제품 코드를 지닌 장치들을 식별하기 위해 사용되는 논리번지이다. 다음으로, 클러스터 코드는 소정의 기준에 따라 적어도 하나 이상의 제품에 할당되는 논리번지이다. 5A discloses a structure of a bungee field used in the
도 5b는 도 5a의 번지 필드의 상세 구성도이다. 도시된 바와 같이, 고정 번지 필드의 MSB는 플랙(flag)으로 사용되어, '0'은 장치 코드를 의미하고, '1'은 클러스터 코드를 의미하게 된다. 이처럼, 이 장치 코드와 클러스터 코드를 위한 논리 번지의 사용은 전체 번지 필드 중의 MSB의 값을 다르게 설정함에 의해 식별될 수 있다. 또한, 각 서브필드 내의 모든 비트들이 1로 설정되는 때는 그룹 번지를 의미한다. 예를 들어, 냉장고의 제품 코드가 0x01일 때, 0x01FF는 냉장고들의 그룹 번지를 나타내고, 0x81XX(여기서, X는 불특정 숫자를 의미함)는 동일한 클러스터 코드를 지닌 모드 냉장고들을 나타내는 그룹 번지가 된다. 5B is a detailed configuration diagram of the address field of FIG. 5A. As shown, the MSB of the fixed address field is used as a flag, so that '0' means a device code and '1' means a cluster code. As such, the use of logical addresses for this device code and cluster code can be identified by differently setting the value of the MSB in the overall address field. In addition, when all bits in each subfield are set to 1, it means a group address. For example, when the product code of the refrigerator is 0x01, 0x01FF represents a group address of the refrigerators, and 0x81XX (where X represents an unspecified number) becomes a group address indicating mode refrigerators having the same cluster code.
이 장치 코드는 마스터 디바이스에 의해 슬레이브 디바이스마다 홈 네트워크 시스템(1)에 연결된 때 자동적으로 설정되지만, 클러스터 코드는 마스터 디바이스에 의해 자동적으로 설정될 수도 있지만, 많은 경우에 기술적 문제 등으로 사용자에 의해 설정될 수도 있다. This device code is automatically set by the master device when connected to the
예를 들면, 0x0200(에어컨1), 0x0201(에어컨2)과 같은 노드 번지에 의해 전기 기기(40 내지 49) 및/또는 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)가 식별된다. 또한, 소정의 기준(동일한 제품 전체, 제품의 설치 장소, 사용자 등)에 따라 하나 이상의 전기 기기(40 내지 49) 및/또는 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)를 한꺼번에 식별되도록 하는 그룹 번지가 사용될 수 있다. 이 그룹 번지에서, 명시적 그룹 번지는 번지옵션값(하기에서의 플랙)을 '1'로 설정하면 복수의 디바이스를 지정하는 클러스터이고, 묵시적 그룹 번지는 논리 번지 및/또는 제품코드의 모든 비트값들을 '1'로 채움으로써 복수 개의 디바이스 지정이 가능하다. 특히 명시적 그룹 번지를 클러스터 코드라 한다.For example, the
예를 들면, 제품 코드가 0bXXX XXXX, 논리 번지가 0bYYYY YYYYY, 그리고 클러스터 코드가 0bZZZZ ZZZZ인 경우의 디바이스는 8종류의 번지로 인식된다. For example, a device having a product code of 0bXXX XXXX, a logical address of 0bYYYY YYYYY, and a cluster code of 0bZZZZ ZZZZ is recognized as eight types of addresses.
(1)모든 디바이스에 번지 지정은 0b1111 1111 1111 1111 또는 0b0111 1111 1111 1111(0xFFFF 또는 0x7FFF)에 의해 이루어지고;(1) address assignment to all devices is made by 0b1111 1111 1111 1111 or 0b0111 1111 1111 1111 (0xFFFF or 0x7FFF);
(2)제품 코드에 의한 번지 지정은 0b1XXX XXXX 1111 1111 또는 0b0XXX XXXX 1111 1111에 의해 이루어지고;(2) address designation by product code is made by 0b1XXX XXXX 1111 1111 or 0b0XXX XXXX 1111 1111;
(3)클러스터 코드에 의한 번지 지정은 0b1111 1111 ZZZZ ZZZZ에 의해 이루어 지고;(3) address designation by cluster code is made by 0b1111 1111 ZZZZ ZZZZ;
(4)논리 번지에 의한 번지 지정은 0b0111 1111 YYYY YYYY에 의해 이루어지고;(4) address designation by logical addressing is made by 0b0111 1111 YYYY YYYY;
(5)제품 코드와 논리 번지에 의한 번지 지정은 0b0XXX XXXX YYYY YYYY에 의해 이루어지고;(5) addressing by product code and logical address is made by 0b0XXX XXXX YYYY YYYY;
(6)제품 코드와 클러스터 코드에 의한 번지 지정은 0b1XXX XXXX ZZZZ ZZZZ에 의해 이루어진다. (6) Address designation by product code and cluster code is made by 0b1XXX XXXX ZZZZ ZZZZ.
도 5c는 제품별 제품 코드와 번지 범위의 실시예이다. 여기서, 번지 범위 중에서, 0xXX00은 각 제품의 초기논리번지를 의미하고, 상술된 바와 같이, 0xXXFF는 각 제품의 그룹 번지를 의미하며, 0xXXFE는 제한논리번지(하기에서 개시됨)를 의미하여, 나머지인 0xXX01 ~ 0xXXFD는 마스터 디바이스와 슬레이브 디바이스에 할당 가능한 노드 번지가 된다. Figure 5c is an embodiment of a product code and address range for each product. Here, in the address range, 0xXX00 means the initial logical address of each product, as described above, 0xXXFF means the group address of each product, 0xXXFE means the limit logical address (disclosed below), the rest 0xXX01 ~ 0xXXFD are the node address which can be assigned to master device and slave device.
이 제품 코드와 초기논리번지로 이루어진 노드 번지는 제품 출하시에 마스터 디바이스 및 슬레이브 디바이스의 소정의 저장수단에 저장된다. 도 6은 네트워크 관리기와 전기 기기의 공통적인 개략 구성도이다. The node address consisting of the product code and the initial logical address is stored in predetermined storage means of the master device and the slave device at the time of product shipment. 6 is a schematic schematic configuration diagram of a network manager and an electric device.
도 6에 도시된 바와 같이, 네트워크 관리기(20 내지 23)(이하에서, 마스터 디바이스라 칭함)와 전기 기기(40 내지 49)(이하에서, 슬레이브 디바이스라 칭함)는 네트워크와의 연결을 위한 인터페이스 수단(210)과, 소정의 저장수단(220) 및 인터페이스 수단(210)과 저장수단(220)을 제어하는 제어수단(230)으로 이루어진다. As shown in Fig. 6,
자세하게는, 마스터 디바이스의 저장수단(220)은 다른 마스터 디바이스 및 슬레이브 디바이스에 대한 제품 정보 및 제품별 번지에 관한 정보를 저장한다. 이러한 네트워크에 연결된 모든 제품의 정보(제품 정보 및 설정된 또는 미설정된 노드 번지 정보 등)를 포함하는 것을 홈넷 프로파일이라 하며, 이 홈넷 프로파일은 저장수단(220)에 저장되며, 제어수단(230)에 의해 판독되며 갱신되어 등록된다. In detail, the
슬레이브 디바이스의 저장수단(220)은 적어도 자신의 제품 코드와 초기논리번지를 저장한다. 이 저장수단(220)은 이후에 임시논리번지 및 마스터 디바이스에 의해 설정된 논리번지 등을 추가적으로 저장한다. The storage means 220 of the slave device stores at least its product code and initial logical address. The storage means 220 further stores a temporary logical address, a logical address set by the master device, and the like.
마스터 디바이스는 추가적으로 사용자로부터의 소정의 입력을 가능하도록 하는 입력수단(도시되지 않음)과, 사용자에게 홈넷 프로파일에 따라 홈 네트워크 시스템(1) 내의 모든 또는 적어도 일부의 전기 기기(40 내지 49) 및/또는 네트워크 관리기(20 내지 23)를 아이콘을 사용하여 표시하고, 또한 현재 및 과거의 동작 상태를 나타낼 수 있는 사용자 인터페이스를 포함하는 디스플레이 장치(도시되지 않음)를 추가적으로 구비할 수 있다. The master device additionally comprises input means (not shown) for enabling a predetermined input from the user, all or at least some of the
이하에서는, 실제로는 마스터 디바이스 또는 슬레이브 디바이스의 제어수단(230)에 의해 소정의 동작들이 수행되나, 편의상 마스터 디바이스 또는 슬레이브 디바이스가 소정의 동작들을 수행하는 것으로 기재되는 점이 인식되어야 한다.In the following, while certain operations are actually performed by the control means 230 of the master device or slave device, it should be appreciated that the master device or slave device is described as performing certain operations for convenience.
도 7은 본 발명에 따른 홈 네트워크 시스템의 상태확인방법의 제1실시예의 순서도이다. 이하에서 개시되는 메시지는 상술된 APDU 내의 메시지를 포함하고, 또한, 수신자 필드, 송신자 필드 등을 포함하여, 디바이스 간에 전송되는 데이터를 총칭한 것으로 인식되어야 한다. 7 is a flowchart of a first embodiment of a method for checking a status of a home network system according to the present invention. The message disclosed below should be recognized as including the message in the above-mentioned APDU, and also collectively including data transmitted between devices, including a receiver field, a sender field, and the like.
자세하게는, 단계(S51)에서, 슬레이브 디바이스가 홈 네트워크 시스템(1)에 연결되고, 전원이 공급된다. Specifically, in step S51, the slave device is connected to the
단계(S52)에서, 슬레이브 디바이스는 저장수단(230)에 기저장된 논리번지가 초기논리번지인지를 판단한다. 만약 기저장된 논리번지가 초기논리번지이면, 이것은 슬레이브 디바이스가 홈 네트워크 시스템(1)에 처음으로 연결된 경우이거나, 홈 네트워크 시스템(1)(또는 마스터 디바이스)에 등록되지 않은 상태이므로, 상태확인방법은 종료된다(이 슬레이브 디바이스는 마스터 디바이스에 의한 노드 번지 설정 과정이 요구된다). 만약 기저장된 논리번지가 초기논리번지가 아닌 소정의 값을 지니면, 단계(S53)로 진행한다. In step S52, the slave device determines whether the logical address previously stored in the storage means 230 is the initial logical address. If the pre-stored logical address is the initial logical address, this is the case that the slave device is connected to the
단계(S53)에서, 슬레이브 디바이스는 소정의 시간 범위(바람직하게는 0 ~ 5000ms)의 랜덤 시간을 선택하여, 이 선택된 랜덤 시간 동안 하기에서 송신할 활동 이벤트 메시지에 대한 송신을 지연시킨다. 이것은 홈 네트워크 시스템(1)에 동시에 다수의 디바이스들이 접속한 때, 이 접속된 디바이스들이 동시에 활동 이벤트 메시지를 송신하게 되면, 네트워크의 트래픽이 급격히 증가하게 되는 문제가 있기 때문에, 각 디바이스가 이 랜덤 시간을 선택 및 대기하도록 하여 네트워크 트래픽을 제어하게 된다. In step S53, the slave device selects a random time in a predetermined time range (preferably 0 to 5000 ms) to delay transmission for the activity event message to be transmitted below during this selected random time. This is because when there are a plurality of devices connected to the
단계(S54)에서, 슬레이브 디바이스는 저장수단(230)에 기저장된 소정의 활동통지간격(AliveInt)마다 활동 이벤트 메시지를 생성하여 마스터 디바이스로 송신한다. 여기서, 이 활동통지간격(AliveInt)은 5 ~ 65565(초)의 범위 내의 값이며, 슬 레이브 디바이스마다 달리 설정될 수도 있다. 이때, 활동통지간격(AliveInt)은 비휘발성 메모리인 저장수단(230)에 저장되는 것이 바람직하다. In step S54, the slave device generates an activity event message for each predetermined activity notification interval (AliveInt) previously stored in the storage means 230 and transmits it to the master device. Here, the activity notification interval (AliveInt) is a value within the range of 5 to 65565 (seconds), and may be set differently for each slave device. At this time, the activity notification interval (AliveInt) is preferably stored in the storage means 230 which is a nonvolatile memory.
여기서, 활동 이벤트 메시지는 하기의 표 6과 같은 구성으로 이루어질 수 있다. Here, the activity event message may be configured as shown in Table 6 below.
여기서, 명령 코드는 활동 이벤트 메시지가 통지 메시지인 것을 나타내고, 이벤트 코드는 디바이스의 활동 상태를 알리는 메시지임을 나타낸다. 상태값(StatusVal)은 디바이스의 현재 동작 상태인 활동 상태를 의미하며, 에러상태(ErrorStatus)는 디바이스가 현재 에러 상태인지 정상 상태인지를 나타낸다. 또한, 활동통지간격(AliveInt)도 이 활동 이벤트 메시지에 포함되며, 하기에서의 활동통지간격 설정 단계에서 사용될 수도 있다. Here, the command code indicates that the activity event message is a notification message, the event code indicates that the message indicating the activity state of the device. Status value (StatusVal) refers to the active state of the current operating state of the device, the error status (ErrorStatus) indicates whether the device is in the current error state or normal state. In addition, the activity notification interval (AliveInt) is included in this activity event message, and may be used in the activity notification interval setting step below.
단계(S55)에서, 마스터 디바이스는 이 활동 이벤트 메시지를 수신하여 저장수단(230)에 저장한다. 이때, 마스터 디바이스는 이 수신된 활동 이벤트 메시지에 포함된 디바이스의 현재 상태 등의 정보를 이용하여 기저장된 홈넷 프로파일을 갱 신한다. In step S55, the master device receives this activity event message and stores it in the storage means 230. At this time, the master device updates the pre-stored homenet profile using information such as the current state of the device included in the received activity event message.
단계(S56)에서, 마스터 디바이스는 갱신된 홈넷 프로파일을 사용자가 알 수 있도록 현재 홈 네트워크 시스템(100)에 연결된 장치들의 활동 상태를 표시하여 파악할 수 있도록 한다. In step S56, the master device displays and checks the activity status of devices currently connected to the
이러한 단계(S54) 내지 (S56)는 슬레이브 디바이스의 전원이 제거되거나 네트워크 연결이 해제될 때까지 반복적으로 수행된다. These steps S54 to S56 are repeatedly performed until the power of the slave device is removed or the network connection is released.
추가적으로, 슬레이브 디바이스는 단계(S53)이후에, 상술된 활동통지간격(AliveInt)과 상이한 활동통지간격마다 소정의 회수만큼의 활동 이벤트 메시지를 전송하는 단계를 수행할 수도 있다. 이 추가적인 단계에서의 활동통지간격은 상술된 활동통지간격(AliveInt)보다 작거나 동일한 크기를 지니며, 바람직하게는 5초이며, 소정의 회수는 2회이다. 예를 들면, 단계(S53)에서 랜덤 시간 동안 지연을 수행한 이후에, 슬레이브 디바이스는 5초 간격으로 2회의 활동 이벤트 메시지를 송신하고, 단계(S54)를 수행한다. In addition, after the step S53, the slave device may perform a step of transmitting an activity event message a predetermined number of times for each activity notification interval different from the above-described activity notification interval AliveInt. The activity notification interval in this additional step is smaller than or equal in size to the above-described activity notification interval (AliveInt), preferably 5 seconds, and the predetermined number is twice. For example, after performing a delay for a random time in step S53, the slave device transmits two activity event messages at 5-second intervals, and performs step S54.
도 8은 도 7에 따른 홈넷 프로파일의 일실시예이다. 도 8에 도시된 바와 같이, 마스터 디바이스와, 슬레이브 디바이스 중에서 마스터 디바이스, 세탁기, 냉장고, 텔레비전은 동작 중이고, 전자레인지는 대기 중이고, 식기세척기는 일시정지 중이다. 이러한 홈넷 프로파일은 소정의 디스플레이에 의해 사용자에게 소정의 사용자 인터페이스(예를 들면, 아이콘 형태)를 통하여 표시된다. 8 is an embodiment of a homenet profile according to FIG. 7. As shown in FIG. 8, the master device, the washing machine, the refrigerator, and the television of the master device and the slave device are operating, the microwave oven is waiting, and the dishwasher is paused. This homenet profile is presented to the user via a predetermined display through a predetermined user interface (eg, in the form of an icon).
도 9는 본 발명에 따른 홈 네트워크 시스템의 상태확인방법의 제2실시예의 순서도이다. 9 is a flowchart of a second embodiment of a method for checking a status of a home network system according to the present invention.
자세하게는, 단계(S71)에서, 마스터 디바이스는 홈 네트워크 시스템(1) 전체의 데이터량을 고려하여 또는 마스터 디바이스 자체의 데이터량을 고려하여, 특정 슬레이브 디바이스로 활동 이벤트 메시지를 전송하는 시간간격인 활동통지간격(AliveInt)을 소정의 값으로 변경할 것을 요청하는 활동통지간격 설정요청 메시지를 송신한다. 이러한 활동통지간격 설정요청 메시지는 슬레이브 디바이스의 저장수단(230)에 저장된 현재의 활동통지간격에 대하여 절대적으로(예를 들면, 현재의 활동통지간격+10초) 또는 상대적으로(예를 들면, 현재의 활동통지간격의 (1+0.05)배) 변경할 것을 요구할 수 있다. Specifically, in step S71, the master device is an activity that is a time interval for transmitting an activity event message to a specific slave device in consideration of the data amount of the entire
단계(S72)에서, 이 활동통지간격 설정요청 메시지를 수신한 슬레이브 디바이스는 기저장된 활동통지간격(AliveInt)을 수신된 새로운 활동통지간격(AliveInt)으로 변경하여 저장한다. In step S72, the slave device receiving the activity notification interval setting request message changes and stores the previously stored activity notification interval AliveInt to the received new activity notification interval AliveInt.
단계(S73)에서, 슬레이브 디바이스는 활동통지간격 설정 ACK 응답 메시지를 마스터 디바이스로 전송하여, 새로운 활동통지간격에 대한 설정이 완료되었음을 알린다. In step S73, the slave device transmits an activity notification interval setting ACK response message to the master device, indicating that the setting for the new activity notification interval is completed.
이러한 구성방법들은 일련의 프로그램으로 작성되어 홈 네트워크 시스템 내의 마스터 디바이스 및/또는 슬레이브 디바이스의 소정의 저장수단에 저장되어 실시될 수도 있다. Such configuration methods may be implemented as a series of programs stored in predetermined storage means of the master device and / or slave device in the home network system.
이러한 구성의 본 발명은 홈 네트워크 시스템 내의 전기 기기의 제어 및 모 니터링 등을 위한 기능을 제공하는 범용의 통신 규격인 제어 프로토콜이 적용된 홈 네트워크 시스템을 제공하는 효과가 있다.The present invention having such a configuration has an effect of providing a home network system to which a control protocol, which is a general-purpose communication standard, provides functions for controlling and monitoring electric devices in a home network system.
또한, 본 발명은 특히 범용의 통신 규격으로 리빙 네트워크 제어 프로토콜(Living network Control Protocol: LnCP)이 적용된 홈 네트워크 시스템을 제공하는 효과가 있다. In addition, the present invention is particularly effective in providing a home network system to which a Living Network Control Protocol (LnCP) is applied as a general-purpose communication standard.
또한, 본 발명은 홈 네트워크 시스템 내의 모든 디바이스의 현재 상태에 대한 정보를 획득하는 홈 네트워크 시스템을 제공하는 효과가 있다. In addition, the present invention has the effect of providing a home network system for obtaining information about the current state of all devices in the home network system.
또한, 본 발명은 네트워크 상에서의 트래픽을 제어하여 효율적으로 모든 디바이스의 정보를 획득하는 홈 네트워크 시스템을 제공하는 효과가 있다. In addition, the present invention has the effect of providing a home network system that efficiently controls the traffic on the network to obtain information of all devices.
또한, 본 발명은 네트워크 상태에 따라 이벤트 메시지의 송신 주기를 변경하여 네트워크 사용의 효율성을 향상시킨 홈 네트워크 시스템을 제공하는 효과가 있다. In addition, the present invention has the effect of providing a home network system that improves the efficiency of network use by changing the transmission period of the event message according to the network conditions.
Claims (29)
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20030034962 | 2003-05-30 | ||
KR1020030034962 | 2003-05-30 | ||
KR1020030045864 | 2003-07-07 | ||
KR20030045864 | 2003-07-07 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040104347A KR20040104347A (en) | 2004-12-10 |
KR100596757B1 true KR100596757B1 (en) | 2006-07-04 |
Family
ID=37379988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040022219A KR100596757B1 (en) | 2003-05-30 | 2004-03-31 | Home network system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100596757B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100888478B1 (en) | 2007-03-08 | 2009-03-12 | 삼성전자주식회사 | Method of Processing Action, Method of Controlling Controlled Device, Controlled Device and Control Point |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100772865B1 (en) | 2006-01-31 | 2007-11-02 | 삼성전자주식회사 | Method for recovering av session and control point for the same |
-
2004
- 2004-03-31 KR KR1020040022219A patent/KR100596757B1/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100888478B1 (en) | 2007-03-08 | 2009-03-12 | 삼성전자주식회사 | Method of Processing Action, Method of Controlling Controlled Device, Controlled Device and Control Point |
US9338022B2 (en) | 2007-03-08 | 2016-05-10 | Samsung Electronics Co., Ltd. | Method of processing action, method of controlling controlled device, controlled device, and control point |
Also Published As
Publication number | Publication date |
---|---|
KR20040104347A (en) | 2004-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100596759B1 (en) | Home network system | |
KR100596755B1 (en) | Home network system | |
KR100638030B1 (en) | Network electric device | |
KR100605216B1 (en) | 0network device | |
KR100596757B1 (en) | Home network system | |
KR100605219B1 (en) | Network electric device | |
WO2005094195A2 (en) | Home network system | |
KR20060081926A (en) | Packet configuration apparatus for communication control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120521 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20130514 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |