KR20100025785A - Self-configuration method for plc-based home network - Google Patents

Self-configuration method for plc-based home network Download PDF

Info

Publication number
KR20100025785A
KR20100025785A KR1020080084474A KR20080084474A KR20100025785A KR 20100025785 A KR20100025785 A KR 20100025785A KR 1020080084474 A KR1020080084474 A KR 1020080084474A KR 20080084474 A KR20080084474 A KR 20080084474A KR 20100025785 A KR20100025785 A KR 20100025785A
Authority
KR
South Korea
Prior art keywords
address
node
packet
generating
unique
Prior art date
Application number
KR1020080084474A
Other languages
Korean (ko)
Other versions
KR101002411B1 (en
Inventor
이원태
최성수
오휘명
이재조
변우봉
Original Assignee
한국전기연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전기연구원 filed Critical 한국전기연구원
Priority to KR1020080084474A priority Critical patent/KR101002411B1/en
Publication of KR20100025785A publication Critical patent/KR20100025785A/en
Application granted granted Critical
Publication of KR101002411B1 publication Critical patent/KR101002411B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2838Distribution of signals within a home automation network, e.g. involving splitting/multiplexing signals to/from different paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2843Mains power line

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: A self-configuration method for a PLC-based home network is provided to enable a pre-participated node to generate an address in order to supply an address through an address response packet. CONSTITUTION: An address request packet for which a first node requests an address is broadcasted to a home network to be participated. The highest priority second node among the nodes that receive the broadcasted address request packet creates a unique address. The second node creates an address assignment packet including the created unique address. The second node transmits the created address allocation packet to the first node.

Description

전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법{self-configuration method for PLC-based home network}Automatic Address Allocation Method for Powerline Communication-based Home Networks {self-configuration method for PLC-based home network}

본 발명은 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법에 관한 것이다.The present invention relates to an automatic address allocation method for a home network based on power line communication.

일반적으로, 전력선 통신(power line communication)은 전력 송신을 목적으로 하는 전력선 또는 배전선로의 전력을 공급하기 위한 전원 파형에 통신 신호 예컨대, 주파수 대역이 수백 kHz~수십 MHz인 디지털 정보를 실어서 전송하는 통신 방식으로서, 이렇게 전송된 통신 신호를 고주파 필터를 이용하여 따로 분리해 통신하는 기술을 의미한다.In general, power line communication transmits a communication signal such as digital information having a frequency band of several hundred kHz to several tens of MHz on a power waveform for supplying power to a power line or a distribution line for power transmission. As a communication method, it means a technology that separates and transmits the communication signal thus transmitted using a high frequency filter.

이러한 전력선 통신은 별도의 통신선 없이 이미 설치되어 있는 전력선을 통해 인터넷 접속 등의 외부 망이나 네트워킹을 이용할 수 있는 편리하고 경제적인 기술이다. 특히, 컴퓨터 및 통신 기술의 발전으로 인해 가정 내에서도 여러 가지 가전 기기들을 유선 혹은 무선으로 연결하여 제어 정보나 데이터를 주고 받게 되는 홈 네트워크 기술이 급속도로 발전하고 있다. 하지만 아직까지는 가정 내에서 고속의 통신 기술을 이용한 응용 분야 개척이 미흡한 탓에 주로 저속의 통신 기술을 이용하는 홈 오토메이션 위주의 홈 네트워크 기술 개발에 국내외 관련 업체들이 주력하고 있는 추세이다.The power line communication is a convenient and economical technology that can use an external network or networking, such as Internet access through the power line already installed without a separate communication line. In particular, due to the development of computer and communication technology, home network technology, which connects various home appliances by wire or wirelessly and transmits and receives control information or data, is rapidly developing in the home. However, domestic and foreign companies are focusing on the development of home automation technology mainly using low-speed communication technology due to insufficient development of high-speed communication technology in the home.

저속의 홈 네트워크 기술을 활용한 홈 네트워크 응용에는 주로 가정의 기기들에 대한 원격 ON/OFF 제어나 온/습도 조절, 전력/수도/가스 등의 원격 검침, 방범 및 보안 서비스 등에 초점이 맞추어져 있다. 이러한 저속의 홈 네트워크 응용을 지원하기 위한 하부 전송 기술로는 가정 내에 기 포설된 전력선을 활용하는 전력선 통신(PLC: PowerLine Communication)이 중심에 있다 볼 수 있다. 실례로 최근에 건설된 고급 아파트에서는 외국에서 개발된 저속 전력선 모뎀 칩을 이용한 전력선 통신 기능을 통해 생활의 편의를 도모할 수 있는 홈 오토메이션 기능이 제공되고 있음을 알 수 있다.Home network applications using low speed home network technology mainly focus on remote ON / OFF control of home appliances, temperature / humidity control, remote meter reading of power / water / gas, security and security services. . As a lower transmission technology for supporting such low speed home network applications, power line communication (PLC) utilizing power lines already installed in the home is at the center. For example, recently constructed high-end apartments offer home automation features that make life easier through power line communication using foreign-developed low-speed power line modem chips.

전력선 통신을 위해 개발된 전력선 모뎀은 하위 계층의 프레임을 송수신하는 기능을 갖고 있지만, 이러한 모뎀 칩을 이용해 홈 오토메이션을 위한 응용 기술을 개발하려면 특정한 가전 기기를 구분할 수 있는 네트워크 주소를 필요로 한다. 근거리 통신망(LAN: Local Area Network)에 연결된 PC의 경우에도 마찬가지로 랜 카드가 존재하여 하위 계층 프레임의 송수신 기능을 제공할 수 있지만 인터넷 기반의 응용 서비스를 제공하기 위해서는 네트워크 계층에서 사용될 인터넷 주소(IP: Internet Protocol)를 유일하게 지정해 줘야 하는 것과 마찬가지이다.Powerline modems developed for powerline communications have the ability to send and receive lower layer frames, but developing application technologies for home automation using these modem chips requires network addresses that can identify specific consumer devices. In the case of a PC connected to a local area network (LAN), a LAN card may exist to provide a transmission / reception function of a lower layer frame. However, in order to provide an Internet-based application service, an Internet address (IP: Internet Protocol) is the same as specifying it.

그러나 일반적으로 홈 네트워크에 연결되는 가전 기기들이 사용하게 될 네트워크 주소는 전문 네트워크 엔지니어에 의해 수동적으로 네트워크 주소를 설정하는 경우가 대부분이다. 그래서 네트워크 고장이 발생하게 되는 경우 네트워크 전문가 의 도움 없이는 네트워크 주소를 재설정하기 어려워진다. 따라서 지능형 홈을 위한 네트워크 환경에서는 이러한 전문가에 의한 수동적인 네트워크 주소 설정이 아닌 자동적으로 가전 기기들에 주소가 할당되는 메커니즘을 필요로 하게 된다.However, in general, the network address used by home appliances connected to the home network is often set manually by a professional network engineer. Thus, if a network failure occurs, it is difficult to reset the network address without the help of a network expert. Therefore, the network environment for the intelligent home requires a mechanism for automatically assigning addresses to home appliances rather than manual network address setting by such experts.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 신규로 참여하는 노드가 주소 요청 패킷을 네트워크 상에 방송하면 이를 수신한 기 참여하는 노드가 주소를 생성하여 이를 주소 응답 패킷을 통해 제공함으로써, 효율적으로 주소를 할당할 수 있도록 하는 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법을 제공하는데 있다.The present invention is to solve the above problems, when a newly participating node broadcasts an address request packet on the network, the existing participating node that receives it generates an address and provides it through an address response packet. The present invention provides an automatic address allocation method for a powerline communication-based home network.

본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 가장 강한 신호 세기로 수신하는 기 참여하는 노드가 우선적으로 주소를 생성하여 제공하도록 함으로써, 자동 중계에 활용 가능할 수 있도록 하는 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법을 제공하는데 있다.The present invention provides a home network based on power line communication that can be utilized for automatic relaying by allowing a newly participating node to first generate and provide an address to a previously participating node that receives an address request packet with the strongest signal strength. It is to provide an automatic address allocation method.

본 발명은 기 참여하는 노드들 중 어느 하나의 노드가 별도의 수학식을 통해 별도의 주소 중복 검사가 필요없는 유일한 주소를 생성함으로써, 네트워크의 부하를 감소시킬 수 있도록 하는 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법을 제공하는데 있다.The present invention provides a home network based on power line communication, which can reduce the load of a network by generating a unique address that does not require a separate address duplication check through a separate equation. It is to provide an automatic address allocation method.

또한, 본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 홈 네트워크 상에 방송하면 이를 수신한 기 참여하는 노드가 유일한 주소를 생성하여 이를 주소 응답 패킷을 통해 제공함으로써, 네트워크의 확장성을 보다 향상 시킬 수 있도록 하는 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법을 제공하는데 있다.In addition, the present invention, when a newly participating node broadcasts an address request packet on a home network, the existing participating node that receives it generates a unique address and provides it through an address response packet, thereby further improving network scalability. The present invention provides an automatic address allocation method for a powerline communication based home network.

이를 위하여, 본 발명의 한 측면에 따른 홈 네트워크를 위한 자동 주소 할당 방법은 제1 노드가 주소를 요청하기 위한 주소 요청 패킷을 참여하고자 하는 홈 네트워크에 방송하는 단계, 방송된 상기 주소 요청 패킷을 수신한 노드들 중 우선 순위가 가장 높은 제2 노드가 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계 및 상기 제2 노드가 생성된 상기 주소 할당 패킷을 상기 제1 노드에 전송하는 단계를 포함할 수 있다.To this end, the automatic address allocation method for a home network according to an aspect of the present invention comprises the steps of: broadcasting, by a first node, an address request packet for requesting an address to a home network which intends to participate, receiving the broadcasted address request packet. A second node having the highest priority among the one nodes generates a unique address and generates an address allocation packet including the same; and transmitting the generated address allocation packet to the first node by the second node. It may include.

이때, 상기 주소 할당 패킷을 생성하는 단계는 상기 주소 요청 패킷을 수신한 노드들 중 노드 자신이 속하는 트리 깊이 및 주소의 크기가 가장 작은 상기 제2 노드가 기 설정된 대기 시간을 기다린 후에, 유일한 주소를 생성하여 생성된 상기 유일한 주소를 포함하는 주소 할당 패킷을 생성하는 단계를 포함할 수 있다. 상기 대기 시간은 상기 제2 노드 자신이 속하는 트리 깊이 및 주소의 크기에 따라 이에 상응하는 기 설정된 시간일 수 있다.In the generating of the address assignment packet, the second node having the smallest tree depth and the address size among the nodes receiving the address request packet waits for a preset waiting time, and then receives a unique address. And generating an address assignment packet including the unique address generated and generated. The wait time may be a preset time corresponding to the tree depth to which the second node itself belongs and the size of the address.

또한, 상기 주소 할당 패킷을 생성하는 단계는 방송된 상기 주소 요청 패킷을 수신한 노드들 중 수신 신호 세기가 가장 큰 상기 제2 노드가 기 설정된 대기 시간을 기다린 후에, 유일한 주소를 생성하여 생성된 상기 유일한 주소를 포함하는 주소 할당 패킷을 생성하는 단계를 포함할 수 있다. 상기 대기 시간은 상기 제2 노드의 상기 주소 요청 패킷에 대한 수신 신호 세기에 따라 이에 상응하는 기 설정된 시간일 수 있다.The generating of the address allocation packet may include generating a unique address after waiting for a preset waiting time of the second node having the largest received signal strength among the nodes receiving the broadcasted address request packet. Generating an address assignment packet including a unique address. The wait time may be a preset time corresponding to the received signal strength of the address request packet of the second node.

상기 유일한 주소 CID 는 CID = PID + 4d * n 에 의해 생성되고, 여기서, PID는 상기 제2 노드의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟 수를 의미할 수 있다.The unique address C ID is generated by C ID = P ID + 4 d * n, where P ID is the address of the second node, d is the tree depth and n is the number of times it participates in address allocation. can do.

또한, 본 발명에 따른 홈 네트워크를 위한 자동 주소 할당 방법은 상기 제1 노드가 상기 주소 할당 패킷을 수신하면, 수신된 상기 주소 할당 패킷에 대한 응답으로 응답 패킷을 생성하여 생성된 상기 응답 패킷을 상기 제2 노드에 전송하는 단계를 더 포함할 수 있다.In addition, in the automatic address allocation method for a home network according to the present invention, when the first node receives the address allocation packet, the response packet is generated by generating a response packet in response to the received address allocation packet. The method may further include transmitting to the second node.

본 발명의 다른 한 측면에 따른 홈 네트워크를 위한 자동 주소 할당 방법은 홈 네트워크에 참여하고자 하는 신규 노드로부터 주소를 요청하기 위한 주소 요청 패킷을 수신하는 단계, 상기 주소 요청 패킷의 수신에 따라 기 설정된 대기 시간을 기다린 후에 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계 및 생성된 상기 주소 할당 패킷을 상기 주소 요청 패킷을 방송한 신규 노드에 전송하는 단계를 포함할 수 있다.According to another aspect of the present invention, there is provided an automatic address allocation method for a home network, the method comprising: receiving an address request packet for requesting an address from a new node that wants to participate in a home network; After waiting for a time, generating a unique address for the new node and generating an address allocation packet including the same; and transmitting the generated address allocation packet to the new node broadcasting the address request packet. .

이때, 상기 주소 할당 패킷을 생성하는 단계는 자신이 속하는 트리 깊이 및 주소의 크기에 따라 이에 상응하는 기 설정된 대기 시간을 기다린 후에, 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계를 포함할 수 있다.In this case, the step of generating the address allocation packet waits for a predetermined waiting time corresponding to the tree depth and the size of the address to which the address belongs, and then generates an address address packet including the unique address for the new node. It may comprise the step of generating.

또한, 상기 주소 할당 패킷을 생성하는 단계는 상기 주소 요청 패킷에 대한 수신 신호 세기에 따라 이에 상응하는 기 설정된 대기 시간을 기다린 후에, 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계를 포함할 수 있다.The generating of the address allocation packet may include generating an unique address for the new node and waiting for a preset waiting time corresponding to the received signal strength of the address request packet. It may comprise the step of generating.

상기 유일한 주소 CID 는 CID = PID + 4d * n 에 의해 생성되고, 여기서, PID는 자신의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟수를 의미할 수 있다.The unique address C ID is generated by C ID = P ID + 4 d * n, where P ID is its address, d is the tree depth, and n may mean the number of times it participates in address allocation.

또한, 본 발명에 따른 홈 네트워크를 위한 자동 주소 할당 방법은 상기 주소 할당 패킷을 수신한 상기 신규 노드로부터 상기 주소 할당 패킷에 대한 응답으로 응답 패킷을 수신하면, 주소 할당에 참여한 횟수를 하나 증가 시키는 단계를 더 포함할 수 있다.In addition, the automatic address allocation method for a home network according to the present invention includes increasing the number of times of participating in address allocation by receiving a response packet in response to the address allocation packet from the new node receiving the address allocation packet. It may further include.

또한, 본 발명의 또 다른 한 측면에 따른 홈 네트워크를 위한 자동 주소 할당 방법은 주소를 요청하기 위한 주소 요청 패킷을 참여하고자 하는 홈 네트워크에 방송하는 단계, 방송된 상기 주소 요청 패킷을 수신한 노드들 중 우선 순위가 가장 높은 참여 노드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계 및 수신된 상기 주소 할당 패킷에 포함된 유일한 주소를 자신의 주소로 할당하는 단계를 포함할 수 있다.In addition, the automatic address allocation method for a home network according to another aspect of the present invention comprises the steps of: broadcasting an address request packet for requesting an address to a home network which intends to participate, nodes receiving the broadcasted address request packet; Receiving an address allocation packet including a unique address from a participating node having the highest priority among the nodes, and allocating a unique address included in the received address allocation packet as its own address.

이때, 상기 주소 할당 패킷을 수신하는 단계는 상기 주소 요청 패킷을 수신한 노드들 중 노드 자신이 속하는 트리 깊이 및 주소의 크기가 가장 작은 상기 참여 노드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계를 포함할 수 있다.In this case, the receiving of the address allocation packet may include receiving an address allocation packet including a unique address from the participating node having the smallest tree depth and address size among the nodes receiving the address request packet. It may include.

또한, 상기 주소 할당 패킷을 수신하는 단계는 상기 주소 요청 패킷을 수신한 노드들 중 상기 주소 요청 패킷에 대한 수신 신호 세기가 가장 큰 상기 참여 노 드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계를 포함할 수 있다.The receiving of the address allocation packet may include receiving an address allocation packet including an unique address from the participating node having the largest received signal strength for the address request packet among the nodes that have received the address request packet. It may include.

상기 유일한 주소 CID 는 CID = PID + 4d * n 에 의해 생성되고, 여기서, PID는 참여 노드의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟수를 의미할 수 있다.The unique address C ID is generated by C ID = P ID + 4 d * n, where P ID is an address of a participating node, d is a tree depth, and n may mean a number of times participating in address allocation. .

이하에서는, 본 발명의 일실시예에 따른 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법을 첨부된 도 1 내지 도 6을 참조하여 상세히 설명한다.Hereinafter, an automatic address allocation method for a power line communication-based home network according to an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 6.

본 발명은 홈 네트워크를 위한 새로운 자동 주소 할당 방안을 제안한다. 즉, 본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 네트워크 상에 방송하면 이를 수신한 기 참여하는 노드가 주소를 생성하여 이를 주소 응답 패킷을 통해 제공할 수 있다. 특히, 본 발명은 기 참여하는 노드들 중 어느 하나의 노드가 별도의 수학식을 통해 별도의 주소 중복 검사가 필요없는 유일한 주소를 생성하여 이를 제공할 수 있다.The present invention proposes a new automatic address allocation scheme for home networks. That is, according to the present invention, when a newly participating node broadcasts an address request packet on a network, the previously participating node may generate an address and provide it through an address response packet. In particular, the present invention can provide this by generating a unique address that does not require a separate address duplication check by any one node among the nodes participating in a separate equation.

이를 설명하면, 기존의 전력선통신기반의 네트워크 구성과 주소할당은 단순히 수신 신호 세기를 기반하여 구성하므로 수신 신호가 미치지 못하는 곳이나 열악한 통신 환경에 있어 문제가 된다. 이에 본 발명은 네트워크의 계층적인 구조 내 주소 생성 및 할당에 있어 수신 신호 세기를 기반하여 우선 순위를 정하고, 이에 따른 통신 노드의 주소 ID를 트리 깊이와 주소 할당에 참여한 횟수를 통해 네트워 크 내 유일한 주소를 구성하는 등의 차별성을 가질 수 있다.In this case, the existing power line communication-based network configuration and address assignment are simply configured based on the received signal strength, which is a problem in a place where the received signal does not reach or in a poor communication environment. Accordingly, the present invention determines priorities based on received signal strength in generating and assigning addresses in a hierarchical structure of a network, and accordingly, unique addresses in a network through the number of times the ID of the communication node participates in tree depth and address allocation. It can have differentiation, such as to constitute.

본 발명을 구현하기 위하여, 노드 수, 네트워크 토폴로지, 제공 서비스, 노드의 이동성, 가전 기기의 동작 주기 및 가전 기기에 대한 오버헤드의 여러 가지 항목에서 전력선 기반의 홈 네트워크를 위한 자동 주소 할당 기술의 요구사항을 도출하였다.In order to implement the present invention, there is a need for an automatic address assignment technique for a powerline-based home network in various items such as the number of nodes, network topology, provided services, node mobility, operating cycles of home appliances, and overhead for home appliances. The matter was derived.

1) 먼저, 노드 수 측면에서 살펴보면 전력선 기반 홈 네트워크 환경에 연결되는 가전 기기의 수를 고려해 볼 때 네트워크 계층에서는 16비트 정도의 짧은 주소를 사용하는 것이 적합하다. 이는 16비트 정도의 주소만으로도 최대 65536개까지의 노드에 주소를 할당할 수 있기 때문이다. 2) 그리고 전력선 기반의 홈 네트워크를 위한 자동 주소 할당 기술은 버스 혹은 트리 토폴로지 기반의 통신을 지원할 수 있어야 할 것이다. 이는 가정 내에 기 포설된 전력선의 대부분의 토폴로지가 버스 혹은 트리 구조를 가지고 있기 때문이다. 3) 제공 서비스 측면에서 개발하고자 하는 자동 주소 할당 기술은 근본적으로 전력선 통신을 이용한 홈 오토메이션 서비스를 제공할 수 있어야 할 것이다. 4) 홈 네트워크 환경에서는 소형 가전 기기는 이동이 빈번하게 발생할 수 있으므로 이를 고려한 자동 주소 할당 기술이 개발되어야 하며, 아울러 가전 기기의 ON/OFF가 자주 발생하게 되는 점도 새로운 자동 주소 할당 기술을 개발하는 데 요구사항으로 반영되어야 할 것이다. 5) 그리고 홈 네트워크에 연결되는 소형 가전 기기들은 그 기능에 비해 통신 기능에 대한 오버헤드가 크지 않아야 된다. 그래서 새로이 개발될 자동 주소 할당 기술은 소형 가전 기기의 본연의 기능에 오버헤드를 제공하지 않는 수준에서 단순한 기능으로 구현되어야 할 것이다.First, considering the number of nodes, considering the number of home appliances connected to a powerline-based home network environment, it is appropriate to use a short address of 16 bits in the network layer. This is because up to 65536 nodes can be assigned addresses with only 16 bits of address. 2) And automatic address allocation technology for powerline based home networks should be able to support bus or tree topology based communication. This is because most topologies of power lines already installed in homes have a bus or tree structure. 3) The automatic address allocation technology to be developed in terms of provided services should be able to provide home automation service using power line communication. 4) In home network environment, small home appliances can move frequently, so automatic address allocation technology should be developed considering this. Also, on / off of home appliances frequently occurs. It should be reflected as a requirement. 5) And small home appliances connected to the home network should not have a large overhead for communication functions compared to those functions. Thus, the newly developed automatic address allocation technology should be implemented as a simple function without providing an overhead to the inherent functions of small home appliances.

도 1은 본 발명의 일실시예에 따른 자동 주소 할당 방법에 의한 네트워크의 구성을 나타내는 예시도이다.1 is an exemplary view showing the configuration of a network by an automatic address assignment method according to an embodiment of the present invention.

도 1에 도시한 바와 같이, 본 발명에 따른 네트워크는 한 노드가 최대 4개의 자식만 둘 수 있는 계층적 트리 구조로 형성될 수 있는데, 네트워크에 참여 중인 모든 노드는 신규 노드의 주소 요청 패킷에 대한 응답을 할 수 있으나 최대 4개까지만 응답할 수 있도록 하여 주소 할당에 따르는 노드 부담이 균등하게 유지될 수 있다. 이렇게 한 노드가 최대 4개의 자식만 둘 수 있는 규정은 부모 노드의 트리 깊이(depth)에 비례하여 2비트씩 늘어나면서 부모와 자식의 16비트 주소의 하위 비트가 동일하도록 하여 차후에 자동 중계 기능에 활용하게 되는 경우 모든 노드가 하위 주소 비트만 보고서도 포워딩할 계층 트리의 가지를 쉽게 찾을 수 있도록 하기 위함이다.As shown in Figure 1, the network according to the present invention can be formed in a hierarchical tree structure in which one node can have only up to four children, all nodes participating in the network for the address request packet of the new node Although it can respond, only up to 4 responses can be responded, so that the burden of node due to address allocation can be maintained evenly. In this way, a node can have up to four children, which is increased by 2 bits in proportion to the parent node's tree depth, so that the lower bits of the 16-bit address of the parent and child are the same, which is used for the automatic relay function later. This is to make it easy for all nodes to find the branch of the hierarchy tree to which only the low address bits are also forwarded.

또한, 부모 노드로부터 16 비트의 중복 검사가 필요없는 유일한 주소를 제공받은 신규 노드는 패킷의 주소 필드에 담긴 부모 노드의 주소와 패킷의 정보 필드에 담긴 자신의 주소로부터 자신의 트리 깊이를 알 수 있다. 이러한 트리 깊이는 신규 노드 자신이 새로운 신규 노드를 위한 주소를 할당하는 데 활용할 수도 있다.In addition, a new node that receives a unique address from the parent node that does not need 16-bit redundancy check can know its tree depth from the address of the parent node in the packet's address field and its address in the packet's information field. . This tree depth may be used by the new node itself to assign an address for the new new node.

이때, 노드는 홈 네트워크를 구성하기 위한 모든 통신 장치로서, 예컨대, 휴대폰, 노트북 및 냉장도, 오디오, TV 등과 같은 가전 제품 등을 포괄하는 개념일 수 있다.At this time, the node is a communication device for configuring a home network, for example, a mobile phone, a notebook, and may include a concept encompassing home appliances such as refrigerators, audio, TV, and the like.

도 2는 본 발명의 일실시예에 따른 자동 주소 할당 방법을 나타내는 예시도이다.2 is an exemplary view showing an automatic address allocation method according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 홈 네트워크에 참여하는 신규 노드는 주소 요청 패킷을 생성하여 이를 네트워크 상에 방송하고(S210), 이를 수신한 참여 노드들 중 우선 순위가 가장 높은 하나의 노도는 기 설정된 대기 시간을 기다린 후에 신규 노드를 위한 유일한 주소를 생성하여(S220) 이를 주소 할당 패킷에 담아 해당 신규 노드에 전송할 수 있는데(S230), 이러한 신규 노드를 위한 주소는 다음의 [수학식 1]을 통해 구할 수 있다.As shown in FIG. 2, the new node participating in the home network generates an address request packet and broadcasts it on the network (S210), and one of the highest priorities among the participating nodes that have received it is preset. After waiting for a waiting time, a unique address for a new node may be generated (S220), and this may be transmitted to a corresponding new node in an address allocation packet (S230). The address for such a new node may be obtained through Equation 1 below. You can get it.

[수학식 1][Equation 1]

CID = PID + 4d * n C ID = P ID + 4 d * n

여기서, 주소를 제공하는 노드가 주소 할당 트리 상에서 부모 노드가 되고, 주소를 제공받는 신규 참여 노드는 자식 노드가 되며, 자식 노드의 주소(CID)는 주소를 제공하는 부모 노드의 주소(PID), 트리 깊이(d), 그리고 주소 할당에 참여한 횟수(n)를 의미할 수 있다.Here, the node providing the address becomes a parent node on the address allocation tree, the new participating node receiving the address becomes a child node, and the address (C ID ) of the child node is the address (P ID ) of the parent node providing the address. ), The tree depth (d), and the number (n) of participating in the address allocation.

이때, 우선 순위가 가장 높은 노드는 노드 자신이 속하는 트리 깊이 및 주소의 크기가 가장 작은 노드이거나 수신 신호 세기가 가장 큰 노드를 의미할 수 있다.In this case, the node having the highest priority may mean a node having the smallest tree depth and an address size or a node having the highest received signal strength.

이후, 신규 노드는 주소 할당 패킷을 수신하면, 주소 할당 패킷에 포함된 유 일한 주소를 자신의 주소로 할당하고 이에 대한 응답으로 네트워크 상에 주소 할당이 완료 되었음을 알려주기 위한 응답 패킷을 방송할 수 있다(S240).Subsequently, when the new node receives the address allocation packet, the new node may assign a unique address included in the address allocation packet as its own address and broadcast a response packet to inform that the address allocation is completed on the network in response thereto. (S240).

이와 같이, 본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 네트워크 상에 방송하면 이를 수신한 기 참여하는 노드가 주소를 생성하여 이를 주소 응답 패킷을 통해 제공함으로써, 효율적으로 주소를 할당할 수 있다. 또한, 본 발명은 기 참여하는 노드들 중 어느 하나의 노드가 별도의 수학식을 통해 별도의 주소 중복 검사가 필요없는 유일한 주소를 생성함으로써, 네트워크의 부하를 감소시킬 수도 있다.As described above, according to the present invention, when a newly participating node broadcasts an address request packet on a network, an existing participating node that receives the generated address generates an address and provides it through an address response packet, thereby efficiently assigning an address. . In addition, the present invention may reduce the load of the network by generating a unique address that does not need a separate address duplication check through a separate equation of any one of the nodes participating in the present invention.

이때, 본 발명은 전력선 기반 홈 네트워크에 참여하는 노드 수의 증가에 따라 신규 노드에 주소를 제공하려는 부모들 간의 경쟁을 해결하기 위해 트리 깊이 기반에 따른 간단한 우선순위 메커니즘 등을 사용할 수 있는데, 이를 도 3을 참조하여 설명한다.In this case, the present invention can use a simple priority mechanism based on the tree depth to resolve the competition between the parents to provide an address to the new node as the number of nodes participating in the powerline-based home network increases. It demonstrates with reference to 3.

도 3은 본 발명의 일실시예에 따른 우선순위 메커니즘을 설명하기 위한 예시도이다.3 is an exemplary diagram for describing a priority mechanism according to an embodiment of the present invention.

도 3에 도시한 바와 같이, 새로운 신규 노드가 주소 할당을 요구하는 경우 참여 노드들이 신규 노드를 위한 주소 할당 패킷을 전송하기 위해서는 자신의 트리 깊이(d) * 대기 단위시간만큼의 시간을 기다릴 수 있다. 이는 트리 깊이에 따라 우선순위를 달리하여 깊이 값이 적은 참여 노드가 우선적으로 신규 노드에게 주소를 할당할 수 있도록 하는 데 기반을 둘 수 있다.As shown in FIG. 3, when a new new node requests address allocation, participating nodes may wait for the time of their tree depth (d) * waiting unit time to transmit an address allocation packet for the new node. . This can be based on the priority of different nodes according to the tree depth, so that participating nodes with a small depth value can first assign an address to a new node.

트리 깊이에 따른 대기 시간이 끝나기 전에 신규 노드로부터 주소 할당이 완료 되었다는 방송 패킷을 수신하게 되면 이미 자신보다 높은 우선순위의 참여 노드에 의해 신규 노드에 주소가 할당된 경우이므로 주소 할당 과정을 취소하게 된다. 만약 그렇지 않다면 우선순위가 높은 참여 노드들이 이미 4개씩 자식들에게 주소를 할당한 경우라서 자신이 속한 트리 깊이에 해당한 노드들이 가장 높은 우선순위를 가지는 경우임을 알게 된다.If the broadcast packet is received from the new node before the end of the waiting time according to the tree depth, the address allocation process is canceled because the new node has already been assigned an address by the participating node with higher priority. . If not, the high-priority participating nodes have already assigned an address to their children, so the nodes corresponding to the tree depth to which they belong have the highest priority.

이때, 하나 이상의 참여 노드가 동일 트리 깊이에 존재할 수 있으므로 단지 하나의 노드만이 주소 할당에 참여할 수 있도록 하기 위해 경쟁 윈도우 내에서 자신의 주소에 해당하는 기 설정된 크기의 미니 타임 슬롯 시간만큼을 더 기다리도록 할 수 있다. 이 과정에서도 마찬가지로 신규 노드로부터 주소 할당이 완료되었다는 방송 패킷을 수신하게 되면 주소 할당 과정을 끝내게 되며, 그렇지 않은 경우 자신이 주소 할당 패킷을 하위 계층으로 전달하여 신규 노드에 주소를 할당할 수 있다.At this time, since one or more participating nodes may exist at the same tree depth, only one node may wait for a preset time of mini time slot corresponding to its address in the contention window to allow only one node to participate in address allocation. You can do that. In this process as well, when the broadcast packet is received from the new node that the address allocation is completed, the address allocation process is completed. Otherwise, the node can assign the address to the new node by forwarding the address allocation packet to the lower layer.

도 4는 본 발명의 일실시예에 따른 수식 기반의 자동 주소 할당 방법을 나타내는 예시도이다.4 is an exemplary view showing a formula-based automatic address allocation method according to an embodiment of the present invention.

도 4에 도시한 바와 같이, 주소를 제공한 참여 노드 또는 부모 노드는 이를 수신하여 자신의 주소로 확정한 신규 노드 또는 자식 노드로부터 확인 응답을 받게 되면 자식 노드에 주소를 제공한 횟수를 유지하는 카운터(n)를 하나 증가시킬 수 있다. 이를 이용해 누적된 카운터(n)가 4인 부모 노드는 더 이상 자식 노드에 대 한 주소 할당에 참여할 수가 없다.As shown in FIG. 4, when a participating node or a parent node providing an address receives a confirmation response from a new node or a child node that has received the address and has confirmed its address, the counter maintains the number of times the address has been provided to the child node. You can increase (n) by one. Using this, a parent node with a cumulative counter (n) of 4 can no longer participate in address assignment to child nodes.

예컨대, 네트워크에 참여하고자 하는 신규 노드가 있으면, 1번 노드에는 4개의 자식 노드가 있기 때문에, 신규 노드(14)는 2번 노드의 자식 노드로 참여할 수 있다.For example, if there is a new node to participate in the network, since node 1 has four child nodes, the new node 14 can participate as a child node of node 2.

이와 같이, 본 발명은 신규 노드에 다수의 주소 할당 패킷이 도착하거나 주소 할당 패킷을 동시에 전송하려는 경우 발생하는 충돌 문제를 해결하기 위해 네트워크 계층에서 하위 계층으로 패킷을 내려 보내는 시점을 트리 깊이와 노드 ID를 이용하여 결정함으로써, 하위 계층에서 별도의 MAC 기능 없이도 신규 노드에 단지 하나의 부모 노드만이 주소를 제공할 수 있다.As described above, the present invention provides a tree depth and a node ID at a time when a packet is sent from a network layer to a lower layer to solve a collision problem that occurs when a plurality of address allocation packets arrive at a new node or attempt to transmit address allocation packets simultaneously. By determining using, only one parent node can provide an address to a new node without a separate MAC function in the lower layer.

이와 같이, 본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 홈 네트워크 상에 방송하면 이를 수신한 기 참여하는 노드가 유일한 주소를 생성하여 이를 주소 할당 패킷을 통해 제공함으로써, 네트워크의 확장성을 보다 향상 시킬 수도 있다.As such, when the newly participating node broadcasts an address request packet on the home network, the existing participating node that receives it generates a unique address and provides it through an address allocation packet, thereby providing more scalability of the network. It can also be improved.

한편, 본 발명에 따른 트리 깊이와 노드 ID를 이용하는 단순한 우선순위 메커니즘은 앞에서 살펴보는 바와 같이 순차적으로 신규 노드에 중복 검사가 필요 없는 유일한 주소를 할당할 수는 있지만 주소를 제공하는 노드와 주소를 제공 받는 노드 간에는 네트워크 상에서 특별한 관계를 형성하지 못함을 알 수 있다. 이를 해결하기 위하여 본 발명은 수식 기반의 주소 할당 방식을 기초로 하되 전력선 통신 기반의 홈 네트워크에서 유용한 파라미터가 될 수 있는 신호 세기(signal strength)에 기반을 둔 우선순위 메커니즘을 추가로 적용함으로써, 주소 할당 결과로 얻어지는 계층적 트리 구조를 자동 중계 등의 목적으로도 활용할 수 있다.Meanwhile, the simple priority mechanism using the tree depth and the node ID according to the present invention provides a node and an address providing an address, although it is possible to sequentially assign a unique address to a new node that does not need duplicate checking as described above. It can be seen that the receiving nodes do not form a special relationship on the network. In order to solve this problem, the present invention is based on an equation-based address allocation scheme, but by additionally applying a priority mechanism based on signal strength, which can be a useful parameter in a powerline communication-based home network. The hierarchical tree structure resulting from the assignment can also be used for purposes such as automatic relaying.

이때, 자동 중계란 전력선 통신 기반의 홈 네트워크에서 송신 노드와 수신 노드 사이에 위치한 전력선의 노이즈 영향으로 갑자기 직접 통신이 불가능 해지는 경우 물리적으로 두 노드 사이에 위치한 다른 노드들의 중계를 이용해 패킷을 전달할 수 있는 기술을 의미할 수 있다.In this case, automatic relay is a power line communication-based home network, when sudden communication is impossible due to the noise of the power line located between the transmitting node and the receiving node, it is possible to forward the packet using the relay of other nodes physically located between the two nodes. Can mean technology.

제안하는 신호 세기 기반의 자동 주소 할당 메커니즘은 신규 노드의 주소 요청 패킷을 수신하는 기존의 참여 노드들이 수신 신호 세기에 따라 응답 패킷을 생성하는 시점을 달리하도록 하여 동시에 다수의 노드가 주소 할당 패킷을 생성하지 못하도록 할 수 있다.The proposed signal strength-based automatic address allocation mechanism allows the existing participating nodes that receive the address request packet of the new node to generate different time when the response packet is generated according to the received signal strength. You can prevent it.

이는 주소 요청 패킷이 강한 신호로 수신되는 노드는 신규 노드와 물리적으로 가까운 위치에 존재함을 알 수 있고, 신호 세기가 약하게 수신되는 노드는 물리적으로 거리가 떨어진 위치에 존재하는 것으로 간주할 수 있기 때문이다.This is because a node receiving an address request packet with a strong signal exists at a location physically close to a new node, and a node receiving a weak signal strength may be regarded as being located at a physical distance. to be.

따라서, 주소 요청 패킷의 수신 신호 감도가 우수한 경우에는 짧은 대기 시간 후에 응답 패킷 즉, 주소 할당 패킷을 전송하도록 하고, 그렇지 않은 경우에는 긴 시간을 기다려야 주소 할당 패킷 전송의 기회를 맞이할 수 있다. 대기 시간 동안에 이미 다른 노드에 의한 패킷 전송이 일어나거나 신규 노드로부터 주소 할당이 성공적으로 이루어졌다는 방송 패킷을 수신하게 되면 주소 할당 알고리즘은 종료될 수 있다.Therefore, when the received signal sensitivity of the address request packet is excellent, the response packet, that is, the address allocation packet, is transmitted after a short waiting time. If the packet transmission by another node has already occurred during the waiting time or if a broadcast packet is received from the new node that the address allocation has been successfully performed, the address allocation algorithm may be terminated.

도 5는 본 발명의 일실시예에 따른 신호 세기에 따른 자동 주소 할당 방법을 나타내는 예시도이다.5 is an exemplary view illustrating an automatic address allocation method according to signal strength according to an embodiment of the present invention.

도 5에 도시한 바와 같이, 부모 노드(10)-자식 노드(26) 간에는 현재 네트워크 상에서 가장 강한 신호 세기로 패킷을 주고 받을 수 있는 관계임을 보여줄 수 있다. 이러한 계층 구조의 트리는 전력선 통신망에서의 노이즈 발생으로 인해 송신 노드에서 수신 노드로 직접 통신이 불가능해지는 경우 자동 중계에 활용할 수 있는 장점이 있다.As shown in FIG. 5, it can be shown that the parent node 10 and the child node 26 can exchange packets with the strongest signal strength on the current network. This hierarchical tree has an advantage that it can be used for automatic relaying when direct communication from the transmitting node to the receiving node becomes impossible due to noise generation in the power line communication network.

도 6은 본 발명의 일실시예에 따른 트리를 이용한 자동 중계를 설명하기 위한 예시도이다.6 is an exemplary view for explaining an automatic relay using a tree according to an embodiment of the present invention.

도 6에 도시한 바와 같이, 5번 노드가 6번 노드와 직접 통신이 불가능한 경우 5번 노드는 자신과 가장 강한 신호로 통신을 할 수 있는 1번 노드에게 패킷의 중계를 요청하고, 이를 수신한 1번 노드는 수신 노드인 6번 노드와 주소의 하위 비트가 다르기 때문에 자신의 자식 노드가 아님을 알 수 있다. 그래서 1번 노드는 다시 부모 노드인 0번 노드에게 패킷을 전달할 수 있다. 따라서 0번 노드는 수신 노드의 주소와 하위 두 비트가 일치하는 2번 노드에게 패킷을 전달하고, 2번 노드는 자신과 가장 강한 신호로 패킷을 주고 받을 수 있는 6번 노드에게 패킷을 전달할 수 있음을 알 수 있다.As shown in FIG. 6, when node 5 is unable to communicate directly with node 6, node 5 requests relay of packets to node 1, which can communicate with its strongest signal, and receives it. Node 1 is not a child node because node 6 has a lower bit of address than node 6. So node 1 can forward the packet back to node 0, the parent node. Therefore, node 0 can forward the packet to node 2 where the address of the receiving node matches the lower two bits, and node 2 can forward the packet to node 6, which can send and receive packets with its strongest signal. It can be seen.

이와 같이, 본 발명은 신규로 참여하는 노드가 주소 요청 패킷을 가장 강한 신호 세기로 수신하는 기 참여하는 노드가 우선적으로 주소를 생성하여 제공하도록 함으로써, 신호 세기 기반의 주소 할당 트리 구조를 자동 중계에 활동 가능하도록 할 수 있다.As described above, the present invention allows an existing node to receive an address request packet with the strongest signal strength to generate an address preferentially and to provide an address, thereby providing a signal strength-based address allocation tree structure to an automatic relay. You can make the activity possible.

이처럼 본 발명에 따른 자동 주소 할당 방법은 주소 중복검사가 필요없는 짧은 주소(16비트)를 할당하기 위해 신규 노드의 주소 요청 패킷을 수신한 기존의 노드들 중에서 가장 강한 신호 세기로 수신한 노드가 가장 높은 우선 순위를 갖고서 주소를 할당하며, 간단한 수식만으로 중복 검사가 필요없는 주소를 생성하게 되므로 아주 효율적인 메커니즘으로 여겨질 수 있다.As described above, in the automatic address allocation method according to the present invention, the node received with the strongest signal strength among the existing nodes that received the address request packet of the new node in order to allocate a short address (16 bits) that does not need address duplication check is the most. It can be considered a very efficient mechanism because it assigns addresses with high priority and creates addresses that do not require duplicate checking with simple formulas.

아울러 제안 알고리즘이 주소 자동 할당 과정에서 생성되는 부모-자식간의 관계(트리 구조)는 물리적으로 가까이에 위치해 가장 강한 신호로 패킷을 주고 받을 수 있는 관계를 보여주고 있으므로 이를 자동 중계에 직접 활용할 수 있다는 장점을 지닐 수 있다.In addition, the parent-child relationship (tree structure) created by the proposed algorithm in the automatic address allocation process shows the relationship between physically located packets that can send and receive packets with the strongest signal, which can be directly used for automatic relaying. It can have

본 명세서에서 개시된 방법에서 사용되는 기능은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있으며 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The functions used in the methods disclosed herein can be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). do. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

본 발명에 의한, 전력선 통신 기반의 홈 네트워크를 위한 자동 주소 할당 방법은 본 발명의 기술적 사상의 범위 내에서 다양한 형태로 변형, 응용 가능하며 상기 실시 예에 한정되지 않는다. 또한, 상기 실시 예와 도면은 발명의 내용을 상세히 설명하기 위한 목적일 뿐, 발명의 기술적 사상의 범위를 한정하고자 하는 목적은 아니며, 이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형, 및 변경이 가능하므로 상기 실시 예 및 첨부된 도면에 한정되는 것은 아님은 물론이며, 후술하는 청구범위뿐만이 아니라 청구범위와 균등 범위를 포함하여 판단되어야 한다.The automatic address assignment method for power line communication based home network according to the present invention can be modified and applied in various forms within the scope of the technical idea of the present invention and is not limited to the above embodiments. In addition, the embodiments and drawings are merely for the purpose of describing the contents of the invention in detail, not intended to limit the scope of the technical idea of the invention, the present invention described above is common knowledge in the technical field to which the present invention belongs As those skilled in the art can have various substitutions, modifications, and changes without departing from the technical spirit of the present invention, it is not limited to the above embodiments and the accompanying drawings, of course, and not only the claims to be described below but also claims Judgment should be made including scope and equivalence.

도 1은 본 발명의 일실시예에 따른 자동 주소 할당 방법에 의한 네트워크의 구성을 나타내는 예시도이다.1 is an exemplary view showing the configuration of a network by an automatic address assignment method according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 자동 주소 할당 방법을 나타내는 예시도이다.2 is an exemplary view showing an automatic address allocation method according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 우선순위 메커니즘을 설명하기 위한 예시도이다.3 is an exemplary diagram for describing a priority mechanism according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 수식 기반의 자동 주소 할당 방법을 나타내는 예시도이다.4 is an exemplary view showing a formula-based automatic address allocation method according to an embodiment of the present invention.

도 5는 본 발명의 일실시예에 따른 신호 세기에 따른 자동 주소 할당 방법을 나타내는 예시도이다.5 is an exemplary view illustrating an automatic address allocation method according to signal strength according to an embodiment of the present invention.

도 6은 본 발명의 일실시예에 따른 트리를 이용한 자동 중계를 설명하기 위한 예시도이다.6 is an exemplary view for explaining an automatic relay using a tree according to an embodiment of the present invention.

Claims (17)

제1 노드가 주소를 요청하기 위한 주소 요청 패킷을 참여하고자 하는 홈 네트워크에 방송하는 단계;Broadcasting, by the first node, an address request packet for requesting an address to a home network to which the first node intends to participate; 방송된 상기 주소 요청 패킷을 수신한 노드들 중 우선 순위가 가장 높은 제2 노드가 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계; 및Generating, by a second node having the highest priority among the nodes receiving the broadcasted address request packet, a unique address and generating an address allocation packet including the same; And 상기 제2 노드가 생성된 상기 주소 할당 패킷을 상기 제1 노드에 전송하는 단계Transmitting, by the second node, the generated address assignment packet to the first node. 를 포함하는 홈 네트워크를 위한 자동 주소 할당 방법.Automatic address assignment method for a home network comprising a. 제1 항에 있어서,According to claim 1, 상기 주소 할당 패킷을 생성하는 단계는,Generating the address allocation packet, 상기 주소 요청 패킷을 수신한 노드들 중 노드 자신이 속하는 트리 깊이 및 주소의 크기가 가장 작은 상기 제2 노드가 기 설정된 대기 시간을 기다린 후에,After the second node having the smallest tree depth and the address size among the nodes receiving the address request packet waits for a preset waiting time, 유일한 주소를 생성하여 생성된 상기 유일한 주소를 포함하는 주소 할당 패킷을 생성하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.And generating an address assignment packet including the unique address generated by generating a unique address. 제2 항에 있어서,The method of claim 2, 상기 대기 시간은,The waiting time is, 상기 제2 노드 자신이 속하는 트리 깊이 및 주소의 크기에 따라 이에 상응하는 기 설정된 시간인 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.And a predetermined time corresponding to the tree depth to which the second node belongs and the size of the address. 제1 항에 있어서,According to claim 1, 상기 주소 할당 패킷을 생성하는 단계는,Generating the address allocation packet, 방송된 상기 주소 요청 패킷을 수신한 노드들 중 수신 신호 세기가 가장 큰 상기 제2 노드가 기 설정된 대기 시간을 기다린 후에,After the second node having the largest received signal strength among the nodes receiving the broadcasted address request packet waits for a preset waiting time, 유일한 주소를 생성하여 생성된 상기 유일한 주소를 포함하는 주소 할당 패킷을 생성하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.And generating an address assignment packet including the unique address generated by generating a unique address. 제1 항에 있어서,According to claim 1, 상기 대기 시간은,The waiting time is, 상기 제2 노드의 상기 주소 요청 패킷에 대한 수신 신호 세기에 따라 이에 상응하는 기 설정된 시간인 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.And a preset time corresponding to the received signal strength of the address request packet of the second node. 제1 항에 있어서,According to claim 1, 상기 유일한 주소 CID 는,The unique address C ID is CID = PID + 4d * n 에 의해 생성되고,Generated by C ID = P ID + 4 d * n, 여기서, PID는 상기 제2 노드의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟수를 의미하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Wherein P ID is an address of the second node, d is a tree depth, and n is a number of times participating in address assignment. 제1 항에 있어서,According to claim 1, 상기 제1 노드가 상기 주소 할당 패킷을 수신하면, 수신된 상기 주소 할당 패킷에 대한 응답으로 응답 패킷을 생성하여 생성된 상기 응답 패킷을 상기 제2 노드에 전송하는 단계When the first node receives the address assignment packet, generating a response packet in response to the received address assignment packet and transmitting the generated response packet to the second node. 를 더 포함하는 홈 네트워크를 위한 자동 주소 할당 방법.Automatic address assignment method for a home network further comprising. 홈 네트워크에 참여하고자 하는 신규 노드로부터 주소를 요청하기 위한 주소 요청 패킷을 수신하는 단계;Receiving an address request packet for requesting an address from a new node intending to join a home network; 상기 주소 요청 패킷의 수신에 따라 기 설정된 대기 시간을 기다린 후에 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계; 및Generating an address allocation packet including a unique address for the new node after waiting for a preset waiting time according to the reception of the address request packet; And 생성된 상기 주소 할당 패킷을 상기 주소 요청 패킷을 방송한 신규 노드에 전송하는 단계Transmitting the generated address assignment packet to a new node broadcasting the address request packet. 를 포함하는 홈 네트워크를 위한 자동 주소 할당 방법.Automatic address assignment method for a home network comprising a. 제8 항에 있어서,The method of claim 8, 상기 주소 할당 패킷을 생성하는 단계는,Generating the address allocation packet, 자신이 속하는 트리 깊이 및 주소의 크기에 따라 이에 상응하는 기 설정된 대기 시간을 기다린 후에,After waiting for the corresponding waiting time according to the tree depth to which it belongs and the size of the address, 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Generating an address for the new node and generating an address allocation packet including the unique address for the new node. 제8 항에 있어서,The method of claim 8, 상기 주소 할당 패킷을 생성하는 단계는,Generating the address allocation packet, 상기 주소 요청 패킷에 대한 수신 신호 세기에 따라 이에 상응하는 기 설정된 대기 시간을 기다린 후에,After waiting for a corresponding waiting time according to the received signal strength for the address request packet, 상기 신규 노드를 위한 유일한 주소를 생성하여 이를 포함하는 주소 할당 패킷을 생성하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Generating an address for the new node and generating an address allocation packet including the unique address for the new node. 제8 항에 있어서,The method of claim 8, 상기 유일한 주소 CID 는,The unique address C ID is CID = PID + 4d * n 에 의해 생성되고,Generated by C ID = P ID + 4 d * n, 여기서, PID는 자신의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟수를 의미하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Where P ID is its address, d is the tree depth, and n is the number of times it participates in address assignment. 제8 항에 있어서,The method of claim 8, 상기 주소 할당 패킷을 수신한 상기 신규 노드로부터 상기 주소 할당 패킷에 대한 응답으로 응답 패킷을 수신하면, 주소 할당에 참여한 횟수를 하나 증가 시키는 단계If the response packet is received in response to the address allocation packet from the new node that has received the address allocation packet, increasing the number of times of participating in the address allocation by one; 를 더 포함하는 홈 네트워크를 위한 자동 주소 할당 방법.Automatic address assignment method for a home network further comprising. 주소를 요청하기 위한 주소 요청 패킷을 참여하고자 하는 홈 네트워크에 방송하는 단계;Broadcasting an address request packet for requesting an address to a home network to which to participate; 방송된 상기 주소 요청 패킷을 수신한 노드들 중 우선 순위가 가장 높은 참여 노드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계; 및Receiving an address allocation packet including a unique address from a participating node having the highest priority among nodes receiving the broadcasted address request packet; And 수신된 상기 주소 할당 패킷에 포함된 유일한 주소를 자신의 주소로 할당하는 단계Allocating a unique address included in the received address assignment packet as its own address; 를 포함하는 홈 네트워크를 위한 자동 주소 할당 방법.Automatic address assignment method for a home network comprising a. 제13 항에 있어서,The method of claim 13, 상기 주소 할당 패킷을 수신하는 단계는,Receiving the address assignment packet, 상기 주소 요청 패킷을 수신한 노드들 중 노드 자신이 속하는 트리 깊이 및 주소의 크기가 가장 작은 상기 참여 노드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Receiving an address allocation packet including a unique address from the participating node having the smallest tree depth and address size among the nodes that have received the address request packet; Automatic address assignment method. 제13 항에 있어서,The method of claim 13, 상기 주소 할당 패킷을 수신하는 단계는,Receiving the address assignment packet, 상기 주소 요청 패킷을 수신한 노드들 중 상기 주소 요청 패킷에 대한 수신 신호 세기가 가장 큰 상기 참여 노드로부터 유일한 주소를 포함하는 주소 할당 패킷을 수신하는 단계를 포함하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Receiving an address assignment packet including a unique address from the participating node having the largest received signal strength for the address request packet among the nodes that have received the address request packet; Address assignment method. 제13 항에 있어서,The method of claim 13, 상기 유일한 주소 CID 는,The unique address C ID is CID = PID + 4d * n 에 의해 생성되고,Generated by C ID = P ID + 4 d * n, 여기서, PID는 참여 노드의 주소이고, d는 트리 깊이이며 그리고 n은 주소 할당에 참여한 횟수를 의미하는 것을 특징으로 하는 홈 네트워크를 위한 자동 주소 할당 방법.Wherein P ID is an address of a participating node, d is a tree depth, and n means a number of times of participation in address allocation. 제1 항 내지 제16 항 중 어느 한 항의 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for executing the method of any one of claims 1 to 16.
KR1020080084474A 2008-08-28 2008-08-28 self-configuration method for PLC-based home network KR101002411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080084474A KR101002411B1 (en) 2008-08-28 2008-08-28 self-configuration method for PLC-based home network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080084474A KR101002411B1 (en) 2008-08-28 2008-08-28 self-configuration method for PLC-based home network

Publications (2)

Publication Number Publication Date
KR20100025785A true KR20100025785A (en) 2010-03-10
KR101002411B1 KR101002411B1 (en) 2010-12-21

Family

ID=42177210

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080084474A KR101002411B1 (en) 2008-08-28 2008-08-28 self-configuration method for PLC-based home network

Country Status (1)

Country Link
KR (1) KR101002411B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125840A (en) * 2010-05-14 2011-11-22 주식회사 케이티 Apparatus and method on assignment of short address for nodes in wireless networks, and method for processing received frame
CN115589395A (en) * 2021-07-06 2023-01-10 华为技术有限公司 Method for allocating address, method and device for determining node and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110125840A (en) * 2010-05-14 2011-11-22 주식회사 케이티 Apparatus and method on assignment of short address for nodes in wireless networks, and method for processing received frame
CN115589395A (en) * 2021-07-06 2023-01-10 华为技术有限公司 Method for allocating address, method and device for determining node and storage medium

Also Published As

Publication number Publication date
KR101002411B1 (en) 2010-12-21

Similar Documents

Publication Publication Date Title
Goldfisher et al. IEEE 1901 access system: An overview of its uniqueness and motivation
CN101273580B (en) Managing spectra of modulated signals in a communication network
CN110856194B (en) Dual-mode fusion networking method and communication method
EP1864227B1 (en) Simple installation of devices on a network
CN110661551B (en) Method for adaptively adjusting beacon period time slot number
CN110572187B (en) Networking method for broadband power line communication network
US7460555B2 (en) Terminal apparatus
US9182248B2 (en) Power line communication network and discovery process
JP2007037138A (en) Method and device for managing hidden station in centrally controlled network
CN112073920B (en) Networking method of wireless grid network node and network node equipment
JP2002158667A (en) Radio equipment and radio network
US9871630B2 (en) Hybrid communication networks
JP2014506404A (en) Routing protocol for power line communication
JP2010045800A (en) Terminal device and method for master-slave handover in media access communication system
KR20100096217A (en) Method, system, integrated circuit, communication module, and computer-readable medium for achieving resource sharing including space and time reuse within a power line communication system
CN111556592B (en) Networking method and device, LoRa equipment and storage medium
CN109788444B (en) Node networking method applied to high-density multi-hop network
KR20150079703A (en) Multi-instance powerline communication system
JP2014507080A (en) Medium access control layer for power line communication
KR101002411B1 (en) self-configuration method for PLC-based home network
JP5286514B2 (en) Power line carrier communication system
WO2021035652A1 (en) Communication method, communication apparatus, and system
JP2015170970A (en) communication system
CN102006266A (en) Method for configuring service quality parameter, remote access server and system
CN110868343B (en) KNX node automatic discovery method and KNX system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20131010

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20141216

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee