KR100635168B1 - Method of proceeding leave of zigbee network - Google Patents

Method of proceeding leave of zigbee network Download PDF

Info

Publication number
KR100635168B1
KR100635168B1 KR1020050039072A KR20050039072A KR100635168B1 KR 100635168 B1 KR100635168 B1 KR 100635168B1 KR 1020050039072 A KR1020050039072 A KR 1020050039072A KR 20050039072 A KR20050039072 A KR 20050039072A KR 100635168 B1 KR100635168 B1 KR 100635168B1
Authority
KR
South Korea
Prior art keywords
disassociation
layer
child
network
requesting
Prior art date
Application number
KR1020050039072A
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 KR1020050039072A priority Critical patent/KR100635168B1/en
Application granted granted Critical
Publication of KR100635168B1 publication Critical patent/KR100635168B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for performing leave in ZigBee network is provided to prevent the disaccord of information between a device to require the leave in the ZigBee network and a device to receive the request of the leave. A leave is requested from a child application layer(401) to a child network layer(402) through a network layer management entity(NLME)(S405). The child network layer(402) receives the leave request, then a disassociation is requested to a child MAC layer(403) through a MAC layer management entity(MLME)(S410). The first disassociation is performed at the child MAC layer(S415). The child MAC layer(403) generates the status information(success or failure) of the disassociation and confirms the status information through the MLME to the child network layer(S420). The child network layer(402) judges the status information related to the disassociation(S425) and then performs a second disassociation(S430). The child network layer(402) generates the status information(success or failure) of the leave(S435) and confirms the status information through the NLME to the child application layer(S440).

Description

지그비 네트워크에서의 리브 수행방법{METHOD OF PROCEEDING LEAVE OF ZIGBEE NETWORK}How to Perform Rib in ZigBee Network {METHOD OF PROCEEDING LEAVE OF ZIGBEE NETWORK}

도 1은 지그비 네트워크의 일 모델을 나타낸 도면1 is a diagram illustrating a model of a Zigbee network.

도 2는 지그비의 스택 시스템을 나타낸 도면2 shows a Zigbee stack system.

도 3은 지그비 네트워크에서의 종래의 리브 수행과정을 나타내기 위한 흐름도3 is a flowchart illustrating a conventional rib performing process in a Zigbee network.

도 4는 본 발명의 실시예에 의한 지그비 네트워크에서의 리브 수행과정을 나타내기 위한 흐름도4 is a flowchart illustrating a rib performing process in a Zigbee network according to an embodiment of the present invention.

도 5는 제1디스어소시에이션 과정을 나타내기 위한 흐름도5 is a flowchart illustrating a first disassociation process

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

401: 차일드 어플리케이션 레이어 402: 차일드 네트워크 레이어401: child application layer 402: child network layer

403: 차일드 맥 레이어 404: 차일드 피지컬 레이어403: child Mac layer 404: child physical layer

505: 패어런트(코디네이터)505: parent (coordinator)

본 발명은 무선통신방법에 관한 것으로, 더욱 상세하게는 IEEE 802.15.4 표 준을 기반으로 하는 무선 개인영역 네트워크{이하, '지그비(ZigBee)'라 칭함}환경에서의 리브(LEAVE) 수행방법에 관한 것이다.The present invention relates to a wireless communication method, and more particularly, to a method of performing LEAVE in an environment of a wireless personal area network (hereinafter referred to as 'ZigBee') based on IEEE 802.15.4 standard. It is about.

무선 개인영역 네트워크(Wireless Personal Area Network: WPAN)는 기존의 PAN(Personal Area Network)을 무선으로 구현한다는 개념이다. 개인영역 네트워크라고 불리는 PAN은 널리 알려진 근거리통신망(LAN)이나 원거리통신망(WAN)과 대비되는 개념으로 개인마다 각각 고유한 네트워크를 가지게 됨을 의미한다. 즉, 한 사람이 소유하고 있는 디바이스(device)들이 제각기 그 사람의 편리를 목적으로 하나의 네트워크를 구성하게 한다는 것이다.A wireless personal area network (WPAN) is a concept of wirelessly implementing an existing personal area network (PAN). PAN, which is called personal area network, is a concept that is contrasted with well-known local area network (LAN) or long-distance network (WAN), which means that each individual has a unique network. In other words, each device owned by one person constitutes a network for the convenience of that person.

이와 같은 PAN을 무선으로 구현하기 위한 노력으로 IEEE 802.15 워킹그룹(Working Group)은 단거리 무선 네트워크의 표준으로 WPAN을 정하고, 그 아래 4개의 TG(Task Group)을 두고 있다. IEEE 802.15.1이 블루투스(Bluetooth)이고, IEEE 802.15.3 및 IEEE 802.15.3a는 고속 WPAN이며, IEEE 802.15.4는 250Kbps 이하의 저속 WPAN으로서 본 발명이 적용되는 지그비이다.In an effort to implement such a PAN wirelessly, the IEEE 802.15 Working Group has set WPAN as a standard for short-range wireless networks and has four TGs (Task Groups) under it. IEEE 802.15.1 is Bluetooth, IEEE 802.15.3 and IEEE 802.15.3a are high speed WPANs, and IEEE 802.15.4 is a Zigbee to which the present invention is applied as a low speed WPAN of 250 Kbps or less.

도 1은 지그비 네트워크의 일 모델을 나타낸 도면으로서, 도 1에 도시한 바와 같이 지그비는 복수개의 디바이스(105 내지 125)가 하나의 네트워크를 구성하며, 상기 복수개의 디바이스(105 내지 125) 중 어느 하나가 코디네이터(coordinator: 105)로 선정된다. 상기 코디네이터(105)는 나머지 디바이스{110 내지 125: 이하 상기 나머지 디바이스 중 각각의 디바이스를 '엔드 디바이스(end device)'라 칭함}에 동기신호인 비이콘(beacon)을 브로드캐스트(broadcast)하여 상기 지그비에 접속된 엔드 디바이스(110 내지 125)를 동기화시킴으로써 상호 통신을 가능하게 한다.FIG. 1 is a diagram illustrating a model of a Zigbee network. As illustrated in FIG. 1, in ZigBee, a plurality of devices 105 to 125 constitute one network, and any one of the plurality of devices 105 to 125 is illustrated. Is selected as the coordinator (105). The coordinator 105 broadcasts a beacon which is a synchronization signal to the remaining devices (hereinafter, referred to as 'end devices' of each of the remaining devices). Intercommunication is enabled by synchronizing end devices 110-125 connected to Zigbee.

도 2는 지그비의 스택 시스템(stack system: 200)을 나타낸 도면으로서, 도 2에 도시한 바와 같이 상기 지그비의 최상위층은 네트워크를 가동시키는 등의 기능을 수행하는 어플리케이션 레이어{application(APL) layer: 205}이고, 그 아래에 순차적으로 네트워크 레이어{network(NWK) layer: 210}, 맥 레이어{MAC(Medium Access Control) layer: 215}, 피지컬 레이어{physical(PHY) layer: 220}가 위치한다.FIG. 2 is a diagram illustrating a ZigBee stack system 200. As illustrated in FIG. 2, a top layer of ZigBee is an application layer (APL) layer 205 that performs a function of starting a network. }, And a network layer {network (NWK) layer: 210}, a MAC layer {MAC (Medium Access Control) layer: 215}, and a physical layer {physical (PHY) layer: 220} are sequentially located below.

상기 어플리케이션 레이어(205)와 네트워크 레이어(210)는 인터페이스 역할을 하는 NLME(Network Layer Management Entity: 225)를 통해 상호 통신하고, 상기 네트워크 레이어(210)와 맥 레이어(215)는 인터페이스 역할을 하는 MLME(MAC Layer Management Entity: 230)를 통해 상호 통신한다. 또한, 상기 맥 레이어(215)와 피지컬 레이어(220)는 PLME(Physical Layer Management Entity: 235)를 통해 상호 통신한다.The application layer 205 and the network layer 210 communicate with each other through a network layer management entity (NLME) 225 serving as an interface, and the network layer 210 and the MAC layer 215 serve as an interface. (MAC Layer Management Entity: 230) to communicate with each other. In addition, the MAC layer 215 and the physical layer 220 communicate with each other through a physical layer management entity (PLME).

도 3은 상기 지그비의 스택 시스템(200)을 통해 이루어지는 종래의 리브(LEAVE) 수행과정을 나타내기 위한 흐름도이다. 여기서 리브는, 상기 지그비 네트워크에 속해 있는 디바이스가 상기 지그비 네트워크로부터 이탈하고자 하는 것을 나타내는 용어로서 당업계에서 일반적으로 사용되는 용어이다.3 is a flowchart illustrating a conventional process of performing a LEAVE through the Zigbee stack system 200. Here, rib is a term generally used in the art as a term indicating that a device belonging to the Zigbee network intends to leave the Zigbee network.

이하, 도 1 내지 도 3을 참조하여 종래의 리브 수행과정을 설명하면 다음과 같다. 다만, 설명의 편의를 위해 엔드 디바이스(110)가 코디네이터(105)에게 리브를 요청하는 경우를 가정하여 설명하기로 하는데, 이때 상기 엔드 디바이스(110)는 차일드(Child)이고 상기 코디네이터(105)는 패어런트(Parent)이다.Hereinafter, a conventional rib performing process will be described with reference to FIGS. 1 to 3. However, for convenience of description, it will be described on the assumption that the end device 110 requests a rib to the coordinator 105, wherein the end device 110 is a child and the coordinator 105 is It is parent.

