KR100649680B1 - Method for solving pan id conflict in personal area network - Google Patents

Method for solving pan id conflict in personal area network Download PDF

Info

Publication number
KR100649680B1
KR100649680B1 KR1020050071718A KR20050071718A KR100649680B1 KR 100649680 B1 KR100649680 B1 KR 100649680B1 KR 1020050071718 A KR1020050071718 A KR 1020050071718A KR 20050071718 A KR20050071718 A KR 20050071718A KR 100649680 B1 KR100649680 B1 KR 100649680B1
Authority
KR
South Korea
Prior art keywords
layer
pan
network
collision
scan
Prior art date
Application number
KR1020050071718A
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 KR1020050071718A priority Critical patent/KR100649680B1/en
Application granted granted Critical
Publication of KR100649680B1 publication Critical patent/KR100649680B1/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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

A method for solving PAN(Personal Area Network) ID collision in a PAN is provided to enable an MAC(Medium Access Control) layer of a protocol to deliver the generation of collision to an application layer, if a plurality of the same PAN IDs exist and collide with one another on one channel, thus a user can be informed that the collision of the PAN IDs occurs. An MAC layer(210) informs a network layer(220) that collision of PAN IDs occurs(S31). The network layer(220) requests the MAC layer(210) to scan a corresponding channel(S32). The MAC layer(210) scans the corresponding channel by the scanning request, and informs the network layer(220) of the scanned results(S33). If more than one of the same PAN IDs exists on the corresponding channel, the network layer(220) informs an application layer(230) that the collision of the PAN IDs occurs(S341).

Description

개인 통신 네트워크에서 PAN ID 충돌의 해결 방법{METHOD FOR SOLVING PAN ID CONFLICT IN PERSONAL AREA NETWORK}How to resolve PAN ID collisions in a personal communication network {METHOD FOR SOLVING PAN ID CONFLICT IN PERSONAL AREA NETWORK}

도 1은 지그비(Zigbee)를 이용한 통상적인 개인 통신 네트워크를 도시한 구성도이다.1 is a block diagram illustrating a typical personal communication network using Zigbee.

도 2는 지그비에서 채택하는 프로토콜의 계층구조를 개략적으로 도시한 도면이다.2 is a diagram schematically illustrating a hierarchy of protocols adopted by Zigbee.

도 3은 종래의 방식에 따른, 지그비 개인 통신 네트워크에서 PAN-ID 충돌이 발생한 경우 계층 간의 동작을 도시한 순서도이다.3 is a flowchart illustrating the operation between layers when a PAN-ID collision occurs in a ZigBee personal communication network according to a conventional scheme.

도 4는 본 발명의 일실시형태에 따른, 지그비 개인 통신 네트워크에서 PAN-ID 충돌이 발생한 경우 계층 간의 동작을 도시한 순서도이다.4 is a flowchart illustrating the operation between layers when a PAN-ID collision occurs in a ZigBee personal communication network according to one embodiment of the present invention.

*도면의 주요부분에 대한 부호의 설명** Explanation of symbols for main parts of drawings *

PAN1, PAN2: 개인 통신 네트워크 C1, C2: 코디네이터PAN1, PAN2: Personal Communications Network C1, C2: Coordinator

R11, R12, R21, R22: 라우터R11, R12, R21, R22: Router

E11 내지 E15, E21 내지 E25: 단말장치 210: MAC 계층E11 to E15, E21 to E25: Terminal device 210: MAC layer

220: 네트워크 계층 230: 애플리케이션 계층220: network layer 230: application layer

본 발명은 개인 통신 네트워크(Personal Area Network: PAN)에서 PAN ID의 충돌을 해결하기 위한 방법에 관한 것으로, 더욱 상세하게는 지그비(Zigbee)을 적용한 무선 PAN에서 하나의 채널에 복수의 동일한 PAN ID가 존재하여 충돌하는 경우, 프로토콜의 MAC(Media Access Controller) 계층에서 애플리케이션(application) 계층으로 충돌의 발생을 전달함으로써, 사용자에게 PAN ID의 충돌이 발생함을 통보할 수 있는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법에 관한 것이다.The present invention relates to a method for resolving a collision of PAN IDs in a personal area network (PAN). More particularly, a plurality of identical PAN IDs are provided in one channel in a wireless PAN to which Zigbee is applied. PAN ID Collision in a Personal Communication Network that, when present and colliding, can notify the user of a PAN ID collision by communicating the occurrence of the collision from the Media Access Controller (MAC) layer of the protocol to the application layer. Is about the solution.

최근, 여러 가지 전자장치(노트북 컴퓨터, 휴대폰, PDA, MP3 플레이어 등)를 몸에 휴대하지만, 이런 장치들은 유선으로 연결하는 것이 번거롭고 불편할 뿐만 아니라 시간낭비도 되므로, 서로 연동시키지 않고 각각 별도로 사용되며 애플리케이션도 상호 호환되지 않는다. 만약, 근거리 무선기술을 이용하면 장치간 케이블을 연결하지 않아도 장치간 직접 통신하여 네트워크를 구성할 수 있으며, 이에 따라 애플리케이션간 서로 정보를 교환할 수 있다. Recently, various electronic devices (notebook computers, mobile phones, PDAs, MP3 players, etc.) are carried on the body, but these devices are not only cumbersome and inconvenient, but also time-consuming to connect by wire, so they are used separately without interworking with each other. Nor are they compatible with each other. If short-range wireless technology is used, a network can be configured by directly communicating between devices without a cable connection between devices, thereby allowing applications to exchange information with each other.

이와 같은 개인 장치간 구성된 네트워크를 무선 개인 통신 네트워크(WPAN:Wireless Personal Area Networks)라 하며, 이러한 무선 개인 통신 네트워크를 이용하여 회의에 참석한 사람들 간에 문서나 발표자료 등을 서로 공유할 수 있 고, 무선 LAN의 AP(Access Point)나 휴대폰을 통해 인터넷에 접속할 수도 있다. 또한, 무선 개인 통신 네트워크는 비교적 짧은 거리 내에서 비교적 적은 사용자간에 정보를 전달하는 데 목적이 있고, 기반시설과 거의 상관이 없으므로 다양한 장치에 구현할 수 있는 값싸고 전력효율이 좋은 솔루션이다. Such a personal device network is called a wireless personal area network (WPAN). The wireless personal communication network can be used to share documents or presentations among people who attend meetings. You can also access the Internet through an access point (AP) or mobile phone in a wireless LAN. In addition, wireless personal communication networks are aimed at delivering information between relatively few users within a relatively short distance, and have little to do with infrastructure, and thus are inexpensive and power efficient solutions that can be implemented in various devices.

이와 같은, 무선 개인 통신 네트워크를 구현할 수 있는 표준 기술의 하나로서 지그비(Zigbee)가 최근 주목받고 있다. 일반적으로, 지그비(Zigbee) 기반의 무선 개인 통신 네트워크는 비교적 짧은 거리 내에서 비교적 적은 사용자간에 정보를 전달하며, 주변 장치간 케이블 없이 무선으로 직접 통신할 수 있다. 특히, 고속의 WPAN은 2.4GHz에서 동작하고 최대 55Mbps까지 지원하여 멀티미디어 트래픽 전송도 가능하고, 기존 통신 시스템의 보완적인 역할을 수행하면서 근거리 데이터 전송의 역할이나 능력이 점차로 증가하고 있다.As one of standard technologies capable of implementing a wireless personal communication network, Zigbee has recently attracted attention. In general, a Zigbee-based wireless personal communication network transmits information between relatively few users within a relatively short distance and can directly communicate wirelessly without cables between peripheral devices. In particular, high-speed WPAN operates at 2.4 GHz and supports up to 55 Mbps, which enables multimedia traffic transmission. As a supplementary role of the existing communication system, the role or capability of short-range data transmission is gradually increasing.

도 1은 지그비(Zigbee)를 이용한 통상적인 개인 통신 네트워크의 구성을 도시한 도면이다. 도 1은 두 개의 개인 통신 네트워크(PAN1, PAN2)를 도시하였다. 각각의 개인 통신 네트워크(PAN1, PAN2)는, 해당 개인 통신 네트워크 내의 통신에서 마스터가 되는 하나의 코디네이터(C1, C2)와, 상기 코디네이터(C1, C2)와 통신하는 고정된 복수의 라우터(R11, R12, R21, R22) 및 상기 라우터(R11, R12, R21, R22)와 통신하는 복수의 단말장치(E11 내지 E15, E21 내지 E25)를 포함하여 이루어진다.1 is a diagram showing the configuration of a typical personal communication network using Zigbee. 1 shows two personal communication networks PAN1 and PAN2. Each of the personal communication networks PAN1 and PAN2 includes one coordinator C1 and C2 that becomes a master in communication in the corresponding personal communication network, and a plurality of fixed routers R11, which communicate with the coordinators C1 and C2 R12, R21 and R22 and a plurality of terminal devices E11 to E15 and E21 to E25 communicating with the routers R11, R12, R21 and R22.

현재까지 발표된 가장 최신 버전인 지그비 네트워크 스펙 버전 1.0에 따르면, 서로 다른 개인 통신 네트워크 사이의 통신을 고려되고 있지 않으며, 하나의 개인 통신 네트워크는 하나의 채널과 하나의 PAN ID를 사용하는 것으로 정의되어 있다. 즉, 도 1에 도시된 2개의 개인 통신 네트워크(PAN1, PAN2)는 서로 다른 채널 및 서로 다른 PAN ID를 사용하게 된다.According to the latest version of ZigBee Network Specification Version 1.0, which has been released to date, communication between different personal communication networks is not considered, and one personal communication network is defined to use one channel and one PAN ID. have. That is, the two personal communication networks PAN1 and PAN2 shown in FIG. 1 use different channels and different PAN IDs.

한편, 지그비를 이용한 개인 통신 네트워크 내의 코디네이터, 라우터 및 단말장치 도 2와 같은 계층 구조의 프로토콜을 이용하여 통신하게 된다.Meanwhile, a coordinator, a router, and a terminal device in a personal communication network using Zigbee communicate using a hierarchical protocol as shown in FIG. 2.

도 2는 지그비에서 채택하는 프로토콜의 계층구조를 간략하게 도시한 것으로, 지그비 프로토콜은, 최하의 물리계층(200) 상에 MAC 계층(210), 네트워크 계층(220) 및 애플리케이션 계층(230)이 순차적으로 적층된 계층구조로 이루어진다.FIG. 2 schematically illustrates a hierarchical structure of a protocol adopted by ZigBee. In the ZigBee protocol, the MAC layer 210, the network layer 220, and the application layer 230 are sequentially disposed on the lowest physical layer 200. It consists of a stacked hierarchical structure.

물리계층(200)은 물리적 연결이 이루어지는 계층으로, 물리적 매개체를 통해 데이터의 전송이 이루어지는 계층이다. 상기 물리계층(200)은 물리적 연결을 활성화, 유지 및 해제하는 수단을 제공한다.The physical layer 200 is a layer in which a physical connection is made and a layer in which data is transmitted through a physical medium. The physical layer 200 provides a means for activating, maintaining and releasing a physical connection.

MAC 계층(210)은 에러 없이 프레임을 전송하는데 관련된 계층으로, 한정된 채널에서 서로 충돌이 발생하지 않도록 공유하여 사용하게 하기 위한 계층이다. MAC 계층(210)은 프레임 및 링크 억세스, 신뢰성 있는 전송, 플로우 제어, 네트워크 토폴로지, 에러 검출 및 수정에 관련된 계층이다.The MAC layer 210 is a layer related to transmitting a frame without an error, and is a layer for sharing and using it so that collision does not occur in a limited channel. MAC layer 210 is a layer related to frame and link access, reliable transmission, flow control, network topology, error detection and correction.

네트워크 계층(220)은 네트워크에 합류 또는 그로부터의 이탈에 관련된 계층으로, 프레임에 보안을 적용하고, 목적지로 프레임을 라우팅하고, 장치들 간의 루트를 찾고 유지하며, 네트워크를 시작하고 어드레스를 부여하는 등의 역할을 하는 계층이다.Network layer 220 is a layer related to joining or leaving a network, which secures frames, routes frames to destinations, finds and maintains routes between devices, initiates and addresses networks, and so on. It is the layer that plays the role of.

애플리케이션 계층(230)은 애플리케이션을 통해 사용자와 인터페이스할 수 있는 계층이다.The application layer 230 is a layer that can interface with a user through an application.

이와 같은 지그비로 구성된 개인 통신 네트워크에서, 하나의 개인 통신 네트워크에는 하나의 PAN ID가 사용된다. 즉, 하나의 채널에서 하나의 PAN ID가 사용되어야 한다. 그러나, 하나의 채널에서 동일한 PAN ID가 둘 이상 존재하는 경우, MAC 스펙에서는 도 3에 도시된 것과 같이, MAC 계층(210)에서 네트워크 계층(220)으로 MLME-SYNC-LOSS.indication이라는 프리미티브(primitive)를 이용하여, 하나의 채널에서 동일한 PAN ID가 둘 이상 존재한다는 사실을 통보하도록 하고 있으나 그 이후의 처리 방안에 대해서는 전혀 언급되어 있지 않다. 특히, 지그비 표준에 관하여 현재까지 발표된 가장 최신 버전인 지그비 네트워크 스펙 버전 1.0에 따르면, 이와 같이 하나의 채널에서 동일한 PAN ID가 둘 이상 존재하는 경우, 즉 하나의 채널에서 PAN ID의 충돌이 발생하는 경우에 관한 처리 방안에 대해서는 전혀 언급하고 있지 않다. In a personal communication network composed of such a Zigbee, one PAN ID is used for one personal communication network. That is, one PAN ID should be used in one channel. However, when two or more identical PAN IDs exist in one channel, the MAC specification shows a primitive called MLME-SYNC-LOSS.indication from the MAC layer 210 to the network layer 220 as shown in FIG. 3. ) To inform the fact that there is more than one of the same PAN ID in one channel, but there is no mention of further processing. In particular, according to the ZigBee Network Specification Version 1.0, which is the latest version released to date regarding the ZigBee standard, when two or more identical PAN IDs exist in one channel, that is, a PAN ID collision occurs in one channel. There is no mention of treatment options.

따라서, 종래의 기술에 따르면, 하나의 채널에서 동일한 PAN ID가 둘 이상 존재하는 경우, 이 사실이 네트워크 계층(220)으로만 전달되고 사용자와 인터페이스할 수 있는 애플리케이션 계층(230)에는 전달되지 못하므로, 사용자 또는 관리자가 개인 통신 네트워크에 하나의 채널에서 동일한 PAN ID가 둘 이상 존재하는 문제가 발생한 사실을 전혀 알지 못하는 문제점이 있었다.Therefore, according to the related art, when two or more identical PAN IDs exist in one channel, this fact is transmitted only to the network layer 220 and not to the application layer 230 which can interface with the user. In other words, there is a problem that a user or an administrator does not know at all that a problem occurs in the same communication with more than one PAN ID in a channel.

본 발명은 상기 종래 기술의 문제점을 해결하기 위해 안출된 것으로, 그 목적은, 지그비를 이용한 개인 통신 네트워크에서, 하나의 개인 통신 네트워크, 즉 하나의 채널에 동일한 PAN ID가 둘 이상 존재하는 경우, 이를 사용자 또는 관리자가 인식하게 할 수 있는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법을 제공하는데 있다.The present invention has been made to solve the problems of the prior art, the object of the present invention, in the personal communication network using Zigbee, if there is more than one same PAN ID in one personal communication network, that is, one channel, The present invention provides a solution to a PAN ID conflict in a personal communication network that can be recognized by a user or an administrator.

상기 목적을 달성하기 위한 기술적 구성으로서, 본 발명은,As a technical configuration for achieving the above object, the present invention,

MAC 계층과 상기 MAC 계층 상위에 순차적으로 형성된 네트워크 계층 및 애플리케이션 계층으로 이루어진 계층 구조를 형성하는 통신 프로토콜을 갖는 지그비(Zigbee) 기반의 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법에 있어서,A method for resolving a PAN ID collision in a Zigbee-based personal communication network having a communication protocol forming a layer structure consisting of a MAC layer and a network layer and an application layer sequentially formed above the MAC layer,

상기 MAC 계층에서 상기 네트워크 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계;Notifying a collision of a PAN ID to the network layer from the MAC layer;

상기 네트워크 계층에서 상기 MAC 계층으로 해당 채널의 스캔을 요청하는 단계;Requesting a scan of the channel from the network layer to the MAC layer;

상기 스캔 요청에 따라 상기 MAC 계층은 해당 채널을 스캔한 후, 그 스캔 결과를 상기 네트워크 계층으로 통보하는 단계; 및In response to the scan request, the MAC layer scanning a corresponding channel and notifying the network layer of the scan result; And

상기 스캔 결과 해당 채널에 하나 이상의 동일 PAN ID가 존재하는 경우, 상기 네트워크 계층이 애플리케이션 계층으로 PAN ID의 충돌이 발생함을 통보하는 단 계를 포함하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법을 제공한다.And providing a method for resolving a PAN ID conflict in a personal communication network including the step of notifying the collision of the PAN ID to the application layer when one or more identical PAN IDs exist in the corresponding channel as a result of the scanning. do.

바람직하게, 상기 애플리케이션 계층은 응용 프로그램을 통해 네트워크 관리자에게 PAN ID의 충돌이 발생함을 통보하는 단계를 더 포함할 수 있다.Preferably, the application layer may further include notifying a network administrator of a collision of PAN IDs through an application program.

더하여, 상기 스캔 결과 해당 채널에 하나의 PAN ID만 존재하는 경우, 상기 네트워크 계층이 상기 MAC 계층으로 동기를 계속 유지할 것을 요청하는 단계를 더 포함하는 것이 바람직하다.In addition, if there is only one PAN ID in the corresponding channel as a result of the scan, the network layer preferably further comprises the step of requesting to maintain synchronization with the MAC layer.

상기 계층간의 지시, 요청, 확인 등은 지그비 스펙에 정의된 프리미티브(primitive)에 의해 이루어질 수 있다.Instructions, requests, and confirmation between the layers may be made by primitives defined in the Zigbee specification.

예를 들어, 상기 MAC 계층에서 네트워크 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계는, MLME-SYNC-LOSS.indication 프리미티브(primitive)를 통해 PAN-ID의 충돌이 발생함을 통보하는 단계이다. For example, the notifying that the collision of the PAN ID occurs from the MAC layer to the network layer is a step of notifying that the collision of the PAN-ID occurs through the MLME-SYNC-LOSS.indication primitive. .

또한, 상기 네트워크 계층에서 상기 MAC 계층으로 해당 채널의 스캔을 요청하는 단계는, MLME-SCAN.request 프리미티브를 통해 해당 채널의 스캔을 요청하는 단계이다.In addition, the step of requesting a scan of the channel from the network layer to the MAC layer is a step of requesting a scan of the channel through the MLME-SCAN.request primitive.

또한, 상기 MAC 계층이 스캔 결과를 상기 네트워크 계층으로 통보하는 단계는, MLME-SCAN.confirm 프리미티브를 통해 스캔 결과를 상기 네트워크 계층으로 통보하는 단계이다.The notifying of the scan result to the network layer by the MAC layer is a step of notifying the network layer of the scan result through the MLME-SCAN.confirm primitive.

또한, 상기 네트워크 계층이 애플리케이션 계층으로 PAN ID의 충돌이 발생함 을 통보하는 단계는, NLME-SYNC-LOSS.indication 프리미티브를 통해 PAN ID의 충돌이 발생함을 통보하는 단계이다.In addition, the step of notifying the collision of the PAN ID by the network layer to the application layer is a step of notifying that a collision of the PAN ID occurs through the NLME-SYNC-LOSS.indication primitive.

또한, 상기 네트워크 계층이 상기 MAC 계층으로 동기를 계속 유지할 것을 요청하는 단계는, MLME-SYNC.request 프리미티브를 통해 동기를 계속 유지할 것을 요청하는 단계이다.In addition, the step of requesting the network layer to keep synchronization with the MAC layer is a step of requesting to keep synchronization through the MLME-SYNC.request primitive.

이하, 첨부된 도면을 참조하여 본 발명의 실시형태를 보다 상세하게 설명한다. 그러나, 본 발명의 실시형태는 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 이하 설명되는 실시형태로 한정되는 것은 아니다. 본 발명의 실시형태는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해서 제공되는 것이다. 따라서, 도면에 도시된 구성요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있으며, 도면 상에서 동일한 구성과 기능을 가진 구성요소들은 동일한 참조부호를 사용할 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail an embodiment of the present invention. However, embodiments of the present invention may be modified in various other forms, and the scope of the present invention is not limited to the embodiments described below. Embodiment of this invention is provided in order to demonstrate this invention more completely to the person skilled in the art to which this invention belongs. Therefore, the shape and size of the components shown in the drawings may be exaggerated for more clear description, components having the same configuration and function in the drawings will use the same reference numerals.

도 4는, 지그비 기반 개인 통신 네트워크에서 PAN ID의 충돌이 발생한 경우, 본 발명의 일실시형태에 따라 프로토콜의 각 계층간에 일어나는 동작을 도시한 순서도이다. 도 4에 도시된 각 계층간에 발생하는 동작에 의해 PAN ID가 발생하는 경우 이를 해결할 수 있는 방안을 제시할 수 있게 된다. 이하에서는 도 4를 참조하여, 본 발명의 일실시형태에 따른 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법을 시간 순서대로 설명한다.4 is a flowchart illustrating an operation occurring between layers of a protocol according to an embodiment of the present invention when a PAN ID collision occurs in a Zigbee-based personal communication network. When a PAN ID is generated by an operation occurring between the layers illustrated in FIG. 4, a method of solving the problem may be suggested. Hereinafter, a method of resolving PAN ID collision in a personal communication network according to an embodiment of the present invention will be described in chronological order with reference to FIG. 4.

먼저, 개인 통신 네트워크에 포함된 장치(라우터 또는 단말장치)들 중 하나가 통신을 하기 위해 해당 채널을 스캔한 후 코디네이터에 통신 시작을 통보하면, 코디네이터에서는 이에 응답하여 비콘을 전송한다. 이 때, 예를 들어, 해당 장치가 두 개의 코디네이터로부터 비콘을 송신하게 되는 경우가 발생할 수 있다. 즉, 하나의 채널에 동일한 두 개의 PAN ID가 존재하여 충돌하는 경우가 발생할 수 있다.First, when one of the devices (router or terminal device) included in the personal communication network scans a corresponding channel for communication and notifies the coordinator to start communication, the coordinator transmits a beacon in response. In this case, for example, a case may occur where the device transmits a beacon from two coordinators. That is, when two identical PAN IDs exist in one channel, collision may occur.

이와 같이 하나의 채널에 대해 둘 이상의 PAN ID가 존재하여 충돌하면, 해당 장치 프로토콜의 MAC 계층(210)은 상위의 네트워크 계층(220)으로 PAN ID가 충돌함을 알린다(S31). 이 알림 과정(S31)은 MAC 계층(210)에서 네트워크 계층(220)으로, MLME-SYNC-LOSS.indication 프리미티브(primitive)를 통해 PAN-ID의 충돌이 발생함을 통보하는 과정이다.As such, when two or more PAN IDs exist for one channel and collide with each other, the MAC layer 210 of the corresponding device protocol notifies the upper network layer 220 that the PAN ID collides (S31). This notification process S31 is a process of notifying that the collision of the PAN-ID occurs through the MLME-SYNC-LOSS.indication primitive from the MAC layer 210 to the network layer 220.

다음으로, MAC 계층(210)에 의한 PAN ID 충돌을 통보받은 네트워크 계층(220)은, MAC 계층(210)으로 해당 채널을 스캔할 것을 요청한다(S32). 통신이 개시될 때, 채널의 스캔을 통해 PAN ID가 충돌함을 확인하고서 네트워크 계층(220)으로 PAN ID의 충돌이 발생함을 통보한 것이지만, 다시 한번 PAN ID의 충돌을 확인하기 위해서 네트워크 계층(220)은 MAC 계층(210)에 해당 채널을 다시 스캔할 것을 요청하는 것이다. 이러한 네트워크 계층(220)에서 MAC 계층(210)으로 채널의 스캔을 요청하는 것은, MLME-SCAN.request 프리미티브를 통해 이루어질 수 있다.Next, the network layer 220 notified of the PAN ID collision by the MAC layer 210 requests the MAC layer 210 to scan a corresponding channel (S32). When the communication is initiated, the scan of the channel confirms that the PAN ID collides, and notifies the network layer 220 that the collision of the PAN ID occurs, but again, in order to confirm the collision of the PAN ID, the network layer ( 220 requests the MAC layer 210 to scan the channel again. The request for the scan of the channel from the network layer 220 to the MAC layer 210 may be made through the MLME-SCAN.request primitive.

다음으로, MAC 계층(210)은 네트워크 계층(220)의 요청에 따라, 다시 해당 채널을 스캔하고 그 결과를 네트워크 계층(220)으로 통보한다(S33). 이러한, MAC 계층(210)이 스캔 결과를 네트워크 계층(220)으로 통보하는 단계는, MLME-SCAN.confirm 프리미티브를 통해 이루어질 수 있다.Next, the MAC layer 210 scans the corresponding channel again at the request of the network layer 220 and notifies the network layer 220 of the result (S33). The step of notifying the network layer 220 of the scan result by the MAC layer 210 may be performed through the MLME-SCAN.confirm primitive.

다음으로, 네트워크 계층(220)은, MAC 계층(210)이 통보해온 스캔 결과 PAN ID의 충돌이 존재하는 경우에, 그 상위 계층인 애플리케이션 계층(230)으로 PAN ID의 충돌이 발생하고 있음을 통보한다. 이 통보는 NLME-SYNC-LOSS.indication 프리미티브를 통해 이루어질 수 있다.Next, when there is a collision of the PAN ID as a result of the scan that the MAC layer 210 has notified, the network layer 220 notifies that the collision of the PAN ID is occurring to the application layer 230 which is the upper layer. do. This notification may be made via the NLME-SYNC-LOSS.indication primitive.

이와 같이, 애플리케이션 계층(230)까지 PAN ID가 충돌하고 있음이 통보되면, 상기 애플리케이션 계층(230)은 응용 프로그램을 통해 사용자 또는 네트워크 관리자에게 PAN ID의 충돌이 발생함을 통보하여, PAN ID의 충돌이 발생하는 것을 인지시키고, 추후의 대응방안을 강구할 수 있게 한다. 즉, 종래에는 PAN ID의 충돌이 발생하는 경우에도, 이러한 사실이 프로토콜의 네트워크 계층에까지만 통보되므로 사용자나 네트워크 관리자가 충돌이 발생함을 알 수 없어 그에 대한 대책조차 세울 수 없었다. 그러나, 본 발명은 채널을 다시 한번 스캔한 후 충돌이 발생하는 사실이 확인되면, 네트워크 계층에서 애플리케이션 계층으로 PAN ID의 충돌이 발생함을 통보함으로써, 애플리케이션 계층을 통해 사용자나 네트워크 관리자가 PAN ID의 충돌을 인식하고 그에 대한 대책을 세우게 할 수 있다.As such, when it is notified that the PAN ID is colliding with the application layer 230, the application layer 230 notifies the user or the network administrator that the collision of the PAN ID occurs through an application, thereby colliding the PAN ID. This can be recognized, and further countermeasures can be taken. That is, even when a collision of the PAN ID occurs in the related art, since the fact is notified only to the network layer of the protocol, a user or a network administrator may not know that a collision occurs and thus cannot take a countermeasure. However, in the present invention, if a collision occurs after scanning the channel once again, and notifying that the collision of the PAN ID occurs from the network layer to the application layer, the user or network administrator through the application layer Recognize conflicts and take countermeasures.

한편, MAC 계층(210)으로부터 통보된 스캔 결과가 충돌이 존재하지 않는 경 우라고 하면, 네트워크 계층(220)은 다시 MAC 계층(210)으로 초기의 동기를 계속 유지하도록 지시한다. 네트워크 계층(220)이 MAC 계층(210)으로 동기를 계속 유지할 것을 요청하는 것은, MLME-SYNC.request 프리미티브를 통해 이루어질 수 있다.On the other hand, if the scan result notified from the MAC layer 210, if there is no collision, the network layer 220 instructs the MAC layer 210 to maintain the initial synchronization again. Requesting that the network layer 220 stay in sync with the MAC layer 210 may be made through the MLME-SYNC.request primitive.

이와 같이, 본 발명은, 최신 버전인 지그비 네트워크 스펙 버전 1.0에 제시되지 않은 PAN ID의 충돌이 발생하는 경우에 관한 처리 방안을 제공한다. 즉, PAN ID의 충돌이 발생하는 경우에 프로토콜 각 계층 간의 통신을 규정함으로써, PAN ID의 충돌을 사용자 또는 네트워크 관리자에게 통보할 수 있어, PAN ID의 충돌로 인한 문제점을 초기에 신속하게 처리할 수 있게 한다.As described above, the present invention provides a processing method for a case where a collision of a PAN ID that is not present in the latest version of Zigbee Network Specification Version 1.0 occurs. That is, when a collision between PAN IDs occurs, communication between each layer of the protocol is defined, so that a user or network administrator can be notified of the collision of the PAN ID, and the problem caused by the collision of the PAN ID can be dealt with early. To be.

이상에서 설명한 바와 같이, 본 발명에 따르면, 지그비를 이용한 개인 통신 네트워크에서, 하나의 채널에 복수의 PAN ID가 존재하여 서로 충돌하는 경우, 이를 프로토콜의 각 계층간에서 확인 통보하여 사용자와 인터페이스할 수 있는 애플리케이션 계층까지 통보함으로써, 사용자나 네트워크 관리자가 PAN ID의 충돌을 인식할 수 있게 하는 효과가 있다.As described above, according to the present invention, in a personal communication network using Zigbee, when a plurality of PAN IDs exist in one channel and collide with each other, the user may interface with the user by confirming and confirming the information between the layers of the protocol. By notifying even the application layer, there is an effect that a user or a network administrator can recognize the collision of the PAN ID.

이를 통해, 사용자나 네트워크 관리자는 PAN ID의 충돌 초기에 이를 조치함으로써, 지그비 기반 개인 통신 네트워크의 운용에 안정성을 가져오는 효과가 있다.Through this, the user or the network administrator measures this at the beginning of the collision of the PAN ID, thereby bringing stability to the operation of the Zigbee-based personal communication network.

Claims (8)

MAC 계층과 상기 MAC 계층 상위에 순차적으로 형성된 네트워크 계층 및 애플리케이션 계층으로 이루어진 계층 구조를 형성하는 통신 프로토콜을 갖는 지그비(Zigbee) 기반의 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법에 있어서,A method for resolving a PAN ID collision in a Zigbee-based personal communication network having a communication protocol forming a layer structure consisting of a MAC layer and a network layer and an application layer sequentially formed above the MAC layer, 상기 MAC 계층에서 상기 네트워크 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계;Notifying a collision of a PAN ID to the network layer from the MAC layer; 상기 네트워크 계층에서 상기 MAC 계층으로 해당 채널의 스캔을 요청하는 단계;Requesting a scan of the channel from the network layer to the MAC layer; 상기 스캔 요청에 따라 상기 MAC 계층은 해당 채널을 스캔한 후, 그 스캔 결과를 상기 네트워크 계층으로 통보하는 단계; 및In response to the scan request, the MAC layer scanning a corresponding channel and notifying the network layer of the scan result; And 상기 스캔 결과 해당 채널에 하나 이상의 동일 PAN ID가 존재하는 경우, 상기 네트워크 계층이 애플리케이션 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계를 포함하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.If the at least one same PAN ID exists in the corresponding channel as a result of the scanning, the network layer notifying the application layer that a collision of the PAN ID occurs. 제1항에 있어서,The method of claim 1, 상기 애플리케이션 계층은 응용 프로그램을 통해 네트워크 관리자에게 PAN ID의 충돌이 발생함을 통보하는 단계를 더 포함하는 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.The application layer further comprises the step of notifying the network administrator of the collision of the PAN ID via an application program. 제1항에 있어서,The method of claim 1, 상기 스캔 결과 해당 채널에 하나의 PAN ID만 존재하는 경우, 상기 네트워크 계층이 상기 MAC 계층으로 동기를 계속 유지할 것을 요청하는 단계를 더 포함하는 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.And if there is only one PAN ID in the corresponding channel as a result of the scan, requesting the network layer to maintain synchronization with the MAC layer. 제1항에 있어서,The method of claim 1, 상기 MAC 계층에서 상기 네트워크 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계는, MLME-SYNC-LOSS.indication 프리미티브(primitive)를 통해 PAN-ID의 충돌이 발생함을 통보하는 단계인 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.The notifying that the collision of the PAN ID occurs from the MAC layer to the network layer is characterized by notifying that the collision of the PAN-ID occurs through the MLME-SYNC-LOSS.indication primitive. To resolve a PAN ID conflict in a private communication network. 제1항에 있어서,The method of claim 1, 상기 네트워크 계층에서 상기 MAC 계층으로 해당 채널의 스캔을 요청하는 단계는, MLME-SCAN.request 프리미티브를 통해 해당 채널의 스캔을 요청하는 단계인 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.And requesting a scan of the channel from the network layer to the MAC layer is a step of requesting a scan of the channel through an MLME-SCAN.request primitive. 제1항에 있어서,The method of claim 1, 상기 MAC 계층이 스캔 결과를 상기 네트워크 계층으로 통보하는 단계는, MLME-SCAN.confirm 프리미티브를 통해 스캔 결과를 상기 네트워크 계층으로 통보하는 단계인 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.And notifying the network layer of the scan result by the MAC layer, notifying the network layer of the scan result through an MLME-SCAN.confirm primitive. 제1항에 있어서,The method of claim 1, 상기 네트워크 계층이 애플리케이션 계층으로 PAN ID의 충돌이 발생함을 통보하는 단계는, NLME-SYNC-LOSS.indication 프리미티브를 통해 PAN ID의 충돌이 발생함을 통보하는 단계인 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.The step of notifying the collision of the PAN ID by the network layer to the application layer is a step of notifying that a collision of the PAN ID occurs through the NLME-SYNC-LOSS.indication primitive. How to resolve PAN ID Conflict. 제3항에 있어서,The method of claim 3, 상기 네트워크 계층이 상기 MAC 계층으로 동기를 계속 유지할 것을 요청하는 단계는, MLME-SYNC.request 프리미티브를 통해 동기를 계속 유지할 것을 요청하는 단계인 것을 특징으로 하는 개인 통신 네트워크에서 PAN ID 충돌의 해결 방법.Requesting that the network layer continue to synchronize with the MAC layer is a step of requesting to maintain synchronization through the MLME-SYNC.request primitive.
KR1020050071718A 2005-08-05 2005-08-05 Method for solving pan id conflict in personal area network KR100649680B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050071718A KR100649680B1 (en) 2005-08-05 2005-08-05 Method for solving pan id conflict in personal area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050071718A KR100649680B1 (en) 2005-08-05 2005-08-05 Method for solving pan id conflict in personal area network

Publications (1)

Publication Number Publication Date
KR100649680B1 true KR100649680B1 (en) 2006-11-27

Family

ID=37713516

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050071718A KR100649680B1 (en) 2005-08-05 2005-08-05 Method for solving pan id conflict in personal area network

Country Status (1)

Country Link
KR (1) KR100649680B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100748094B1 (en) * 2006-09-29 2007-08-09 한국전자통신연구원 802.15.4 wpan installation method and apparatus therefor
WO2015060583A1 (en) * 2013-10-23 2015-04-30 엘지전자(주) Method and apparatus for producing personal area network identifier (panid) on network in wireless communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100748094B1 (en) * 2006-09-29 2007-08-09 한국전자통신연구원 802.15.4 wpan installation method and apparatus therefor
WO2015060583A1 (en) * 2013-10-23 2015-04-30 엘지전자(주) Method and apparatus for producing personal area network identifier (panid) on network in wireless communication system
US9693179B2 (en) 2013-10-23 2017-06-27 Lg Electronics Inc. Method and apparatus for producing personal area network identifier (PANID) on network in wireless communication system

Similar Documents

Publication Publication Date Title
US10034160B2 (en) Method and apparatus for transmitting or receiving data using bluetooth in wireless communication system
US10136429B2 (en) Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor
RU2373668C2 (en) Methods and device for selective call
TWI233310B (en) Method and system for access point roaming
US7966036B2 (en) Wireless LAN device and communication mode switching method
US10251048B2 (en) Method for performing scanning in wireless communication system, and apparatus therefor
EP1364494B1 (en) Method for adding a new device to a wireless network
US20160359925A1 (en) Method and apparatus for transmitting and receiving data in wireless communication system
Wang et al. Device-to-Device based mobile social networking in proximity (MSNP) on smartphones: Framework, challenges and prototype
US20050107102A1 (en) Method of relaying connection requests between wireless devices in wireless network and apparatus therefor
EP2247130A1 (en) Method for managing wireless multi-hop network key
EP2234438B1 (en) Wireless personal area network accessing method
US20060166683A1 (en) Method and system for use of the same time slot of the same channel by multiple pairs of devices via a direct link protocol
US20180206110A1 (en) Traffic-aware group reformation in a multi-group p2p network
CN1930832A (en) Dynamic network fusion in wireless ad-hoc networks
US20190014172A1 (en) Group formation control in multi-group peer-to-peer network
WO2002052793A1 (en) Device roles and piconet connections
JP2009532959A (en) Communication method and communication system in user network
JP2006513623A (en) Dynamic network formation for wireless ad hoc networks
JP2005204319A (en) Method and system for establishing connection between small-scale networks
US10492060B2 (en) Method and device for transmitting/receiving data in wireless 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
KR100649680B1 (en) Method for solving pan id conflict in personal area network
Hu et al. PLI-Sync: Prefetch Loss-Insensitive Sync for NDN Group Streaming
TWI663884B (en) Method of data communication for a communication device in wireless ad hoc network and a communication device

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: 20121002

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130916

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151201

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20161004

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee