KR100650269B1 - Method of generating a bluetooth scatternet automatically - Google Patents

Method of generating a bluetooth scatternet automatically Download PDF

Info

Publication number
KR100650269B1
KR100650269B1 KR1020060005280A KR20060005280A KR100650269B1 KR 100650269 B1 KR100650269 B1 KR 100650269B1 KR 1020060005280 A KR1020060005280 A KR 1020060005280A KR 20060005280 A KR20060005280 A KR 20060005280A KR 100650269 B1 KR100650269 B1 KR 100650269B1
Authority
KR
South Korea
Prior art keywords
bluetooth
target
neighboring
devices
hop distance
Prior art date
Application number
KR1020060005280A
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 KR1020060005280A priority Critical patent/KR100650269B1/en
Application granted granted Critical
Publication of KR100650269B1 publication Critical patent/KR100650269B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

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

Abstract

An automatic Bluetooth Scatternet generation method is provided to designate more than one target apparatus among apparatuses existing in a Bluetooth network, while each apparatus searches neighboring apparatuses connectable to the target apparatuses with the shortest hop distance, so as to automatically form a Scatternet capable of performing communication with the target apparatuses. More than one apparatus receives inquiry messages transmitted from neighboring apparatuses(400), and decides whether address information of the neighboring apparatuses, routing information of target apparatuses, is already stored(402). If not, and if a connection request to the predetermined target apparatuses is inputted(414), the apparatuses decide whether hop distance information between the apparatuses and the target apparatuses is 0(416). If not, the apparatuses demand connections with the target apparatuses to the neighboring apparatuses(418). The connections are formed between the target apparatuses and the neighboring apparatuses(420).

Description

블루투스 스캐터넷 자동 생성 방법{Method of generating a bluetooth scatternet automatically} Method of generating a bluetooth scatternet automatically}

도 1은 블루투스 통신망에서 통신 연결을 형성하는 과정을 도시한 도면,1 is a diagram illustrating a process of forming a communication connection in a Bluetooth communication network;

도 2는 본 발명에 따른 블루투스 스캐터넷 자동 생성을 위한 기기들 간의 인콰이어리를 도시한 도면,2 is a diagram illustrating an inquiry between devices for automatic generation of a Bluetooth scatternet according to the present invention;

도 3은 도 2에 도시된 각 기기들의 타겟 기기에 대한 라우팅 테이블을 도시해 놓은 도면,3 is a diagram illustrating a routing table for a target device of each device illustrated in FIG. 2;

도 4는 본 발명에 따른 블루투스 스캐터넷 자동 생성 방법을 나타낸 흐름도이다. 4 is a flowchart illustrating a method for automatically generating a Bluetooth scatternet according to the present invention.

본 발명은 블루투스 스캐터넷 자동 생성 방법에 관한 것이다. The present invention relates to a method for automatically generating a Bluetooth scatternet.

블루투스는 저렴한 가격, 적은 전력 소모로 비교적 좁은 구역(10~100m) 내에서 여러 기기들 간의 자유로운 무선 통신이 가능하도록 개발된 근거리 무선 통신 기술 규격이다. Bluetooth is a short-range wireless communication technology standard developed to enable free wireless communication between various devices in a relatively small area (10-100m) at low cost and low power consumption.

1994년 에릭슨의 이동통신그룹(Ericsson Mobile Communication Group)이 휴 대폰과 주변기기들 간의 소비전력이 적고 가격이 싼 무선(Radio) 인터페이스를 연구하기 시작해서, 1998년 2월 에릭슨, 노키아, IBM, 도시바, 인텔로 구성된 블루투스 SIG(Special Interest Group)가 발족되었고, 이 SIG에 의해 99년 8월에 버전 1.0 블루투스 규격이 발표되었으며, 공식적인 국제표준 단체로는 IEEE 802.15 워크그룹이 있어 블루투스 규격에 근거한 국제표준 제정을 위해 SIG와 긴밀히 협력하고 있다. In 1994, Ericsson Mobile Communication Group began researching low-power and low-cost radio interfaces between mobile phones and peripherals.In February 1998, Ericsson, Nokia, IBM, Toshiba, The Bluetooth Special Interest Group (SIG), composed of Intel, was launched, and the SIG released the version 1.0 Bluetooth specification in August 1999. The official international standards body is the IEEE 802.15 workgroup, which sets international standards based on the Bluetooth specification. We work closely with the SIG for this purpose.

블루투스는 가정 및 사무실에서 사용되는 모든 정보기기에 장착이 가능하며 이들 사이의 무선망을 구성, 어떠한 유/무선망과도 연동할 수 있게 한다. 따라서, 블루투스를 이용한 무선 네트워크가 완성되면 모든 정보기기 특히, 노트북, PDA, 휴대폰 간의 데이터 교환이 자유로워지며, 블루투스를 이용해 인터넷 브리지를 구성하면 현재 광케이블이나 ADSL, 모뎀 등을 통해, 데스크탑 컴퓨터에 도달해 있는 인터넷 정보가 사용자의 손 안에까지 도달될 수 있게 된다. Bluetooth can be installed in all information devices used in homes and offices, and it is possible to configure a wireless network between them and to interwork with any wired / wireless network. Therefore, when the wireless network using Bluetooth is completed, data exchange between all information devices, especially laptops, PDAs, and mobile phones, is free. When the Internet bridge is configured using Bluetooth, it reaches the desktop computer through optical cable, ADSL, modem, etc. Internet information can be reached in the user's hand.

즉, 블루투스를 이용하면 언제, 어디서나, 누구나, 어떤 형태의 정보도 교환한다는 무선통신의 궁극적인 목표에 도달할 수 있게 되는 것이다. In other words, by using Bluetooth, anyone can reach the ultimate goal of wireless communication anytime, anywhere, anyone, any type of information exchange.

블루투스는 마스터(Master)/슬레이브(Slave) 방식으로 링크를 형성한다. 즉, 두 개의 기기가 연결이 되면 한 기기가 마스터의 역할을 맡고 다른 기기가 슬레이브의 역할을 맡게 된다. 그리고 한 대의 마스터는 최대 7대까지의 슬레이브를 연결하여 네트워크를 구성할 수 있는데 이를 피코넷(Piconet)이라 한다. 또 이러한 피코넷이 여러 개 모이게 되면 계층적이고 규모가 큰 네트워크를 구성할 수 있는데 이를 스캐터넷(Scatternet)이라 한다. Bluetooth forms a link in a master / slave manner. In other words, when two devices are connected, one device plays the role of master and the other device plays the role of slave. One master can connect up to seven slaves to form a network. This is called a piconet. When multiple piconets are gathered, a hierarchical and large network can be formed. This is called a scatternet.

블루투스에서 정의된 피코넷은 하나의 마스터 기기와 여러 대의 슬레이브 기기가 1 홉(Hop)의 거리를 가지며 연결되어 형성된 망이다. Piconet defined in Bluetooth is a network formed by connecting one master device and several slave devices with a distance of 1 hop.

스캐터넷은 블루투스의 짧은 통신거리를 보완하여 비교적 큰 규모의 망을 형성할 필요가 있는 경우에 피코넷 간에 통신 연결이 이루어지면서 형성되고, 서로 다른 피코넷에 포함된 기기 간에 통신을 가능하게 한다. Scatternets are formed by making communication connections between piconets when it is necessary to form a relatively large network by supplementing the short communication distance of Bluetooth, and enable communication between devices included in different piconets.

하지만 스캐터넷을 형성하기 위해서는 서로 다른 피코넷 상에 존재하는 두 기기 간에 서로 통신 연결이 이루어질 수 있도록 임의의 사용자 개입을 통해 통신 연결할 두 기기 간에 지정이 필요한 번거로움이 있다. However, in order to form a scatternet, it is troublesome to designate between two devices to be connected through arbitrary user intervention so that two devices existing on different piconets can communicate with each other.

그러므로 본 발명은 상기와 같은 문제점을 해결하고자 창출된 것으로, 블루투스 통신망에서 스캐터넷이 자동으로 생성되어 기기 간에 통신이 이루어지도록 하는 블루투스 스캐터넷 자동 생성 방법을 제공하는데 그 목적이 있다. Accordingly, an object of the present invention is to provide a method for automatically generating a scatternet of Bluetooth, in which a scatternet is automatically generated in a Bluetooth communication network to allow communication between devices.

상기와 같은 목적을 달성하기 위하여, 본 발명에 따른 블루투스 스캐터넷 자동 생성 방법은 각 블루투스 기기들이 미리 지정된 타겟 기기에 최단 홉 거리로 연결 가능한 이웃 기기를 검색하여, 그 검색된 이웃 기기의 어드레스 정보를 저장해 놓는 단계; 및 소정 블루투스 기기에서 상기 타겟 기기와 통신을 수행하고자 하는 경우에, 상기 어드레스 정보를 저장한 이웃 기기에 연결을 요청하여 상기 타겟 기기와의 연결을 형성하는 단계;를 포함하여 이루어진다.In order to achieve the above object, according to the present invention, a method for automatically generating a Bluetooth scatternet according to the present invention searches for neighboring devices to which Bluetooth devices can be connected to a predetermined target device in the shortest hop distance, and stores address information of the found neighboring devices. Laying step; And requesting a connection from a neighboring device storing the address information to form a connection with the target device when a predetermined Bluetooth device intends to communicate with the target device.

여기서, 상기 각 블루투스 기기들의 이웃 기기 검색은 상기 타겟 기기가 주 변 기기들에게 자신과의 홉 거리정보를 1로 전송하는 단계; 및 상기 타겟 기기의 홉 거리정보 전송을 기점으로 각 블루투스 기기들이 자신을 통한 상기 타겟 기기와의 홉 거리정보를 주변 기기들에게 서로 전송하며 상기 주변 기기들 중 가장 작은 값의 홉 거리정보를 전송하는 기기를 이웃 기기로 검색하는 단계;로 이루어진다. The neighbor device search of each of the Bluetooth devices may include: transmitting, by the target device, hop distance information with itself to the neighboring devices as 1; Starting from the transmission of the hop distance information of the target device, each Bluetooth device transmits the hop distance information with the target device via itself to the peripheral devices and transmits the hop distance information of the smallest value among the peripheral devices. Searching for a device with a neighboring device;

그리고 상기 각 블루투스 기기들의 이웃 기기 검색은 상기 미리 지정된 타겟 기기가 복수 개인 경우에, 상기 각 블루투스 기기들이 각각의 타겟 기기들과 최단 홉 거리로 연결 가능한 이웃 기기들을 검색하는 것을 특징으로 한다. The neighbor device search of each of the Bluetooth devices may include searching for neighboring devices that can be connected to the respective target devices in the shortest hop distance when there are a plurality of predetermined target devices.

한편, 상기 블루투스 기기들의 홉 거리정보 전송은 상기 블루투스 기기들이 자신의 이웃 기기로 새로운 기기가 검색된 경우에 자신의 인콰이어리 메시지를 통해 전송하며, 상기 블루투스 기기들이 주변기기로 전송하는 홉 거리정보는 상기 블루투스 기기들이 자신의 이웃 기기로 검색된 새로운 기기로부터 전송받은 홉 거리정보에 1을 더한 값이다.Meanwhile, the hop distance information transmission of the Bluetooth devices is transmitted through the inquiry message when the Bluetooth devices are found to their neighbor devices, and the hop distance information transmitted by the Bluetooth devices to the peripheral device is the Bluetooth device. Is 1 plus hop distance information received from a new device discovered by its neighboring device.

본 발명에 따른 블루투스 스캐터넷 자동 생성 방법에서 상기 타겟 기기와의 연결 형성은, 자신과 상기 타겟 기기와의 홉 거리정보가 0이 아닌 경우에 자신의 이웃 기기로 연결을 요청하며 해당 기기와 연결을 형성하는 단계; 및 상기 연결을 요청받은 이웃 기기에서 상기 타겟 기기와의 홉 거리정보가 0일 때까지 상기 이웃 기기와의 연결 형성이 순차적으로 수행되어 상기 타겟 기기와 연결을 형성하는 단계;로 이루어진다.In the method for automatically generating a Bluetooth scatternet according to the present invention, when the connection distance between the target device and the target device is not 0, the connection request is made to the neighboring device and the connection with the corresponding device is requested. Forming; And forming a connection with the target device by sequentially forming a connection with the neighboring device until the hop distance information with the target device is 0 in the neighboring device that is requested to be connected.

이하에서는 첨부된 도면들을 참조하여 본 발명을 보다 상세히 설명한다. 다만, 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다. Hereinafter, with reference to the accompanying drawings will be described the present invention in more detail. However, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

도 1은 블루투스 통신망에서 통신 연결을 형성하는 과정을 도시한 도면이다. 1 is a diagram illustrating a process of forming a communication connection in a Bluetooth communication network.

블루투스 통신상에서 두 기기 간의 통신 연결은 인콰이어리(Inquiry)와 페이지(Page)에 의해 형성된다. 만일 통신 연결을 형성하고자 하는 기기가 주변에 존재하는 기기들에 대해서 아무런 정보도 알고 있지 못하다면 이 기기는 인콰이어리와 페이지를 모두 수행해야 한다. The communication connection between two devices in Bluetooth communication is formed by Inquiry and Page. If the device attempting to establish a communication connection knows no information about the devices in the vicinity, it must perform both an inquiry and a page.

하지만, 상대 기기에 대해 알고 있다면 인콰이어리는 수행할 필요가 없이 페이지만 수행하여 링크를 형성할 수 있다. However, if you know about the external device, you can form a link by only performing a page without performing an inquiry.

인콰이어리와 인콰이어리 스캔(Scan)의 수행은 다음과 같다. 인콰이어리를 수행하는 기기는 인콰이어리 메시지를 주변의 기기들에게 브로드캐스팅(Broadcasting)하고, 인콰이어리 응답(Inquiry Response)을 기다리는 것을 반복한다. 인콰이어리 스캔 중인 기기가 이 메시지를 받게 되면 일단 0~640ms동안 시간을 보내고, 또다시 인콰이어리 메시지를 받게 되면, 비로소 그때에 인콰이어리 응답, 즉 자신에 대한 정보를 담고 있는 주파수 호핑 동기화(FHS : Frequency Hopping Synchronization) 패킷을 인콰이어리를 수행 중인 기기에게 보낸다. Inquiries and inquiries are performed as follows. The device performing the inquiries broadcasts an inquiry message to the surrounding devices and repeats waiting for an inquiry response. Once the device being scanned for an inquiries receives this message, it will spend 0 to 640 ms and once again receive an inquiries message, it will then receive an inquiries response, that is, information about its frequency hopping synchronization (FHS). ) Sends the packet to the device performing the inquiry.

0~640ms의 시간 지연을 주는 이유는 인콰이어리가 모든 기기들이 들을 수 있도록 인콰이어리 액세스 코드(IAC :Inquiry Access Code)를 사용하여 수행되므로, 다수의 기기가 인콰이어리 스캔 상태에 있을 경우, 시간지연이 없다면 인콰이어리 메시지를 받고 바로 인콰이어리 응답을 보내어 응답 메시지들이 충돌하기 때문이다. The reason for the 0 ~ 640ms time delay is that the inquiries are performed using an Inquiry Access Code (IAC) so that all devices can hear them, so if multiple devices are in an inquiries scan state, the inquiries This is because the response messages collide by sending an inquiry response immediately after receiving the message.

이와 같이 인콰이어리/인콰이어리 스캔을 수행하면, 인콰이어리를 수행한 기기는 인콰이어리 응답을 보낸 기기에 대한 정보를 알게 된다. When the inquiries / inquiries are performed as described above, the device that has performed the inquiries knows information about the device that has sent the inquiries response.

페이지/페이지 스캔은 인콰이어리/인콰이어리 스캔과 비슷하게 수행된다. Page / page scans are performed similarly to inquiries / inquiries.

한 기기가 특정 기기와 통신 연결을 형성하고 싶다면 이 기기는 페이지 모드에 들어가서, 상대 기기에게 페이지 메시지를 보낸다. 상대 기기의 상태가 페이지 스캔이고 이 페이지 메시지를 받은 경우에 두 기기 사이에 블루투스 고유의 어드레스와 클럭 정보 등을 교환하여 주파수 호핑 시퀀스(frequency hopping sequence)를 동기화하고 통신 연결을 이룬다. If a device wants to establish a communication connection with a particular device, the device enters page mode and sends a page message to the external device. When the status of the external device is a page scan and this page message is received, the Bluetooth hopping sequence and the clock information are exchanged between the two devices to synchronize the frequency hopping sequence and establish a communication connection.

인콰이어리와 페이지의 차이점은 인콰이어리는 주변 기기의 정보를 알기 위해 사용되는 것이어서 모든 기기들이 인콰이어리 응답을 보내올 수 있지만, 페이지는 특정 기기를 상대로 메시지를 보내고 페이지 스캔 수행시에는 시간지연을 주지 않고 바로 응답을 보내므로, 인콰이어리 과정보다 페이지 과정에 드는 시간이 훨씬 적다. The difference between inquiries and pages is that inquiries are used to learn information about peripherals, so all devices can send inquiries responses, Pages send messages to specific devices and respond immediately without time delays when performing page scans, so the page process takes much less time than the enquiry process.

도 2는 본 발명에 따른 블루투스 스캐터넷 자동 생성을 위한 기기들 간의 인콰이어리를 도시한 도면으로, 본 발명에서는 블루투스 인콰이어리 과정을 이용하여 애드 혹(Ad-Hoc) 환경에서 블루투스 스캐터넷이 자동적으로 생성될 수 있도록 한다. FIG. 2 is a diagram illustrating an inquiry between devices for automatically generating a Bluetooth scatternet according to the present invention. In the present invention, a Bluetooth scatternet is automatically generated in an Ad-Hoc environment using a Bluetooth inquiry process. To help.

살펴보면, 다수의 블루투스 기기들이 존재하는 애드 혹 네트워크 환경에서 인콰이어리 과정이 수행되기 전에 타겟(Target) 기기를 지정한다. 여기서는 A 기기가 타겟 기기인 경우를 대표적인 예로 들어 설명하기로 하며, A 기기에는 타겟 기기와의 홉 거리(HOP_Self)가 0 홉으로 미리 설정된다. Referring to FIG. 2, a target device is designated before the enquiry process is performed in an ad hoc network environment in which a plurality of Bluetooth devices exist. Herein, a case where the device A is the target device will be described as a representative example, and the hop distance HOP_Self from the target device is preset to 0 hops.

그리고 애드 혹 네트워크 환경 내에 존재하는 각 블루투스 기기들은 타겟 기기와의 연결을 형성하기 위한 라우팅(Routing) 테이블을 가지고 있다. Each Bluetooth device in the ad hoc network environment has a routing table for establishing a connection with the target device.

라우팅 테이블에는 타겟 기기의 어드레스 정보(Target_ADDR)와, 타겟 기기와의 최단 홉 거리로 연결 가능한 이웃 기기의 어드레스 정보(Neighbor_ADDR)와, 그 이웃 기기를 통한 자신과 타겟 기기와의 홉 거리정보(HOP_Self)로 구성되는 것을 특징으로 하며, 각 블루투스 기기들은 인콰이어리 과정을 통해 라우팅 테이블에 타겟 기기와의 홉 거리가 가장 작은 값을 가지는 이웃 기기의 어드레스 정보를 업데이트 해 놓는다. The routing table includes address information (Target_ADDR) of the target device, address information (Neighbor_ADDR) of a neighboring device that can be connected with the shortest hop distance from the target device, and hop distance information (HOP_Self) between itself and the target device through the neighboring device. Each Bluetooth device updates address information of the neighboring device having the smallest hop distance from the target device in the routing table through an enquiry process.

도면에 도시된 바와 같이, 본 발명에 따른 블루투스 기기들 간의 인콰이어리 는 타겟 기기로 지정된 A 기기가 자신의 통신 영역 내에 존재하는 기기들로 인콰이어리 메시지를 브로드캐스팅하고, 동일 통신 영역 내에 존재하는 B 기기와 C 기기는 인콰이어리 스캔을 수행하면서 A 기기의 인콰이어리 메시지를 수신하는 것으로 시작된다(①). As shown in the figure, the inquiries between the Bluetooth devices according to the present invention broadcast the inquiry message to the devices in which the device A designated as the target device exists in its communication area, and the device B in the same communication area. Device C begins by receiving an inquiry message of device A while performing an inquiry scan (1).

A 기기가 전송하는 인콰이어리 메시지에는 타겟 기기의 어드레스 정보(여기서는, 자신의 어드레스 정보임)와, 인콰이어리 메시지를 전송하는 자신의 어드레스 정보와, 타겟 기기와의 홉 거리정보(HOP_Self)에 1을 더한 값이 타 기기로 전송하 는 홉 거리정보(HOP_Inq)로 포함되어 있다. Inquiry message sent by device A includes the address information of the target device (in this case, its own address information), its own address information for transmitting the inquiry message, and the hop distance information (HOP_Self) with the target device plus 1; It is included as hop distance information (HOP_Inq) transmitted to other devices.

B 기기와 C 기기 각각은 A 기기가 전송하는 인콰이어리 메시지 정보를 통해 타겟 기기에 대한 라우팅 테이블 내에 이웃 기기의 어드레스 정보로 A 기기의 어드레스 정보를, 홉 거리정보(HOP_Self)로 A 기기가 전송한 인콰이어리 메시지 정보에 포함되어 있는 홉 거리정보(HOP_Inq)를 저장해 놓는다. Each device B and device C transmit the address information of the device A as the address information of the neighboring device and the hop distance information (HOP_Self) in the routing table for the target device through the inquiry message information transmitted by the device A. The hop distance information (HOP_Inq) included in the message information is stored.

그리고 각 B 기기 및 C 기기는 라우팅 테이블에 저장해 놓은 홉 거리정보(HOP_Self)에 1을 더하여 타 기기로 전송하는 홉 거리정보(HOP_Inq)를 생성하고, 생성된 홉 거리정보(HOP_Inq)와, 자신의 어드레스 정보 및 타겟 기기의 어드레스 정보를 함께 포함시켜 인콰이어리 메시지를 생성시킨 후, 자신의 통신 영역 내에 존재하는 기기들로 브로드캐스팅한다. Each B device and C device adds 1 to the hop distance information (HOP_Self) stored in the routing table to generate hop distance information (HOP_Inq) to be transmitted to another device, and generates the generated hop distance information (HOP_Inq) and its own. The address information and the address information of the target device are included together to generate an inquiry message, and then broadcast to devices existing in the communication area.

도면에서는 우선 B 기기가 인콰이어리를 수행하며 자신의 통신 영역 내에 존재하는 D 기기, C 기기, 및 A 기기로 인콰이어리 메시지를 브로드캐스팅하고 있는 모습을 도시하고 있으며(②), D 기기, C 기기, 및 A 기기는 인콰이어리 스캔을 수행하면서 B 기기에서 전송하는 인콰이어리 메시지를 수신하고, 수신한 인콰이어리 메시지를 통해 이미 자신의 라우팅 테이블에 타겟 기기에 대한 라우팅 정보가 저장되어 있는지의 여부를 확인한다. In the drawing, first, device B performs an inquiry and broadcasts an inquiry message to device D, device C, and device A present in its communication area (2), device D, device C, and The device A receives an inquiry message transmitted from the device B while performing an inquiry scan, and checks whether the routing information of the target device is already stored in its routing table through the received inquiry message.

그에 따라, 그 타겟 기기로의 라우팅 정보가 기 존재하는 경우에는 라우팅 테이블에 저장되어 있는 이웃 기기를 통한 자신과 타겟 기기와의 홉 거리정보(HOP_Self)를 현재 수신한 인콰이어리 메시지에 포함된 홉 거리정보(HOP_Inq)와 비교하고 그 비교 결과, 현재 수신한 인콰이어리 메시지에 포함된 홉 거리정보 (HOP_Inq)가 더 작은 값이면, 라우팅 테이블에 이웃 기기의 어드레스 정보로 현재 인콰이어리 메시지를 전송하는 B 기기의 어드레스 정보를 저장, 및 타겟 기기와의 홉 거리정보(HOP_Self)로 B 기기가 전송한 인콰이어리 메시지 내에 포함된 홉 거리정보(HOP_Inq)를 저장시키며, 타겟 기기로의 라우팅 정보를 업데이트한다. Accordingly, if the routing information to the target device already exists, the hop distance information included in the inquiry message currently receiving hop distance information (HOP_Self) between itself and the target device through the neighbor device stored in the routing table. If the hop distance information (HOP_Inq) included in the currently received inquiry message is a smaller value, the address information of the B device transmitting the current inquiry message as the address information of the neighbor device to the routing table is compared with (HOP_Inq). Stores the hop distance information (HOP_Inq) included in the inquiry message transmitted by the device B as the hop distance information (HOP_Self) from the target device, and updates routing information to the target device.

이와 같은 B 기기의 인콰이어리 과정이 종료되면, C 기기의 인콰이어리 과정이 수행되며 상기와 같은 과정이 C 기기의 인콰이어리 메시지를 전송받은 기기들 내에서 수행된다(③). When the inquiry process of the device B is terminated, the inquiry process of the device C is performed, and the above process is performed in the devices receiving the inquiry message of the device C (③).

한편, D 기기의 경우를 살펴보면 B 기기와 동일 통신 영역 내에 존재하면서 B 기기가 전송하는 인콰이어리 메시지만을 전송받는다. 그에 따라 타겟 기기인 A 기기에 대한 라우팅 테이블에 이웃 기기의 어드레스 정보로 B 기기의 어드레스 정보를 저장 및 타겟 기기와의 홉 거리정보(HOP_Self)로 B 기기의 인콰이어리 메시지 내에 포함된 홉 거리정보(HOP_Inq)를 저장해 놓는다. Meanwhile, referring to the case of device D, only the inquiry message transmitted by device B while being in the same communication area as device B is received. Accordingly, the address information of the device B is stored in the routing table for the device A, which is the target device, as the address information of the neighbor device, and the hop distance information (HOP_Inq) included in the inquiry message of the device B as the hop distance information (HOP_Self) with the target device. Save).

도 3은 도 2에 도시된 네트워크상에 존재하는 각 기기들의 타겟 기기에 대한 라우팅 테이블을 도시해 놓은 도면이다. FIG. 3 is a diagram illustrating a routing table for target devices of respective devices existing on the network shown in FIG. 2.

블루투스 네트워크상에 존재하는 각 기기들(B 기기,C 기기,D 기기)은 도 2를 통해 설명한 바와 같은 인콰이어리 과정을 수행하며 타겟 기기로 지정된 A 기기와 홉 거리가 가장 작은 값을 가지는 이웃 기기의 어드레스 정보 및 그 이웃 기기를 통한 자신과 타겟 기기와의 홉 거리정보(HOP_Self)를 자신의 라우팅 테이블에 저장해 놓는다. Each device (device B, device C, device D) on the Bluetooth network performs an inquiry process as described with reference to FIG. 2 and the neighbor device having the smallest hop distance with device A designated as the target device. The address information and hop distance information HOP_Self between the target device and its own through the neighboring device are stored in its own routing table.

도면에 도시된 바와 같이, B 기기와 C 기기는 타겟 기기와 통신을 수행하기 위해서 연결 요청을 수행하여야 하는 이웃 기기가 직접 타겟 기기인 A 기기가 되면서 A 기기로 연결을 요청하며 통신 연결을 형성시킬 수 있다. As shown in the drawing, device B and device C request a connection to device A and establish a communication connection while the neighboring device, which needs to perform a connection request to communicate with the target device, becomes a device A, which is a target device. Can be.

그리고 D 기기에서 A 기기로 연결을 형성하고자 하는 경우에는 자신의 라우팅 테이블에 이웃 기기로 저장되어 있는 B 기기로 타겟 기기와의 연결을 요청하고, B 기기는 D 기기의 연결 요청에 따라 D 기기와 연결을 형성시킨 후, 자신의 이웃 기기이자 타겟 기기인 A 기기로 연결을 요청하면서 A 기기와도 통신 연결을 이룬다. If a device is to be connected from device D to device A, the device B, which is stored as a neighbor device in its routing table, requests a connection with the target device, and device B connects with device D according to the connection request of device D. After establishing the connection, the device establishes a communication connection with the device A while requesting the connection to the device A which is its neighbor device and the target device.

그에 따라, D 기기는 B 기기를 경유하여 다른 통신 영역 상에 위치하는 A 기기와 통신 연결이 이루어지는, 즉 스캐터넷이 자동적으로 형성되면서 동일하지 않은 통신 영역 내에 위치하는 두 기기 간에 통신이 가능해 진다. Accordingly, the device D makes a communication connection with the device A located in the other communication area via the device B, that is, the scatternet is automatically formed and communication between the two devices located in the same communication area is possible.

한편, 지금까지 본 발명을 설명함에 있어서는 블루투스 통신 네트워크상에서 타겟 기기로 지정된 기기가 한 개인 경우를 예를 들어 설명하고, 네트워크상에 존재하는 각 블루투스 기기들 또한 하나의 타겟 기기에 대한 라우팅 테이블을 가지고 있는 것으로 설명하였다. Meanwhile, in the present invention, the case where there is only one device designated as the target device in the Bluetooth communication network will be described as an example. Each Bluetooth device existing on the network also has a routing table for one target device. As described.

하지만, 타겟 기기는 복수 개로 지정될 수 있으며 이에 따라, 각 블루투스 기기들은 지정된 복수 개의 타겟 기기들 각각에 대한 라우팅 테이블을 가질 수 있다. 그리고 각 블루투스 기기들은 인콰이어리를 통해 각 복수 개의 타겟 기기들과 최단 홉 거리를 가지는 이웃 기기의 어드레스 정보 및 그 이웃 기기를 통한 자신과 타겟 기기와의 홉 거리정보(HOP_Self)를 해당 타겟 기기에 대한 라우팅 테이블에 저장해 놓는다. However, a plurality of target devices may be designated, and accordingly, each Bluetooth device may have a routing table for each of the designated plurality of target devices. Each Bluetooth device routes address information of the neighboring device having the shortest hop distance to each of the plurality of target devices and hop distance information (HOP_Self) between itself and the target device through the neighboring device to the corresponding target device through inquiries. Save it to a table.

각 기기들은 자신을 이웃 기기로 저장해 놓고 있는 기기로부터 특정 타겟 기기로의 연결을 요청을 받은 경우에, 그 연결을 요청한 기기와 자신을 연결시킨다. 그리고 해당 타겟 기기에 대한 자신의 라우팅 테이블을 살펴서 자신과 해당 타겟 기기와의 홉 거리정보(HOP_Self)가 0이 아닌 경우, 즉 자신이 해당 타겟 기기가 아닌 경우에 한하여 자신의 이웃 기기로 지정되어 있는 기기에 다시 해당 타겟 기기와의 연결을 요청한다. When each device receives a request for connection to a specific target device from a device that stores itself as a neighbor device, each device connects itself with the device requesting the connection. If the hop distance information (HOP_Self) between the target device and the target device is not 0, that is, the target device is not the target device, the neighboring device is designated as its neighbor device. Request the device to connect with the target device again.

그리하여 홉 거리정보(HOP_Self)가 0인 기기와의 연결이 이루어지는 때까지 상기의 과정이 순차적으로 일어나게 되어 1 홉 이상의 거리에 떨어져 있는 두 기기 간에 자동적으로 최단 거리의 통신 연결망, 즉 스캐터넷이 생성된다. Thus, the above process is sequentially performed until the connection with the device having the hop distance information HOP_Self is 0, so that the shortest distance communication network, that is, the scatternet, is automatically generated between two devices that are separated by one or more hops. .

도 4는 본 발명에 따른 블루투스 스캐터넷 자동 생성 방법을 나타낸 흐름도이다. 4 is a flowchart illustrating a method for automatically generating a Bluetooth scatternet according to the present invention.

본 발명에 따르면, 블루투스 네트워크에 존재하는 기기들 중 하나 이상의 기기들을 타겟 기기로 지정해 놓는다. 그리고 각 기기들은 인콰이어리 스캔을 수행하며 주변 기기들로부터 전송되는 인콰이어리 메시지를 수신한다(400). According to the present invention, one or more of the devices existing in the Bluetooth network are designated as the target device. Each device performs an inquiry scan and receives an inquiry message transmitted from peripheral devices (400).

수신된 인콰이어리 메시지가 존재하는 경우, 그 인콰이어리 메시지 내에 포함되어 있는 타겟 기기의 어드레스 정보를 확인하여 해당 타겟 기기에 대한 라우팅 정보인 이웃 기기의 어드레스 정보를 이미 저장하고 있는지의 여부를 살핀다(402). If the received inquiry message exists, the address information of the target device included in the inquiry message is checked to see whether the address information of the neighbor device, which is routing information for the target device, is already stored (402).

그 결과, 이미 해당 타겟 기기에 대한 이웃 기기를 저장하고 있는 경우에는 그 이웃 기기를 통한 자신과 해당 타겟 기기와의 홉 거리정보(HOP_Self)와 전송받은 인콰이어리 메시지 내에 포함되어 있는 홉 거리정보(HOP_Inq)를 비교한다(404). As a result, if the neighbor device for the target device is already stored, the hop distance information (HOP_Self) between itself and the corresponding target device through the neighbor device and the hop distance information (HOP_Inq) included in the received inquiry message Compare 404.

그리고 해당 타겟 기기에 대한 이웃 기기를 저장하고 있지 않은 경우나 아니면 현재 전송받은 홉 거리정보(HOP_Inq)가 기 저장하고 있는 이웃 기기를 통한 홉 거리정보(HOP_Self)보다 작은 경우에 현재 인콰이어리 메시지를 전송한 기기를 해당 타겟 기기의 이웃 기기로 하여 그 기기의 어드레스 정보를 저장해 놓는다(406). When the neighboring device for the target device is not stored or the hop distance information (HOP_Inq) received is smaller than the hop distance information (HOP_Self) through the neighboring device, the current inquiry message is transmitted. The device is set as a neighbor device of the target device, and the address information of the device is stored (406).

또한 전송받은 인콰이어리 메시지 내에 포함된 홉 거리정보(HOP_Inq)를 자신의 홉 거리정보(HOP_Self)로 저장해 두고(408), 새로 저장한 홉 거리정보(HOP_Self)에 1을 더하여 타 기기로 전송할 홉 거리정보(HOP_Inq)를 생성시킨다(410). In addition, the hop distance information (HOP_Inq) included in the received inquiry message is stored as its own hop distance information (HOP_Self) (408), and the hop distance information (HOP_Self) added to the newly stored hop distance information (HOP_Self) is transmitted to other devices. (HOP_Inq) is generated (410).

그리하여, 생성된 홉 거리정보(HOP_Inq)를 자신의 인콰이어리 메시지 내에 포함시켜 주변 기기들로 전송해 줌으로써(412), 타 기기에서도 해당 타겟 기기와 최단 거리로 연결되기 위해서 연결을 요청할 이웃 기기를 저장해 둘 수 있도록 한다. Thus, the generated hop distance information (HOP_Inq) is included in its inquiry message and transmitted to the peripheral devices (412), so that other devices may store neighbor devices to request connection in order to be connected to the target device in the shortest distance. To help.

그리고, 소정 타겟 기기로의 연결 요청이 입력되는 경우에(414) 자신과 해당 타겟 기기와의 홉 거리정보(HOP_Self)가 0이 아닌지(416), 즉 자신이 해당 타겟 기기가 아닌지를 살펴서 아닌 경우에 해당 타겟 기기에 매칭시켜 저장해 놓은 이웃 기기로 해당 타겟 기기와의 연결을 요청한다(418). When the connection request to the predetermined target device is input (414), if the hop distance information HOP_Self between itself and the corresponding target device is not 0 (416), that is, it is not determined whether the target device is not the corresponding target device. In operation 418, the neighbor device stored by matching the target device with the corresponding target device is requested.

상기 요청에 따라 자신의 이웃 기기와 우선 연결을 이루고(420), 그 이웃 기기에서는 앞서 언급한 바와 같이, 다시 해당 타겟 기기와의 홉 거리정보(HOP_Self)를 살피며 자신이 해당 타겟 기기가 아닌 경우에 한하여 자신의 이웃 기기로 지정되어 있는 기기로 해당 타겟 기기와의 연결을 요청한다. In response to the request, a connection is first established with the neighboring device (420), and the neighboring device checks the hop distance information (HOP_Self) with the corresponding target device again as mentioned above, and if it is not the corresponding target device. Only the device designated as its neighbor device requests a connection with the corresponding target device.

그리하여 홉 거리정보(HOP_Self)가 0인 기기와의 연결이 이루어지는 때까지 상기의 과정이 순차적으로 일어나게 되면서 1 홉 이상의 거리에 떨어져 있는 타겟 기기와 통신이 가능한 스캐터넷이 생성된다. Thus, the above process is sequentially performed until the connection with the device having the hop distance information HOP_Self is 0, and a scatternet capable of communicating with a target device at a distance of more than one hop is generated.

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위 뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다. Although the present invention has been described in detail with reference to exemplary embodiments above, those skilled in the art to which the present invention pertains can make various modifications to the above-described embodiments without departing from the scope of the present invention. I will understand. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

본 발명에 따르면, 블루투스 네트워크상에 존재하는 각 기기들 중 하나 이상의 타겟 기기를 지정하고 그 타겟 기기와 통신을 수행할 수 있는 스캐터넷이 자동적으로 형성될 수 있도록 각 기기들이 타겟 기기와 최단 홉 거리로 연결 가능한 이웃 기기를 검색한다. 그리고 타겟 기기로의 연결 요청이 존재하는 경우에, 자신의 이웃 기기로 연결을 요청하여 사용자의 개입 없이 자동적으로 타겟 기기까지의 통신 연결망, 스캐터넷이 형성되도록 해 준다. According to the present invention, each device is the shortest hop distance from the target device so that a scatternet capable of designating one or more target devices among the devices present on the Bluetooth network and communicating with the target device can be automatically formed. Search for neighboring devices that can be connected. When there is a connection request to the target device, a request is made to connect to its neighbor device so that a communication network and a scatternet to the target device are automatically formed without user intervention.

Claims (6)

각 블루투스 기기들이 미리 지정된 타겟 기기에 최단 홉 거리로 연결 가능한 이웃 기기를 검색하여, 그 검색된 이웃 기기의 어드레스 정보를 저장해 놓는 단계; 및 Searching for neighboring devices that can be connected to each of the Bluetooth devices in a shortest hop distance to a predetermined target device, and storing address information of the found neighboring devices; And 소정 블루투스 기기에서 상기 타겟 기기와 통신을 수행하고자 하는 경우에, 상기 어드레스 정보를 저장한 이웃 기기에 연결을 요청하여 상기 타겟 기기와의 연결을 형성하는 단계;를 포함하여 이루어지는 블루투스 스캐터넷 자동 생성 방법. Requesting a connection from a neighboring device storing the address information to form a connection with the target device when a predetermined Bluetooth device intends to communicate with the target device; . 제 1 항에 있어서, The method of claim 1, 상기 각 블루투스 기기들의 이웃 기기 검색은 The neighbor device search of each Bluetooth device 상기 미리 지정된 타겟 기기가 복수 개인 경우에, 상기 각 블루투스 기기들이 각각의 타겟 기기들과 최단 홉 거리로 연결 가능한 이웃 기기들을 검색하는 것을 특징으로 하는 블루투스 스캐터넷 자동 생성 방법. And searching for neighboring devices which are connectable to the respective target devices in the shortest hop distance, when there are a plurality of predetermined target devices. 제 1 항에 있어서, The method of claim 1, 상기 각 블루투스 기기들의 이웃 기기 검색은 The neighbor device search of each Bluetooth device 상기 타겟 기기가 주변 기기들에게 자신과의 홉 거리정보를 1로 전송하는 단계; 및 Transmitting, by the target device, hop distance information with itself to the neighboring devices as 1; And 상기 타겟 기기의 홉 거리정보 전송을 기점으로 각 블루투스 기기들이 자신 을 통한 상기 타겟 기기와의 홉 거리정보를 주변 기기들에게 서로 전송하며 상기 주변 기기들 중 가장 작은 값의 홉 거리정보를 전송하는 기기를 이웃 기기로 검색하는 단계;로 이루어지는 것을 특징으로 하는 블루투스 스캐터넷 자동 생성 방법. Starting from the transmission of the hop distance information of the target device, each Bluetooth device transmits hop distance information with the target device through itself to peripheral devices and transmits hop distance information of the smallest value among the peripheral devices. Searching for the neighboring device; Bluetooth scatternet automatic generation method comprising the. 제 3 항에 있어서, The method of claim 3, wherein 상기 블루투스 기기들의 홉 거리정보 전송은 The hop distance information transmission of the Bluetooth devices 상기 블루투스 기기들이 자신의 이웃 기기로 새로운 기기가 검색된 경우에 자신의 인콰이어리 메시지를 통해 전송하는 것을 특징으로 하는 블루투스 스캐터넷 자동 생성 방법. The Bluetooth device automatically generates a Bluetooth scatternet, characterized in that when the new device is found as a neighboring device via its own inquiry message. 제 4 항에 있어서, The method of claim 4, wherein 상기 블루투스 기기들이 주변기기로 전송하는 홉 거리정보는 The hop distance information that the Bluetooth devices transmit to the peripheral device is 상기 블루투스 기기들이 자신의 이웃 기기로 검색된 새로운 기기로부터 전송받은 홉 거리정보에 1을 더한 값인 것을 특징으로 하는 블루투스 스캐터넷 자동 생성 방법. Method for automatically generating a Bluetooth scatternet characterized in that the Bluetooth device is a value of 1 plus the hop distance information received from a new device found in its neighboring device. 제 1 항에 있어서, The method of claim 1, 상기 타겟 기기와의 연결 형성은, The connection with the target device is formed, 자신과 상기 타겟 기기와의 홉 거리정보가 0이 아닌 경우에 자신의 이웃 기기로 연결을 요청하며 해당 기기와 연결을 형성하는 단계; 및 Requesting a connection to its neighboring device and forming a connection with the corresponding device when the hop distance information between the target device and the target device is not 0; And 상기 연결을 요청받은 이웃 기기에서 상기 타겟 기기와의 홉 거리정보가 0일 때까지 상기 이웃 기기와의 연결 형성이 순차적으로 수행되어 상기 타겟 기기와 연결을 형성하는 단계;로 이루어지는 것을 특징으로 하는 블루투스 스캐터넷 자동 생성 방법. Forming a connection with the target device by sequentially forming a connection with the neighboring device until the hop distance information with the target device is 0 in the neighboring device that has received the connection; How to automatically create a scatternet.
KR1020060005280A 2006-01-18 2006-01-18 Method of generating a bluetooth scatternet automatically KR100650269B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060005280A KR100650269B1 (en) 2006-01-18 2006-01-18 Method of generating a bluetooth scatternet automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060005280A KR100650269B1 (en) 2006-01-18 2006-01-18 Method of generating a bluetooth scatternet automatically

Publications (1)

Publication Number Publication Date
KR100650269B1 true KR100650269B1 (en) 2006-11-28

Family

ID=37713707

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060005280A KR100650269B1 (en) 2006-01-18 2006-01-18 Method of generating a bluetooth scatternet automatically

Country Status (1)

Country Link
KR (1) KR100650269B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101923824B1 (en) 2017-07-14 2018-11-29 세종대학교산학협력단 Bluetooth communication method based on internet of things and apparatus therefore

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101923824B1 (en) 2017-07-14 2018-11-29 세종대학교산학협력단 Bluetooth communication method based on internet of things and apparatus therefore

Similar Documents

Publication Publication Date Title
US6795421B1 (en) Short-range RF access point design enabling services to master and slave mobile devices
KR100709501B1 (en) Method and apparatus for discovering neighbors within a piconet communication system
US7164885B2 (en) Method and apparatus for selective service access
KR100389820B1 (en) Method for establishing link between bluetooth apparatuses using bluetooth wireless communication
US20120120934A1 (en) Method for tethering network connection, method for connecting to network, and wireless communication group applying the same
KR20050027919A (en) Mechanism for improving connection control in peer-to-peer ad-hoc networks
US20050188103A1 (en) Method or device for delivering a packet in a scatternet
US20180183701A1 (en) Method, system and apparatus for using neighbor awareness networking for mesh networking
US10091720B2 (en) Connecting wireless communication apparatuses in a wireless network based on a user input
KR100605253B1 (en) Apparatus and method for beacon scheduling in communication system
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
KR100458207B1 (en) Method of route discovery based on-demand in ad-hoc network
KR20120066979A (en) Wireless local area communication system
KR20050008468A (en) Apparatus and method for routing path establishment in scatternet
KR100650269B1 (en) Method of generating a bluetooth scatternet automatically
JP2006325142A (en) Radio terminal and communication method therefor
KR100680498B1 (en) Method for building a scatternet of bluetooth
KR101141222B1 (en) Method for generating neighbour devices list using broadcast message in bluetooth protocol
KR100650270B1 (en) Hand-off method in a bluetooth network
Takizawa et al. MaCC: supporting network formation and routing in wireless personal area networks
KR101003584B1 (en) Method for transmitting data using a map and wireless network transceiver
Kotak et al. A new approach to efficient bluetooth scatternet formation in adhoc wireless network
KR20090104992A (en) Method for searching a Bluetooth communication device and a terminal and a system therefor
Wu et al. Prompt Connecting Mechanism and Multiple-code Transmission Support for Bluetooth Personal Area Network
Wani et al. Time Efficient Connection Formation Scheme in Bluetooth

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