먼저, 차일드 어플리케이션 레이어(205)에서 상기 NLME(225)를 통해 상기 차일드 네트워크 레이어(210)로 리브를 요청한다(S305).First, the child application layer 205 requests a rib to the child network layer 210 through the NLME 225 (S305).

그 다음, 상기 차일드 네트워크 레이어(210)는 네이버 테이블(Neighbor Table)에서 상기 코디네이터(105)의 주소 및 상기 코디네이터(105)에 관련된 정보를 찾아 지운다(S310).Next, the child network layer 210 finds and deletes the address of the coordinator 105 and information related to the coordinator 105 in a neighbor table (S310).

그 다음, 상기 차일드 네트워크 레이어(210)는 상기 MLME(230)를 통해 차일드 맥 레이어로(215) 디스어소시에이트(DISASSOCIATE)를 요청한다(S315).Next, the child network layer 210 requests DISASSOCIATE to the child MAC layer 215 through the MLME 230 (S315).

여기서, 디스어소시에이트는 상기 지그비 네트워크에 속해 있는 디바이스가 상기 지그비 네트워크와 단절되는 것을 의미하는 용어로서 당업계에서 일반적으로 사용되는 용어이다.Here, the disassociation is a term generally used in the art as a term meaning that a device belonging to the Zigbee network is disconnected from the Zigbee network.

그 다음, 상기 차일드 맥 레이어(215)는 상기 코디네이터(105)로 디스어소시에이트 명령을 송신(일반적으로 RF송신)한 후, 상기 코디네이터(105)로부터 응답이 오기를 기다린다(S320).Next, the child Mac layer 215 transmits a disassociation command to the coordinator 105 (generally, RF transmission), and waits for a response from the coordinator 105 (S320).

그 다음, 상기 코디네이터(105)로부터 응답이 도착하면, 상기 차일드 맥 레이어(215)는 상기 MLME(230)를 통해, 상기 코디네이터(105)가 디스오소시에이트에 성공(success)하였다는 것을 상기 차일드 네트워크 레이어(210)로 확인(confirm)해준다(S325).Then, when a response arrives from the coordinator 105, the child mac layer 215 via the MLME 230, the child that the coordinator 105 succeeded in the disassociation. Confirm with the network layer 210 (S325).

마지막으로, 상기 차일드 네트워크 레이어(210)는 상기 NLME(225)를 통해, 상기 엔드 디바이스(110)가 리브되었다는 것을 상기 차일드 어플리케이션 레이어 (205)로 확인해줌으로써 리브 수행과정을 마치게 된다(S330).Finally, the child network layer 210 confirms through the NLME 225 that the end device 110 has been ribbed to the child application layer 205 to finish the rib process (S330).

그런데, 상술한 종래의 리브 수행과정은 다음과 같은 문제점이 있었다.However, the above-described conventional rib performing process has the following problems.

즉, 상기 S320과정에서, 송신채널(일반적으로 RF송신채널)이 매우 비지(busy)하거나 또는, 상기 코디테이터(105)의 전원이 꺼져있음으로 인하여, 디스어소시에이트 명령이 상기 차일드 맥 레이어(215)로부터 상기 코디네이터(105)로 송신되지 못하는 경우가 발생한 경우에, 상기 차일드 네트워크 레이어(210)는 네이버 테이블(Neighbor Table)에서 상기 코디네이터(105)의 주소 및 상기 코디네이터(105)에 관련된 정보를 이미 지운 상태인데 반하여, 상기 코디네이터(105)는 상기 엔드 디바이스(110)의 주소 및 상기 엔드 디바이스(110)에 관한 정보를 지우지 않은 상태가 됨으로써, 상기 코디네이터(105)와 상기 엔드 디바이스(110)간의 정보 불일치가 발생하게 되고, 그로 인하여 상호 통신이 불가능해지는 상황이 발생하게 된다.That is, in step S320, because the transmission channel (generally the RF transmission channel) is very busy or the coordinator 105 is turned off, the disassociation command is issued to the child mac layer 215. In the case where the transmission to the coordinator 105 does not occur from the child network layer 210, the child network layer 210 has already deleted the address of the coordinator 105 and information related to the coordinator 105 from a neighbor table. On the contrary, the coordinator 105 is in a state in which the address of the end device 110 and the information about the end device 110 are not erased, thereby inconsistent information between the coordinator 105 and the end device 110. Is generated, resulting in a situation in which mutual communication is impossible.

