KR100596757B1 - Home network system - Google Patents

Home network system Download PDF

Info

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
Application number
KR1020040022219A
Other languages
Korean (ko)
Other versions
KR20040104347A (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 엘지전자 주식회사
Publication of KR20040104347A publication Critical patent/KR20040104347A/en
Application granted granted Critical
Publication of KR100596757B1 publication Critical patent/KR100596757B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D7/00Details of apparatus for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D7/26Means for mounting or adjusting the cutting member; Means for adjusting the stroke of the cutting member
    • B26D7/2628Means for adjusting the position of the cutting member
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D1/00Cutting 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/01Cutting 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/04Cutting 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D7/00Details of apparatus for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D7/0006Means for guiding the cutter
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D5/00Arrangements for operating and controlling machines or devices for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D5/08Means for actuating the cutting member to effect the cut
    • B26D5/16Cam 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

홈 네트워크 시스템{HOME NETWORK SYSTEM} Home Network System {HOME NETWORK SYSTEM}             

도 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: home gateway 20 to 23: network manager

30, 31: LnCP 라우터 40 내지 49: 전기 기기30, 31: LnCP router 40 to 49: electric appliance

본 발명은 홈 네트워크 시스템에 관한 것으로서, 특히 리빙 네트워크 제어 프로토콜이 적용된 홈 네트워크 시스템에 관한 것이다. 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.

분류Classification 기능function 서비스 유형Service type 데이터 네트워크Data network PC와 주변 장치들간의 네트워크Network between PC and peripherals 데이터 교환, 인터넷 서비스 등Data exchange, internet services, etc. 엔터테인먼트 네트워크Entertainment network A/V(Audio/Video) 장치들 간의 네트워크Network between A / V (Audio / Video) devices 음악, 동영상 서비스 등Music, video services, etc. 리빙 네트워크Living network 가전 기기의 제어를 위한 네트워크Network for control of home appliances 가전 기기의 제어, 홈 오토메이션, 원격 검침, 메시지 서비스 등Home appliance control, home automation, remote meter reading, message service, etc.

여기서, 데이터 네트워크(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 home network system 1 connects to the LnCP server 3 via the Internet 2, and the client device 4 also connects to the LnCP server 3 via the Internet 2. do. That is, the home network system 1 is connected in communication with the LnCP server 3 and / or the client device 4.

인터넷(2)을 포함하는 홈 네트워크 시스템(1) 외부의 네트워크는 클라이언트 디바이스(4)의 종류에 따라 다른 구성소자들을 추가적으로 구비한다. 즉, 이 인터넷(2)은 예를 들면, 클라이언트 디바이스(4)가 컴퓨터인 경우에는, 웹 서버(Web sever)(도시되지 않음)를 구비하고, 클라이언트 디바이스(4)가 인터넷 폰인 경우에는, 왑 서버(Wap sever)(도시되지 않음)를 구비한다. The network outside the home network system 1 including the Internet 2 further includes other components depending on the type of client device 4. That is, this Internet 2 is provided with a web server (not shown), for example, when the client device 4 is a computer, and swaps when the client device 4 is an Internet phone. A server Sap (not shown) is provided.

다음으로, LnCP 서버(3)는 소정의 로그인 및 로그아웃 절차에 따라 홈 네트워크 시스템(1) 및 클라이언트 디바이스(4)와 각각 접속되어, 클라이언트 디바이스(4)로부터 모니터링 및 제어 명령 등을 수신하여, 이를 홈 네트워크 시스템(1)으로 소정의 형식을 지닌 메시지로 인터넷(2)을 통하여 전송한다. 또한, LnCP 서버(3)는 소정의 형식을 지닌 메시지를 홈 네트워크 시스템(1)으로부터 수신하여 저장하거나 클라이언트 디바이스(4)로 전송한다. 또한, LnCP 서버(3)는 자체적으로 저장되거나 생성된 메시지를 상기 홈 네트워크 시스템(1)으로 전송하고 수신한다. 즉, 홈 네트워크 시스템(1)은 LnCP 서버(3)에 접속하여, 제공되는 컨텐츠를 다운로드 받을 수 있다.Next, the LnCP server 3 is connected to the home network system 1 and the client device 4 according to a predetermined login and logout procedure, respectively, and receives monitoring and control commands from the client device 4, This is transmitted to the home network system 1 via the Internet 2 as a message having a predetermined format. In addition, the LnCP server 3 receives a message having a predetermined format from the home network system 1 and stores it or transmits it to the client device 4. In addition, the LnCP server 3 transmits and receives its own stored or generated message to the home network system 1. That is, the home network system 1 may access the LnCP server 3 and download the provided content.

이 홈 네트워크 시스템(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 LnCP routers 30 and 31 for connection between transmission media, LnCP adapters 35 and 36 for allowing network manager 22 and electrical device 46 to be connected to transmission media, and a plurality of electrical devices ( 40 to 49).

홈 네트워크 시스템(1) 내의 네트워크는 전기 기기들(40 내지 49)이 공유하는 전송매체를 이용하여 연결함으로써 구성된다. 이 전송매체는 RS-485나 소출력 RF와 같은 데이터링크 계층이 비규격화된 전송 매체(non-standardized transmission medium)를 이용하거나, 전력선이나 IEEE 802.11과 같은 규격화된 전 송 매체(standardized transmission medium)를 이용할 수 있다.The network in the home network system 1 is configured by connecting using a transmission medium shared by the electrical devices 40 to 49. This transmission medium uses a non-standardized transmission medium such as RS-485 or low-power RF, or a standardized transmission medium such as powerline or IEEE 802.11. Can be.

이 홈 네트워크 시스템(1) 내의 네트워크는 인터넷(2)과 서로 분리된 네트워크로 이루어지고, 즉 유선 혹은 무선 전송 매체로 연결하는 독립형 네트워크를 구성하게 된다. 여기서 독립형 네트워크는 물리적으로 연결되어 있으나 논리적으로 분리된 네트워크를 포함하는 것으로 한다. The network in the home network system 1 is composed of a network separate from the Internet 2, that is, constitutes a stand-alone network connecting by wire or wireless transmission medium. In this case, the standalone network includes physically connected but logically separated networks.

이 홈 네트워크 시스템(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 network managers 20 to 23, and the slave device includes electrical appliances 40 to 49. However, the network managers 20 to 23 contain information and control codes for the electrical devices 40 to 49 to be controlled, according to a programmed manner or from the LnCP server 3 and / or client device 4. It will take control of input. In addition, as shown, when a plurality of network managers 20 to 23 are connected, the network managers 20 to 23 are masters for exchanging information with other network managers 20 to 23 and for synchronizing and controlling information. To be a device and a slave device, that is, one device physically, but a device that logically performs the functions of a master and a slave (ie, a hybrid device).

또한, 이들 네트워크 관리기(20 내지 23) 및 전기 기기(40 내지 49)는 네트워크(도시된 전력선 네트워크, RS-485 네트워크, RF 네트워크)에 직접 연결될 수 있으며, 또한 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)를 통하여 연결될 수 있다.In addition, these network managers 20 to 23 and electrical devices 40 to 49 may be directly connected to networks (shown power line networks, RS-485 networks, RF networks), and also LnCP routers 30 and 31 and / or the like. Or via LnCP adapters 35 and 36.

또한, 전기 기기(40 내지 49) 및/또는 LnCP 라우터(30 및 31) 및/또는 LnCP 어댑터(35 및 36)는 네트워크 관리기(20 내지 23)에 등록되어 제품에 따라 유일한 논리번지(예를 들면, Ox00, Ox01 등)를 부여받게 되어, 이 논리번지는 제품코드(예를 들면, 에어컨인 경우 '0x02', 세탁기인 경우 '0x01')와 조합되어 노드 번지(Node Address)로서 사용된다. LnCP에 따른 번지 시스템(address system)은 하기에서 개시된다. In addition, the electrical devices 40 to 49 and / or the LnCP routers 30 and 31 and / or the LnCP adapters 35 and 36 are registered in the network managers 20 to 23 so as to provide a unique logical address (for example, depending on the product). , Ox00, Ox01, etc.), and this logical address is used as a node address in combination with a product code (for example, '0x02' for an air conditioner and '0x01' for a washing machine). The address system according to LnCP is disclosed below.

도 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 home network system 1 includes network managers 20 to 23, LnCP routers 30 and 31, LnCP adapters 35 and 36, and electrical devices 40 to 30 in accordance with the Living Network Control Protocol (LnCP) of FIG. 49) Enable communication between them. Accordingly, the network managers 20 to 23, the LnCP routers 30 and 31, the LnCP adapters 35 and 36, and the electric devices 40 to 49 perform network communication in accordance with such LnCP.

도 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 network managers 20 to 23, the LnCP routers 30 and 31, the LnCP adapters 35 and 36, and the electric devices 40 to 49. Application software 50 that provides the interface function with the application layer 60 for remote operation and monitoring on the system, and provides a service to the user, and the function of composing the information or command provided by the user as a message to the lower layer Network for reliable network connection between the application layer 60, network managers 20 to 23, LnCP routers 30 and 31 and LnCP adapters 35 and 36 and electrical devices 40 to 49 that provide Layer 70, a datalink layer 80 providing a media access control function for accessing a shared transmission medium, network managers 20 to 23, LnCP routers 30 and 31, and LnCP adapters 35 and 36) and electrical appliances (40) Comprises a support 49), the physical layer 90 and each layer node parameter (parameter management layer 100 for setting node parameter) and administration that are used in providing rules for the transfer bit and the physical interface between.

자세하게는, 응용 소프트웨어(50)는 노드 매개 변수와 네트워크 상에 접속된 네트워크 관리기(20 내지 23)와, LnCP 라우터(30 및 31)와 LnCP 어댑터(35 및 36) 및 전기 기기(40 내지 49)의 관리 기능을 담당하는 네트워크 관리 부속계층(51)을 추가적으로 포함한다. 즉, 이 네트워크 관리 부속계층(51)은 매개 변수 관리 계층(100)을 통하여 노드 매개 변수의 값을 설정하거나 이용하는 매개 변수 관리 기능과, LnCP가 적용된 기기가 마스터 디바이스인 경우 네트워크를 구성하거나 관리하는 네트워크 관리 기능을 수행한다. In detail, the application software 50 includes node parameters and network managers 20 to 23 connected on the network, LnCP routers 30 and 31, LnCP adapters 35 and 36, and electrical devices 40 to 49. It further includes a network management sublayer 51 in charge of the management function of the. That is, the network management sublayer 51 is configured to manage or configure a network when the LnCP-applied device is a parameter management function that sets or uses node parameter values through the parameter management layer 100. Perform network management functions.

또한, 네트워크 계층(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 network layer 70 is a network to which the network managers 20 to 23, the LnCP routers 30 and 31, the LnCP adapters 35 and 36, and the electric devices 40 to 49 are connected. When configured using a non-independent transmission medium such as wireless (e.g., when LnCP includes a power line communication (PLC) protocol and / or a wireless protocol), a home for logically separating each individual network It further includes a home code control sublayer 71 that performs code setting, management, and processing functions. This home code control sublayer 71 is not included in the LnCP when it is physically separated between individual networks by a standalone transmission medium such as RS-485. This home code consists of 4 bytes and is set to a random value or a user-specified value.

도 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 physical layer 90 is connected to a non-independent transmission medium, and FIG. 3B illustrates an interface between layers when the physical layer 90 is connected to a standalone transmission medium.

홈 네트워크 시스템(1)은 상위 계층으로부터 전달받은 프로토콜 정보 단위(Protocol Data Unit: PDU)에 각 계층에서 요구되는 헤더와 트레일러 정보를 합쳐 하위 계층으로 전달한다. The home network system 1 combines header and trailer information required in each layer into a protocol data unit (PDU) received from an upper layer, and delivers the header and trailer information to the lower layer.

도시된 바와 같이, 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 application layer 60 and the network layer 70, the network layer PDU (NPDU) is the network layer 70 and the data link layer 80 or home The data transferred between the code sublayer 71 and the Home Code Control Sublayer PDU (HCNPDU) is the data transferred between the network layer 70 (exactly the home code sublayer 71) and the datalink layer 80. The interface between the data link layer 80 and the physical layer 90 is performed in units of data frames.

도 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 application layer 60.

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 network layer 70, and FIG. 4C is a detailed structure of NLC among NPDUs.

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 network managers 20 to 23 and electrical devices 40 to 49. Contains a logical address assigned to distinguish from each other when there are multiple numbers.

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.

우선순위Priority value 적용(Application Layer)Application Layer 높음(High)High 00 - 긴급한 메시지를 전송할 때-Send urgent messages 중간(Middle)Middle 1One - 일반적인 패킷을 전송할 때 - 온라인(Online State) 또는 오프라인 상태 (Offline State) 변화에 대한 이벤트 메시지 전송할 때-When sending general packet-When sending event message about on-line or off-line state change 표준(Normal)Normal 22 - 네트워크 구성을 위한 통지 메시지 전송할 때 - 일반적인 이벤트 메시지 전송할 때-When sending notification message for network configuration-When sending general event message 낮음(Low)Low 33 -다운로드 또는 업로드 메커니즘에 의하여 데이터를 전송 할 때When transferring data by means of a download or upload mechanism

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.

value 설명Explanation 00 요청 패킷Request packet 1~31 to 3 사용하지 않음Do not use 44 응답 패킷Reply packet 5~75 ~ 7 사용하지 않음Do not use 88 통지 패킷Notification packet 9~129-12 사용하지 않음Do not use 13~1513-15 홈 코드 제어 부속계층과의 인터페이스용으로 예약된 값임Reserved value for interfacing with the home code control sublayer

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.

패킷 종류Packet type 값(범위)Value (range) 요청 패킷Request packet 1~31 to 3 응답 패킷Reply packet 1One 통지 패킷Notification packet 1~31 to 3

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.

패킷 종류Packet type 값(범위)Value (range) 요청 패킷Request packet 0~30-3 응답 패킷Reply packet 요청 패킷의 PN 필드 값을 복사Copy the PN field value of the request packet 통지 패킷Notification packet 0~30-3

APDU 필드는 응용 계층(60)과 네트워크 계층(70) 간에 전달되는 응용 계층의 프로토콜 데이터 단위이다. APDU의 최소값은 0바이트이며, 최대값은 88바이트이다.  The APDU field is a protocol data unit of the application layer transmitted between the application layer 60 and the network layer 70. The minimum value of APDU is 0 bytes and the maximum value is 88 bytes.

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 code control sublayer 71.

도시된 바와 같이, 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 datalink layer 80.

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 datalink layer 80 uses an unstandardized transmission medium, the header and trailer of the frame must have a null field. If a standardized transmission medium is used, it is as defined in the protocol. The NPDU field is a data unit delivered by the upper network layer 70, and the HCNPDU is a 4-byte home code used when the physical layer 90 is a power line or a non-independent transmission medium such as IEEE 802.11. The unit of data. The data link layer 80 does not process NPDU and HCNPDU separately.

도 4f는 물리 계층(90)에서의 프레임 구조이다. 4F is a frame structure in the physical layer 90.

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 physical layer 90 of the LnCP deals with the function of transmitting and receiving physical signals to and from the transmission medium. As the physical layer 90 of the LnCP protocol, a non-standardized transmission medium of the data link layer 80 such as RS-485 or a low power RF may be used, and a standardized transmission medium such as a power line or IEEE 802.11 may be used. In the home network system 1 applied in the LnCP network, the network managers 20 to 23 and the electric devices 40 to 49 are to be interfaced with the RS-485 or LnCP routers 30 and 31 and the LnCP adapters 35 and 36. It uses the Universal Asynchronous Receiver and Transmitter (UART) frame structure and the signal level of RS-232. The UART controls the flow of bit signals on communication lines when connected between devices using a serial bus. In LnCP, a packet transmitted from an upper layer is converted into a 10-bit UART frame unit and transmitted through a transmission medium as shown in FIG. 4F. The UART frame consists of one bit of Start Bit, eight bits of Data, and one Bit of Stop Bit, and does not use Parity Bit. The UART frame is delivered from the start bit and finally the stop bit. When the UART is used in the home network system 1 to which the LnCP is applied, no additional frame header and frame trailer are used.

도 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 home network system 1 according to the present invention. As shown, the product code is assigned a unique value to identify the basic functionality of the product, which is an immutable physical address assigned to the product at the time of product shipment and the same type of product will have the same fixed address. The device code is a logical address used to identify devices with the same product code. Next, the cluster code is a logical address assigned to at least one or more products according to a predetermined criterion.

도 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 home network system 1 for each slave device, but the cluster code may be set automatically by the master device, but in many cases is set by the user due to technical problems or the like. May be

예를 들면, 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 electrical devices 40 to 49 and / or the LnCP routers 30 and 31 and / or the LnCP adapters 35 and 36 are identified by node addresses such as 0x0200 (air conditioner 1), 0x0201 (air conditioner 2). do. In addition, one or more electrical devices 40 to 49 and / or LnCP routers 30 and 31 and / or LnCP adapters 35 and 36 may be used in accordance with certain criteria (all of the same product, the place of installation of the product, the user, etc.). Group addresses that can be identified at once can be used. In this group address, an explicit group address is a cluster specifying multiple devices if the address option value (flag below) is set to '1', and an implicit group address is a logical address and / or all bit values of the product code. You can specify multiple devices by filling them with '1'. In particular, explicit group addresses are called cluster codes.

예를 들면, 제품 코드가 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, network managers 20 to 23 (hereinafter referred to as master devices) and electrical devices 40 to 49 (hereinafter referred to as slave devices) are interface means for connection with a network. And a control means 230 for controlling the predetermined storage means 220 and the interface means 210 and the storage means 220.

자세하게는, 마스터 디바이스의 저장수단(220)은 다른 마스터 디바이스 및 슬레이브 디바이스에 대한 제품 정보 및 제품별 번지에 관한 정보를 저장한다. 이러한 네트워크에 연결된 모든 제품의 정보(제품 정보 및 설정된 또는 미설정된 노드 번지 정보 등)를 포함하는 것을 홈넷 프로파일이라 하며, 이 홈넷 프로파일은 저장수단(220)에 저장되며, 제어수단(230)에 의해 판독되며 갱신되어 등록된다. In detail, the storage unit 220 of the master device stores product information and product-specific address information for other master devices and slave devices. The homenet profile including information of all products connected to such a network (product information and set or unconfigured node address information, etc.) is called a homenet profile, and the homenet profile is stored in the storage means 220 and is controlled by the control means 230. It is read, updated and registered.

슬레이브 디바이스의 저장수단(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 electrical devices 40 to 49 in the home network system 1 according to the homenet profile to the user, and / Alternatively, the network manager 20 to 23 may be additionally displayed using an icon, and may further include a display device (not shown) including a user interface capable of indicating current and past operational states.

이하에서는, 실제로는 마스터 디바이스 또는 슬레이브 디바이스의 제어수단(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 home network system 1 and powered on.

단계(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 home network system 1 for the first time or is not registered in the home network system 1 (or the master device). It is terminated (this slave device requires a node address setting process by the master device). If the previously stored logical address has a predetermined value other than the initial logical address, the flow proceeds to step S53.

단계(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 home network system 1 at the same time, when the connected devices simultaneously transmit an activity event message, the traffic of the network is rapidly increased. Select and wait to control network traffic.

단계(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.

데이터 이름Data name 설명Explanation 크기size value CommCodeCommCode 명령 코드Command code 1바이트1 byte 0x110x11 EventCodeEventCode 이벤트 코드Event code 2바이트2 bytes 0xFF700xFF70 StatusValStatusVal 제품의 동작 상태Product operating status 1바이트1 byte 0: 대기 중 1: 동작 중 2: 일시정지 중 3~255: 정의되지 않음0: Waiting 1: During operation 2: During pause 3 ~ 255: Undefined ErrorStatusErrorStatus 에러 상태Error status 1바이트1 byte 0: 정상 상태 1: 에러 상태 2~255: 정의되지 않음0: Normal state 1: Error state 2 ~ 255: Not defined AliveIntAliveInt 활동 이벤트 메시지의 송신 간격Interval for sending activity event messages 2바이트2 bytes 5 ~ 65565(초)5 to 65565 (seconds)

여기서, 명령 코드는 활동 이벤트 메시지가 통지 메시지인 것을 나타내고, 이벤트 코드는 디바이스의 활동 상태를 알리는 메시지임을 나타낸다. 상태값(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 home network system 100 so that the user can know the updated homenet profile.

이러한 단계(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 home network system 1 or in consideration of the data amount of the master device itself. An activity notification interval setting request message is requested to change the notification interval (AliveInt) to a predetermined value. The activity notification interval setting request message may be absolute (for example, current activity notification interval + 10 seconds) or relative (for example, current) to the current activity notification interval stored in the storage device 230 of the slave device. May require a change of (1 + 0.05) times the activity notification interval.

단계(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)

기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 소정의 프로토콜에 따른 네트워크를 통하여 마스터 디바이스로 전송하는 전기 기기와; An electrical 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 intervals; 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 마스터 디바이스를 포함하는 것을 특징으로 하는 홈 네트워크 시스템.And a master device for receiving the transmitted activity event message and confirming a state of the electric device. 제1항에 있어서, The method of claim 1, 상기 전기 기기는 기저장된 논리번지가 초기논리번지인가를 판단하여, 만약 상기 기저장된 논리번지가 초기논리번지가 아닌 경우에만, 상기 마스터 디바이스로 상기 활동 이벤트 메시지를 전송하는 것을 특징으로 하는 홈 네트워크 시스템. The electronic device determines whether the previously stored logical address is an initial logical address, and transmits the activity event message to the master device only when the previously stored logical address is not an initial logical address. . 청구항 3은(는) 설정등록료 납부시 포기되었습니다.Claim 3 was abandoned when the setup registration fee was paid. 제2항에 있어서, The method of claim 2, 상기 기저장된 논리번지는 상기 마스터 디바이스가 상기 전기 기기에 할당한 논리번지인 것을 특징으로 하는 홈 네트워크 시스템. And the previously stored logical address is a logical address assigned to the electrical device by the master device. 제1항에 있어서, The method of claim 1, 상기 전기 기기는 상기 네트워크에 연결되어 전원이 공급된 때 상기 활동 이벤트 메시지를 전송하는 것을 특징으로 하는 홈 네트워크 시스템. The electrical device is connected to the network and transmits the activity event message when the power is supplied. 제4항에 있어서, The method of claim 4, wherein 상기 전기 기기는 상기 네트워크에 연결되어 전원이 공급된 때 소정의 시간 범위에서 랜덤 시간 동안 상기 활동 이벤트 메시지의 전송을 지연하는 것을 특징으로 하는 홈 네트워크 시스템. And the electrical device is connected to the network and delays the transmission of the activity event message for a random time in a predetermined time range when the power is supplied. 청구항 6은(는) 설정등록료 납부시 포기되었습니다.Claim 6 was abandoned when the registration fee was paid. 제5항에 있어서, The method of claim 5, 상기 시간 범위는 0 ~ 5000ms 이내인 것을 특징으로 하는 홈 네트워크 시스템. The time range is 0 ~ 5000ms home network system, characterized in that. 제5항에 있어서, The method of claim 5, 상기 전기 기기는 상기 지연 이후에, 소정의 제2활동통지간격마다 소정의 회수로 상기 활동 이벤트 메시지를 상기 마스터 디바이스로 송신하고, 이 이후에는 상기 제1활동통지간격마다 상기 활동 이벤트 메시지를 송신하는 것을 특징으로 하는 홈 네트워크 시스템. The electrical 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, and thereafter, transmitting the activity event message at each first activity notification interval. Home network system, characterized in that. 제7항에 있어서, The method of claim 7, wherein 상기 제1활동통지간격은 상기 제2활동통지간격보다 더 크거나 같은 것을 특징으로 하는 홈 네트워크 시스템. And wherein the first activity notification interval is greater than or equal to the second activity notification interval. 제1항 또는 제2항에 있어서, The method according to claim 1 or 2, 상기 마스터 디바이스는 상기 전기 기기에 기저장된 제1활동통지간격과 다른 값을 지닌 새로운 활동통지간격을 포함하는 활동통지간격 설정요청 메시지를 상기 전기 기기로 송신하고, 상기 전기 기기는 기저장된 제1활동통지간격을 상기 새로운 활동통지간격으로 변경하여 저장하고, 상기 마스터 디바이스로 활동통지간격 설정 ACK 응답 메시지를 송신하는 것을 특징으로 하는 홈 네트워크 시스템. The master device transmits an activity notification interval setting request message including a new activity notification interval having a value different from a first activity notification interval previously stored in the electrical device, and the electrical device transmits a previously stored first activity. Changing and storing a notification interval to the new activity notification interval, and transmitting an activity notification interval setting ACK response message to the master device. 청구항 10은(는) 설정등록료 납부시 포기되었습니다.Claim 10 was abandoned upon payment of a setup registration fee. 제9항에 있어서, The method of claim 9, 상기 전기 기기는 상기 새로운 활동통지간격을 비휘발성 메모리에 저장하는 것을 특징으로 하는 홈 네트워크 시스템. And wherein the electrical device stores the new activity notification interval in a nonvolatile memory. 청구항 11은(는) 설정등록료 납부시 포기되었습니다.Claim 11 was abandoned upon payment of a setup registration fee. 제1항에 있어서, The method of claim 1, 상기 마스터 디바이스는 상기 확인된 전기 기기의 상태를 디스플레이를 통하여 표시하는 것을 특징으로 하는 홈 네트워크 시스템. And wherein the master device displays the confirmed state of the electric device on a display. 제1항에 있어서, The method of claim 1, 상기 활동 이벤트 메시지는 이벤트 코드와, 상태값을 적어도 포함하는 것을 특징으로 하는 홈 네트워크 시스템. The activity event message includes an event code and a status value. 제12항에 있어서, The method of claim 12, 상기 상태값은 대기 중 또는 동작 중 또는 일시정지 중의 적어도 하나를 나타내는 것을 특징으로 하는 홈 네트워크 시스템. And the status value represents at least one of waiting, operating, or pausing. 제1항 또는 제12항에 있어서, The method according to claim 1 or 12, wherein 상기 활동 이벤트 메시지는 에러상태값을 추가적으로 포함하는 것을 특징으로 하는 홈 네트워크 시스템. The activity event message further comprises an error status value. 제1항 또는 제12항에 있어서, The method according to claim 1 or 12, wherein 상기 활동 이벤트 메시지는 상기 제1활동통지간격을 포함하는 것을 특징으로 하는 홈 네트워크 시스템. The activity event message includes the first activity notification interval. 적어도 하나 이상의 전기 기기와, At least one electrical device, 상기 전기 기기와 소정의 프로토콜에 따른 네트워크로 연결되는 마스터 디바이스로 이루어진 홈 네트워크 시스템에서, In the home network system consisting of a master device connected to the electrical device and a network according to a predetermined protocol, 상기 전기 기기가 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 상기 마스터 디바이스로 전송하는 단계 및;Transmitting, by the electrical device, an activity event message to the master device at each predetermined first activity notification interval; 상기 마스터 디바이스가 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법.And checking, by the master device, the state of the electrical device by receiving the transmitted activity event message. 청구항 17은(는) 설정등록료 납부시 포기되었습니다.Claim 17 was abandoned upon payment of a registration fee. 제16항에 있어서, The method of claim 16, 상기 상태확인방법은 상기 전기 기기가 기저장된 논리번지가 초기논리번지인가를 판단하는 단계를 추가적으로 포함하고, 만약 상기 기저장된 논리번지가 초기논리번지가 아닌 경우에만, 상기 활동 이벤트 메시지를 전송하는 단계를 수행하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법. The status checking method further includes the step of the electronic device determining whether a previously stored logical address is an initial logical address, and if the previously stored logical address is not an initial logical address, transmitting the activity event message only. Method for checking the status of a home network system, characterized in that for performing. 청구항 18은(는) 설정등록료 납부시 포기되었습니다.Claim 18 was abandoned upon payment of a set-up fee. 제16항에 있어서, The method of claim 16, 상기 전기 기기가 상기 네트워크에 연결되어 전원이 공급된 때 상기 활동 이벤트 메시지를 전송하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법.Transmitting the activity event message when the electrical device is connected to the network and powered on. 청구항 19은(는) 설정등록료 납부시 포기되었습니다.Claim 19 was abandoned upon payment of a registration fee. 제18항에 있어서, The method of claim 18, 상기 상태확인방법은 상기 전기 기기가 상기 네트워크에 연결되어 전원이 공급된 때 소정의 시간 범위에서 랜덤 시간 동안 상기 활동 이벤트 메시지의 전송을 지연하는 단계를 추가적으로 포함하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법. The status checking method further includes the step of delaying the transmission of the activity event message for a random time in a predetermined time range when the electric device is connected to the network and powered on. checking way. 청구항 20은(는) 설정등록료 납부시 포기되었습니다.Claim 20 was abandoned upon payment of a registration fee. 제19항에 있어서, The method of claim 19, 상기 상태확인방법은 상기 지연 단계 이후에 소정의 제2활동통지간격 이내에서 소정의 회수로 상기 활동 이벤트 메시지를 상기 마스터 디바이스로 송신하는 단계를 추가적으로 포함하고, 상기 제2활동통지간격 이후에 상기 제1활동통지간격마다 상기 활동 이벤트 메시지를 송신하는 단계를 수행하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법. The status checking method further includes transmitting the activity event message to the master device a predetermined number of times within a predetermined second activity notification interval after the delaying step, and after the second activity notification interval, And transmitting the activity event message at every activity notification interval. 청구항 21은(는) 설정등록료 납부시 포기되었습니다.Claim 21 was abandoned upon payment of a registration fee. 제16항 또는 제17항에 있어서, The method according to claim 16 or 17, 상기 상태확인방법은 상기 마스터 디바이스가 상기 전기 기기에 기저장된 제1활동통지간격과 다른 값을 지닌 새로운 활동통지간격을 포함하는 활동통지간격 설정요청 메시지를 상기 전기 기기로 송신하는 단계와, 상기 전기 기기가 기저장된 제1활동통지간격을 상기 새로운 활동통지간격으로 변경하여 저장하는 단계 및, 상기 마스터 디바이스로 활동통지간격 설정 ACK 응답 메시지를 송신하는 단계를 추가적으로 포함하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법. The status checking method may further include: transmitting, by the master device, an activity notification interval setting request message including a new activity notification interval having a value different from a first activity notification interval previously stored in the electrical device, the electrical device; And changing and storing, by the device, the previously stored first activity notification interval as the new activity notification interval, and transmitting an activity notification interval setting ACK response message to the master device. How to check status. 청구항 22은(는) 설정등록료 납부시 포기되었습니다.Claim 22 was abandoned upon payment of a registration fee. 제16항에 있어서, The method of claim 16, 상기 상태확인방법은 상기 마스터 디바이스가 상기 확인된 전기 기기의 상태를 디스플레이를 통하여 표시하는 단계를 추가적으로 포함하는 것을 특징으로 하는 홈 네트워크 시스템의 상태확인방법. The status checking method further includes the step of displaying, by the master device, the identified state of the electric device on a display through a display. 적어도 하나 이상의 전기 기기와, At least one electrical device, 상기 전기 기기와 소정의 프로토콜에 따른 네트워크로 연결되는 마스터 디바이스로 이루어진 홈 네트워크 시스템에 제공되는 상태확인을 위한 프로그램에 있어서, 상기 프로그램은:A program for checking a status provided to a home network system comprising a master device connected to the electrical device and a network according to a predetermined protocol, the program comprising: 상기 전기 기기가 기저장된 소정의 제1활동통지간격마다 활동 이벤트 메시지를 상기 마스터 디바이스로 전송하는 단계 및;Transmitting, by the electrical device, an activity event message to the master device at each predetermined first activity notification interval; 상기 마스터 디바이스가 상기 전송된 활동 이벤트 메시지를 수신하여 상기 전기 기기의 상태를 확인하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.And receiving, by the master device, the transmitted activity event message to confirm a state of the electrical device. 청구항 24은(는) 설정등록료 납부시 포기되었습니다.Claim 24 was abandoned when the setup registration fee was paid. 제23항에 있어서, The method of claim 23, wherein 상기 프로그램은 상기 전기 기기가 기저장된 논리번지가 초기논리번지인가를 판단하는 단계를 추가적으로 포함하고, 만약 상기 기저장된 논리번지가 초기논리번지가 아닌 경우에만, 상기 활동 이벤트 메시지를 전송하는 단계를 수행하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.The program further includes the step of the electronic device determining whether the previously stored logical address is the initial logical address, and if the previously stored logical address is not the initial logical address, performing the step of transmitting the activity event message. And a program storage medium storing a computer readable program. 청구항 25은(는) 설정등록료 납부시 포기되었습니다.Claim 25 was abandoned upon payment of a registration fee. 제23항에 있어서, The method of claim 23, wherein 상기 프로그램은 상기 전기 기기가 상기 네트워크에 연결되어 전원이 공급된 때 상기 활동 이벤트 메시지를 전송하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.And wherein the program transmits the activity event message when the electrical device is connected to the network and powered up. 청구항 26은(는) 설정등록료 납부시 포기되었습니다.Claim 26 was abandoned upon payment of a registration fee. 제25항에 있어서, The method of claim 25, 상기 프로그램은 상기 전기 기기가 상기 네트워크에 연결되어 전원이 공급된 때 소정의 시간 범위에서 랜덤 시간 동안 상기 활동 이벤트 메시지의 전송을 지연하는 단계를 추가적으로 포함하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.The program further comprises delaying transmission of the activity event message for a random time in a predetermined time range when the electrical device is connected to the network and powered on. Storage medium. 청구항 27은(는) 설정등록료 납부시 포기되었습니다.Claim 27 was abandoned upon payment of a registration fee. 제26항에 있어서, The method of claim 26, 상기 프로그램은 상기 지연 단계 이후에 소정의 제2활동통지간격 이내에서 소정의 회수로 상기 활동 이벤트 메시지를 상기 마스터 디바이스로 송신하는 단계를 추가적으로 포함하고, 상기 제2활동통지간격 이후에 상기 제1활동통지간격마다 상기 활동 이벤트 메시지를 송신하는 단계를 수행하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체. The program further includes the step of sending the activity event message to the master device a predetermined number of times within a predetermined second activity notification interval after the delaying step, and after the second activity notification interval And transmitting the activity event message at every notification interval. 청구항 28은(는) 설정등록료 납부시 포기되었습니다.Claim 28 was abandoned upon payment of a registration fee. 제23항 또는 제24항에 있어서, The method of claim 23 or 24, 상기 프로그램은 상기 마스터 디바이스가 상기 전기 기기에 기저장된 제1활동통지간격과 다른 값을 지닌 새로운 활동통지간격을 포함하는 활동통지간격 설정요청 메시지를 상기 전기 기기로 송신하는 단계와, 상기 전기 기기가 기저장된 제1활동통지간격을 상기 새로운 활동통지간격으로 변경하여 저장하는 단계 및, 상기 마스터 디바이스로 활동통지간격 설정 ACK 응답 메시지를 송신하는 단계를 추가적으로 포함하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.The program may include transmitting, by the master device, an activity notification interval setting request message including a new activity notification interval having a value different from a first activity notification interval previously stored in the electronic device, Storing and changing the previously stored first activity notification interval to the new activity notification interval; and transmitting an activity notification interval setting ACK response message to the master device. Program storage medium. 청구항 29은(는) 설정등록료 납부시 포기되었습니다.Claim 29 was abandoned upon payment of a set-up fee. 제23항에 있어서, The method of claim 23, wherein 상기 프로그램은 상기 마스터 디바이스가 상기 확인된 전기 기기의 상태를 디스플레이를 통하여 표시하는 단계를 추가적으로 포함하는 것을 특징으로 하는 컴퓨터 판독 가능한 프로그램이 저장된 프로그램 저장매체.The program further comprising the master device displaying on the display a status of the identified electrical device.
KR1020040022219A 2003-05-30 2004-03-31 Home network system KR100596757B1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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