KR102163670B1 - Methods and apparatuses for routing in tree structured network - Google Patents

Methods and apparatuses for routing in tree structured network Download PDF

Info

Publication number
KR102163670B1
KR102163670B1 KR1020190093954A KR20190093954A KR102163670B1 KR 102163670 B1 KR102163670 B1 KR 102163670B1 KR 1020190093954 A KR1020190093954 A KR 1020190093954A KR 20190093954 A KR20190093954 A KR 20190093954A KR 102163670 B1 KR102163670 B1 KR 102163670B1
Authority
KR
South Korea
Prior art keywords
address
node
notification packet
destination
federation
Prior art date
Application number
KR1020190093954A
Other languages
Korean (ko)
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 KR1020190093954A priority Critical patent/KR102163670B1/en
Priority to PCT/KR2019/014182 priority patent/WO2021020649A1/en
Application granted granted Critical
Publication of KR102163670B1 publication Critical patent/KR102163670B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a routing method and apparatus in a tree structure network. According to an embodiment of the present invention, a routing method in a tree structure network comprises the steps of: selecting a parent node to be connected to the tree structure network; updating a routing table by setting an address of the selected parent node to a next address; generating an association notification packet based on the set next address and the address of a destination node and transmitting it to the destination node through the parent node; and receiving a federation notification response packet from the destination node through the parent node.

Description

트리 구조 네트워크에서의 라우팅 방법 및 장치{METHODS AND APPARATUSES FOR ROUTING IN TREE STRUCTURED NETWORK}Routing method and apparatus in tree structure network {METHODS AND APPARATUSES FOR ROUTING IN TREE STRUCTURED NETWORK}

본 발명은 트리 구조 네트워크에서의 라우팅 방법에 관한 것이다.The present invention relates to a routing method in a tree structured network.

일반적으로, 개인 영역 네트워크(Personal Area Network: PAN)는 널리 알려진 근거리통신망(LAN)이나 원거리통신망(WAN)과 대비되는 개념으로 개인마다 각각 고유한 네트워크를 갖게 한다. 예를 들어, PAN은 무선 센서 네트워크와 홈 네트워크 등 다양한 분야에 이용될 수 있다. 이러한 PAN을 무선으로 구현하기 위한 노력에 따라 IEEE 802.15.3 표준으로 고속 무선 개인 영역 네트워크 규격이 발표됨과 아울러 IEEE 802.15.4-2003 표준으로 저전력 무선 개인 영역 네트워크(Low power Wireless Personal Area Netowrks: LoWPAN) 규격이 발표되었다.In general, a personal area network (PAN) is a concept in contrast to a widely known local area network (LAN) or a long-distance network (WAN), and each individual has a unique network. For example, PAN can be used in various fields such as wireless sensor networks and home networks. In accordance with the efforts to implement such PAN wirelessly, the high-speed wireless personal area network standard was announced as the IEEE 802.15.3 standard, and low power wireless personal area networks (LoWPAN) as the IEEE 802.15.4-2003 standard. Specifications have been published.

데이터통신에 이용되는 무선 개인영역 네트워크(WPAN: Wireless Personal Area Network)에서의 매체 접근 제어(MAC: Medium Access Control) 계층은 코디네이터 노드와 주변 노드들로 이루어진 개인영역 네트워크(PAN)를 형성하는 기능을 수행하고, 개인영역 네트워크에서 코디네이터 노드와 주변 노드들 간의 데이터를 전송하는 계층을 말한다. 이러한 MAC 계층에 대한 통신 기술에는 각종 프레임 정보, 채널 스캔 방식, 장치의 등록 방식, 채널 접속 방식, 직접 및 간접 데이터 전송 방식 등이 정의되어 있다. 그리고 무선 개인영역 네트워크 기술에서 데이터통신과 거리측정이 동시에 이루어지도록 하는 물리 계층과 MAC 계층의 기능이 제시되어 있다.The medium access control (MAC) layer in a wireless personal area network (WPAN) used for data communication functions to form a personal area network (PAN) consisting of a coordinator node and neighboring nodes. And transmits data between the coordinator node and neighboring nodes in the personal area network. In the communication technology for the MAC layer, various frame information, channel scan method, device registration method, channel access method, direct and indirect data transmission method, and the like are defined. In addition, the functions of the physical layer and the MAC layer to simultaneously perform data communication and distance measurement in wireless personal area network technology are presented.

그러나 종래의 MAC 계층인 계층 2(Layer 2, L2)에서는 노드 간의 P2P 데이터만 전송 가능하다. 따라서 종래의 계층 2에서는 라우팅이 수행되지 않고, 라우팅을 위해 상위 네트워크 계층이 필요하다. However, only P2P data between nodes can be transmitted in the conventional MAC layer, Layer 2 (L2). Therefore, routing is not performed in the conventional layer 2, and an upper network layer is required for routing.

대한민국 공개특허공보 제10-2010-0004944호(2010년01월13일 공개)Republic of Korea Patent Publication No. 10-2010-0004944 (published on January 13, 2010)

본 발명의 실시예들은 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서 L2(Layer 2) 계층을 통해 라우팅을 수행할 수 있는, 트리 구조 네트워크에서의 라우팅 방법 및 장치를 제공하고자 한다.Embodiments of the present invention are intended to provide a routing method and apparatus in a tree structure network capable of performing routing through a layer 2 (L2) layer in a tree structure network in which a plurality of nodes are connected in a tree structure.

본 발명의 일 실시예에 따르면, 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서의 라우팅 방법에 있어서, 트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하는 단계; 상기 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하는 단계; 상기 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 상기 부모 노드를 통해 목적지 노드로 전송하는 단계; 및 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 부모 노드를 통해 수신하는 단계를 포함하는, 트리 구조 네트워크에서의 라우팅 방법이 제공될 수 있다.According to an embodiment of the present invention, there is provided a routing method in a tree structure network in which a plurality of nodes are connected in a tree structure, the method comprising: selecting a parent node to be connected to the tree structure network; Updating a routing table by setting the address of the selected parent node to a next address; Generating an association notification packet based on the set next address and the address of the destination node and transmitting the packet to the destination node through the parent node; And receiving a federation notification response packet from the destination node through the parent node, a routing method in a tree structure network may be provided.

상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함될 수 있다.The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in a frame payload.

상기 부모 노드를 선택하는 단계는, 상기 트리 구조 네트워크에서의 복수의 노드로의 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택하거나, 상기 복수의 노드 중에서 수동으로 어느 하나의 노드를 부모 노드로 선택할 수 있다.The selecting of the parent node may include selecting a parent node using a beacon received through a beacon request to a plurality of nodes in the tree structure network, or manually selecting one node from among the plurality of nodes. You can choose

한편, 본 발명의 다른 실시예에 따르면, 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서의 라우팅 방법에 있어서, 트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하는 단계; 상기 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하는 단계; 상기 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 상기 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하는 단계; 및 상기 업데이트된 라우팅 테이블을 기반으로 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송하는 단계를 포함하는, 트리 구조 네트워크에서의 라우팅 방법이 제공될 수 있다.Meanwhile, according to another embodiment of the present invention, there is provided a routing method in a tree structure network in which a plurality of nodes are connected in a tree structure, the method comprising: receiving an association notification packet from a previous node in the tree structure network; Updating a routing table by setting the address of the previous node based on the next address set in the received federation notification packet; Comparing the destination address and the next address set in the received federation notification packet with its own address, generating a new federation notification packet according to the comparison result, and transmitting it to the destination node through the next node; And transmitting, to the previous node, a federation notification response packet replied from the destination node based on the updated routing table, a routing method in a tree structure network.

상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함할 수 있다.The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in a frame payload.

상기 방법은, 상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소이면 자신을 목적지 노드로 판단하고 상기 수신된 연합 통지 패킷을 확인하는 단계를 더 포함할 수 있다.The method may further include determining itself as a destination node if the destination address and the next address are the own address and confirming the received federation notification packet.

상기 방법은, 상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소가 아니면 상기 수신된 연합 통지 패킷을 폐기하는 단계를 더 포함할 수 있다.The method may further include discarding the received federation notification packet if the destination address and the next address are not the own address.

상기 목적지 노드로 전송하는 단계는, 상기 목적지 주소가 상기 자신의 주소가 아니고 상기 다음 주소가 자신의 주소이면 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송할 수 있다.In the step of transmitting to the destination node, if the destination address is not the own address and the next address is its own address, a new association notification packet may be generated and transmitted to the destination node through the next node.

상기 목적지 노드로 중계하는 단계는, 상기 자신의 주소를 소스 주소로 설정하고 상기 다음 노드의 주소를 다음 주소로 설정하여 상기 신규 연합 통지 패킷을 생성할 수 있다.The relaying to the destination node may generate the new association notification packet by setting the own address as a source address and setting the address of the next node as the next address.

한편, 본 발명의 다른 실시예에 따르면, 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서 다른 노드와 통신하는 통신 모듈; 적어도 하나의 프로그램을 저장하는 메모리; 및 상기 통신 모듈 및 상기 메모리와 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 적어도 하나의 프로그램을 실행함으로써, 트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하고, 상기 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하고, 상기 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 상기 부모 노드를 통해 목적지 노드로 전송하고, 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 부모 노드를 통해 수신하는, 트리 구조 네트워크에서의 라우팅 장치가 제공될 수 있다.Meanwhile, according to another embodiment of the present invention, a communication module for communicating with other nodes in a tree structure network in which a plurality of nodes are connected in a tree structure; A memory for storing at least one program; And a processor connected to the communication module and the memory, wherein the processor selects a parent node to be connected to a tree structure network by executing the at least one program, and transfers the address of the selected parent node to a next address. It sets and updates the routing table, generates a federation notification packet based on the set next address and the address of the destination node, transmits it to the destination node through the parent node, and sends the federation notification response packet replied from the destination node to the parent A routing device in a tree structured network may be provided that receives via a node.

상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함될 수 있다.The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in a frame payload.

상기 프로세서는, 상기 트리 구조 네트워크에서의 복수의 노드에 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택하거나, 상기 복수의 노드 중에서 수동으로 어느 하나의 노드를 부모 노드로 선택할 수 있다.The processor may select a parent node using a beacon received through a beacon request from a plurality of nodes in the tree structure network, or may manually select any one node as a parent node from among the plurality of nodes.

한편, 본 발명의 다른 실시예에 따르면, 트리 구조 네트워크에서 다른 노드와 통신하는 통신 모듈; 적어도 하나의 프로그램을 저장하는 메모리; 및 상기 통신 모듈 및 상기 메모리와 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 적어도 하나의 프로그램을 실행함으로써, 트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하고, 상기 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하고, 상기 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 상기 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하고, 상기 업데이트된 라우팅 테이블을 기반으로 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송하는, 트리 구조 네트워크에서의 라우팅 장치가 제공될 수 있다.Meanwhile, according to another embodiment of the present invention, a communication module for communicating with other nodes in a tree structure network; A memory for storing at least one program; And a processor connected to the communication module and the memory, wherein the processor receives an association notification packet from a previous node in a tree structure network by executing the at least one program, and is set in the received association notification packet. Set the address of the previous node based on the address to update the routing table, compare the destination address and the next address set in the received federation notification packet with its own address, and generate a new federation notification packet according to the comparison result Thus, a routing apparatus in a tree structure network may be provided, which transmits to the destination node through the next node and transmits the federation notification response packet responded from the destination node to the previous node based on the updated routing table.

상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함될 수 있다.The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in a frame payload.

상기 프로세서는, 상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소이면 자신을 목적지 노드로 판단하고 상기 수신된 연합 통지 패킷을 확인할 수 있다.If the destination address and the next address are the own addresses, the processor may determine itself as a destination node and check the received federation notification packet.

상기 프로세서는, 상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소가 아니면 상기 수신된 연합 통지 패킷을 폐기할 수 있다.If the destination address and the next address are not the own address, the processor may discard the received association notification packet.

상기 프로세서는, 상기 목적지 주소가 상기 자신의 주소가 아니고 상기 다음 주소가 자신의 주소이면 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송할 수 있다.If the destination address is not the own address and the next address is its own address, the processor may generate a new association notification packet and transmit it to the destination node through the next node.

상기 프로세서는, 상기 자신의 주소를 소스 주소로 설정하고 상기 다음 노드의 주소를 다음 주소로 설정하여 상기 신규 연합 통지 패킷을 생성할 수 있다.The processor may generate the new association notification packet by setting its own address as a source address and setting the address of the next node as the next address.

본 발명의 실시예들은 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서 L2(Layer 2) 계층을 통해 라우팅을 수행할 수 있다.Embodiments of the present invention may perform routing through an L2 (Layer 2) layer in a tree structure network in which a plurality of nodes are connected in a tree structure.

도 1은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에 대한 흐름도이다.
도 2는 본 발명의 다른 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에 대한 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에서 사용되는 커멘트를 나타낸 도면이다.
도 4은 종래의 MAC 프레임 포맷과 본 발명의 일 실시예에서 사용되는 MAC 프레임 포맷을 나타낸 도면이다.
도 5는 본 발명의 일 실시예에 따른 연합 통지 패킷 및 연합 통지 응답 패킷의 동작을 나타낸 도면이다.
도 6 내지 도 9는 본 발명의 일 실시예에 따른 연합 통지 패킷의 전송 동작별 연합 통지 패킷의 프레임 및 라우팅 테이블을 나타낸 도면이다.
도 10은 본 발명의 일 실시예에 따른 트리 구조 네트워크의 노드에 의해 수행되는 라우팅 동작에 대한 흐름도이다.
도 11은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 장치의 구성을 설명하기 위한 구성도이다.
1 is a flowchart of a routing method in a tree structure network according to an embodiment of the present invention.
2 is a flow chart of a routing method in a tree structure network according to another embodiment of the present invention.
3 is a diagram showing comments used in a routing method in a tree structure network according to an embodiment of the present invention.
4 is a diagram showing a conventional MAC frame format and a MAC frame format used in an embodiment of the present invention.
5 is a diagram illustrating an operation of an association notification packet and an association notification response packet according to an embodiment of the present invention.
6 to 9 are diagrams illustrating frames and routing tables of an association notification packet for each transmission operation of an association notification packet according to an embodiment of the present invention.
10 is a flowchart of a routing operation performed by a node in a tree structure network according to an embodiment of the present invention.
11 is a block diagram illustrating a configuration of a routing device in a tree structure network according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다.Since the present invention can make various changes and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail.

그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.However, this is not intended to limit the present invention to a specific embodiment, it is to be understood to include all changes, equivalents, or substitutes included in the spirit and scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. These terms are used only for the purpose of distinguishing one component from another component. For example, without departing from the scope of the present invention, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element. The term and/or includes a combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it is understood that it may be directly connected or connected to the other component, but other components may exist in the middle. Should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the present application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present application, terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or addition of elements or numbers, steps, actions, components, parts, or combinations thereof, does not preclude in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. Terms such as those defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related technology, and should not be interpreted as an ideal or excessively formal meaning unless explicitly defined in this application. Does not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in more detail with reference to the accompanying drawings. In describing the present invention, in order to facilitate an overall understanding, the same reference numerals are used for the same elements in the drawings, and duplicate descriptions for the same elements are omitted.

도 1은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에 대한 흐름도이다.1 is a flowchart of a routing method in a tree structure network according to an embodiment of the present invention.

트리 구조 네트워크에서 1번 노드(11) 및 2번 노드(12)가 트리 구조로 연결되는 예시가 도 1에 도시되어 있다. 3번 노드(13)가 트리 구조 네트워크에 연합하고자 하는 경우의 라우팅 방법을 설명하기로 한다. 여기서, 본 발명의 일 실시예는 특정 네트워크로 한정되지 않으며, 복수의 노드가 포함된 무선 네트워크에 적용될 수 있다.In the tree structure network, an example in which the first node 11 and the second node 12 are connected in a tree structure is illustrated in FIG. 1. A routing method in the case where the third node 13 wishes to associate with the tree structure network will be described. Here, an embodiment of the present invention is not limited to a specific network, and may be applied to a wireless network including a plurality of nodes.

단계 S101에서, 3번 노드(13)는 트리 구조 네트워크에 포함된 노드들에 비컨 요청(Beacon request) 패킷을 전송한다. In step S101, the third node 13 transmits a beacon request packet to nodes included in the tree structure network.

단계 S102에서, 3번 노드(13)는 비컨 요청에 대한 응답으로 비컨을 수신한다. In step S102, the third node 13 receives a beacon in response to the beacon request.

단계 S103에서, 3번 노드(13)는 수신된 비컨을 기반으로 트리 구조 네트워크에 연결되기 위한 부모 노드를 선택한다. 일례로, 3번 노드(13)는 가장 근접하게 위치한 2번 노드(12)를 부모 노드로 선택할 수 있다. 즉, 3번 노드(13)는 트리 구조 네트워크에서의 복수의 노드로의 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택할 수 있다.In step S103, the third node 13 selects a parent node to be connected to the tree structure network based on the received beacon. For example, node 3 13 may select node 2 12, which is located closest to, as a parent node. That is, the third node 13 may select the parent node by using the beacon received through a beacon request to a plurality of nodes in the tree structure network.

단계 S104에서, 3번 노드(13)는 수신된 비컨을 기반으로 라우팅 테이블을 업데이트한다. 여기서, 3번 노드(13)는 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S104, the third node 13 updates the routing table based on the received beacon. Here, the third node 13 may update the routing table by setting the address of the selected parent node to the next address.

단계 S105에서, 3번 노드(13)는 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지(association notification) 패킷을 생성하여 부모 노드인 2번 노드(12)로 전송한다. 이는 연합 통지 패킷을 2번 노드(12)를 통해 목적지 노드인 1번 노드(11)로 전송하기 위함이다. In step S105, the third node 13 generates an association notification packet based on the set next address and the address of the destination node and transmits it to the second node 12, which is a parent node. This is to transmit the federation notification packet to the first node 11, which is the destination node, through the second node 12.

단계 S106에서, 2번 노드(12)는 3번 노드(13)로부터 수신된 연합 통지 패킷을 기반으로 라우팅 테이블을 업데이트한다. 여기서, 2번 노드(12)는 3번 노드(13)를 자식 노드로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S106, the second node 12 updates the routing table based on the federation notification packet received from the third node 13. Here, the second node 12 may update the routing table by setting the third node 13 as a child node.

단계 S107에서, 2번 노드(12)는 부모 노드인 1번 노드(11)의 주소를 다음 주소로 설정하고, 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 부모 노드인 1번 노드(11)로 전송한다. In step S107, the second node 12 sets the address of the first node 11, which is the parent node, as the next address, and generates a federation notification packet based on the set next address and the address of the destination node, It transmits to node 11.

단계 S108에서, 1번 노드(11)는 2번 노드(12)로부터 수신된 연합 통지 패킷을 기반으로 라우팅 테이블을 업데이트한다. 여기서, 1번 노드(11)는 2번 노드(12)를 자식 노드로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S108, the first node 11 updates the routing table based on the federation notification packet received from the second node 12. Here, the first node 11 may update the routing table by setting the second node 12 as a child node.

단계 S109에서, 1번 노드(11)는 수신된 연합 통지 패킷에 대한 응답으로 연합 통지 응답(Association notification ack) 패킷을 생성하여 2번 노드(12)로 전송한다.In step S109, node 1 11 generates an Association notification ack packet in response to the received association notification packet and transmits it to node 2 12.

단계 S110에서, 2번 노드(12)는 수신된 연합 통지 응답 패킷을 3번 노드(13)로 전송한다. 이후, 3번 노드(13)는 수신된 연합 통지 응답 패킷을 통해 단계 S105에서 전송한 연합 통지 패킷이 1번 노드(11)에 전송이 완료된 것을 확인할 수 있다. In step S110, the second node 12 transmits the received federation notification response packet to the third node 13. Thereafter, the third node 13 may confirm that the transmission of the federation notification packet transmitted in step S105 is completed to the first node 11 through the received federation notification response packet.

도 2는 본 발명의 다른 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에 대한 흐름도이다.2 is a flow chart of a routing method in a tree structure network according to another embodiment of the present invention.

단계 S201에서, 3번 노드(13)는 2번 노드(12)를 부모 노드로 수동으로 선택한다. 이와 같이, 3번 노드(13)는 트리 구조 네트워크에 포함된 복수의 노드 중에서 수동으로 부모 노드를 선택할 수 있다. In step S201, the third node 13 manually selects the second node 12 as a parent node. In this way, the third node 13 may manually select a parent node from among a plurality of nodes included in the tree structure network.

단계 S202에서, 3번 노드(13)는 수동으로 선택된 2번 노드(12)의 주소를 기반으로 라우팅 테이블을 업데이트한다. 여기서, 3번 노드(13)는 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S202, the third node 13 updates the routing table based on the manually selected address of the second node 12. Here, the third node 13 may update the routing table by setting the address of the selected parent node to the next address.

단계 S203에서, 3번 노드(13)는 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 부모 노드인 2번 노드(12)로 전송한다. 이는 연합 통지 패킷을 2번 노드(12)를 통해 목적지 노드인 1번 노드(11)로 전송하기 위함이다. In step S203, the third node 13 generates an association notification packet based on the set next address and the address of the destination node, and transmits it to the second node 12, which is a parent node. This is to transmit the federation notification packet to the first node 11, which is the destination node, through the second node 12.

단계 S204에서, 2번 노드(12)는 3번 노드(13)로부터 수신된 연합 통지 패킷을 기반으로 라우팅 테이블을 업데이트한다. 여기서, 2번 노드(12)는 3번 노드(13)를 자식 노드로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S204, the second node 12 updates the routing table based on the federation notification packet received from the third node 13. Here, the second node 12 may update the routing table by setting the third node 13 as a child node.

단계 S205에서, 2번 노드(12)는 부모 노드인 1번 노드(11)의 주소를 다음 주소로 설정하고, 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 부모 노드인 1번 노드(11)로 전송한다. In step S205, the second node 12 sets the address of the first node 11, which is the parent node, to the next address, and generates a federation notification packet based on the set next address and the address of the destination node, It transmits to node 11.

단계 S206에서, 1번 노드(11)는 2번 노드(12)로부터 수신된 연합 통지 패킷을 기반으로 라우팅 테이블을 업데이트한다. 여기서, 1번 노드(11)는 2번 노드(12)를 자식 노드로 설정하여 라우팅 테이블을 업데이트할 수 있다.In step S206, the first node 11 updates the routing table based on the federation notification packet received from the second node 12. Here, the first node 11 may update the routing table by setting the second node 12 as a child node.

단계 S207에서, 1번 노드(11)는 수신된 연합 통지 패킷에 대한 응답으로 연합 통지 응답 패킷을 생성하여 2번 노드(12)로 전송한다.In step S207, node 1 11 generates an association notification response packet in response to the received association notification packet and transmits it to node 2 12.

단계 S208에서, 2번 노드(12)는 수신된 연합 통지 응답 패킷을 3번 노드(13)로 전송한다. 이후, 3번 노드(13)는 수신된 연합 통지 응답 패킷을 통해 단계 S203에서 전송한 연합 통지 패킷이 1번 노드(11)에 전송이 완료된 것을 확인할 수 있다. In step S208, the second node 12 transmits the received federation notification response packet to the third node 13. Thereafter, the third node 13 may confirm that the transmission of the federation notification packet transmitted in step S203 is completed to the first node 11 through the received federation notification response packet.

도 3은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 방법에서 사용되는 커멘트를 나타낸 도면이다.3 is a diagram showing comments used in a routing method in a tree structure network according to an embodiment of the present invention.

트리 구조 네트워크에서의 라우팅 방법에서 사용되는 커멘트가 도 3에 도시되어 있다. 커멘드는 기존 IEEE802.15.4에 규정된 커멘드와 본 발명의 일 실시예에서 사용되는 신규 커멘드로 구분된다. 기존 IEEE802.15.4에 규정된 커멘드에는 커멘트 ID가 0x01인 연합 요청(Association Request) 커멘드, 커멘트 ID가 0x02인 연합 응답(Association Response) 커멘드, 커멘트 ID가 0x03인 분리 통지(Disassociation Notification) 커멘드, 커멘트 ID가 0x04인 데이터 요청(Data request) 커멘드, 커멘트 ID가 0x05인 PAN ID 충돌 통지(PAN ID Conflict Notification) 커멘드, 커멘트 ID가 0x06인 고아 통지(Orphan Notification) 커멘드, 커멘트 ID가 0x07인 비컨 요청(Beacon Request) 커멘드, 커멘트 ID가 0x08인 코디네이터 재편성(Coordinator realignment) 커멘드, 커멘트 ID가 0x09인 GTS 요청(GTS request) 커멘드, 커멘트 ID가 0x0A인 TRLE 관리 요청(TRLE Management Reques) 커멘드, 커멘트 ID가 0x0B인 TRLE 관리 응답(TRLE Management Response) 커멘드가 포함될 수 있다. 본 발명의 일 실시예에서 사용되는 신규 커멘드에는 커멘트 ID가 0x0c이 연합 통지(Association Notification) 커멘드, 커멘트 ID가 0x0d인 연합 통지 응답(Association Notification Ack) 커멘드가 포함될 수 있다.Comments used in a routing method in a tree structured network are shown in FIG. 3. The commands are divided into a command specified in the existing IEEE 802.15.4 and a new command used in an embodiment of the present invention. The existing commands specified in IEEE802.15.4 include an Association Request command with a comment ID of 0x01, an Association Response command with a comment ID of 0x02, a Disassociation Notification command with a comment ID of 0x03, and a comment ID. Data request command with 0x04, PAN ID Conflict Notification command with comment ID 0x05, Orphan Notification command with comment ID 0x06, Beacon request with comment ID 0x07 Request) Command, Coordinator realignment command with comment ID 0x08, GTS request command with comment ID 0x09, TRLE Management Reques command with comment ID 0x0A, and comment ID 0x0B A TRLE Management Response command may be included. The new command used in an embodiment of the present invention may include an Association Notification command with a comment ID of 0x0c and an Association Notification Ack command with a comment ID of 0x0d.

도 4은 종래의 MAC 프레임 포맷과 본 발명의 일 실시예에서 사용되는 MAC 프레임 포맷을 나타낸 도면이다.4 is a diagram showing a conventional MAC frame format and a MAC frame format used in an embodiment of the present invention.

도 4의 (a)에는 종래의 MAC 프레임 포맷이 도시되어 있다. 종래의 MAC 프레임 포맷에는 프레임 제어(frame control), 시퀀스 번호(Sequence number), 목적지 PAN ID(Destiantion PAN ID), 목적지 주소(Destination Address), 소스 주소(Source address), 프레임 페이로드(Frame Payload) 및 FCS(Frame Check Sequence)가 포함된다. 4A shows a conventional MAC frame format. In the conventional MAC frame format, frame control, sequence number, destination PAN ID (Destiantion PAN ID), destination address, source address, frame payload And FCS (Frame Check Sequence).

도 4의 (b)에는 본 발명의 일 실시예에서 사용되는 MAC 프레임 포맷이 도시되어 있다. 본 발명의 일 실시예에서 사용되는 MAC 프레임 포맷에는 프레임 제어(frame control), 시퀀스 번호(Sequence number), 목적지 PAN ID(Destiantion PAN ID), 목적지 주소(Destination Address), 소스 주소(Source address), 프레임 페이로드(Frame Payload) 및 FCS(Frame Check Sequence)가 포함되고, 프레임 페이로드(Frame Payload)에는 트리 구조 네트워크에서의 라우팅 방법을 위한 다음 주소(Next Address)와 페이로드(Payload)가 포함된다. 다음 주소(Next Address)는 트리 구조에서 다음 노드의 주소를 나타낸다. 변형 예로, 다음 주소(Next Address)는 MAC 프레임 포맷에서 도 4의 (b)와 다르게 위치할 수 있으며, 특정 위치로 한정되지 않는다. 4B shows the MAC frame format used in an embodiment of the present invention. The MAC frame format used in an embodiment of the present invention includes frame control, sequence number, destination PAN ID (Destiantion PAN ID), destination address, source address, Frame Payload and Frame Check Sequence (FCS) are included, and Frame Payload includes Next Address and Payload for routing methods in a tree-structured network. . Next Address represents the address of the next node in the tree structure. As a modified example, the next address may be located differently from (b) of FIG. 4 in the MAC frame format, and is not limited to a specific location.

도 5는 본 발명의 일 실시예에 따른 연합 통지 패킷 및 연합 통지 응답 패킷의 동작을 나타낸 도면이다.5 is a diagram illustrating an operation of an association notification packet and an association notification response packet according to an embodiment of the present invention.

트리 구조 네트워크에서 0번 내지 3번 노드(10 내지 13)가 트리 구조로 연결되고, 4번 노드(14)가 트리 구조 네트워크에 연합하고자 하는 경우의 패킷 전송 동작을 설명하기로 한다.In the tree structure network, a packet transmission operation when nodes 0 to 3 (10 to 13) are connected in a tree structure and node 4 (14) is to be associated with the tree structure network will be described.

4번 노드(14)는 3번 노드(13)의 주소를 다음 주소로 설정하고 0번 노드(10)의 주소를 목적지 노드의 주소로 설정한 연합 통지 패킷을 생성하여 3번 노드(13)에 전송한다. 그리고 3번 노드(13)는 2번 노드(12)의 주소를 다음 주소로 설정한 연합 통지 패킷을 생성하여 2번 노드(12)에 전송한다. 2번 노드(12)는 1번 노드(11)의 주소를 다음 주소로 설정한 연합 통지 패킷을 생성하여 1번 노드(11)에 전송한다. 이어서, 1번 노드(11)는 0번 노드(10)의 주소를 다음 주소로 설정한 연합 통지 패킷을 생성하여 0번 노드(10)에 전송한다. 여기서, 목적지 노드의 주소는 0번 노드(10)의 주소로 설정되어 있다.Node 4 (14) generates a federation notification packet in which the address of node 3 (13) is set as the next address and the address of node 0 (10) is the address of the destination node, and sends it to node 3 (13). send. In addition, the third node 13 generates an association notification packet in which the address of the second node 12 is set to the next address and transmits it to the second node 12. The second node 12 generates an association notification packet in which the address of the first node 11 is set to the next address and transmits it to the first node 11. Subsequently, node 1 11 generates an association notification packet in which the address of node 0 10 is set to the next address and transmits it to node 0 10. Here, the address of the destination node is set to the address of node 0 (10).

한편, 0번 노드(10)는 수신된 연합 통지 패킷에 대한 응답으로 연합 통지 응답 패킷을 생성하여 1번 노드(11)로 전송한다. 연합 통지 패킷의 전송 방향과 반대로, 0번 노드(10)는 1번 노드(11)의 주소를 다음 주소로 설정하고 4번 노드(14)의 주소를 목적지 노드의 주소로 설정한 연합 통지 응답 패킷을 생성하여 1번 노드(11)에 전송한다. 그리고 1번 노드(11)는 2번 노드(12)의 주소를 다음 주소로 설정한 연합 통지 응답 패킷을 생성하여 2번 노드(12)에 전송한다. 2번 노드(12)는 3번 노드(13)의 주소를 다음 주소로 설정한 연합 통지 응답 패킷을 생성하여 3번 노드(13)에 전송한다. 이어서, 3번 노드(13)는 4번 노드(14)의 주소를 다음 주소로 설정한 연합 통지 응답 패킷을 생성하여 4번 노드(14)에 전송한다. 여기서, 목적지 노드의 주소는 4번 노드(14)의 주소로 설정되어 있다. On the other hand, node 0 10 generates an association notification response packet in response to the received association notification packet and transmits it to node 1 11. Contrary to the transmission direction of the federation notification packet, node 0 (10) sets the address of node 1 (11) to the next address and the address of node 4 (14) is set as the address of the destination node. Is generated and transmitted to node 1 (11). In addition, node 1 11 generates an association notification response packet in which the address of node 2 12 is set to the next address and transmits it to node 2 12. The second node 12 generates a federation notification response packet in which the address of the third node 13 is set to the next address, and transmits it to the third node 13. Subsequently, the third node 13 generates an association notification response packet in which the address of the fourth node 14 is set to the next address, and transmits it to the fourth node 14. Here, the address of the destination node is set to the address of the fourth node 14.

도 6 내지 도 9는 본 발명의 일 실시예에 따른 연합 통지 패킷의 전송 동작별 연합 통지 패킷의 프레임 및 라우팅 테이블을 나타낸 도면이다.6 to 9 are diagrams illustrating frames and routing tables of an association notification packet for each transmission operation of an association notification packet according to an embodiment of the present invention.

도 6의 (a)에 도시된 바와 같이, 4번 노드(14)가 3번 노드(13)에 연합 통지 패킷을 전송하는 경우를 설명하기로 한다.As shown in (a) of FIG. 6, a case where the fourth node 14 transmits an association notification packet to the third node 13 will be described.

4번 노드(14)가 전송한 연합 통지 패킷의 프레임은 도 6의 (b)에 도시되어 있다. 우선, 연합 통지 패킷의 프레임은 연합 통지(Association Notification), 시퀀스 번호(Sequnce Number), 목적지 PAN ID(Destination PAN ID), 목적지 주소(Destination Address), 소스 주소(Source Address), IE, 프레임 페이로드(Frame payload), FCS(Frame Check Sequence)로 구성된다.The frame of the association notification packet transmitted by the fourth node 14 is shown in FIG. 6B. First, the frames of the association notification packet are Association Notification, Sequence Number, Destination PAN ID, Destination Address, Source Address, IE, and frame payload. It is composed of (Frame payload) and FCS (Frame Check Sequence).

여기서, 4번 노드(14)가 전송한 연합 통지 패킷의 프레임에서 목적지 주소는 코디네이터(Coordinator)인 0번 노드(10)의 주소(0x00)가 설정된다. 소스 주소는 자신의 주소(My address)인 4번 노드(14)의 주소(0x04)가 설정된다. 프레임 페이로드에서의 다음 주소(Next Address)는 다음 노드인 3번 노드(13)의 주소(0x03)가 설정된다. 또한, 프레임 페이로드에는 4번 노드(14)가 생성한 연합 통지 패킷을 나타내는 디바이스 주소(0x04)가 설정된다. Here, in the frame of the association notification packet transmitted by node 4 14, the destination address is the address (0x00) of node 0 10, which is a coordinator. The source address is the address (0x04) of node 4, which is its own address (My address). As the next address in the frame payload, the address (0x03) of the third node 13, which is the next node, is set. In addition, a device address (0x04) indicating an association notification packet generated by the fourth node 14 is set in the frame payload.

한편, 라우팅 테이블에는 목적지 주소(Destination Address), 다음 주소(Next Address), 홉(Hop) 및 신호강도(RSSI) 등이 포함될 수 있다. 3번 노드(13)는 이전에 트리 구조 네트워크에 연합되어 있는 상태이다. 그러므로, 목적지 주소인 0번 노드(10)의 주소에 대해, 다음 주소는 2번 노드(12)의 주소, 0번 노드(10)로부터의 홉 수는 0, RSSI는 xx로 설정되어 있다. 1번 노드(11) 및 2번 노드(12)에 대해서도 도 6의 (c)에 도시된 대로 설정되어 있다. 3번 노드(13)는 이러한 라우팅 테이블을 4번 노드(14)로부터 수신된 연합 통지 패킷을 기반으로 도 6의 (c)와 같이 업데이트할 수 있다. 3번 노드(13)는 목적지 주소인 4번 노드(14)의 주소에 대해, 다음 주소를 4번 노드(14)의 주소, 0번 노드(10)로부터의 홉 수를 4, RSSI를 xx로 업데이트할 수 있다.Meanwhile, the routing table may include a destination address, a next address, a hop, and a signal strength (RSSI). Node 3 13 is previously associated with the tree structure network. Therefore, for the address of node 0 10, which is the destination address, the next address is the address of node 2 12, the number of hops from node 0 10 is set to 0, and RSSI is set to xx. The first node 11 and the second node 12 are also set as shown in FIG. 6C. Node 3 13 may update this routing table as shown in (c) of FIG. 6 based on the federation notification packet received from node 4 14. Node 3 (13) is the address of node 4 (14) as the destination address, the next address is the address of node 4 (14), the number of hops from node 0 (10) is 4, and RSSI is xx. Can be updated.

한편, 도 7의 (a)에 도시된 바와 같이, 3번 노드(13)가 2번 노드(12)에 연합 통지 패킷을 전송하는 경우를 설명하기로 한다.Meanwhile, as shown in (a) of FIG. 7, a case in which the third node 13 transmits an association notification packet to the second node 12 will be described.

3번 노드(13)가 전송한 연합 통지 패킷의 프레임은 도 7의 (b)에 도시되어 있다. 여기서, 3번 노드(13)가 전송한 연합 통지 패킷의 프레임에서 목적지 주소는 코디네이터인 0번 노드(10)의 주소(0x00)가 설정된다. 소스 주소는 자신의 주소인 3번 노드(13)의 주소(0x03)가 설정된다. 프레임 페이로드에서의 다음 주소는 다음 노드인 2번 노드(12)의 주소(0x02)가 설정된다. 또한, 프레임 페이로드에는 4번 노드(14)가 생성한 연합 통지 패킷을 나타내는 디바이스 주소(0x04)가 설정된다. The frame of the association notification packet transmitted by the third node 13 is shown in FIG. 7B. Here, in the frame of the association notification packet transmitted by node 3 13, the destination address is the address (0x00) of node 0 10, which is the coordinator. The source address is the address (0x03) of node 3, which is its own address. The next address in the frame payload is the address (0x02) of the second node 12, which is the next node. In addition, a device address (0x04) indicating an association notification packet generated by the fourth node 14 is set in the frame payload.

한편, 2번 노드(12)는 이전에 트리 구조 네트워크에 연합되어 있는 상태이다. 그러므로, 목적지 주소인 0번 노드(10)의 주소에 대해, 다음 주소는 1번 노드(11)의 주소, 0번 노드(10)로부터의 홉 수는 0, RSSI는 xx로 설정되어 있다. 1번 노드(11) 및 3번 노드(13)에 대해서도 도 7의 (c)에 도시된 대로 설정되어 있다. 2번 노드(12)는 이러한 라우팅 테이블을 3번 노드(13)로부터 수신된 연합 통지 패킷을 기반으로 도 7의 (c)와 같이 업데이트할 수 있다. 2번 노드(12)는 목적지 주소인 4번 노드(14)의 주소에 대해, 다음 주소를 3번 노드(13)의 주소, 0번 노드(10)로부터의 홉 수를 4, RSSI를 xx로 업데이트할 수 있다.On the other hand, node 2 12 is previously associated with the tree structure network. Therefore, with respect to the address of node 0 10, which is the destination address, the next address is the address of node 1 11, the number of hops from node 0 10 is set to 0, and RSSI is set to xx. The first node 11 and the third node 13 are also set as shown in Fig. 7(c). Node 2 12 may update this routing table as shown in (c) of FIG. 7 based on the federation notification packet received from node 3 13. Node 2 (12) is the address of node 4 (14), which is the destination address, the next address is the address of node 3 (13), the number of hops from node 0 (10) is 4, and RSSI is xx. Can be updated.

한편, 도 8의 (a)에 도시된 바와 같이, 2번 노드(12)가 1번 노드(11)에 연합 통지 패킷을 전송하는 경우를 설명하기로 한다.On the other hand, as shown in (a) of FIG. 8, a case where the second node 12 transmits an association notification packet to the first node 11 will be described.

2번 노드(12)가 전송한 연합 통지 패킷의 프레임은 도 8의 (b)에 도시되어 있다. 여기서, 2번 노드(12)가 전송한 연합 통지 패킷의 프레임에서 목적지 주소는 코디네이터인 0번 노드(10)의 주소(0x00)가 설정된다. 소스 주소는 자신의 주소인 2번 노드(12)의 주소(0x02)가 설정된다. 프레임 페이로드에서의 다음 주소는 다음 노드인 1번 노드(11)의 주소(0x01)가 설정된다. 또한, 프레임 페이로드에는 4번 노드(14)가 생성한 연합 통지 패킷을 나타내는 디바이스 주소(0x04)가 설정된다. The frame of the association notification packet transmitted by the second node 12 is shown in FIG. 8B. Here, in the frame of the association notification packet transmitted by node 2 12, the destination address is the address (0x00) of node 0, which is the coordinator. The source address is the address (0x02) of node 2, which is its own address. The next address in the frame payload is the address (0x01) of node 1, which is the next node. In addition, a device address (0x04) indicating an association notification packet generated by the fourth node 14 is set in the frame payload.

한편, 1번 노드(11)는 이전에 트리 구조 네트워크에 연합되어 있는 상태이다. 그러므로, 목적지 주소인 0번 노드(10)의 주소에 대해, 다음 주소는 0번 노드(10)의 주소, 0번 노드(10)로부터의 홉 수는 0, RSSI는 xx로 설정되어 있다. 2번 노드(12) 및 3번 노드(13)에 대해서도 도 8의 (c)에 도시된 대로 설정되어 있다. 1번 노드(11)는 이러한 라우팅 테이블을 2번 노드(12)로부터 수신된 연합 통지 패킷을 기반으로 도 8의 (c)와 같이 업데이트할 수 있다. 1번 노드(11)는 목적지 주소인 4번 노드(14)의 주소에 대해, 다음 주소를 2번 노드(12)의 주소, 0번 노드(10)로부터의 홉 수를 4, RSSI를 xx로 업데이트할 수 있다.On the other hand, node 1 11 is previously associated with the tree structure network. Therefore, with respect to the address of node 0 10, which is the destination address, the next address is the address of node 0 10, the number of hops from node 0 10 is set to 0, and RSSI is set to xx. The second node 12 and the third node 13 are also set as shown in FIG. 8C. Node 1 11 may update this routing table as shown in (c) of FIG. 8 based on the federation notification packet received from node 2 12. For the address of node 4 (14), which is the destination address, node 1 (11) is the next address as the address of node 2 (12), the number of hops from node 0 (10) is 4, and RSSI is xx. Can be updated.

한편, 도 9의 (a)에 도시된 바와 같이, 1번 노드(11)가 0번 노드(10)에 연합 통지 패킷을 전송하는 경우를 설명하기로 한다. On the other hand, as shown in (a) of FIG. 9, a case where the first node 11 transmits the federation notification packet to the 0 node 10 will be described.

1번 노드(11)가 전송한 연합 통지 패킷의 프레임은 도 9의 (b)에 도시되어 있다. 여기서, 1번 노드(11)가 전송한 연합 통지 패킷의 프레임에서 목적지 주소는 코디네이터 주소인인 0번 노드(10)의 주소(0x00)가 설정된다. 소스 주소는 자신의 주소인 1번 노드(11)의 주소(0x01)가 설정된다. 프레임 페이로드에서의 다음 주소는 다음 노드인 0번 노드(10)의 주소(0x00)가 설정된다. 또한, 프레임 페이로드에는 4번 노드(14)가 생성한 연합 통지 패킷을 나타내는 디바이스 주소(0x04)가 설정된다. The frame of the association notification packet transmitted by the first node 11 is shown in FIG. 9B. Here, in the frame of the association notification packet transmitted by node 1 11, the destination address is the address (0x00) of node 0 10, which is the coordinator address. The source address is the address (0x01) of node 1, which is its own address. The next address in the frame payload is the address (0x00) of node 0, which is the next node. In addition, a device address (0x04) indicating an association notification packet generated by the fourth node 14 is set in the frame payload.

한편, 0번 노드(10)는 이전에 트리 구조 네트워크에 연합되어 있는 상태이고 코디네이터로 동작한다. 그러므로, 목적지 주소인 1번 노드(11)의 주소에 대해, 다음 주소는 1번 노드(11)의 주소, 0번 노드(10)로부터의 홉 수는 1, RSSI는 xx로 설정되어 있다. 2번 노드(12) 및 3번 노드(13)에 대해서도 도 9의 (c)에 도시된 대로 설정되어 있다. 0번 노드(10)는 이러한 라우팅 테이블을 1번 노드(11)로부터 수신된 연합 통지 패킷을 기반으로 도 9의 (c)와 같이 업데이트할 수 있다. 0번 노드(10)는 목적지 주소인 4번 노드(14)의 주소에 대해, 다음 주소를 1번 노드(11)의 주소, 0번 노드(10)로부터의 홉 수를 4, RSSI를 xx로 업데이트할 수 있다.On the other hand, node 0 10 is previously associated with the tree structure network and operates as a coordinator. Therefore, with respect to the address of the first node 11, which is the destination address, the next address is the address of the first node 11, the number of hops from the 0 node 10 is set to 1, and the RSSI is set to xx. The second node 12 and the third node 13 are also set as shown in FIG. 9C. Node 0 10 may update this routing table as shown in (c) of FIG. 9 based on the federation notification packet received from node 1 11. Node 0 10 is the address of node 4, which is the destination address, the next address is the address of node 1 11, the number of hops from node 0 10 is 4, and RSSI is xx. Can be updated.

이후, 0번 노드(10)는 도 5에서 설명한 바와 같이, 1번 노드(11)로부터 수신된 연합 통지 패킷에 대한 응답으로 연합 통지 응답 패킷을 생성하고, 생성된 연합 통지 응답 패킷을 1번 노드(11), 2번 노드(12) 및 3번 노드(13)를 통해 4번 노드(14)에 전송할 수 있다. Thereafter, node 0 10 generates a federation notification response packet in response to the federation notification packet received from node 1 11, as described in FIG. 5, and sends the generated federation notification response packet to node 1 (11), it can be transmitted to the fourth node 14 through the second node 12 and the third node 13.

도 10은 본 발명의 일 실시예에 따른 트리 구조 네트워크의 노드에 의해 수행되는 라우팅 동작에 대한 흐름도이다.10 is a flowchart of a routing operation performed by a node in a tree structure network according to an embodiment of the present invention.

단계 S301에서, 노드에서의 라우팅 장치는 연합 통지 패킷을 수신한다.In step S301, the routing device at the node receives an association notification packet.

단계 S302에서, 라우팅 장치는 수신된 연합 통지 패킷에 설정된 목적지 주소(Dst Addr)가 자신의 주소(My addr)와 일치하는지를 확인한다.In step S302, the routing device checks whether the destination address (Dst Addr) set in the received association notification packet matches its own address (My addr).

단계 S303에서, 라우팅 장치는 수신된 연합 통지 패킷에 설정된 목적지 주소가 자신의 주소와 일치하지 않으면, 수신된 연합 통지 패킷에 설정된 다음 주소(next Addr)가 자신의 주소와 일치하는지를 확인한다.In step S303, if the destination address set in the received federation notification packet does not match its own address, the routing device checks whether the next address set in the received federation notification packet matches its own address.

단계 S304에서, 라우팅 장치는 수신된 연합 통지 패킷에 설정된 다음 주소가 자신의 주소와 일치하면, 라우팅 테이블을 확인하고 연합 통지 패킷을 기반으로 라우팅 테이블을 업데이트한다.In step S304, if the next address set in the received association notification packet matches its own address, the routing device checks the routing table and updates the routing table based on the association notification packet.

단계 S305에서, 라우팅 장치는 확인된 라우팅 테이블을 기반으로 다음 주소를 확인하고 신규 연합 통지 패킷을 생성한다. 변형 예로, 라우팅 장치는 단계 S301에서 수신된 연합 통지 패킷의 일부 정보(예컨대, 소스 주소, 다음 주소 등)를 변경할 수 있다.In step S305, the routing device checks the next address based on the checked routing table and generates a new association notification packet. As a modified example, the routing device may change some information (eg, source address, next address, etc.) of the association notification packet received in step S301.

단계 S306에서, 라우팅 장치는 다음 노드로 생성된 신규 연합 통지 패킷을 전송한다.In step S306, the routing device transmits a new association notification packet generated to the next node.

한편, 단계 S307에서, 라우팅 장치는 수신된 연합 통지 패킷에 설정된 다음 주소가 자신의 주소와 일치하지 않으면, 수신된 연합 통지 패킷을 폐기한다. 다음 주소가 자신의 주소와 일치하지 않은 것은 연합 통지 패킷이 이전 노드로부터 바로 수신된 것이 아님을 의미한다. On the other hand, in step S307, if the next address set in the received association notification packet does not match its own address, the routing device discards the received association notification packet. If the next address does not match its own address, it means that the federation notification packet was not received directly from the previous node.

한편, 단계 S308에서, 라우팅 장치는 수신된 연합 통지 패킷에 설정된 목적지 주소가 자신의 주소와 일치하면, 수신된 연합 통지 패킷에 설정된 다음 주소가 자신의 주소와 일치하는지를 확인한다.On the other hand, in step S308, if the destination address set in the received federation notification packet matches its own address, the routing device checks whether the next address set in the received federation notification packet matches its own address.

단계 S309에서, 라우팅 장치는 목적지 주소와 다음 주소가 자신의 주소와 일치하면, 연합 통지 패킷을 확인하고, 연합 통지 패킷에 대한 응답으로 연합 통지 응답 패킷을 이전 노드로 전송한다.In step S309, when the destination address and the next address match its own address, the routing apparatus checks the association notification packet and transmits the association notification response packet to the previous node in response to the association notification packet.

도 11은 본 발명의 일 실시예에 따른 트리 구조 네트워크에서의 라우팅 장치의 구성을 설명하기 위한 구성도이다.11 is a block diagram illustrating a configuration of a routing device in a tree structure network according to an embodiment of the present invention.

도 11에 도시된 바와 같이, 본 발명의 일 실시예에 따른 라우팅 장치(100)는 통신 모듈(110), 메모리(120) 및 프로세서(130)를 포함한다. 그러나 도시된 구성요소 모두가 필수 구성요소인 것은 아니다. 도시된 구성요소보다 많은 구성요소에 의해 라우팅 장치(100)가 구현될 수도 있고, 그보다 적은 구성요소에 의해서도 라우팅 장치(100)가 구현될 수 있다.As shown in FIG. 11, the routing apparatus 100 according to an embodiment of the present invention includes a communication module 110, a memory 120, and a processor 130. However, not all of the illustrated components are essential components. The routing device 100 may be implemented by more components than the illustrated components, and the routing device 100 may be implemented by fewer components than the illustrated components.

이하, 도 11의 라우팅 장치(100)의 각 구성요소들의 구체적인 구성 및 동작을 설명한다.Hereinafter, a detailed configuration and operation of each component of the routing device 100 of FIG. 11 will be described.

통신 모듈(110)은 복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서 다른 노드와 통신한다.The communication module 110 communicates with other nodes in a tree structure network in which a plurality of nodes are connected in a tree structure.

메모리(120)는 적어도 하나의 프로그램을 저장한다.The memory 120 stores at least one program.

본 발명의 일 실시예에 따른 노드로서 트리 구조 네트워크에 연합하고자 하는 노드의 라우팅 장치(100)에 포함된 프로세서(130) 동작을 설명하기로 한다. 프로세서(130)는 통신 모듈(110) 및 메모리(120)와 연결된다. 프로세서(130)는 적어도 하나의 프로그램을 실행함으로써, 트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하고, 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하고, 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 부모 노드를 통해 목적지 노드로 전송하고, 목적지 노드로부터 응답된 연합 통지 응답 패킷을 부모 노드를 통해 수신한다. An operation of the processor 130 included in the routing apparatus 100 of a node to be associated with a tree structure network as a node according to an embodiment of the present invention will be described. The processor 130 is connected to the communication module 110 and the memory 120. By executing at least one program, the processor 130 selects a parent node to be connected to the tree structure network, updates the routing table by setting the address of the selected parent node to the next address, and updates the routing table. A federation notification packet is generated based on the address and transmitted to the destination node through the parent node, and the federation notification response packet received from the destination node is received through the parent node.

실시예들에 따르면, 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 다음 주소는 프레임 페이로드에 포함될 수 있다.According to embodiments, the association notification packet is configured according to the MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in the frame payload.

실시예들에 따르면, 프로세서(130)는 트리 구조 네트워크에서의 복수의 노드에 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택하거나, 복수의 노드 중에서 수동으로 어느 하나의 노드를 부모 노드로 선택할 수 있다.According to embodiments, the processor 130 selects a parent node using a beacon received through a beacon request to a plurality of nodes in a tree structure network, or manually selects any one node as a parent node from among a plurality of nodes. You can choose.

한편, 본 발명의 다른 실시예에 따른 노드로서 트리 구조 네트워크에 연합되어 있는 노드에 포함된 프로세서(130) 동작을 설명하기로 한다. 프로세서(130)는 트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하고, 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하고, 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하고, 업데이트된 라우팅 테이블을 기반으로 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송할 수 있다.Meanwhile, an operation of the processor 130 included in a node associated with a tree structure network as a node according to another embodiment of the present invention will be described. The processor 130 receives the federation notification packet from the previous node in the tree structure network, sets the address of the previous node based on the next address set in the received federation notification packet, and updates the routing table, and the received federation notification packet The destination address and the next address set in are compared with their own address, a new federation notification packet is generated according to the comparison result, and transmitted to the destination node through the next node, and federation notification received from the destination node based on the updated routing table A response packet may be transmitted to the previous node.

실시예들에 따르면, 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함될 수 있다.According to embodiments, the association notification packet is configured according to the MAC (Media Access Control) frame format used in Layer 2, and the next address may be included in the frame payload.

실시예들에 따르면, 프로세서(130)는, 목적지 주소 및 다음 주소가 자신의 주소이면 자신을 목적지 노드로 판단하고 수신된 연합 통지 패킷을 확인할 수 있다.According to embodiments, if the destination address and the next address are its own addresses, the processor 130 may determine itself as a destination node and check the received federation notification packet.

실시예들에 따르면, 프로세서(130)는 목적지 주소 및 상기 다음 주소가 상기 자신의 주소가 아니면 상기 수신된 연합 통지 패킷을 폐기할 수 있다.According to embodiments, the processor 130 may discard the received association notification packet if the destination address and the next address are not the own address.

실시예들에 따르면, 프로세서(130)는 목적지 주소가 상기 자신의 주소가 아니고 상기 다음 주소가 자신의 주소이면 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송할 수 있다.According to embodiments, if the destination address is not the own address and the next address is its own address, the processor 130 may generate a new association notification packet and transmit it to the destination node through the next node.

실시예들에 따르면, 프로세서(130)는 자신의 주소를 소스 주소로 설정하고 상기 다음 노드의 주소를 다음 주소로 설정하여 상기 신규 연합 통지 패킷을 생성할 수 있다.According to embodiments, the processor 130 may generate the new association notification packet by setting its own address as a source address and setting the address of the next node as the next address.

상술한 본 발명의 실시예들에 따른 트리 구조 네트워크에서의 라우팅 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 본 발명의 실시예들에 따른 트리 구조 네트워크에서의 라우팅 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터로 읽을 수 있는 기록매체에 기록될 수 있다.The routing method in the tree structure network according to the embodiments of the present invention can be implemented as computer-readable codes on a computer-readable recording medium. The routing method in a tree-structured network according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable recording medium.

프로세서에 의해 실행 가능한 적어도 하나의 프로그램을 포함하는 비일시적 컴퓨터 판독가능 저장 매체로서, 상기 적어도 하나의 프로그램은 상기 프로세서에 의해 실행될 때, 상기 프로세서로 하여금: 트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하고, 상기 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하고, 상기 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 상기 부모 노드를 통해 목적지 노드로 전송하고, 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 부모 노드를 통해 수신하게 하는 명령어들을 포함하는, 비 일시적 컴퓨터 판독 가능한 저장 매체가 제공될 수 있다.A non-transitory computer-readable storage medium comprising at least one program executable by a processor, wherein when the at least one program is executed by the processor, the processor causes: selecting a parent node to be connected to a tree structure network And, the routing table is updated by setting the address of the selected parent node to the next address, and an association notification packet is generated based on the set next address and the address of the destination node, and transmitted to the destination node through the parent node, and the A non-transitory computer-readable storage medium may be provided comprising instructions for causing, via the parent node, a federated notification response packet replied from a destination node.

한편, 프로세서에 의해 실행 가능한 적어도 하나의 프로그램을 포함하는 비일시적 컴퓨터 판독가능 저장 매체로서, 상기 적어도 하나의 프로그램은 상기 프로세서에 의해 실행될 때, 상기 프로세서로 하여금: 트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하고, 상기 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하고, 상기 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 상기 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하고, 상기 업데이트된 라우팅 테이블을 기반으로 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송하게 하는 명령어들을 포함하는, 비 일시적 컴퓨터 판독 가능한 저장 매체가 제공될 수 있다.Meanwhile, as a non-transitory computer-readable storage medium including at least one program executable by a processor, when the at least one program is executed by the processor, the processor causes: an association notification from a previous node in a tree structure network Receives a packet, updates the routing table by setting the address of the previous node based on the next address set in the received federation notification packet, and sets the destination address and the next address set in the received federation notification packet with its own address. Compare and generate a new federation notification packet according to the comparison result and transmit it to the destination node through the next node, and transmit the federation notification response packet responded from the destination node to the previous node based on the updated routing table. A non-transitory computer-readable storage medium may be provided that includes instructions for doing so.

상술한 본 발명에 따른 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체로는 컴퓨터 시스템에 의하여 해독될 수 있는 데이터가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래시 메모리, 광 데이터 저장장치 등이 있을 수 있다. 또한, 컴퓨터로 판독 가능한 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다.The above-described method according to the present invention may be implemented as a computer-readable code on a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording media in which data that can be decoded by a computer system is stored. For example, there may be read only memory (ROM), random access memory (RAM), magnetic tape, magnetic disk, flash memory, optical data storage device, and the like. In addition, the computer-readable recording medium can be distributed to a computer system connected through a computer communication network, and stored and executed as code that can be read in a distributed manner.

이상, 도면 및 실시예를 참조하여 설명하였지만, 본 발명의 보호범위가 상기 도면 또는 실시예에 의해 한정되는 것을 의미하지는 않으며 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. Although described above with reference to the drawings and examples, it does not mean that the protection scope of the present invention is limited by the drawings or examples, and those skilled in the art It will be appreciated that various modifications and changes can be made to the present invention without departing from the spirit and scope.

구체적으로, 설명된 특징들은 디지털 전자 회로, 또는 컴퓨터 하드웨어, 펌웨어, 또는 그들의 조합들 내에서 실행될 수 있다. 특징들은 예컨대, 프로그래밍 가능한 프로세서에 의한 실행을 위해, 기계 판독 가능한 저장 디바이스 내의 저장장치 내에서 구현되는 컴퓨터 프로그램 제품에서 실행될 수 있다. 그리고 특징들은 입력 데이터 상에서 동작하고 출력을 생성함으로써 설명된 실시예들의 함수들을 수행하기 위한 지시어들의 프로그램을 실행하는 프로그래밍 가능한 프로세서에 의해 수행될 수 있다. 설명된 특징들은, 데이터 저장 시스템으로부터 데이터 및 지시어들을 수신하기 위해, 및 데이터 저장 시스템으로 데이터 및 지시어들을 전송하기 위해, 결합된 적어도 하나의 프로그래밍 가능한 프로세서, 적어도 하나의 입력 디바이스, 및 적어도 하나의 출력 디바이스를 포함하는 프로그래밍 가능한 시스템 상에서 실행될 수 있는 하나 이상의 컴퓨터 프로그램들 내에서 실행될 수 있다. 컴퓨터 프로그램은 소정 결과에 대해 특정 동작을 수행하기 위해 컴퓨터 내에서 직접 또는 간접적으로 사용될 수 있는 지시어들의 집합을 포함한다. 컴퓨터 프로그램은 컴파일된 또는 해석된 언어들을 포함하는 프로그래밍 언어 중 어느 형태로 쓰여지고, 모듈, 소자, 서브루틴(subroutine), 또는 다른 컴퓨터 환경에서 사용을 위해 적합한 다른 유닛으로서, 또는 독립 조작 가능한 프로그램으로서 포함하는 어느 형태로도 사용될 수 있다.Specifically, the described features may be implemented in digital electronic circuitry, or computer hardware, firmware, or combinations thereof. Features may be executed in a computer program product implemented in storage in a machine-readable storage device, for example, for execution by a programmable processor. And the features can be performed by a programmable processor executing a program of directives to perform the functions of the described embodiments by operating on input data and generating output. The described features include at least one programmable processor, at least one input device, and at least one output coupled to receive data and directives from the data storage system and to transmit data and directives to the data storage system. It can be executed within one or more computer programs that can be executed on a programmable system including the device. A computer program includes a set of directives that can be used directly or indirectly within a computer to perform a specific action on a given result. A computer program is written in any form of a programming language, including compiled or interpreted languages, and is included as a module, element, subroutine, or other unit suitable for use in another computer environment, or as a independently operable program. It can be used in any form.

지시어들의 프로그램의 실행을 위한 적합한 프로세서들은, 예를 들어, 범용 및 특수 용도 마이크로프로세서들 둘 모두, 및 단독 프로세서 또는 다른 종류의 컴퓨터의 다중 프로세서들 중 하나를 포함한다. 또한 설명된 특징들을 구현하는 컴퓨터 프로그램 지시어들 및 데이터를 구현하기 적합한 저장 디바이스들은 예컨대, EPROM, EEPROM, 및 플래쉬 메모리 디바이스들과 같은 반도체 메모리 디바이스들, 내부 하드 디스크들 및 제거 가능한 디스크들과 같은 자기 디바이스들, 광자기 디스크들 및 CD-ROM 및 DVD-ROM 디스크들을 포함하는 비휘발성 메모리의 모든 형태들을 포함한다. 프로세서 및 메모리는 ASIC들(application-specific integrated circuits) 내에서 통합되거나 또는 ASIC들에 의해 추가될 수 있다.Suitable processors for execution of a program of directives include, for example, both general and special purpose microprocessors, and either a single processor or multiple processors of a different type of computer. Storage devices suitable for implementing computer program directives and data implementing the described features are, for example, semiconductor memory devices such as EPROM, EEPROM, and flash memory devices, magnetic devices such as internal hard disks and removable disks. Devices, magneto-optical disks, and all types of non-volatile memory including CD-ROM and DVD-ROM disks. The processor and memory may be integrated within application-specific integrated circuits (ASICs) or added by ASICs.

이상에서 설명한 본 발명은 일련의 기능 블록들을 기초로 설명되고 있지만, 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is described on the basis of a series of functional blocks, but is not limited by the above-described embodiments and the accompanying drawings, and various substitutions, modifications and changes within the scope not departing from the technical spirit of the present invention It will be apparent to those of ordinary skill in the art to which this invention pertains.

전술한 실시예들의 조합은 전술한 실시예에 한정되는 것이 아니며, 구현 및/또는 필요에 따라 전술한 실시예들 뿐 아니라 다양한 형태의 조합이 제공될 수 있다.Combinations of the above-described embodiments are not limited to the above-described embodiments, and combinations of various types as well as the above-described embodiments may be provided according to implementation and/or need.

전술한 실시예들에서, 방법들은 일련의 단계 또는 블록으로서 순서도를 기초로 설명되고 있으나, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당해 기술 분야에서 통상의 지식을 가진 자라면 순서도에 나타난 단계들이 배타적이지 않고, 다른 단계가 포함되거나, 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the above-described embodiments, the methods are described on the basis of a flow chart as a series of steps or blocks, but the present invention is not limited to the order of steps, and certain steps may occur in a different order or concurrently with other steps as described above. I can. In addition, those of ordinary skill in the art understand that the steps shown in the flowchart are not exclusive, other steps are included, or one or more steps in the flowchart may be deleted without affecting the scope of the present invention. You can understand.

전술한 실시예는 다양한 양태의 예시들을 포함한다. 다양한 양태들을 나타내기 위한 모든 가능한 조합을 기술할 수는 없지만, 해당 기술 분야의 통상의 지식을 가진 자는 다른 조합이 가능함을 인식할 수 있을 것이다. 따라서, 본 발명은 이하의 특허청구범위 내에 속하는 모든 다른 교체, 수정 및 변경을 포함한다고 할 것이다.The above-described embodiments include examples of various aspects. Although not all possible combinations for representing the various aspects can be described, those of ordinary skill in the art will recognize that other combinations are possible. Accordingly, the present invention will be said to include all other replacements, modifications and changes falling within the scope of the following claims.

10, 11, 12, 13, 14: 0번, 1번, 2번, 3번, 4번 노드:
100: 라우팅 장치
110: 통신 모듈
120: 메모리
130: 프로세서
10, 11, 12, 13, 14: Nodes 0, 1, 2, 3, and 4:
100: routing device
110: communication module
120: memory
130: processor

Claims (18)