따라서, 본 발명은 상술한 문제점을 해결하기 위해 이루어진 것으로, 본 발명의 목적은, 지그비 네트워크에서 리브를 요청하는 디바이스와 리브를 요청받는 디바이스 사이에 정보 불일치가 발생하는 상황을 방지할 수 있는 리브 수행방법을 제공하는데 있다.Accordingly, the present invention has been made to solve the above-described problem, and an object of the present invention is to perform a rib that can prevent a situation in which information inconsistency occurs between a device requesting rib and a device requesting rib in a Zigbee network. To provide a method.

상기한 목적을 달성하기 위한 본 발명에 의한 지그비 네트워크에서의 리브수행방법은, 어플리케이션 레이어(application layer)에서 NLME를 통해 네트워크 레 이어(network layer)로 리브(LEAVE)를 요청하는 단계; 상기 네트워크 레이어에서 리브 요청을 수신한 후, MLME를 통해 맥 레이어(MAC layer)로 디스어소시에이트(DISASSOCIATE)를 요청하는 단계; 상기 맥 레이어에서 제1디스어소시에이션(disassociation) 과정을 수행하는 단계; 상기 맥 레이어에서 상기 제1디스어소시에이션 과정을 수행한 후 생성된 디스어소시에이션에 관한 상태(status)정보를 상기 MLME를 통해 상기 네트워크 레이어로 확인(confirm)해주는 단계; 상기 네트워크 레이어에서 상기 디스어소시에이션에 관한 상태정보를 판별한 후, 제2디스어소시에이션 과정을 수행하는 단계; 및 상기 네트워크 레이어에서 상기 제2디스어소시에이션 과정을 수행한 후 생성된 리브에 관한 상태정보를 상기 NLME를 통해 상기 어플리케이션 레이어로 확인(confirm)해주는 단계를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a method of performing a rib in a Zigbee network, the method comprising: requesting a rib from a application layer to a network layer through a NLME; After receiving a rib request at the network layer, requesting a disassociation (DISASSOCIATE) to a MAC layer through an MLME; Performing a first disassociation process in the mac layer; Confirming, by the MLME, status information regarding the disassociation generated after performing the first disassociation process in the MAC layer to the network layer; Determining, by the network layer, state information about the disassociation, and then performing a second disassociation process; And confirming the state information about the rib generated after performing the second disassociation process in the network layer to the application layer through the NLME.

여기서, 상기 각 레이어는 디스어소시에이트를 요청한 디바이스의 레이어인 것을 특징으로 한다.Here, each layer is characterized in that the layer of the device requesting the disassociation.

그리고, 상기 맥 레이어에서 제1디스어소시에이션(disassociation) 과정을 수행하는 방법은, 상기 맥레이어에서 PLME를 통해 피지컬 레이어(physical layer)로 디스어소시에이트를 요청하는 단계; 상기 피지컬 레이어에서 디스어소시에이트를 요청받는 디바이스로 디스어소시에이트 명령을 송신한 후, 응답을 기다리는 단계를 포함하는 것을 특징으로 한다.The method for performing a first disassociation process in the Mac layer may include: requesting a disassociation from a physical layer through a PLME in the Mac layer; And transmitting a disassociation command from the physical layer to the device requesting the disassociation, and then waiting for a response.

또한, 상기 지그비 네트워크에서의 리브수행방법은, 상기 디스어소시에이트(DISASSOCIATE)를 요청받는 디바이스로부터 응답이 오는 경우, 상기 디스어소시에이트(DISASSOCIATE)를 요청받는 디바이스는 상기 디스어소시에이트(DISASSOCIATE) 를 요청한 디바이스에 관한 정보를 네이버 테이블(neighbor table)에서 삭제하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the method of performing ribs in the Zigbee network, when a response from the device requesting the DISASSOCIATE, the device receiving the DISASSOCIATE is related to the device requesting the DISASSOCIATE The method may further include deleting information from a neighbor table.

또한, 상기 제2디스어소시에이션 과정을 수행하는 방법은, 상기 디스어소시에이션에 관한 상태정보가 성공(success)인 경우, 상기 네트워크 레이어는 상기 디스어소시에이트를 요청한 디바이스의 네이버 테이블에서 상기 디스어소시에이트를 요청받는 디바이스에 관한 정보를 삭제하고, 상기 디스어소시에이션에 관한 상태정보가 실패(failure)인 경우, 상기 네트워크 레이어는 상기 디스어소시에이트를 요청한 디바이스의 네이버 테이블에서 상기 디스어소시에이트를 요청받는 디바이스에 관한 정보를 삭제하지 않는 것을 특징으로 한다.The method for performing the second disassociation process may include: when the status information regarding the disassociation is successful, the network layer requests the disassociation device from a neighbor table of the device requesting the disassociation. Deletes the information on the disassociation, and when the status information on the disassociation is failure, the network layer does not delete the information on the device requesting the disassociation from the neighbor table of the device requesting the disassociation. It is characterized by.

한편, 상기 디스어소시에이트를 요청한 디바이스는 차일드(child) 디바이스이고, 상기 디스어소시에이트를 요청받는 디바이스는 패어런트(parent) 디바이스이거나, 또는 상기 디스어소시에이트를 요청한 디바이스는 패어런트(parent) 디바이스이고, 상기 디스어소시에이트를 요청받는 디바이스는 차일드(child) 디바이스인 것을 특징으로 한다.On the other hand, the device requesting the disassociation is a child device, the device requesting the disassociation is a parent device, or the device requesting the disassociation is a parent device, The device that is requested to associate is a child device.

이하에서는 본 발명에 의한 실시예에 대하여 첨부한 도면을 참조하여 보다 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 실시예에 의한 지그비 네트워크에서의 리브 수행과정을 나타내기 위한 흐름도이다.4 is a flowchart illustrating a rib performing process in a Zigbee network according to an embodiment of the present invention.

도 4을 참조하여 본 실시예에 의한 리브 수행과정을 설명하기로 하되, 다만 설명의 편의를 위해 엔드 디바이스가 코디네이터에게 리브를 요청하는 경우를 가정하여 설명하기로 한다. 이때 상기 엔드 디바이스는 차일드(Child)이고 상기 코디네이터는 패어런트(Parent)이다.A process of performing ribs according to the present embodiment will be described with reference to FIG. 4. However, it will be described on the assumption that an end device requests a rib to a coordinator for convenience of description. In this case, the end device is a child and the coordinator is parent.

먼저, 차일드 어플리케이션 레이어(401)에서 NLME를 통해 차일드 네트워크 레이어(402)로 리브를 요청한다(S405). 이러한 리브 요청은 일반적으로 리브 요청 메시지를 송신하는 것으로 이루어진다.First, the child application layer 401 requests a rib to the child network layer 402 through the NLME (S405). This rib request generally consists of sending a rib request message.

그 다음, 상기 차일드 네트워크 레이어(402)에서 리브 요청을 수신한 후, MLME를 통해 차일드 맥 레이어(403)로 디스어소시에이트를 요청한다(S410). 이러한 디스어소시에이트 요청은 일반적으로 디스어소시에이트 요청 메시지를 송신하는 것으로 이루어진다.Then, after receiving the rib request from the child network layer 402, the disassociation request to the child Mac layer 403 through the MLME (S410). This disassociation request generally consists of sending a disassociation request message.

그 다음, 상기 맥 레이어(403)에서 제1디스어소시에이션(disassociation) 과정을 수행한다(S415).Next, a first disassociation process is performed in the MAC layer 403 (S415).

도 5는 상기 S415 과정을 나타내기 위한 흐름도로서, 도 5를 참조하여 상기 S415 과정에 대해 상세히 설명하면, 상기 차일드 맥 레이어(403)는 PLME를 통해 차일드 피지컬 레이어(404)로 디스어소시에이트를 요청한다(S505).FIG. 5 is a flowchart illustrating the process S415. When the process S415 is described in detail with reference to FIG. 5, the child mac layer 403 requests a disassociation to the child physical layer 404 through PLME. (S505).

디스어소시에이트를 요청받은 상기 차일드 피지컬 레이어(404)는 코디네이터(패어런트: 505)로 디스어소시에이트 명령을 무선으로 송신한 후, 상기 코디네이터(505)로부터 응답을 기다린다(S510).The child physical layer 404 requesting the disassociation transmits a disassociation command wirelessly to the coordinator (Parent: 505), and waits for a response from the coordinator (505) (S510).

만약, 상기 코디네이터(505)가 디스어소시에이트 명령을 수신하지 못하는 경우{송신채널이 매우 비지(busy)하거나 또는, 상기 코디테이터(505)의 전원이 꺼져있는 경우 등}에는, 상기 차일드 피지컬 레이어(404)는 상기 코디네이터(505)로부터 어떠한 응답도 수신하지 못한다. 이 경우, 상기 차일드 피지컬 레이어(404)는 디스어소시에이트에 실패하였다는 것을 상기 차일드 맥 레이어(403)로 확인(confirm)해준다(S515).If the coordinator 505 does not receive the disassociation command (when the transmission channel is very busy or the coordinator 505 is turned off), the child physical layer 404 Does not receive any response from the coordinator 505. In this case, the child physical layer 404 confirms to the child mac layer 403 that the disassociation has failed (S515).

한편, 상기 코디네이터(505)가 디스어소시에이트 명령을 수신한 경우에는, 상기 차일드 피지컬 레이어(404)는 상기 코디네이터(505)로부터 디스어소시에이트 명령을 수행하였다는 응답을 수신하게 된다. 그리고, 상기 코디네이터(505)는 디스어소시에이트를 요청한 상기 엔드 디바이스의 주소 등 상기 엔드 디바이스에 관한 관련 정보를 네이버 테이블에서 찾아 삭제한다. On the other hand, when the coordinator 505 receives a disassociation command, the child physical layer 404 receives a response from the coordinator 505 to perform a disassociation command. The coordinator 505 finds and deletes relevant information about the end device from the neighbor table such as the address of the end device requesting the disassociation.

이 경우, 상기 차일드 피지컬 레이어(404)는 디스어소시에이트에 성공하였다는 것을 상기 차일드 맥 레이어(403)로 확인해준다(S515).In this case, the child physical layer 404 confirms to the child mac layer 403 that the disassociation was successful (S515).

상기 차일드 피지컬 레이어(404)로부터 디스어소시에이트의 성공여부를 확인받은 상기 차일드 맥 레이어(403)는 디스어소시에이션에관한 상태정보{'성공'(success) 또는 '실패'(failure)}를 생성한 후, 그 상태정보를 상기 차일드 네트워크 레이어(402)로 확인해준다.After the child Mac layer 403, which has confirmed the success of the disassociation from the child physical layer 404, generates the state information ('success' or 'failure') related to the disassociation, The state information is confirmed to the child network layer 402.

그 다음, 상기 차일드 네트워크 레이어(402)는 상기 디스어소시에이션에 관한 상태정보를 판별(S425)한 후, 제2디스어소시에이션 과정(S430)을 수행한다.Next, the child network layer 402 determines state information regarding the disassociation (S425), and then performs a second disassociation process (S430).

여기서, 상기 S430 과정을 상세히 설명하면, 만약 상기 디스어소시에이션에관한 상태정보가 '성공'이면 상기 차일드 네트워크 레이어(402)는 상기 코디네이터(505)의 주소 등 상기 코디네이터(505)에 관한 관련 정보를 네이버 테이블에서 찾아 삭제한다.Herein, the process of S430 will be described in detail. If the status information regarding the disassociation is 'success', the child network layer 402 may provide relevant information about the coordinator 505 such as the address of the coordinator 505. Find it in the table and delete it.

한편, 상기 디스어소시에이션에관한 상태정보가 '실패'이면 상기 차일드 네트워크 레이어(402)는 상기 코디네이터(505)의 주소 등 상기 코디네이터(505)에 관한 관련 정보에 대해 어떠한 작업도 수행하지 않는다.On the other hand, if the status information on the disassociation is 'failed', the child network layer 402 does not perform any operation on the related information about the coordinator 505, such as the address of the coordinator 505.

즉, 상기 코디네이터(505)가 상기 엔드 디바이스로부터 디스어소시에이트 명령을 수신하여 상기 코디네이터(505)의 네이버 테이블에서 상기 엔드 디바이스에 관한 정보를 삭제한 경우에는, 상기 엔드 디바이스도 본 과정(S430)에서 상기 코디네이터(505)에 관한 정보를 삭제함으로써, 상기 코디네이터(505)와 상기 엔드 디바이스간의 정보의 일치를 가져오고, 따라서 상호 통신이 가능하게 된다.That is, when the coordinator 505 receives a disassociation command from the end device and deletes the information about the end device from the neighbor table of the coordinator 505, the end device also receives the information in step S430. By deleting the information about the coordinator 505, the information of the coordinator 505 and the end device is matched, and thus mutual communication is possible.

반대로, 상기 코디네이터(505)가 상기 엔드 디바이스로부터 디스어소시에이트 명령을 수신하지 못하여 상기 코디네이터(505)의 네이버 테이블에서 상기 엔드 디바이스에 관한 정보를 삭제하지 않은 경우에는, 상기 엔드 디바이스도 본 과정(S430)에서 상기 코디네이터(505)에 관한 정보를 삭제하지 않음으로써, 상기 코디네이터(505)와 상기 엔드 디바이스간의 정보의 일치를 가져오고, 따라서 상호 통신이 가능하게 된다.On the contrary, when the coordinator 505 does not receive the disassociation command from the end device and thus does not delete the information about the end device from the neighbor table of the coordinator 505, the end device may also view the process (S430). By not deleting the information about the coordinator 505 in the above, the coordinator 505 and the end device is matched with each other, thereby enabling mutual communication.

마지막으로, 상기 차일드 네트워크 레이어(402)는 리브에 관한 상태정보('성공' 또는 '실패')를 생성(S435)한 후, 그 상태정보를 상기 NLME를 통해 상기 차일드 어플리케이션 레이어로 확인해줌으로써 본 실시예에 의한 리브 수행과정을 마친다(S440).Finally, the child network layer 402 generates state information ('success' or 'failure') about the rib (S435), and then checks the state information to the child application layer through the NLME. Finishing the rib process according to the example (S440).

상술한 본 실시예에서는 엔드 디바이스와 코디네이터간의 리브 수행과정을 예로들어 설명하였으나, 이러한 리브 수행과정은 지그비 네트워크의 다른 디바이스, 예를 들어 라우터와 엔드 디바이스, 라우터와 코디네이터간에도 적용될 수 있다.In the above-described embodiment, the rib performing process between the end device and the coordinator has been described as an example, but the rib performing process may be applied to other devices of the Zigbee network, for example, a router and an end device, and a router and the coordinator.

이상의 본 발명은 상기에 기술된 실시예에 의해 한정되지 않고, 당업자들에 의해 다양한 변형 및 변경을 가져올 수 있으며, 이는 첨부된 특허청구범위에서 정의되는 본 발명의 취지와 범위에 포함되는 것으로 보아야 할 것이다.The present invention is not limited to the above-described embodiments, and various modifications and changes can be made by those skilled in the art, which should be regarded as included in the spirit and scope of the present invention as defined in the appended claims. will be.

이상에서 상세히 설명한 바와 같이 본 발명에 의한 지그비 네트워크에서의 리브 수행방법에 의하면, 무선송신채널이 매우 비지(busy)하거나 또는, 리브를 요청받는 디바이스의 전원이 꺼져있음으로 인하여, 디스어소시에이트 명령이 리브를 요청한 디바이스로부터 상기 리브를 요청받는 디바이스로 송신되지 못하는 돌발상황이 발생한 경우에도, 상기 리브를 요청한 디바이스와 상기 리브를 요청받은 디바이스의 정보를 일치시킴으로써 항상 통신을 가능케 하는 이점이 있다.As described in detail above, according to the rib performing method in the Zigbee network according to the present invention, the disassociation command is ribbed because the radio transmission channel is very busy or the power of the device requesting the rib is turned off. Even when an unexpected situation in which the rib is not transmitted from the device requesting the rib to the device requesting the rib occurs, there is an advantage of enabling communication at all times by matching the information of the device requesting the rib and the device requesting the rib.

Claims (7)

어플리케이션 레이어(application layer)에서 NLME를 통해 네트워크 레이어(network layer)로 리브(LEAVE)를 요청하는 단계;Requesting LEAVE from the application layer to the network layer through the NLME; 상기 네트워크 레이어에서 리브 요청을 수신한 후, MLME를 통해 맥 레이어(MAC layer)로 디스어소시에이트(DISASSOCIATE)를 요청하는 단계;After receiving a rib request at the network layer, requesting a disassociation (DISASSOCIATE) to a MAC layer through an MLME; 상기 맥 레이어에서 제1디스어소시에이션(disassociation) 과정을 수행하는 단계;Performing a first disassociation process in the mac layer; 상기 맥 레이어에서 상기 제1디스어소시에이션 과정을 수행한 후 생성된 디스어소시에이션에 관한 상태(status)정보를 상기 MLME를 통해 상기 네트워크 레이어로 확인(confirm)해주는 단계;Confirming, by the MLME, status information regarding the disassociation generated after performing the first disassociation process in the MAC layer to the network layer; 상기 네트워크 레이어에서 상기 디스어소시에이션에 관한 상태정보를 판별한 후, 제2디스어소시에이션 과정을 수행하는 단계; 및Determining, by the network layer, state information about the disassociation, and then performing a second disassociation process; And 상기 네트워크 레이어에서 상기 제2디스어소시에이션 과정을 수행한 후 생성된 리브에 관한 상태정보를 상기 NLME를 통해 상기 어플리케이션 레이어로 확인(confirm)해주는 단계를 포함하는 지그비(ZigBee) 네트워크에서의 리브수행방법.And confirming the state information about the rib generated after performing the second disassociation process in the network layer to the application layer through the NLME. 제1항에 있어서,The method of claim 1, 상기 각 레이어는 디스어소시에이트를 요청한 디바이스의 레이어인 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.Wherein each layer is a layer of a device requesting a disassociation. 제2항에 있어서,The method of claim 2, 상기 맥 레이어에서 제1디스어소시에이션(disassociation) 과정을 수행하는 방법은,In the method for performing a first disassociation process in the Mac layer, 상기 맥레이어에서 PLME를 통해 피지컬 레이어(physical layer)로 디스어소시에이트를 요청하는 단계;Requesting a disassociate from the McLayer to a physical layer through PLME; 상기 피지컬 레이어에서 디스어소시에이트를 요청받는 디바이스로 디스어소시에이트 명령을 송신한 후, 응답을 기다리는 단계를 포함하는 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.And transmitting a disassociation command from the physical layer to a device requesting a disassociation, and then waiting for a response. 제3항에 있어서,The method of claim 3, 상기 디스어소시에이트(DISASSOCIATE)를 요청받는 디바이스로부터 응답이 오는 경우, 상기 디스어소시에이트(DISASSOCIATE)를 요청받는 디바이스는 상기 디스어소시에이트(DISASSOCIATE)를 요청한 디바이스에 관한 정보를 네이버 테이블(neighbor table)에서 삭제하는 단계를 더 포함하는 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.When a response is received from the device requesting the DISASSOCIATE, the device receiving the DISASSOCIATE deletes information about the device requesting the DISASSOCIATE from a neighbor table. Rib performing method in a Zigbee network, characterized in that it further comprises. 제1항 내지 제4항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제2디스어소시에이션 과정을 수행하는 방법은,The method of performing the second disassociation process, 상기 디스어소시에이션에 관한 상태정보가 성공(success)인 경우, 상기 네트 워크 레이어는 상기 디스어소시에이트를 요청한 디바이스의 네이버 테이블에서 상기 디스어소시에이트를 요청받는 디바이스에 관한 정보를 삭제하고,If the status information on the disassociation is success, the network layer deletes the information on the device requesting the disassociation from the neighbor table of the device requesting the disassociation, 상기 디스어소시에이션에 관한 상태정보가 실패(failure)인 경우, 상기 네트워크 레이어는 상기 디스어소시에이트를 요청한 디바이스의 네이버 테이블에서 상기 디스어소시에이트를 요청받는 디바이스에 관한 정보를 삭제하지 않는 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.If the status information on the disassociation is failure, the network layer does not delete the information on the device requesting the disassociation from the neighbor table of the device requesting the disassociation. How to Perform Ribs. 제2항 내지 제4항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 디스어소시에이트를 요청한 디바이스는 차일드(child) 디바이스이고, 상기 디스어소시에이트를 요청받는 디바이스는 패어런트(parent) 디바이스인 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.And the device requesting the disassociation is a child device and the device requesting the disassociation is a parent device. 제2항 내지 제4항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 디스어소시에이트를 요청한 디바이스는 패어런트(parent) 디바이스이고, 상기 디스어소시에이트를 요청받는 디바이스는 차일드(child) 디바이스인 것을 특징으로 하는 지그비 네트워크에서의 리브수행방법.The device requesting the disassociation is a parent device, and the device receiving the disassociation is a child device.
KR1020050039072A 2005-05-10 2005-05-10 Method of proceeding leave of zigbee network KR100635168B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050039072A KR100635168B1 (en) 2005-05-10 2005-05-10 Method of proceeding leave of zigbee network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050039072A KR100635168B1 (en) 2005-05-10 2005-05-10 Method of proceeding leave of zigbee network

Publications (1)

Publication Number Publication Date
KR100635168B1 true KR100635168B1 (en) 2006-10-17

Family

ID=37626447

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050039072A KR100635168B1 (en) 2005-05-10 2005-05-10 Method of proceeding leave of zigbee network

Country Status (1)

Country Link
KR (1) KR100635168B1 (en)

Similar Documents

Publication Publication Date Title
RU2693592C1 (en) Method, device and a computer program product for a service detection proxy session for wireless communication
JP3428960B2 (en) Network operation method between Bluetooth equipped devices
TW545073B (en) Low level mobility management procedures
CN104812101B (en) Wireless telecom equipment, wireless communication system, wireless communications method and program
US7986655B2 (en) Method for setting up a link between bluetooth devices in a bluetooth system
CN103491569B (en) Method, device and the computer program disconnecting for wireless short-range communication
KR101407779B1 (en) Continuous group ownership in an ieee 802.11 wireless local area network
JP6120865B2 (en) Method and apparatus for managing security key for communication authentication with terminal in wireless communication system
KR100547116B1 (en) Method for communicating through wireless network and a device thereof
US7417998B2 (en) Wireless network device and communication method using the wireless network device
JP3849647B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and computer program
JP3382806B2 (en) Slave station
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
CN103916163A (en) Method, Apparatus, And Computer Program Product For Wireless Short-range Communication
JP2006319476A (en) Radio communication system, radio communication apparatus and radio communication method, and computer program
JPWO2003088691A1 (en) Handover control method
RU2006111717A (en) METHOD AND DEVICE FOR DETECTING NEIGHBORING NODES INSIDE PICNOS COMMUNICATION SYSTEM
JP3905534B2 (en) Method and system for efficiently communicating between a child PNC and a target device
JP2006081164A (en) Method for expanding area for lan system and wirelss lan and access points and stations thereof
WO2017124286A1 (en) Method for processing dcn of plmn, ue, and dcn service node
JP2000358059A (en) Inter-lan connecting method, access point device and lan system
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
US20120155352A1 (en) Wireless local area communication system
JP2004072565A (en) Method, system and device for radio lan communication, radio terminal used in the system, communication control program and recording medium recorded with the program
US7801097B2 (en) Setting up of a wireless network by determining and utilizing local topology information

Legal Events

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

Payment date: 20090929

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee