KR20080108785A - Method of detecting a bluetooth device and host bluetooth device for performing the same - Google Patents

Method of detecting a bluetooth device and host bluetooth device for performing the same Download PDF

Info

Publication number
KR20080108785A
KR20080108785A KR1020070056780A KR20070056780A KR20080108785A KR 20080108785 A KR20080108785 A KR 20080108785A KR 1020070056780 A KR1020070056780 A KR 1020070056780A KR 20070056780 A KR20070056780 A KR 20070056780A KR 20080108785 A KR20080108785 A KR 20080108785A
Authority
KR
South Korea
Prior art keywords
bluetooth device
bluetooth
search
host
cnt
Prior art date
Application number
KR1020070056780A
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 KR1020070056780A priority Critical patent/KR20080108785A/en
Publication of KR20080108785A publication Critical patent/KR20080108785A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Abstract

A bluetooth device searching method and a host bluetooth device for implementing the same are provided to reduce unnecessary searching time by terminating a search process of the bluetooth device before a predetermined search time. A host blue tooth device(200) broadcast search signal. A bluetooth module(904) searches neighboring bluetooth devices through search response signal outputted from the neighboring bluetooth devices in response of search response signal. A display unit(908) displays search result. A blue tooth device searching procedure is terminated if the repetition search frequency of neighboring blue tooth devices is greater than a critical value.

Description

블루투스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자{METHOD OF DETECTING A BLUETOOTH DEVICE AND HOST BLUETOOTH DEVICE FOR PERFORMING THE SAME}TECHNICAL OF DETECTING A BLUETOOTH DEVICE AND HOST BLUETOOTH DEVICE FOR PERFORMING THE SAME}

도 1은 종래의 블루투스 소자 검색 방법을 도시한 도면이다. 1 is a view illustrating a conventional Bluetooth device search method.

도 2는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 연결 방법을 도시한 순서도이다.2 is a flowchart illustrating a method for connecting a Bluetooth device according to an embodiment of the present invention.

도 3은 본 발명의 바람직한 일 실시예에 따른 블루투스 연결 선택 방법을 도시한 도면이다. 3 illustrates a method for selecting a Bluetooth connection according to an embodiment of the present invention.

도 4는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 검색 결과를 도시한 도면이다.4 is a view showing a Bluetooth device search results according to an embodiment of the present invention.

도 5는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 검색 과정을 도시한 순서도이다.5 is a flowchart illustrating a Bluetooth device discovery process according to an embodiment of the present invention.

도 6은 도 5의 검색 과정 중 검색 결과 및 임계값 설정과 관련된 표를 도시한 평면도이다. FIG. 6 is a plan view illustrating a table related to search results and threshold settings during the search process of FIG. 5.

도 7은 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 재검색 과정을 도시한 순서도이다. 7 is a flowchart illustrating a process of rescanning a Bluetooth device according to an exemplary embodiment of the present invention.

도 8은 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 재검색 과정을 도시한 순서도이다. 8 is a flowchart illustrating a process of rescanning a Bluetooth device according to an exemplary embodiment of the present invention.

도 9는 본 발명의 바람직한 일 실시예에 따른 호스트 블루투스 소자를 도시한 블록도이다. 9 is a block diagram illustrating a host Bluetooth device according to an exemplary embodiment of the present invention.

본 발명은 블루투스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자에 관한 것으로, 더욱 상세하게는 기설정된 검색 시간 전이라도 더 이상 검색될 블루투스 소자가 없다고 판단되는 경우 상기 블루투스 소자 검색 과정을 종료시키는 블루투스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자에 관한 것이다. The present invention relates to a Bluetooth device searching method and a host Bluetooth device for performing the same. More particularly, the present invention relates to a Bluetooth device for terminating the Bluetooth device searching process when it is determined that there is no Bluetooth device to be searched even before a preset search time. A search method and a host Bluetooth device for performing the same.

블루투스(Bluetooth) 통신은 근거리 라디오 기술에 기반을 둔 무선 통신 방식으로서, 전세계적으로 허가가 필요없는 2.4GHz대의 ISM 주파수 대역에서 동작한다. 이러한 블루투스 통신을 사용하는 블루투스 소자는 블루투스 통신을 통하여 반경 10M 거리에 위치하는 다른 블루투스 소자로 최대 1Mbps의 속도로 음성 및 데이터를 전송한다. 여기서, 블루투스 통신은 그의 특성상 소비 전력이 매우 작기 때문에, 블루투스 통신은 휴대폰 등에서 널리 사용되고 있다. Bluetooth communication is a wireless communication method based on short-range radio technology that operates in the 2.4GHz ISM frequency band without permission worldwide. The Bluetooth device using the Bluetooth communication transmits voice and data at a speed of up to 1 Mbps to another Bluetooth device located within a radius of 10M through Bluetooth communication. Here, since Bluetooth communication has a very small power consumption due to its characteristics, Bluetooth communication is widely used in mobile phones and the like.

이하, 특정 블루투스 소자(호스트 블루투스 소자)가 그의 주변에 있는 다른 블루투스 소자를 검색하는 과정을 첨부된 도면을 참조하여 상술하겠다. Hereinafter, a process of a specific Bluetooth device (host Bluetooth device) searching for other Bluetooth devices in the vicinity thereof will be described with reference to the accompanying drawings.

도 1은 종래의 블루투스 소자 검색 방법을 도시한 도면이다. 1 is a view illustrating a conventional Bluetooth device search method.

도 1을 참조하면, 호스트 블루투스 소자(100)는 그의 주변에 있는 휴대폰(102), 노트북(104) 및 헤드셋(106) 등과 같은 블루투스 소자를 검색하기 위하여 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)한다. Referring to FIG. 1, the host Bluetooth device 100 broadcasts an inquiry signal to search for Bluetooth devices such as a mobile phone 102, a notebook 104, a headset 106, and the like in the vicinity thereof. )do.

이어서, 주변 블루투스 소자들(102, 104 및 106)은 상기 조회 신호에 응답하여 그의 고유주소(bluetooth device address, BD address) 및 기종(class of device, COD)에 대한 정보를 가지는 조회 응답 신호(inquiry response signal)를 호스트 블루투스 소자(100)로 전송한다. Subsequently, peripheral Bluetooth devices 102, 104, and 106 are inquiry having information about their Bluetooth device address (BD address) and a class of device (COD) in response to the inquiry signal. response signal) to the host Bluetooth device 100.

계속하여, 호스트 블루투스 소자(100)는 상기 조회 응답 신호들을 분석하여 그의 주변에 있는 블루투스 소자들(102, 104 및 106)을 검색하고, 원하는 블루투스 소자로 연결을 시도한다. Subsequently, the host Bluetooth device 100 analyzes the inquiry response signals to search for Bluetooth devices 102, 104, and 106 in the vicinity thereof, and attempts to connect to the desired Bluetooth device.

다만, 종래의 블루투스 소자 검색 방법에서는 기설정된 검색 시간(블루투스 스펙에서 일반적으로 정해진 시간) 동안 계속적으로 조회 신호를 브로드캐스팅하여 주변 블루투스 소자들(102, 104 및 106)을 검색한다. 결과적으로, 한번 검색된 블루투스 소자들(102, 104 및 106)이 계속적으로 검색된다. 특히, 종래의 블루투스 소자 검색 방법에서는 더 이상 검색될 블루투스 소자가 없음에도 불구하고 상기 검색 시간 동안 주변 블루투스 소자들을 계속적으로 검색하였다. 따라서, 블루투스 소자를 검색을 위해 소요되는 시간이 불필요하게 낭비되는 경향이 있었다. However, in the conventional Bluetooth device searching method, an inquiry signal is continuously broadcast for a preset search time (a time generally determined in the Bluetooth specification) to search for peripheral Bluetooth devices 102, 104, and 106. As a result, the Bluetooth devices 102, 104, and 106 once found are searched continuously. In particular, the conventional Bluetooth device search method continuously searches for neighboring Bluetooth devices during the search time even though there are no more Bluetooth devices to be searched. Therefore, the time required for searching for a Bluetooth device tends to be wasted unnecessarily.

본 발명의 목적은 블루투스 소자를 검색하기 위한 시간을 단축시키는 블루투 스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자를 제공하는 것이다.An object of the present invention is to provide a Bluetooth device search method for reducing the time for searching for a Bluetooth device and a host Bluetooth device for performing the same.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명의 바람직한 일 실시예에 따른 호스트 블루투스 소자는 블루투스 모듈 및 디스플레이부를 포함한다. 상기 블루투스 모듈은 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)하고, 상기 조회 신호에 응답하여 상기 주변 블루투스 소자로부터 출력된 조회 응답 신호(inquiry response signal)를 통하여 주변 블루투스 소자들을 검색한다. 상기 디스플레이부는 상기 검색 결과를 디스플레이한다. 여기서, 상기 블루투스 모듈은 새로운 주변 블루투스 소자가 발견되기 전까지 반복적으로 검색되는 주변 블루투스 소자들의 반복 검색 횟수(Cnt)가 임계값보다 큰 경우 상기 블루투스 소자 검색 과정을 종료한다. In order to achieve the above object, the host Bluetooth device according to an embodiment of the present invention includes a Bluetooth module and a display unit. The Bluetooth module broadcasts an inquiry signal and searches for peripheral Bluetooth devices through an inquiry response signal output from the peripheral Bluetooth device in response to the inquiry signal. The display unit displays the search result. In this case, the Bluetooth module terminates the Bluetooth device search process when the number of repeated search (Cnt) of the peripheral Bluetooth devices repeatedly searched until a new peripheral Bluetooth device is found is greater than a threshold value.

본 발명의 바람직한 일 실시예에 따른 블루투스 소자 검색 방법은 임계값을 설정하는 단계, 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)하는 단계, 및 상기 조회 신호에 응답하여 출력된 적어도 하나의 조회 응답 신호(inquiry response signal)를 통하여 주변 블루투스 소자들을 검색하는 단계를 포함한다. 여기서, 새로운 주변 블루투스 소자가 검색되기 전까지 반복적으로 검색되는 주변 블루투스 소자들의 반복 검색 횟수(Cnt)가 상기 임계값보다 큰 경우 상기 주변 블루투스 소자 검색 과정이 종료한다.The Bluetooth device searching method according to an embodiment of the present invention comprises the steps of setting a threshold value, broadcasting an inquiry signal (broadcasting an inquiry signal), and at least one inquiry response output in response to the inquiry signal. Searching for peripheral Bluetooth devices via an inquiry response signal. Here, when the number of repetitive searches (Cnt) of the peripheral Bluetooth devices repeatedly searched until the new peripheral Bluetooth device is found is greater than the threshold value, the peripheral Bluetooth device search process is terminated.

본 발명에 따른 블루투스 소자 검색 방법 및 이를 수행하기 위한 호스트 블 루투스 소자는 상기 호스트 블루투스 소자에 기설정된 검색 시간 전이라도 더 이상 검색될 블루투스 소자가 존재하지 않는다고 판단되는 경우 블루투스 소자 검색 과정을 종료한다. 따라서, 불필요한 검색 시간이 단축될 수 있다. The Bluetooth device searching method according to the present invention and the host Bluetooth device for performing the same terminates the Bluetooth device searching process when it is determined that the Bluetooth device to be searched no longer exists even before a preset search time in the host Bluetooth device. . Therefore, unnecessary search time can be shortened.

이하에서는 첨부된 도면들을 참조하여 본 발명의 바람직한 실시예들을 자세히 설명하도록 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 연결 방법을 도시한 순서도이고, 도 3은 본 발명의 바람직한 일 실시예에 따른 블루투스 연결 선택 방법을 도시한 도면이다. 도 4는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 검색 결과를 도시한 도면이다. 여기서, 호스트 블루투스 소자(Host Bluetooth device, 200, HD)가 주변의 블루투스 소자들을 검색하고, 호스트 블루투스 소자(HD, 200)의 주변에 5개의 주변 블루투스 소자들(D1 내지 D5, 202 내지 210)이 존재한다고 가정한다. 2 is a flowchart illustrating a method for connecting a Bluetooth device according to an exemplary embodiment of the present invention, and FIG. 3 is a diagram illustrating a method for selecting a Bluetooth connection according to an exemplary embodiment of the present invention. 4 is a view showing a Bluetooth device search results according to an embodiment of the present invention. Here, the host Bluetooth device 200 and HD search for peripheral Bluetooth devices, and five peripheral Bluetooth devices D1 to D5 and 202 to 210 are searched for in the vicinity of the host Bluetooth device HD and 200. Assume that it exists.

본 실시예의 블루투스 소자(200, 202, 204, 206, 208 및 210)는 블루투스 통신 기능을 가지는 소자로서, 셀룰러 전화기(Cellular Phone), 개인 휴대 통신 전화기(Personal Communication Systerm, PCS), 개인 정보 단말기(Personal Data Assistant, PDA), IMT-2000(International Mobile Communication-2000) 단말기, 개인용 컴퓨터(Personal Computer, PC) 및 헤드셋(Headset) 등을 포함한다. 즉, 블루투스 소자(200, 202, 204, 206, 208 및 210)는 블루투스 기능을 가지는 한 기기의 제한은 없다. The Bluetooth devices 200, 202, 204, 206, 208, and 210 of the present embodiment are devices having a Bluetooth communication function, and include cellular phones, personal communication phones (PCSs), and personal information terminals (PCS). Personal Data Assistant (PDA), International Mobile Communication-2000 (IMT-2000) terminal, Personal Computer (PC), Headset (Headset) and the like. That is, the Bluetooth devices 200, 202, 204, 206, 208, and 210 are not limited as long as they have a Bluetooth function.

이하, 본 실시예의 블루투스 소자 연결 과정을 상술하겠다. Hereinafter, the Bluetooth device connection process of the present embodiment will be described in detail.

도 2 및 도 3을 참조하면, 사용자가 호스트 블루투스 소자(200)의 디스플레이부에 디스플레이된 복수의 메뉴들 중 블루투스 연결 메뉴(5)를 선택한다. 여기서, 상기 메뉴들의 설정 및 선택 방법은 제조 회사, 통신사 및 사용자의 설정에 따라 다를 수 있다. 2 and 3, the user selects the Bluetooth connection menu 5 from among a plurality of menus displayed on the display unit of the host Bluetooth device 200. Here, the setting and selection method of the menus may vary according to the setting of the manufacturer, the telecommunication company and the user.

이어서, 호스트 블루투스 소자(HD, 200)는 상기 선택에 따라 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)한다(S200). 즉, 호스트 블루투스 소자(HD, 200)는 그의 주변에 있는 블루투스 소자들을 검색하기 위하여 사방으로 조회 신호를 출력시킨다. 여기서, 상기 조회 신호는 주변 블루투스 소자들(202 내지 210)에 그의 고유주소(bluetooth device address, BD address) 및 기종(class of device, COD)을 요청하는 신호이다. Subsequently, the host Bluetooth device HD 200 broadcasts an inquiry signal according to the selection (S200). In other words, the host Bluetooth device HD 200 outputs an inquiry signal in all directions to search for Bluetooth devices in the vicinity thereof. Here, the inquiry signal is a signal for requesting a Bluetooth device address (BD address) and a class of device (COD) of the peripheral Bluetooth devices 202 to 210.

계속하여, 상기 조회 신호를 수신한 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 상기 수신된 조회 신호에 응답하여 그의 고유주소(BD address) 및 기종(COD)에 대한 정보를 가지는 조회 응답 신호(inquiry response 신호)를 각기 호스트 블루투스 소자(200)로 전송한다(S202, S204, S206, S208 및 S210). Subsequently, the peripheral Bluetooth devices 202, 204, 206, 208, and 210 that have received the inquiry signal have information about their BD address and model in response to the received inquiry signal. An inquiry response signal (inquiry response signal) is transmitted to the host Bluetooth device 200, respectively (S202, S204, S206, S208 and S210).

이어서, 호스트 블루투스 소자(200)는 주변 블루투스 소자들(202, 204, 206, 208 및 210)로부터 전송된 조회 응답 신호들을 통하여 그의 주변에 있는 블루투스 소자들(202, 204, 206, 208 및 210)의 현황을 파악하고, 파악된 결과를 블루투스 소자 검색 목록에 추가한다. Subsequently, the host Bluetooth device 200 transmits the Bluetooth devices 202, 204, 206, 208 and 210 in its vicinity through inquiry response signals transmitted from the peripheral Bluetooth devices 202, 204, 206, 208 and 210. Find out the current status and add the result to the Bluetooth device search list.

즉, 호스트 블루투스 소자(200)는 조회 신호의 전송 및 조회 응답 신호의 수 신을 통하여 그의 주변에 위치한 블루투스 소자들(202, 204, 206, 208 및 210)을 검색한다. 여기서, 이러한 블루투스 소자 검색 방법은 호스트 블루투스 소자(200)에 기설정된 검색 시간(블루투스 스펙에서 일반적으로 정해진 시간) 동안 조회 신호를 계속적으로 브로드캐스팅하며, 그래서 이미 검색된 블루투스 소자가 반복적으로 검색될 수 있다. 다만, 본 실시예의 블루투스 소자 검색 방법은 종래의 블루투스 소자 검색 방법과 달리 상기 검색 시간 동안 계속적으로 주변 블루투스 소자들을 검색하는 것이 아니라 상기 검색 시간이 종료되기 전이라도 더 이상 검색될 블루투스 소자들이 존재하지 않는다고 판단되는 경우 블루투스 소자 검색을 종료한다. 따라서, 본 실시예의 블루투스 소자 검색 방법은 블루투스 소자 검색 시간을 단축시킬 수 있다. 이러한 검색 방법은 이하 첨부된 도면들을 참조하여 상술하겠다. That is, the host Bluetooth device 200 searches for the Bluetooth devices 202, 204, 206, 208, and 210 located in the vicinity thereof through the transmission of the inquiry signal and the reception of the inquiry response signal. Here, the Bluetooth device searching method continuously broadcasts an inquiry signal to the host Bluetooth device 200 for a preset search time (a time generally determined in the Bluetooth specification), so that the Bluetooth device that has already been searched may be repeatedly searched. . However, unlike the conventional Bluetooth device search method, the Bluetooth device search method of the present embodiment does not continuously search for neighboring Bluetooth devices during the search time, but there are no Bluetooth devices to be searched even before the search time expires. If it is determined that the Bluetooth device search is terminated. Therefore, the Bluetooth device searching method of the present embodiment can shorten the Bluetooth device searching time. This search method will be described below with reference to the accompanying drawings.

이하, 본 실시예의 블루투스 소자 연결 방법을 계속적으로 상술하겠다. Hereinafter, the Bluetooth device connection method of the present embodiment will be described in detail.

도 2를 다시 참조하면, 호스트 블루투스 소자(200)는 상기 검색된 블루투스 소자들(202, 204, 206, 208 및 210)에 각기 서비스 신호(Service Discovery Profile signal, SDP 신호)를 전송한다(S212). Referring back to FIG. 2, the host Bluetooth device 200 transmits a service discovery profile signal (SDP signal) to the searched Bluetooth devices 202, 204, 206, 208, and 210, respectively (S212).

계속하여, 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 상기 전송된 SDP 신호에 응답하여 자신이 제공하는 서비스에 대한 정보를 가지는 서비스 응답 신호(SDP response signal)를 호스트 블루투스 소자(200)로 전송한다(S214 및 S216). 여기서, 본 발명의 다른 실시예에 따르면, 상기 SDP 응답 신호는 해당 서비스뿐만 아니라 해당 블루투스 소자의 이름(예를 들어, EVER)에 대한 정보도 포함할 수 있다. Subsequently, the peripheral Bluetooth devices 202, 204, 206, 208, and 210 transmit a service response signal (SDP response signal) having information about a service provided by the host Bluetooth device (SDP) in response to the transmitted SDP signal. 200) (S214 and S216). Here, according to another embodiment of the present invention, the SDP response signal may include not only the service but also information on the name (eg, EVER) of the Bluetooth device.

이어서, 호스트 블루투스 소자(200)는 상기 전송된 SDP 응답 신호들을 통하여 주변 블루투스 소자들(202, 204, 206, 208 및 210)이 제공하는 서비스를 파악한다. Subsequently, the host Bluetooth device 200 determines a service provided by the peripheral Bluetooth devices 202, 204, 206, 208, and 210 through the transmitted SDP response signals.

계속하여, 호스트 블루투스 소자(200)는 블루투스 소자 검색 결과를 저장하고, 그런 후 도 4에 도시된 바와 같이 디스플레이부를 통하여 상기 검색 결과를 사용자에게 디스플레이시킨다. 이 경우, 사용자가 검색된 블루투스 소자들(202, 204, 206, 208 및 210) 중 하나를 선택하면, 호스트 블루투스 소자(200)는 해당 블루투스 소자의 고유주소(BD address), 기종(COD) 및 서비스 종류를 사용자에게 디스플레이시키며, 그래서 사용자는 블루투스 소자들(202, 204, 206, 208 및 210)에 대한 정보를 파악할 수 있다. 예를 들어, 사용자가 블루투스 소자(②)를 선택한 경우, 호스트 블루투스 소자(200)는 블루투스 소자(②)가 헤드셋으로서 통화 서비스를 제공함을 사용자에게 디스플레이시킨다. Subsequently, the host Bluetooth device 200 stores the Bluetooth device search results, and then displays the search results to the user through the display unit as shown in FIG. 4. In this case, when the user selects one of the found Bluetooth devices 202, 204, 206, 208, and 210, the host Bluetooth device 200 may display a unique address (BD address), a model (COD), and a service of the corresponding Bluetooth device. The type is displayed to the user, so that the user can grasp information about the Bluetooth devices 202, 204, 206, 208 and 210. For example, when the user selects the Bluetooth device ②, the host Bluetooth device 200 displays to the user that the Bluetooth device ② provides a call service as a headset.

이어서, 사용자가 검색된 블루투스 소자들(202, 204, 206, 208 및 210) 중 하나에 대한 연결을 선택하는 경우, 호스트 블루투스 소자(200)는 선택된 블루투스 소자에 핀 코드(Pin Code, 예를 들어 '0000')를 전송한다(S218). 이하, 설명의 편의를 위하여 상기 선택된 블루투스 소자를 주변 블루투스 소자(204)로 가정하겠다. Subsequently, when the user selects a connection to one of the discovered Bluetooth devices 202, 204, 206, 208 and 210, the host Bluetooth device 200 assigns a pin code (eg, ' 0000 ') is transmitted (S218). Hereinafter, for convenience of explanation, it will be assumed that the selected Bluetooth device is the peripheral Bluetooth device 204.

주변 블루투스 소자(204)는 호스트 블루투스 소자(200)로부터 전송된 핀 코드가 자신이 가지고 있는 핀 코드와 일치하는 지의 여부를 판단한다(S220).The peripheral Bluetooth device 204 determines whether or not the pin code transmitted from the host Bluetooth device 200 matches the pin code it has (S220).

상기 핀 코드들이 일치하지 않는 경우, 주변 블루투스 소자(204)와 호스트 블루투스 소자(200)는 블루투스 통신으로 연결되지 않는다. 다만, 이러한 핀 코드를 일치시키는 방법은 다양한 방법이 존재할 수 있으며, 따라서 다른 방법을 통하여 핀 코드들이 일치되는 경우 주변 블루투스 소자(204)와 호스트 블루투스 소자(200)가 블루투스 통신으로 연결될 수도 있다. If the pin codes do not match, the peripheral Bluetooth device 204 and the host Bluetooth device 200 are not connected through Bluetooth communication. However, there may be various methods of matching the pin codes, and thus, when the pin codes are matched through other methods, the peripheral Bluetooth device 204 and the host Bluetooth device 200 may be connected by Bluetooth communication.

반면에, 상기 핀 코드들이 일치하는 경우, 주변 블루투스 소자(204)는 핀 코드가 일치한다는 정보를 가지는 액크 신호(ACK)를 호스트 블루투스 소자(200)로 전송한다(S222). 또한, 주변 블루투스 소자(204)는 상기 핀 코드를 이용하여 링크키(Link Key)를 생성하고, 그런 후 저장한다(S224). On the other hand, when the pin codes match, the peripheral Bluetooth device 204 transmits an ACK signal ACK having information that the pin codes match to the host Bluetooth device 200 (S222). In addition, the peripheral Bluetooth device 204 generates a link key using the pin code, and then stores the link key (S224).

계속하여, 호스트 블루투스 소자(200)는 상기 전송된 액크 신호(ACK)에 따라 상기 핀 코드를 이용하여 링크키를 생성하고, 그런 후 저장한다(S226).Subsequently, the host Bluetooth device 200 generates a link key using the pin code according to the transmitted ACK signal and then stores the link key (S226).

이어서, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 링크키들을 상호 교환한다(S228). 이러한 링크키들은 호스트 블루투스 소자(200)와 주변 블루투스 소자(204) 사이에 연결이 끊긴 후 다시 연결하고자 하는 경우 위와 같은 블루투스 소자 검색 과정을 거치지 않고도 상호간 직접 연결될 수 있도록 연결 고리의 역할을 수행한다. Subsequently, the host Bluetooth device 200 and the peripheral Bluetooth device 204 exchange link keys with each other (S228). When the link keys are disconnected between the host Bluetooth device 200 and the peripheral Bluetooth device 204 and want to be connected again, the link keys serve as a link so that they can be directly connected to each other without going through the Bluetooth device search process as described above.

계속하여, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 블루투스 통신으로 연결된다(S230). 결과적으로, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 블루투스 통신을 이용하여 상호간 데이터 등을 교환할 수 있다.Subsequently, the host Bluetooth device 200 and the peripheral Bluetooth device 204 are connected by Bluetooth communication (S230). As a result, the host Bluetooth device 200 and the peripheral Bluetooth device 204 may exchange data with each other using Bluetooth communication.

이하, 이러한 블루투스 소자 연결 과정 중 블루투스 소자 검색 과정을 첨부된 도면들을 참조하여 상술하겠다. Hereinafter, a Bluetooth device searching process will be described in detail with reference to the accompanying drawings.

도 5는 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 검색 과정을 도시한 순서도이고, 도 6은 도 5의 검색 과정 중 검색 결과 및 임계값 설정과 관련된 표를 도시한 평면도이다. 다만, 도 5를 참조하여 본 실시예의 블루투스 소자 검색 과정에 대한 전반적인 내용을 상술하고, 그런 후 상기 블루투스 소자 검색 과정을 도 6을 참조하여 실제예로서 상술하겠다. FIG. 5 is a flowchart illustrating a Bluetooth device search process according to an exemplary embodiment of the present invention, and FIG. 6 is a plan view illustrating a table related to a search result and a threshold value setting during the search process of FIG. 5. However, with reference to FIG. 5, the overall content of the Bluetooth device searching process of the present embodiment will be described in detail, and then the Bluetooth device searching process will be described in detail with reference to FIG.

도 5를 참조하면, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅한다(S500).Referring to FIG. 5, the host Bluetooth device 200 broadcasts an inquiry signal (S500).

이어서, 상기 조회 신호를 수신한 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 각기 조회 응답 신호를 호스트 블루투스 소자(200)로 전송하며, 호스트 블루투스 소자(200)는 상기 전송된 조회 응답 신호들을 통하여 그의 주변에 위치하는 블루투스 소자들을 발견한다(S502). Subsequently, the peripheral Bluetooth devices 202, 204, 206, 208, and 210 that receive the inquiry signal transmit an inquiry response signal to the host Bluetooth device 200, and the host Bluetooth device 200 transmits the inquiry. Through the response signals, Bluetooth devices located around them are found (S502).

계속하여, 현재 발견된 블루투스 소자가 이미 발견되었던 블루투스 소자인지의 여부가 판단된다(S504). Subsequently, it is determined whether the currently found Bluetooth device is a Bluetooth device that has already been found (S504).

현재 발견된 블루투스 소자가 이미 발견되었던 블루투스 소자가 아닌 경우, 예를 들어 도 6에 도시된 바와 같이 D4(208)가 처음으로 발견되고 그런 후에 D1(202)이 발견된 경우, D1(202)을 블루투스 소자 목록에 추가한다(S510). 그런 후, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 큰 지의 여부가 판단된다(S512). 여기서, 반복 검색 횟수(Cnt)는 새로운 블루투스 소자가 발견되기 전까지 반복적으로 발견되는 블루투스 소자들의 검색 횟수를 의미하며, 최대 반복 검색 횟수(Cnt)는 현재까지 생성된 반복 검색 횟수(Cnt) 중 최대값을 의미한다. If the presently discovered Bluetooth device is not a Bluetooth device that has already been discovered, for example when D4 208 is first discovered and then D1 202 is found, as shown in FIG. Add to the list of Bluetooth devices (S510). Then, it is determined whether the number of repetitive retrieval times Cnt is greater than the maximum repetitive retrieval number Max Cnt (S512). Here, the number of repetitive searches (Cnt) means the number of searches of the Bluetooth devices repeatedly found until a new Bluetooth device is found, and the maximum number of repetitive searches (Cnt) is the maximum value of the number of repetitive searches (Cnt) generated so far. Means.

반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt) 이하인 경우, 반복 검색 횟수(Cnt)를 0으로 재설정하고(S514), 단계 S500을 다시 수행한다. If the repetition search count Cnt is less than or equal to the maximum repetition search count Max Cnt, the repetition search count Cnt is reset to 0 (S514), and the step S500 is performed again.

반면에, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 큰 경우, 현재의 반복 검색 횟수(Cnt)를 최대 반복 검색 횟수(Max Cnt)로 재설정하고, 임계값을 제 1 값(α)만큼 증가시키며, 반복 검색 횟수(Cnt)를 0으로 재설정하고(S516), 단계 S500을 다시 수행한다. 본 발명의 다른 실시예에 따른면, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 큰 경우에도 상기 임계값을 증가시키지 않을 수도 있다. On the other hand, when the repetition search count Cnt is greater than the maximum repetition search count Max Cnt, the current repetition search count Cnt is reset to the maximum repetition search count Max Cnt, and the threshold is reset to the first value ( increase by?), the repetition search count Cnt is reset to 0 (S516), and step S500 is performed again. According to another embodiment of the present invention, the threshold may not be increased even when the repetition search count Cnt is greater than the maximum repetition search count Max Cnt.

현재 발견된 블루투스 소자가 이미 발견되었던 블루투스 소자인 경우, 반복 검색 횟수(Cnt)가 1만큼 증가한다(S506).If the currently found Bluetooth device is a Bluetooth device that has already been found, the number of repetitive searches Cnt is increased by 1 (S506).

이어서, 반복 검색 횟수(Cnt)가 임계값보다 큰 지의 여부가 판단된다(S508). 여기서, 상기 임계값은 블루투스 소자 검색 과정을 종료시키는 기준이 되는 값이다. Subsequently, it is determined whether or not the number of repetitive searches Cnt is greater than the threshold (S508). In this case, the threshold value is a value used as a reference for terminating the Bluetooth device searching process.

반복 검색 횟수(Cnt)가 임계값보다 큰 경우, 상기 블루투스 소자 검색 과정이 종료한다. If the number of repetitive searches (Cnt) is greater than the threshold, the Bluetooth device search process is terminated.

반면에, 반복 검색 횟수(Cnt)가 임계값 이하인 경우, 단계 S500이 다시 수행된다. On the other hand, when the repetition search count Cnt is less than or equal to the threshold value, step S500 is performed again.

이하, 위에서 상술한 바와 같이 블루투스 소자 검색 과정을 실행하는 이유를 도 6의 표를 참조하여 상술하겠다. 여기서, 초기 임계값을 3으로 설정하고, 제 1 값(α)을 1로 가정한다. Hereinafter, the reason for executing the Bluetooth device discovery process as described above will be described with reference to the table of FIG. 6. Here, the initial threshold value is set to 3, and the first value α is assumed to be 1.

처음으로 D4(208)가 발견되고, 그런 후 두번째로 D1(202)이 발견된다. 이 경우, D1(202)이 새롭게 발견된 소자이므로 반복 검색 횟수(Cnt)는 0으로 재설정된다. 여기서, 최대 반복 검색 횟수(Max Cnt)는 0이다. 즉, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 크지 않으므로, 반복 검색 횟수(Cnt)만이 0으로 재설정된 후 조회 신호가 브로드캐스팅되며, 즉 블루투스 소자 검색 과정이 다시 수행된다. First, D4 208 is found, and then second, D1 202 is found. In this case, since D1 202 is a newly found element, the repetition count Cnt is reset to zero. Here, the maximum repetition retrieval count Max Cnt is zero. That is, since the repetition retrieval number Cnt is not greater than the maximum repetition retrieval number Max Cnt, the retrieval signal is broadcast after only the repetition retrieval number Cnt is reset to 0, that is, the Bluetooth device retrieval process is performed again.

이어서, 세번째로 D4(208)가 첫번째로 발견된 후 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 1이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Then, thirdly, D4 208 is found again after the first time it is found, so the iteration search count Cnt is increased by one to be one. In this case, since the number of repetitive searches Cnt is smaller than the threshold value, the Bluetooth device search process is performed again.

계속하여, 네번째로 D3(206)가 새롭게 처음으로 발견된다. 이 경우, 반복 검색 횟수(Cnt)는 1이고 최대 반복 검색 횟수(Max Cnt)가 0으로서, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 크므로 최대 반복 검색 횟수(Max Cnt)는 현재 반복 검색 횟수(Cnt)값인 1로 재설정된다. 또한, 상기 임계값은 제 1 값(α)만큼 증가하여 4가 되고, 반복 검색 횟수(Cnt)는 0으로 재설정된다. 여기서, 상기 임계값을 증가시키는 것은 새로운 블루투스 소자가 발견되기까지 반복적으로 발견된 블루투스 소자들의 반복 검색 횟수(Cnt)가 기존의 최대 반복 검색 횟수(Max Cnt)보다 커서 검색되지 않은 다른 블루투스 소자가 존재할 수 있다는 기대감 때문이다. 물론, 호스트 블루투스 소자(200)는 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 큰 경우에도 상기 임계값을 증가시키지 않을 수도 있다. Subsequently, fourthly, D3 206 is newly discovered for the first time. In this case, the number of repetitive searches (Cnt) is 1, the maximum number of repetitive searches (Max Cnt) is 0, and the maximum number of repetitive searches (Max Cnt) because the number of repetitive searches (Cnt) is greater than the maximum repetitive searches (Max Cnt). Is reset to 1, the current iteration search count (Cnt) value. In addition, the threshold value is increased by the first value α to be 4, and the number of repetitive searches Cnt is reset to zero. In this case, increasing the threshold value means that the number of repetitive searches (Cnt) of Bluetooth devices found repeatedly until a new Bluetooth device is found is larger than the existing maximum repetition search number (Max Cnt), so that there are other Bluetooth devices that are not searched. Because of the expectation that it can Of course, the host Bluetooth device 200 may not increase the threshold even when the number of repetitive searches Cnt is greater than the maximum number of repetitive searches Max Cnt.

이어서, 다섯번째로 D1(202)이 다시 발견되며, 그래서 반복 검색 횟수(Cnt) 가 1만큼 증가하여 1이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, the fifth time D1 202 is found again, so the iterative search count Cnt is increased by one to be one. In this case, since the number of repetitive searches Cnt is smaller than the threshold value, the Bluetooth device search process is performed again.

계속하여, 여섯번째로 D4(208)가 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 2가 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, sixth, D4 208 is found again, so the iteration search count Cnt is increased by one to two. In this case, since the number of repetitive searches Cnt is smaller than the threshold value, the Bluetooth device search process is performed again.

이어서, 일곱번째로 D1(202)이 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 3이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, seventh, D1 202 is found again, so that the number of repetitive searches Cnt is increased by one to three. In this case, since the number of repetitive searches Cnt is smaller than the threshold value, the Bluetooth device search process is performed again.

계속하여, 여덟번째로 D5(210)가 새롭게 발견된다. 이 경우, 반복 검색 횟수(Cnt)는 3이고 최대 반복 검색 횟수(Max Cnt)가 1으로서, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 크므로 최대 반복 검색 횟수(Max Cnt)는 현재 반복 검색 횟수(Cnt)값인 3으로 재설정된다. 또한, 상기 임계값은 제 1 값(α)만큼 증가하여 5가 되고, 반복 검색 횟수(Cnt)는 0으로 재설정된다. Subsequently, eighth, D5 210 is newly discovered. In this case, the number of repetitive searches (Cnt) is 3, the maximum number of repetitive searches (Max Cnt) is 1, and the maximum number of repetitive searches (Cnt) is greater than the maximum repetitive searches (Max Cnt). Is reset to 3, the current iteration search count (Cnt) value. In addition, the threshold value is increased by the first value α to be 5, and the repetition search count Cnt is reset to zero.

이어서, 아홉번째부터 열네번째까지는 기존에 검색되었던 블루투스 소자들이 다시 검색되며, 반복 검색 횟수(Cnt)는 6이 된다. 이 경우, 반복 검색 횟수(Cnt)가 6으로서 5인 임계값보다 크므로, 상기 블루투스 소자 검색 과정은 호스트 블루투스 소자(200)에 기설정된 검색 시간이 경과되지 않았음에도 종료한다. Subsequently, the Bluetooth devices that were previously searched are searched again from the ninth to fourteenth, and the number of repetitive searches (Cnt) is six. In this case, since the number of repetitive searches (Cnt) is 6 and larger than a threshold value of 5, the Bluetooth device searching process ends even though the search time preset in the host Bluetooth device 200 has not elapsed.

요컨대, 본 발명의 블루투스 소자 검색 방법은 기설정된 검색 시간이 경과되지 않았음에도 동일한 블루투스 소자들이 연속적으로 검색되어 반복 검색 횟수(Cnt)가 상기 임계값보다 커지는 경우 자동으로 종료한다. 따라서, 불필요한 검 색 시간이 단축될 수 있다. In short, the Bluetooth device searching method of the present invention is automatically terminated when the same Bluetooth devices are continuously searched even if the preset searching time has not elapsed and the number of repetitive searching Cnt becomes larger than the threshold. Therefore, unnecessary search time can be shortened.

본 발명의 다른 실시예에 따르면, 상기 초기 임계값이 블루투스 소자 검색 과정 동안 유지될 수도 있다. 또한, 최대 반복 검색 횟수(Max Cnt)는 변화지않고 초기에 설정된 후 계속적으로 유지될 수도 있다. According to another embodiment of the present invention, the initial threshold may be maintained during the Bluetooth device discovery process. Also, the maximum repetition retrieval number Max Cnt may be continuously maintained after being initially set without changing.

위의 과정을 통하여 주변 블루투스 소자들이 검색되었으나 원하는 블루투스 소자가 검색되지 않았을 수도 있고 주변 블루투스 소자가 전혀 검색되지 않았을 수도 있다. 이 경우, 사용자는 호스트 블루투스 소자(200)를 통하여 주변 블루투스 소자를 재검색할 수 있다. 이하, 이러한 블루투스 소자 재검색 과정을 상술하겠다. Through the above process, peripheral Bluetooth devices have been searched, but a desired Bluetooth device may not be found, or a peripheral Bluetooth device may not be found at all. In this case, the user may rescan the peripheral Bluetooth device through the host Bluetooth device 200. Hereinafter, the Bluetooth device rescanning process will be described in detail.

도 7은 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 재검색 과정을 도시한 순서도이다. 7 is a flowchart illustrating a process of rescanning a Bluetooth device according to an exemplary embodiment of the present invention.

도 7을 참조하면, 호스트 블루투스 소자(200)는 검색 시간 및 초기 임계값을 설정한다(S700).Referring to FIG. 7, the host Bluetooth device 200 sets a search time and an initial threshold value (S700).

이어서, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S702).Subsequently, the host Bluetooth device 200 broadcasts an inquiry signal and receives inquiry response signals transmitted in response to the inquiry signal (S702).

계속하여, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S704).Subsequently, the host Bluetooth device 200 displays information on Bluetooth devices searched through the received inquiry response signals, that is, search results (S704).

이어서, 사용자에 의해 블루투스 소자 재검색이 선택되었는 지의 여부가 판단된다(S706).Subsequently, it is determined whether the Bluetooth device rescan is selected by the user (S706).

상기 블루투스 소자 재검색이 선택되지 않은 경우, 블루투스 소자 검색 과정 이 종료될 수도 있고 사용자가 특정 블루투스 소자를 선택함에 의해 호스트 블루투스 소자(200)가 상기 특정 블루투스 소자로 연결될 수도 있다(S708). When the rescanning of the Bluetooth device is not selected, the Bluetooth device retrieval process may be terminated or the host Bluetooth device 200 may be connected to the specific Bluetooth device by the user selecting a specific Bluetooth device (S708).

반면에, 상기 블루투스 소자 재검색이 선택된 경우, 재검색시의 초기 임계값은 위의 초기 임계값보다 제 2 값(β)만큼 큰 값으로 설정된다(S710). 이것은 직전 검색으로 사용자가 원하는 블루투스 소자가 검색되지 않았으므로 원하는 블루투스 소자를 검색하기 위하여 직전 검색시보다 더 오랫동안 호스트 블루투스 소자(200)의 주변에 위치하는 주변 블루투스 소자들을 검색하기 위해서이다. On the other hand, when the Bluetooth device re-search is selected, the initial threshold value at the time of the re-search is set to a value larger by a second value β than the above initial threshold value (S710). This is to search for the peripheral Bluetooth devices located in the vicinity of the host Bluetooth device 200 for a longer time than the previous search in order to search for the desired Bluetooth device because the last search did not find the desired Bluetooth device.

계속하여, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S712).Subsequently, the host Bluetooth device 200 broadcasts an inquiry signal and receives inquiry response signals transmitted in response to the inquiry signal (S712).

이어서, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S714).Subsequently, the host Bluetooth device 200 displays information on Bluetooth devices searched through the received inquiry response signals, that is, search results (S714).

도 8은 본 발명의 바람직한 일 실시예에 따른 블루투스 소자 재검색 과정을 도시한 순서도이다. 8 is a flowchart illustrating a process of rescanning a Bluetooth device according to an exemplary embodiment of the present invention.

도 8을 참조하면, 호스트 블루투스 소자(200)는 검색 시간, 초기 임계값 및 제 1 값(α)을 설정한다(S800).Referring to FIG. 8, the host Bluetooth device 200 sets a search time, an initial threshold value, and a first value α (S800).

이어서, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S802).Subsequently, the host Bluetooth device 200 broadcasts an inquiry signal and receives inquiry response signals transmitted in response to the inquiry signal (S802).

계속하여, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S804).Subsequently, the host Bluetooth device 200 displays information on Bluetooth devices searched through the received inquiry response signals, that is, search results (S804).

이어서, 사용자에 의해 블루투스 소자 재검색이 선택되었는 지의 여부가 판단된다(S806).Subsequently, it is determined whether the Bluetooth device rescan is selected by the user (S806).

상기 블루투스 소자 재검색이 선택되지 않은 경우, 블루투스 소자 검색 과정이 종료될 수도 있고 사용자가 특정 블루투스 소자를 선택함에 의해 호스트 블루투스 소자(200)가 상기 특정 블루투스 소자로 연결될 수도 있다(S808). If the Bluetooth device rescanning is not selected, the Bluetooth device searching process may be terminated or the host Bluetooth device 200 may be connected to the specific Bluetooth device by the user selecting a specific Bluetooth device (S808).

반면에, 상기 블루투스 소자 재검색이 선택된 경우, 재검색시의 제 1 값(α)은 직전 검색시의 제 1 값(α)보다 제 3 값(γ)만큼 큰 값으로 설정된다(S810). 이것은 직전 검색으로 사용자가 원하는 블루투스 소자가 검색되지 않았으므로 원하는 블루투스 소자를 검색하기 위하여 직전 검색시보다 더 오랫동안 호스트 블루투스 소자(200)의 주변에 위치하는 주변 블루투스 소자들을 검색하기 위해서이다. On the other hand, when the Bluetooth device re-search is selected, the first value α at the time of re-search is set to a value larger by the third value (γ) than the first value α at the time of the previous search (S810). This is to search for the peripheral Bluetooth devices located in the vicinity of the host Bluetooth device 200 for a longer time than the previous search in order to search for the desired Bluetooth device because the last search did not find the desired Bluetooth device.

계속하여, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S812).Subsequently, the host Bluetooth device 200 broadcasts an inquiry signal and receives inquiry response signals transmitted in response to the inquiry signal (S812).

이어서, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S814).Subsequently, the host Bluetooth device 200 displays information on Bluetooth devices searched through the received inquiry response signals, that is, search results (S814).

요컨대, 본 실시예의 블루투스 소자 검색 과정은 직전 검색 과정에서 원하는 블루투스 소자가 검색되지 않은 경우 재검색 과정에서는 초기 임계값 또는 제 1 값(α) 등을 재설정하여 직전 검색 과정에서보다 더 오랫동안 주변 블루투스 소자를 검색한다. 물론, 본 발명의 다른 실시예에 따르면, 다음 검색 과정시의 블루투스 소자 검색 시간이 직전 검색 과정시의 블루투스 소자 검색 시간과 동일할 수도 있다. In short, the Bluetooth device discovery process of the present embodiment resets the initial threshold value or the first value α in the rescanning process when the desired Bluetooth device is not found in the last discovery process, thereby searching for the peripheral Bluetooth device for a longer time than the previous discovery process. Search. Of course, according to another embodiment of the present invention, the Bluetooth device search time in the next search process may be the same as the Bluetooth device search time in the previous search process.

도 9는 본 발명의 바람직한 일 실시예에 따른 호스트 블루투스 소자를 도시한 블록도이다. 9 is a block diagram illustrating a host Bluetooth device according to an exemplary embodiment of the present invention.

도 9를 참조하면, 호스트 블루투스 소자(200)는 제어부(900), 키입력부(902), 블루투스 모듈(904), 저장부(906), 디스플레이부(908) 및 송수신부(910)를 포함한다. Referring to FIG. 9, the host Bluetooth device 200 includes a controller 900, a key input unit 902, a Bluetooth module 904, a storage unit 906, a display unit 908, and a transceiver unit 910. .

키입력부(902)는 돔 방식 또는 터치 방식으로 구현된 복수의 키버튼들을 포함하며, 사용자가 특정 키버튼을 선택하는 경우 상기 선택된 키버튼에 해당하는 입력 신호를 제어부(900)에 제공한다. The key input unit 902 includes a plurality of key buttons implemented by a dome method or a touch method. When the user selects a specific key button, the key input unit 902 provides an input signal corresponding to the selected key button to the controller 900.

블루투스 모듈(904)은 주변 블루투스 소자를 검색하기 위한 조회 신호를 생성하고, 상기 생성된 조회 신호를 송수신부(910)를 통하여 브로드캐스팅한다. 또한, 블루투스 모듈(904)은 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 분석하여 검색된 주변 블루투스 소자들을 파악하며, 검색 과정시 반복 검색 횟수(Cnt), 최대 반복 검색 횟수(Max Cnt), 임계값, 제 1 값(α), 제 2 값(β) 및 제 3 값(γ)을 조절한다. The Bluetooth module 904 generates an inquiry signal for searching for a peripheral Bluetooth device, and broadcasts the generated inquiry signal through the transceiver 910. In addition, the Bluetooth module 904 analyzes the inquiry response signals transmitted in response to the inquiry signal to identify the peripheral Bluetooth devices searched for, and the repetition search count (Cnt), the maximum repetition search count (Max Cnt), and the threshold during the search process. The value, the first value α, the second value β and the third value γ are adjusted.

저장부(906)는 각종 데이터 및 블루투스 소자 검색 목록을 저장하며, 예를 들어 불활성 플래쉬 메모리(non-volatile flash memory)로 이루어진다. The storage unit 906 stores various data and a Bluetooth device search list, and includes, for example, a non-volatile flash memory.

디스플레이부(908)는 상기 검색된 블루투스 소자들에 대한 정보를 사용자에게 디스플레이시킨다. The display unit 908 displays the information about the found Bluetooth devices to the user.

송수신부(910)는 호스트 블루투스 소자(200)와 주변 블루투스 소자와의 연결 통로이다. The transceiver 910 is a connection path between the host Bluetooth device 200 and the peripheral Bluetooth device.

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가지는 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다. Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art having ordinary knowledge of the present invention will be able to make various modifications, changes, additions within the spirit and scope of the present invention, such modifications, changes and Additions should be considered to be within the scope of the following claims.

이상에서 설명한 바와 같이, 본 발명에 따른 블루투스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자는 상기 호스트 블루투스 소자에 기설정된 검색 시간 전이라도 더 이상 검색될 블루투스 소자가 존재하지 않는다고 판단되는 경우 블루투스 소자 검색 과정을 종료한다. 따라서, 불필요한 검색 시간이 단축될 수 있는 장점이 있다. As described above, the Bluetooth device search method and the host Bluetooth device for performing the same according to the present invention, if it is determined that the Bluetooth device to be searched no longer exists even before a preset search time in the host Bluetooth device, the Bluetooth device search End the process. Therefore, there is an advantage that unnecessary search time can be shortened.

Claims (14)

조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)하고, 상기 조회 신호에 응답하여 상기 주변 블루투스 소자로부터 출력된 조회 응답 신호(inquiry response signal)를 통하여 주변 블루투스 소자들을 검색하는 블루투스 모듈; 및 A Bluetooth module that broadcasts an inquiry signal and searches for peripheral Bluetooth elements through an inquiry response signal output from the peripheral Bluetooth element in response to the inquiry signal; And 상기 검색 결과를 디스플레이하는 디스플레이부를 포함하되,Including a display unit for displaying the search results, 상기 블루투스 모듈은 새로운 주변 블루투스 소자가 검색되기 전까지 반복적으로 검색되는 주변 블루투스 소자들의 반복 검색 횟수(Cnt)가 임계값보다 큰 경우 상기 블루투스 소자 검색 과정을 종료하는 것을 특징으로 하는 호스트 블루투스 소자. The Bluetooth module terminates the Bluetooth device searching process when the number of repetitive searches (Cnt) of peripheral Bluetooth devices repeatedly searched until a new peripheral Bluetooth device is found is greater than a threshold value. 제 1 항에 있어서, 상기 호스트 블루투스 소자가 주변 블루투스 소자들을 재검색하는 경우 상기 임계값이 증가되는 것을 특징으로 하는 호스트 블루투스 소자. The host Bluetooth device of claim 1, wherein the threshold is increased when the host Bluetooth device re-scans for neighboring Bluetooth devices. 제 1 항에 있어서, 상기 블루투스 모듈이 상기 주변 블루투스 소자들을 검색하는 동안 새로운 주변 블루투스 소자가 검색된 경우 상기 반복 검색 횟수는 0으로 재설정되는 것을 특징으로 하는 호스트 블루투스 소자. The host Bluetooth device of claim 1, wherein the repetition count is reset to zero when a new peripheral Bluetooth device is found while the Bluetooth module searches for the peripheral Bluetooth devices. 제 1 항에 있어서, 상기 호스트 블루투스 소자는,The method of claim 1, wherein the host Bluetooth device, 상기 검색 결과를 저장하는 저장부를 더 포함하는 것을 특징으로 하는 호스 트 블루투스 소자. Host Bluetooth device further comprises a storage for storing the search results. 제 1 항에 있어서, 상기 호스트 블루투스 소자는 이동통신단말기인 것을 특징으로 하는 호스트 블루투스 소자. The host Bluetooth device according to claim 1, wherein the host Bluetooth device is a mobile communication terminal. 임계값을 설정하는 단계;Setting a threshold; 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)하는 단계; 및Broadcasting an inquiry signal; And 상기 조회 신호에 응답하여 출력된 적어도 하나의 조회 응답 신호(inquiry response signal)를 통하여 주변 블루투스 소자들을 검색하는 단계를 포함하되,Searching for peripheral Bluetooth devices through at least one inquiry response signal output in response to the inquiry signal; 새로운 주변 블루투스 소자가 검색되기 전까지 반복적으로 검색되는 주변 블루투스 소자들의 반복 검색 횟수(Cnt)가 상기 임계값보다 큰 경우 상기 주변 블루투스 소자 검색 과정을 종료하는 것을 특징으로 하는 블루투스 소자 검색 방법. The method of searching for a Bluetooth device according to claim 10, wherein the process of searching for the peripheral Bluetooth device is terminated when the number of repetitive searches (Cnt) of the peripheral Bluetooth devices that are repeatedly searched until the new peripheral Bluetooth device is found is greater than the threshold value. 제 6 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 6, wherein the Bluetooth device searching method comprises: 상기 새로운 주변 블루투스 소자가 검색되는 경우 상기 임계값을 제 1 값(α1)만큼 증가시키는 단계를 더 포함하는 것을 특징으로 하는 블루투스 소자 검색 방법.And if the new peripheral Bluetooth device is found, increasing the threshold by a first value (α1). 제 7 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 7, wherein the Bluetooth device searching method, 상기 새로운 주변 블루투스 소자가 검색되고 상기 반복 검색 횟수(Cnt)가 현 재 검색 횟수(Max Cnt)보다 큰 경우에만 상기 임계값을 상기 제 1 값(α1)만큼 증가시키는 단계를 더 포함하는 것을 특징으로 하는 블루투스 소자 검색 방법.And increasing the threshold by the first value α1 only when the new peripheral Bluetooth device is searched and the number of repetitive searches Cnt is greater than the current number of searches Max Cnt. Bluetooth device search method. 제 6 항에 있어서, 상기 새로운 주변 블루투스 소자가 검색되나 상기 반복 검색 횟수(Cnt)가 현재 검색 횟수(Max Cnt) 이하인 경우 상기 임계값은 유지되는 것을 특징으로 하는 블루투스 소자 검색 방법. The method of claim 6, wherein the threshold is maintained when the new peripheral Bluetooth device is searched but the repetitive search count Cnt is less than or equal to the current search count Max Cnt. 제 6 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 6, wherein the Bluetooth device searching method comprises: 주변 블루투스 소자들을 재검색하는 단계를 더 포함하되,Rescanning peripheral Bluetooth devices, 상기 재검색 과정에서 새로운 주변 블루투스 소자가 검색되는 경우 해당 임계값이 제 2 값(α2)만큼 증가하며, 상기 제 2 값(α2)은 상기 제 1 값(α1) 이상인 것을 특징으로 하는 블루투스 소자 검색 방법. When a new peripheral Bluetooth device is found in the rescanning process, a corresponding threshold increases by a second value α2, and the second value α2 is equal to or greater than the first value α1. . 제 6 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 6, wherein the Bluetooth device searching method comprises: 상기 새로운 주변 블루투스 소자가 검색되는 경우 상기 반복 검색 횟수(Cnt)는 0으로 재설정하는 단계를 더 포함하는 것을 특징으로 하는 블루투스 소자 검색 방법. And resetting the repetition search count (Cnt) to zero when the new peripheral Bluetooth device is searched. 제 6 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 6, wherein the Bluetooth device searching method comprises: 상기 새로운 주변 블루투스 소자가 검색되는 경우 상기 새로운 주변 블루투 스 소자를 블루투스 소자 목록에 추가하는 단계를 더 포함하는 것을 특징으로 하는 블루투스 소자 검색 방법. And if the new peripheral Bluetooth device is found, adding the new peripheral Bluetooth device to the list of Bluetooth devices. 제 6 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 6, wherein the Bluetooth device searching method comprises: 초기 임계값을 설정하는 단계를 더 포함하되,Further comprising setting an initial threshold, 상기 임계값은 상기 초기 임계값 또는 상기 초기 임계값보다 소정 값만큼 큰 값인 것을 특징으로 하는 블루투스 소자 검색 방법. The threshold value is a Bluetooth device search method, characterized in that the initial threshold value or a value larger than the initial threshold value. 제 13 항에 있어서, 상기 블루투스 소자 검색 방법은,The method of claim 13, wherein the Bluetooth device searching method comprises: 주변 블루투스 소자들을 재검색하는 단계를 더 포함하되,Rescanning peripheral Bluetooth devices, 상기 재검색시의 초기 임계값은 상기 검색시의 초기 임계값 이상인 것을 특징으로 하는 블루투스 소자 검색 방법. The initial threshold value at the time of the re-search is greater than the initial threshold value at the time of the search.
KR1020070056780A 2007-06-11 2007-06-11 Method of detecting a bluetooth device and host bluetooth device for performing the same KR20080108785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070056780A KR20080108785A (en) 2007-06-11 2007-06-11 Method of detecting a bluetooth device and host bluetooth device for performing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070056780A KR20080108785A (en) 2007-06-11 2007-06-11 Method of detecting a bluetooth device and host bluetooth device for performing the same

Publications (1)

Publication Number Publication Date
KR20080108785A true KR20080108785A (en) 2008-12-16

Family

ID=40368337

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070056780A KR20080108785A (en) 2007-06-11 2007-06-11 Method of detecting a bluetooth device and host bluetooth device for performing the same

Country Status (1)

Country Link
KR (1) KR20080108785A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2515447A1 (en) * 2011-03-10 2012-10-24 ZTE Corporation Method and device for searching neighboring bluetooth devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2515447A1 (en) * 2011-03-10 2012-10-24 ZTE Corporation Method and device for searching neighboring bluetooth devices
EP2515447A4 (en) * 2011-03-10 2015-01-21 Zte Corp Method and device for searching neighboring bluetooth devices

Similar Documents

Publication Publication Date Title
JP4237771B2 (en) Link connection method between communication terminals equipped with a Bluetooth wireless device
CN113366439B (en) Method and device for connecting Bluetooth device
KR101995251B1 (en) Apparatus and method for controlling a power in near field communication device
US6982962B1 (en) System and method for selecting a network access provider using a portable information device
EP2701313A1 (en) Method for pairing bluetooth accessory with bluetooth device, and bluetooth accessory
KR101156321B1 (en) Method, system and mobile device for prioritizing a discovered device list
US7356347B1 (en) Efficient discovery of devices in a bluetooth environment
US20100087146A1 (en) Method and device for performing short range wireless communication of mobile terminal
US20140051362A1 (en) Bluetooth device connection method and bluetooth device
TWI446767B (en) Mobile communication device, mobile network sharing method and electronic device
EP1452054B1 (en) Access to a wireless network based on a link cost metric
KR20050031454A (en) Wireless communication system
JP5932543B2 (en) Communication terminal, tethering control program and method, and communication system
WO2021022720A1 (en) Bluetooth-based data transmission method, storage medium and terminal
KR20040101954A (en) APPARATUS FOR INTERCONNECTION OF PERSONAL AREA NETWORKS(PANs)
CN104581993A (en) Wireless connection building method, data transmission method and terminal
JP4915213B2 (en) Communication system, management terminal and communication terminal
CN1852527B (en) Wireless phone system
KR20090047144A (en) Portable terminal having bluetooth module and method for bluetooth communication thereof
JP2017532840A (en) Wireless transceivers managed based on neighborhood
KR100612696B1 (en) Method for Pairing Mobile Communication Terminal in Bluetooth Network and Mobile Communication Terminal Therefore
CN105281811A (en) Voice data transmission processing method and terminal
KR20100040373A (en) Method for searching bluetooth device and apparatus using the same
KR20080108785A (en) Method of detecting a bluetooth device and host bluetooth device for performing the same
JP5542613B2 (en) Mobile communication terminal, search cycle selection program, and search cycle selection method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application