복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서의 라우팅 방법에 있어서,
트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하는 단계;
상기 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하는 단계;
상기 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 상기 부모 노드를 통해 목적지 노드로 전송하는 단계; 및
상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 부모 노드를 통해 수신하는 단계를 포함하고,
상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함되는, 트리 구조 네트워크에서의 라우팅 방법.
In the routing method in a tree structure network in which a plurality of nodes are connected in a tree structure,
Selecting a parent node to be connected to the tree structured network;
Updating a routing table by setting the address of the selected parent node to a next address;
Generating an association notification packet based on the set next address and the address of the destination node and transmitting the packet to the destination node through the parent node; And
Receiving a federation notification response packet received from the destination node through the parent node,
The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address is included in a frame payload.
삭제delete 제1항에 있어서,
상기 부모 노드를 선택하는 단계는,
상기 트리 구조 네트워크에서의 복수의 노드로의 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택하거나, 상기 복수의 노드 중에서 수동으로 어느 하나의 노드를 부모 노드로 선택하는, 트리 구조 네트워크에서의 라우팅 방법.
The method of claim 1,
The step of selecting the parent node,
In the tree structure network, in which a parent node is selected using a beacon received through a beacon request to a plurality of nodes in the tree structure network, or any one node is manually selected as a parent node from the plurality of nodes. Routing method.
복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서의 라우팅 방법에 있어서,
트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하는 단계;
상기 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하는 단계;
상기 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 상기 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하는 단계; 및
상기 업데이트된 라우팅 테이블을 기반으로 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송하는 단계를 포함하고,
상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함되는, 트리 구조 네트워크에서의 라우팅 방법.
In the routing method in a tree structure network in which a plurality of nodes are connected in a tree structure,
Receiving an association notification packet from a previous node in a tree structured network;
Updating a routing table by setting the address of the previous node based on the next address set in the received federation notification packet;
Comparing the destination address and the next address set in the received federation notification packet with its own address, generating a new federation notification packet according to the comparison result, and transmitting it to the destination node through the next node; And
Transmitting a federation notification response packet replied from the destination node to the previous node based on the updated routing table,
The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address is included in a frame payload.
삭제delete 제4항에 있어서,
상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소이면 자신을 목적지 노드로 판단하고 상기 수신된 연합 통지 패킷을 확인하는 단계를 더 포함하는, 트리 구조 네트워크에서의 라우팅 방법.
The method of claim 4,
If the destination address and the next address are the own address, determining itself as a destination node and confirming the received federation notification packet.
제4항에 있어서,
상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소가 아니면 상기 수신된 연합 통지 패킷을 폐기하는 단계를 더 포함하는, 트리 구조 네트워크에서의 라우팅 방법.
The method of claim 4,
And discarding the received federation notification packet if the destination address and the next address are not the own address.
제4항에 있어서,
상기 목적지 노드로 전송하는 단계는,
상기 목적지 주소가 상기 자신의 주소가 아니고 상기 다음 주소가 자신의 주소이면 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하는, 트리 구조 네트워크에서의 라우팅 방법.
The method of claim 4,
Transmitting to the destination node,
If the destination address is not the own address and the next address is its own address, a new association notification packet is generated and transmitted to the destination node through the next node.
제4항에 있어서,
상기 목적지 노드로 전송하는 단계는,
상기 자신의 주소를 소스 주소로 설정하고 상기 다음 노드의 주소를 다음 주소로 설정하여 상기 신규 연합 통지 패킷을 생성하는, 트리 구조 네트워크에서의 라우팅 방법.
The method of claim 4,
Transmitting to the destination node,
The routing method in a tree structure network, wherein the new association notification packet is generated by setting the own address as a source address and the next node address as the next address.
복수의 노드가 트리 구조로 연결된 트리 구조 네트워크에서 다른 노드와 통신하는 통신 모듈;
적어도 하나의 프로그램을 저장하는 메모리; 및
상기 통신 모듈 및 상기 메모리와 연결된 프로세서를 포함하고,
상기 프로세서는, 상기 적어도 하나의 프로그램을 실행함으로써,
트리 구조 네트워크에 연결되기 위한 부모 노드를 선택하고,
상기 선택된 부모 노드의 주소를 다음 주소로 설정하여 라우팅 테이블을 업데이트하고,
상기 설정된 다음 주소와 목적지 노드의 주소를 기반으로 연합 통지 패킷을 생성하여 상기 부모 노드를 통해 목적지 노드로 전송하고,
상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 부모 노드를 통해 수신하고,
상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함되는, 트리 구조 네트워크에서의 라우팅 장치.
A communication module for communicating with other nodes in a tree structure network in which a plurality of nodes are connected in a tree structure;
A memory for storing at least one program; And
And a processor connected to the communication module and the memory,
The processor, by executing the at least one program,
Select the parent node to be connected to the tree structure network,
Update the routing table by setting the address of the selected parent node to the next address,
An association notification packet is generated based on the set next address and the address of the destination node and transmitted to the destination node through the parent node,
Receiving a federation notification response packet from the destination node through the parent node,
The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address is included in a frame payload.
삭제delete 제10항에 있어서,
상기 프로세서는,
상기 트리 구조 네트워크에서의 복수의 노드에 비컨 요청을 통해 수신된 비컨을 이용하여 부모 노드를 선택하거나, 상기 복수의 노드 중에서 수동으로 어느 하나의 노드를 부모 노드로 선택하는, 트리 구조 네트워크에서의 라우팅 장치.
The method of claim 10,
The processor,
Routing in a tree structure network, in which a parent node is selected using a beacon received through a beacon request to a plurality of nodes in the tree structure network, or one node is manually selected as a parent node from the plurality of nodes Device.
트리 구조 네트워크에서 다른 노드와 통신하는 통신 모듈;
적어도 하나의 프로그램을 저장하는 메모리; 및
상기 통신 모듈 및 상기 메모리와 연결된 프로세서를 포함하고,
상기 프로세서는, 상기 적어도 하나의 프로그램을 실행함으로써,
트리 구조 네트워크에서 이전 노드로부터 연합 통지 패킷을 수신하고,
상기 수신된 연합 통지 패킷에 설정된 다음 주소를 기반으로 상기 이전 노드의 주소를 설정하여 라우팅 테이블을 업데이트하고,
상기 수신된 연합 통지 패킷에 설정된 목적지 주소 및 다음 주소를 자신의 주소와 비교하고, 상기 비교 결과에 따라 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하고,
상기 업데이트된 라우팅 테이블을 기반으로 상기 목적지 노드로부터 응답된 연합 통지 응답 패킷을 상기 이전 노드로 전송하고,
상기 연합 통지 패킷은, 계층 2(Layer 2)에서 사용되는 MAC(Media Access Control) 프레임 포맷에 따라 구성되고, 상기 다음 주소는 프레임 페이로드에 포함되는, 트리 구조 네트워크에서의 라우팅 장치.
A communication module for communicating with other nodes in a tree structure network;
A memory for storing at least one program; And
And a processor connected to the communication module and the memory,
The processor, by executing the at least one program,
Receiving a federation notification packet from a previous node in a tree structured network,
Update the routing table by setting the address of the previous node based on the next address set in the received federation notification packet,
The destination address and the next address set in the received federation notification packet are compared with their own address, a new federation notification packet is generated according to the comparison result, and transmitted to the destination node through the next node,
Transmitting a federation notification response packet replied from the destination node to the previous node based on the updated routing table,
The association notification packet is configured according to a MAC (Media Access Control) frame format used in Layer 2, and the next address is included in a frame payload.
삭제delete 제13항에 있어서,
상기 프로세서는,
상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소이면 자신을 목적지 노드로 판단하고 상기 수신된 연합 통지 패킷을 확인하는, 트리 구조 네트워크에서의 라우팅 장치.
The method of claim 13,
The processor,
If the destination address and the next address are the own address, it determines itself as a destination node and checks the received federation notification packet.
제13항에 있어서,
상기 프로세서는,
상기 목적지 주소 및 상기 다음 주소가 상기 자신의 주소가 아니면 상기 수신된 연합 통지 패킷을 폐기하는, 트리 구조 네트워크에서의 라우팅 장치.
The method of claim 13,
The processor,
Discarding the received federation notification packet if the destination address and the next address are not the own address.
제13항에 있어서,
상기 프로세서는,
상기 목적지 주소가 상기 자신의 주소가 아니고 상기 다음 주소가 자신의 주소이면 신규 연합 통지 패킷을 생성하여 다음 노드를 통해 목적지 노드로 전송하는, 트리 구조 네트워크에서의 라우팅 장치.
The method of claim 13,
The processor,
If the destination address is not the own address and the next address is its own address, a new association notification packet is generated and transmitted to the destination node through the next node.
제13항에 있어서,
상기 프로세서는,
상기 자신의 주소를 소스 주소로 설정하고 상기 다음 노드의 주소를 다음 주소로 설정하여 상기 신규 연합 통지 패킷을 생성하는, 트리 구조 네트워크에서의 라우팅 장치.
The method of claim 13,
The processor,
The routing device in a tree structure network, configured to generate the new association notification packet by setting the own address as a source address and the next node address as the next address.
KR1020190093954A 2019-08-01 2019-08-01 Methods and apparatuses for routing in tree structured network KR102163670B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020190093954A KR102163670B1 (en) 2019-08-01 2019-08-01 Methods and apparatuses for routing in tree structured network
PCT/KR2019/014182 WO2021020649A1 (en) 2019-08-01 2019-10-25 Method and device for routing in tree-structured network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190093954A KR102163670B1 (en) 2019-08-01 2019-08-01 Methods and apparatuses for routing in tree structured network

Publications (1)

Publication Number Publication Date
KR102163670B1 true KR102163670B1 (en) 2020-10-08

Family

ID=72897273

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190093954A KR102163670B1 (en) 2019-08-01 2019-08-01 Methods and apparatuses for routing in tree structured network

Country Status (2)

Country Link
KR (1) KR102163670B1 (en)
WO (1) WO2021020649A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050106815A (en) * 2004-05-06 2005-11-11 삼성전자주식회사 Method of routing in a wireless network
KR20060087478A (en) * 2006-06-21 2006-08-02 삼성전자주식회사 Apparatus and method for set up of optimum routing path using tree-topology
KR20100004944A (en) 2007-02-04 2010-01-13 김기형 Address assignment method and transmission method of mobile of mobile nodes for hierarchical routing in lowpans
KR100937874B1 (en) * 2007-12-17 2010-01-21 한국전자통신연구원 Routing method in sensor network
KR20130023186A (en) * 2012-11-22 2013-03-07 서울대학교산학협력단 System and method for self-organization of wireless sensor networks
KR101473304B1 (en) * 2007-12-11 2014-12-18 한국전자통신연구원 Method of supporting node portability in sensor network
KR20150088499A (en) * 2014-01-24 2015-08-03 한국전자통신연구원 Method and apparatus for managing ip and mac tables of tep and arp table of server conneted to the tep

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050106815A (en) * 2004-05-06 2005-11-11 삼성전자주식회사 Method of routing in a wireless network
KR20060087478A (en) * 2006-06-21 2006-08-02 삼성전자주식회사 Apparatus and method for set up of optimum routing path using tree-topology
KR20100004944A (en) 2007-02-04 2010-01-13 김기형 Address assignment method and transmission method of mobile of mobile nodes for hierarchical routing in lowpans
KR101473304B1 (en) * 2007-12-11 2014-12-18 한국전자통신연구원 Method of supporting node portability in sensor network
KR100937874B1 (en) * 2007-12-17 2010-01-21 한국전자통신연구원 Routing method in sensor network
KR20130023186A (en) * 2012-11-22 2013-03-07 서울대학교산학협력단 System and method for self-organization of wireless sensor networks
KR20150088499A (en) * 2014-01-24 2015-08-03 한국전자통신연구원 Method and apparatus for managing ip and mac tables of tep and arp table of server conneted to the tep

Also Published As

Publication number Publication date
WO2021020649A1 (en) 2021-02-04

Similar Documents

Publication Publication Date Title
JP4732972B2 (en) Ad hoc network, node, route control method, and route control program
AU2003272497B2 (en) Method and apparatus in a gateway for registering mobile routers of a Mobile Ad hoc Network to respective home agents
US8605657B2 (en) Mesh routing method and mesh routing apparatus in beacon enabled wireless AD-HOC networks
US9712394B2 (en) Sensor network system, sensor network control method, sensor node, sensor node control method, and sensor node control program
JP4281768B2 (en) Communication system, radio communication apparatus and control method thereof
US20170223700A1 (en) Promiscuous detection and intercepted forwarding by parent network device in a storing-mode tree-based network
KR20090019869A (en) Topology and route discovery and management for relay networks
CN101171807A (en) Methods and apparatus for providing a dynamic on-demand routing protocol
JP6036841B2 (en) COMMUNICATION CONTROL METHOD, NETWORK SYSTEM, AND COMMUNICATION DEVICE
US20100020740A1 (en) Wireless Communication System, Wireless Communication Device, Wireless Communication Method, and Program
KR100557179B1 (en) apparatus and method for transparent layer 2 routing in a mobile ad hoc network
JP2007325261A (en) Method of establishing route
KR20150084647A (en) Method and apparatus for establishing a virtual interface for a set of mutual-listener devices
JP2013187615A (en) Ad hoc network system and method for collecting meter reading information
US8687521B1 (en) Avoiding mesh path discovery in wireless mesh networks
Yi et al. Collection tree extension of reactive routing protocol for low-power and lossy networks
US20190281444A1 (en) Wireless communication apparatus, communication system and wireless communication apparatus control method to exchange services
US8270415B2 (en) Apparatus and method for routing data in a wireless network using bluetooth
KR102163670B1 (en) Methods and apparatuses for routing in tree structured network
KR20130047737A (en) Data transmission in mobile ad-hoc network
CN106878182B (en) Data transmission method and equipment
US7656804B2 (en) Method and apparatus for operating an AD-HOC communication system
JP6016646B2 (en) node
JP5860135B2 (en) Communication device search method, communication device, communication device search program, and ad hoc network system
JP6276013B2 (en) Access point apparatus, access point selection system and selection method thereof

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant