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 PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
Description
도 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
이어서, 주변 블루투스 소자들(102, 104 및 106)은 상기 조회 신호에 응답하여 그의 고유주소(bluetooth device address, BD address) 및 기종(class of device, COD)에 대한 정보를 가지는 조회 응답 신호(inquiry response signal)를 호스트 블루투스 소자(100)로 전송한다. Subsequently, peripheral Bluetooth
계속하여, 호스트 블루투스 소자(100)는 상기 조회 응답 신호들을 분석하여 그의 주변에 있는 블루투스 소자들(102, 104 및 106)을 검색하고, 원하는 블루투스 소자로 연결을 시도한다. Subsequently, the host Bluetooth
다만, 종래의 블루투스 소자 검색 방법에서는 기설정된 검색 시간(블루투스 스펙에서 일반적으로 정해진 시간) 동안 계속적으로 조회 신호를 브로드캐스팅하여 주변 블루투스 소자들(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
본 발명의 목적은 블루투스 소자를 검색하기 위한 시간을 단축시키는 블루투 스 소자 검색 방법 및 이를 수행하기 위한 호스트 블루투스 소자를 제공하는 것이다.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
본 실시예의 블루투스 소자(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
이하, 본 실시예의 블루투스 소자 연결 과정을 상술하겠다. 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
이어서, 호스트 블루투스 소자(HD, 200)는 상기 선택에 따라 조회 신호(inquiry signal)를 브로드캐스팅(broadcasting)한다(S200). 즉, 호스트 블루투스 소자(HD, 200)는 그의 주변에 있는 블루투스 소자들을 검색하기 위하여 사방으로 조회 신호를 출력시킨다. 여기서, 상기 조회 신호는 주변 블루투스 소자들(202 내지 210)에 그의 고유주소(bluetooth device address, BD address) 및 기종(class of device, COD)을 요청하는 신호이다. Subsequently, the host Bluetooth
계속하여, 상기 조회 신호를 수신한 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 상기 수신된 조회 신호에 응답하여 그의 고유주소(BD address) 및 기종(COD)에 대한 정보를 가지는 조회 응답 신호(inquiry response 신호)를 각기 호스트 블루투스 소자(200)로 전송한다(S202, S204, S206, S208 및 S210). Subsequently, the peripheral Bluetooth
이어서, 호스트 블루투스 소자(200)는 주변 블루투스 소자들(202, 204, 206, 208 및 210)로부터 전송된 조회 응답 신호들을 통하여 그의 주변에 있는 블루투스 소자들(202, 204, 206, 208 및 210)의 현황을 파악하고, 파악된 결과를 블루투스 소자 검색 목록에 추가한다. Subsequently, the host Bluetooth
즉, 호스트 블루투스 소자(200)는 조회 신호의 전송 및 조회 응답 신호의 수 신을 통하여 그의 주변에 위치한 블루투스 소자들(202, 204, 206, 208 및 210)을 검색한다. 여기서, 이러한 블루투스 소자 검색 방법은 호스트 블루투스 소자(200)에 기설정된 검색 시간(블루투스 스펙에서 일반적으로 정해진 시간) 동안 조회 신호를 계속적으로 브로드캐스팅하며, 그래서 이미 검색된 블루투스 소자가 반복적으로 검색될 수 있다. 다만, 본 실시예의 블루투스 소자 검색 방법은 종래의 블루투스 소자 검색 방법과 달리 상기 검색 시간 동안 계속적으로 주변 블루투스 소자들을 검색하는 것이 아니라 상기 검색 시간이 종료되기 전이라도 더 이상 검색될 블루투스 소자들이 존재하지 않는다고 판단되는 경우 블루투스 소자 검색을 종료한다. 따라서, 본 실시예의 블루투스 소자 검색 방법은 블루투스 소자 검색 시간을 단축시킬 수 있다. 이러한 검색 방법은 이하 첨부된 도면들을 참조하여 상술하겠다. That is, the host Bluetooth
이하, 본 실시예의 블루투스 소자 연결 방법을 계속적으로 상술하겠다. 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
계속하여, 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 상기 전송된 SDP 신호에 응답하여 자신이 제공하는 서비스에 대한 정보를 가지는 서비스 응답 신호(SDP response signal)를 호스트 블루투스 소자(200)로 전송한다(S214 및 S216). 여기서, 본 발명의 다른 실시예에 따르면, 상기 SDP 응답 신호는 해당 서비스뿐만 아니라 해당 블루투스 소자의 이름(예를 들어, EVER)에 대한 정보도 포함할 수 있다. Subsequently, the peripheral Bluetooth
이어서, 호스트 블루투스 소자(200)는 상기 전송된 SDP 응답 신호들을 통하여 주변 블루투스 소자들(202, 204, 206, 208 및 210)이 제공하는 서비스를 파악한다. Subsequently, the
계속하여, 호스트 블루투스 소자(200)는 블루투스 소자 검색 결과를 저장하고, 그런 후 도 4에 도시된 바와 같이 디스플레이부를 통하여 상기 검색 결과를 사용자에게 디스플레이시킨다. 이 경우, 사용자가 검색된 블루투스 소자들(202, 204, 206, 208 및 210) 중 하나를 선택하면, 호스트 블루투스 소자(200)는 해당 블루투스 소자의 고유주소(BD address), 기종(COD) 및 서비스 종류를 사용자에게 디스플레이시키며, 그래서 사용자는 블루투스 소자들(202, 204, 206, 208 및 210)에 대한 정보를 파악할 수 있다. 예를 들어, 사용자가 블루투스 소자(②)를 선택한 경우, 호스트 블루투스 소자(200)는 블루투스 소자(②)가 헤드셋으로서 통화 서비스를 제공함을 사용자에게 디스플레이시킨다. Subsequently, the
이어서, 사용자가 검색된 블루투스 소자들(202, 204, 206, 208 및 210) 중 하나에 대한 연결을 선택하는 경우, 호스트 블루투스 소자(200)는 선택된 블루투스 소자에 핀 코드(Pin Code, 예를 들어 '0000')를 전송한다(S218). 이하, 설명의 편의를 위하여 상기 선택된 블루투스 소자를 주변 블루투스 소자(204)로 가정하겠다. Subsequently, when the user selects a connection to one of the discovered
주변 블루투스 소자(204)는 호스트 블루투스 소자(200)로부터 전송된 핀 코드가 자신이 가지고 있는 핀 코드와 일치하는 지의 여부를 판단한다(S220).The
상기 핀 코드들이 일치하지 않는 경우, 주변 블루투스 소자(204)와 호스트 블루투스 소자(200)는 블루투스 통신으로 연결되지 않는다. 다만, 이러한 핀 코드를 일치시키는 방법은 다양한 방법이 존재할 수 있으며, 따라서 다른 방법을 통하여 핀 코드들이 일치되는 경우 주변 블루투스 소자(204)와 호스트 블루투스 소자(200)가 블루투스 통신으로 연결될 수도 있다. If the pin codes do not match, the
반면에, 상기 핀 코드들이 일치하는 경우, 주변 블루투스 소자(204)는 핀 코드가 일치한다는 정보를 가지는 액크 신호(ACK)를 호스트 블루투스 소자(200)로 전송한다(S222). 또한, 주변 블루투스 소자(204)는 상기 핀 코드를 이용하여 링크키(Link Key)를 생성하고, 그런 후 저장한다(S224). On the other hand, when the pin codes match, the
계속하여, 호스트 블루투스 소자(200)는 상기 전송된 액크 신호(ACK)에 따라 상기 핀 코드를 이용하여 링크키를 생성하고, 그런 후 저장한다(S226).Subsequently, the
이어서, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 링크키들을 상호 교환한다(S228). 이러한 링크키들은 호스트 블루투스 소자(200)와 주변 블루투스 소자(204) 사이에 연결이 끊긴 후 다시 연결하고자 하는 경우 위와 같은 블루투스 소자 검색 과정을 거치지 않고도 상호간 직접 연결될 수 있도록 연결 고리의 역할을 수행한다. Subsequently, the
계속하여, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 블루투스 통신으로 연결된다(S230). 결과적으로, 호스트 블루투스 소자(200)와 주변 블루투스 소자(204)는 블루투스 통신을 이용하여 상호간 데이터 등을 교환할 수 있다.Subsequently, the
이하, 이러한 블루투스 소자 연결 과정 중 블루투스 소자 검색 과정을 첨부된 도면들을 참조하여 상술하겠다. 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
이어서, 상기 조회 신호를 수신한 주변 블루투스 소자들(202, 204, 206, 208 및 210)은 각기 조회 응답 신호를 호스트 블루투스 소자(200)로 전송하며, 호스트 블루투스 소자(200)는 상기 전송된 조회 응답 신호들을 통하여 그의 주변에 위치하는 블루투스 소자들을 발견한다(S502). Subsequently, the
계속하여, 현재 발견된 블루투스 소자가 이미 발견되었던 블루투스 소자인지의 여부가 판단된다(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
반복 검색 횟수(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)가 첫번째로 발견된 후 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 1이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Then, thirdly,
계속하여, 네번째로 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,
이어서, 다섯번째로 D1(202)이 다시 발견되며, 그래서 반복 검색 횟수(Cnt) 가 1만큼 증가하여 1이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, the
계속하여, 여섯번째로 D4(208)가 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 2가 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, sixth,
이어서, 일곱번째로 D1(202)이 다시 발견되며, 그래서 반복 검색 횟수(Cnt)가 1만큼 증가하여 3이 된다. 이 경우, 반복 검색 횟수(Cnt)가 상기 임계값보다 작으므로 블루투스 소자 검색 과정이 다시 수행된다. Subsequently, seventh,
계속하여, 여덟번째로 D5(210)가 새롭게 발견된다. 이 경우, 반복 검색 횟수(Cnt)는 3이고 최대 반복 검색 횟수(Max Cnt)가 1으로서, 반복 검색 횟수(Cnt)가 최대 반복 검색 횟수(Max Cnt)보다 크므로 최대 반복 검색 횟수(Max Cnt)는 현재 반복 검색 횟수(Cnt)값인 3으로 재설정된다. 또한, 상기 임계값은 제 1 값(α)만큼 증가하여 5가 되고, 반복 검색 횟수(Cnt)는 0으로 재설정된다. Subsequently, eighth,
이어서, 아홉번째부터 열네번째까지는 기존에 검색되었던 블루투스 소자들이 다시 검색되며, 반복 검색 횟수(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
요컨대, 본 발명의 블루투스 소자 검색 방법은 기설정된 검색 시간이 경과되지 않았음에도 동일한 블루투스 소자들이 연속적으로 검색되어 반복 검색 횟수(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
도 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
이어서, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S702).Subsequently, the
계속하여, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S704).Subsequently, the
이어서, 사용자에 의해 블루투스 소자 재검색이 선택되었는 지의 여부가 판단된다(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
반면에, 상기 블루투스 소자 재검색이 선택된 경우, 재검색시의 초기 임계값은 위의 초기 임계값보다 제 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
계속하여, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S712).Subsequently, the
이어서, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S714).Subsequently, the
도 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
이어서, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S802).Subsequently, the
계속하여, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S804).Subsequently, the
이어서, 사용자에 의해 블루투스 소자 재검색이 선택되었는 지의 여부가 판단된다(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
반면에, 상기 블루투스 소자 재검색이 선택된 경우, 재검색시의 제 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
계속하여, 호스트 블루투스 소자(200)는 조회 신호를 브로드캐스팅하고, 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 수신한다(S812).Subsequently, the
이어서, 호스트 블루투스 소자(200)는 상기 수신된 조회 응답 신호들을 통하여 검색된 블루투스 소자들에 대한 정보, 즉 검색 결과를 디스플레이시킨다(S814).Subsequently, the
요컨대, 본 실시예의 블루투스 소자 검색 과정은 직전 검색 과정에서 원하는 블루투스 소자가 검색되지 않은 경우 재검색 과정에서는 초기 임계값 또는 제 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
키입력부(902)는 돔 방식 또는 터치 방식으로 구현된 복수의 키버튼들을 포함하며, 사용자가 특정 키버튼을 선택하는 경우 상기 선택된 키버튼에 해당하는 입력 신호를 제어부(900)에 제공한다. The
블루투스 모듈(904)은 주변 블루투스 소자를 검색하기 위한 조회 신호를 생성하고, 상기 생성된 조회 신호를 송수신부(910)를 통하여 브로드캐스팅한다. 또한, 블루투스 모듈(904)은 상기 조회 신호에 응답하여 전송된 조회 응답 신호들을 분석하여 검색된 주변 블루투스 소자들을 파악하며, 검색 과정시 반복 검색 횟수(Cnt), 최대 반복 검색 횟수(Max Cnt), 임계값, 제 1 값(α), 제 2 값(β) 및 제 3 값(γ)을 조절한다. The
저장부(906)는 각종 데이터 및 블루투스 소자 검색 목록을 저장하며, 예를 들어 불활성 플래쉬 메모리(non-volatile flash memory)로 이루어진다. The
디스플레이부(908)는 상기 검색된 블루투스 소자들에 대한 정보를 사용자에게 디스플레이시킨다. The
송수신부(910)는 호스트 블루투스 소자(200)와 주변 블루투스 소자와의 연결 통로이다. The
상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가지는 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다. 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)
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)
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 |
-
2007
- 2007-06-11 KR KR1020070056780A patent/KR20080108785A/en not_active Application Discontinuation
Cited By (2)
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 |