KR20130071558A - Method for discovery of bluetooth device - Google Patents

Method for discovery of bluetooth device Download PDF

Info

Publication number
KR20130071558A
KR20130071558A KR1020110138821A KR20110138821A KR20130071558A KR 20130071558 A KR20130071558 A KR 20130071558A KR 1020110138821 A KR1020110138821 A KR 1020110138821A KR 20110138821 A KR20110138821 A KR 20110138821A KR 20130071558 A KR20130071558 A KR 20130071558A
Authority
KR
South Korea
Prior art keywords
service
bluetooth device
service profile
user
profile
Prior art date
Application number
KR1020110138821A
Other languages
Korean (ko)
Other versions
KR101382200B1 (en
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 KR1020110138821A priority Critical patent/KR101382200B1/en
Publication of KR20130071558A publication Critical patent/KR20130071558A/en
Application granted granted Critical
Publication of KR101382200B1 publication Critical patent/KR101382200B1/en

Links

Images

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/24Radio transmission systems, i.e. using radiation field for communication between two or more posts
    • H04B7/26Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

PURPOSE: A bluetooth device search method is provided to perform name search a neighboring bluetooth device providing at least one of the services in which an actual user wants to use in the neighboring bluetooth devices. CONSTITUTION: A device A (100) receives a query response message corresponding to a query request message from a device B (200) (S305). The device A judges whether a service selected by a user is provided or not by mutually calculating first service profile and second service profile (S306). If it is judged as the service is provided selected by the user, the device A performs name search procedure on the device B. [Reference numerals] (100) Device A; (200) Device B; (S301) Select a service; (S302,S303) Store a service profile; (S304) Query request message; (S305) Query response message; (S306) Service provided?; (S307) Ignore; (S308) Paging; (S309) Name request message; (S310) Name response message; (S311) Display

Description

블루투스 디바이스 검색 방법{METHOD FOR DISCOVERY OF BLUETOOTH DEVICE}How to find a Bluetooth device {METHOD FOR DISCOVERY OF BLUETOOTH DEVICE}

본 발명은 블루투스 디바이스 검색 방법에 관한 것이다.The present invention relates to a Bluetooth device discovery method.

스마트폰의 등장과 NFC, Bluetooth 및 ZigBee 같은 Ad-hoc 네트워크 형태의 WPAN 또는 WLAN 기술 발전은 사용자가 가전제품들을 통하여 누릴 수 있는 다양한 혜택과 새로운 형태의 서비스들을 가능하도록 하고 있다. 이러한 서비스들의 기반이 되는 패러다임은 스마트폰과 가전제품들이 같은 네트워크 내에서 관계를 맺고 협업을 하는 것이다. 이를 위해, 스마트폰은 주변에 존재하는 디바이스를 검색하고 그 검색된 디바이스와 연계하여 사용자에게 다양한 양질의 서비스를 제공할 수 있다.The advent of smartphones and advances in WPAN or WLAN technologies in the form of ad-hoc networks, such as NFC, Bluetooth and ZigBee, are enabling the various benefits and new types of services that users can enjoy through consumer electronics. The paradigm upon which these services are based is that smartphones and consumer electronics make relationships and collaborate within the same network. To this end, the smart phone can search for a device existing in the vicinity and provide various quality services to the user in association with the searched device.

이하, 도 1 및 도 2를 참조하여, 종래의 블루투스 디바이스 검색 절차에 대하여 설명한다. 블루투스 디바이스 검색 절차는 조회(Inquiry) 절차 및 네임 검색(Name Discovery) 절차로 이루어진다.Hereinafter, a conventional Bluetooth device discovery procedure will be described with reference to FIGS. 1 and 2. The Bluetooth device discovery procedure consists of an inquiry procedure and a name discovery procedure.

도 1은 종래 기술에 따른 조회 절차를 나타내는 플로우 차트이다.1 is a flowchart illustrating an inquiry procedure according to the prior art.

도 1은 BLUETOOTH Version 4.0 [Vol 3] GENERIC ACCESS PROFILE SECTION 6.1 GENERAL INQUIRY 절차에 따은 조회 절차를 나타낸다. 구체적으로, 블루투스 디바이스 A는 주변에 존재하는 블루투스 디바이스를 조회하기 위해, General Inquiry Access Code를 가지는 조회 요청 메시지(Inquiry)를 브로드캐스팅(Broadcasting)한다. 이때, General Inquiry Access Code를 가지는 조회 메시지(Inquiry)에 대하여 discoverable mode인 블루투스 디바이스 B 및 limited discoverable mode인 블루투스 디바이스 B'은 조회 응답 메시지를 블루투스 디바이스 A에 전송한다. 조회 응답 메시지에는 블루투스 디바이스 어드레스(Bluetooth device address) 및 Class of Device 등이 포함될 수 있다. 이때, 블루투스 디바이스 A는 조회 응답 메시지에 포함된 블루투스 디바이스 어드레스를 사용하여 블루투스 디바이스 어드레스 리스트를 생성한다.1 shows an inquiry procedure according to a BLUETOOTH Version 4.0 [Vol 3] GENERIC ACCESS PROFILE SECTION 6.1 GENERAL INQUIRY procedure. Specifically, the Bluetooth device A broadcasts an inquiry request message (Inquiry) having a General Inquiry Access Code in order to query a Bluetooth device existing in the vicinity. At this time, the Bluetooth device B in the discoverable mode and the Bluetooth device B 'in the limited discoverable mode transmit the inquiry response message to the Bluetooth device A with respect to the inquiry message (Inquiry) having the General Inquiry Access Code. The inquiry response message may include a Bluetooth device address and a Class of Device. At this time, the Bluetooth device A generates the Bluetooth device address list using the Bluetooth device address included in the inquiry response message.

도 2는 종래 기술에 따른 네임 검색 절차를 나타내는 플로우 차트이다. 2 is a flowchart illustrating a name search procedure according to the prior art.

도 2는 BLUETOOTH Version 4.0 [Vol 3] GENERIC ACCESS PROFILE SECTION 6.3 NAME DISCOVERY 절차에 따은 조회 절차를 나타낸다. 설명의 편의를 위해, 주변 블루투스 디바이스 하나 만을 도시하였다.2 shows an inquiry procedure according to a BLUETOOTH Version 4.0 [Vol 3] GENERIC ACCESS PROFILE SECTION 6.3 NAME DISCOVERY procedure. For convenience of description, only one peripheral Bluetooth device is shown.

구체적으로, 블루투스 디바이스 A는 블루투스 디바이스 어드레스 리스트 상의 블루투스 디바이스 어드레스를 사용하여 조회 응답 메시지를 전송한 블루투스 디바이스 B와 페이징(Paging)을 수행할 수 있다. 그리고, 블루투스 디바이스 A는 네임 요청 메시지를 블루투스 디바이스 B에 전송할 수 있다. 이때, 블루투스 디바이스 B는 네임 응답 메시지를 블루투스 디바이스 A에 전송할 수 있다. 네임 응답 메시지는 User-friendly name을 포함할 수 있다. 도 2에는 도시되지 않았으나, 블루투스 디바이스 A는 User-friendly name을 유저에게 디스플레이할 수 있다.In detail, the Bluetooth device A may perform paging with the Bluetooth device B that has sent the inquiry response message using the Bluetooth device address on the Bluetooth device address list. In addition, the Bluetooth device A may transmit a name request message to the Bluetooth device B. At this time, the Bluetooth device B may transmit a name response message to the Bluetooth device A. Name response messages may include User-friendly names. Although not shown in FIG. 2, the Bluetooth device A may display a user-friendly name to the user.

다만, 종래의 방식에 의하면, 스캐닝된 모든 블루투스 디바이스에 대하여 네임 검색 절차를 수행하게 되므로, 실제 유저가 사용하고자 하는 서비스를 제공하지 않는 블루투스 디바이스에 대하여도 네임 검색 절차가 수행된다는 문제점이 있었다. 또한, 불필요한 네임 디스커버러를 수행함에 따라 전력 및 프로세스와 같은 디바이스의 리소스(Resource)가 불필요하게 소모된다는 문제점이 있었다.However, according to the conventional method, since the name search procedure is performed for all the scanned Bluetooth devices, there is a problem that the name search procedure is also performed for the Bluetooth device which does not provide a service to be used by the actual user. In addition, there is a problem that resources of a device such as power and processes are unnecessarily consumed by performing unnecessary name discovery.

따라서, 본 발명은 불필요한 네임 검색을 방지할 수 있는 블루투스 디바이스 검색 방법을 제공하고자 한다.Accordingly, the present invention is to provide a Bluetooth device search method that can prevent unnecessary name search.

이와 같은 목적을 달성하기 위한 본 발명은 적어도 하나의 블루투스 디바이스로부터, 조회 요청 메시지에 대응한 조회 응답 메시지를 수신하는 단계-상기 조회 응답 메시지는 상기 블루투스 디바이스가 제공하는 서비스를 특정한 제 1 서비스 프로파일을 포함함-; 상기 제 1 서비스 프로파일을 제 2 서비스 프로파일과 상호 연산하는 것에 의해, 상기 블루투스 디바이스가 유저가 선택한 서비스를 제공하는지 여부를 판단하는 단계-상기 제 2 서비스 프로파일은 상기 유저가 선택한 서비스를 특정함; 및 상기 판단 결과, 상기 블루투스 디바이스가 유저가 선택한 서비스를 제공하는 것으로 판단되면, 상기 블루투스 디바이스에 대하여 네임(name) 검색 절차를 수행하는 단계를 포함하는 것을 특징으로 하는 블루투스 디바이스 검색 방법을 개시한다.According to an aspect of the present invention, there is provided a method of receiving an inquiry response message corresponding to an inquiry request message from at least one Bluetooth device, wherein the inquiry response message specifies a first service profile that specifies a service provided by the Bluetooth device. Includes; Determining whether the Bluetooth device provides a service selected by a user by interoperating the first service profile with a second service profile, the second service profile specifying a service selected by the user; And if it is determined that the Bluetooth device provides the service selected by the user, performing a name search procedure on the Bluetooth device.

이상에서 살펴본 바와 같이 본 발명은 주변 블루투스 디바이스 중 실제 사용자가 이용하고자 하는 서비스를 적어도 하나 제공하는 주변 블루트스 디바이스에 대하여 만 네임 검색을 수행하는 것에 의해, 불필요한 네임 검색을 방지할 수 있다.As described above, according to the present invention, unnecessary name search can be prevented by performing a name search only on a peripheral Bluetooth device that provides at least one service that an actual user wants to use among the peripheral Bluetooth devices.

도 1은 종래 기술에 따른 조회 절차를 나타내는 플로우 차트이다.
도 2는 종래 기술에 따른 네임 검색 절차를 나타내는 플로우 차트이다.
도 3은 본 발명의 바람직한 일 실시예에 따른 블루투스 디바이스 검색 절차를 나타내는 플로우 차트이다.
1 is a flowchart illustrating an inquiry procedure according to the prior art.
2 is a flowchart illustrating a name search procedure according to the prior art.
3 is a flowchart illustrating a Bluetooth device discovery procedure according to an embodiment of the present invention.

이하, 실시 예를 설명함에 있어서 본 발명이 속하는 기술분야에 익히 알려져 있고 본 발명과 직접적으로 관련이 없는 기술 내용에 대해서는 설명을 생략한다. 또한, 실질적으로 동일한 구성과 기능을 가진 구성 요소들에 대해서는 상세한 설명을 생략하도록 한다.Hereinafter, in describing the embodiments, descriptions of technical contents which are well known in the technical field to which the present invention belongs and are not directly related to the present invention will be omitted. In addition, detailed description of components having substantially the same configuration and function will be omitted.

마찬가지의 이유로 첨부 도면에 있어서 일부 구성요소는 과장되거나 생략되거나 또는 개략적으로 도시되었으며, 각 구성요소의 크기는 실제 크기를 전적으로 반영하는 것이 아니다. 따라서 본 발명은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되어지지 않는다.
For the same reason, some of the elements in the accompanying drawings are exaggerated, omitted, or schematically shown, and the size of each element does not entirely reflect the actual size. Therefore, the present invention is not limited by the relative size or spacing drawn in the accompanying drawings.

본 발명은 주변 블루투스 디바이스 중 실제 사용자가 이용하고자 하는 서비스를 적어도 하나 제공하는 주변 블루트스 디바이스에 대하여 만 네임 검색을 수행하는 것에 의해, 불필요한 네임 검색을 방지할 수 있다.
According to the present invention, unnecessary name search can be prevented by performing a name search only on a peripheral Bluetooth device that provides at least one service that an actual user wants to use among the peripheral Bluetooth devices.

이하, 도 3을 참조하여 본 발명의 바림직한 일 실시예에 따른 블루투스 디바이스 검색 방법에 대하여 설명한다. 도 3은 본 발명의 바람직한 일 실시예에 따른 블루투스 디바이스 검색 절차를 나타내는 플로우 차트이다.
Hereinafter, a method of searching for a Bluetooth device according to a preferred embodiment of the present invention will be described with reference to FIG. 3. 3 is a flowchart illustrating a Bluetooth device discovery procedure according to an embodiment of the present invention.

도 3을 참조하면, 블루투스 디바이스 A(100)는 사용자가 블루투스 디바이스 검색 기능을 선택하는 것에 의해 블루투스 디바이스 검색 절차를 개시할 수 있다. 블루투스 디바이스 A(100)는 유저의 서비스 선택을 입력 받고 유저가 선택한 서비스를 특정하는 서비스 프로파일을 저장할 수 있다(S301, S302). 서비스 프로파일은 미리 설정된 수의 비트로 생성될 수 있다. 그리고, 서비스 프로파일 상의 각각의 비트는 특정 서비스에 대하여 할당될 수 있다. 즉, 서비스 프로파일 상의 비트 순위에 따라 비트는 각기 다른 서비스에 대해 할당될 수 있다. 그리고, 유저가 선택한 서비스에 할당된 비트의 값을 1로 세팅하는 것에 의해 유저가 선택한 서비스를 특정하는 서비스 프로파일을 생성할 수 있다. 이때, 유저가 선택하지 않은 서비스에 할당된 비트의 값은 0으로 세팅될 수 있다.Referring to FIG. 3, the Bluetooth device A 100 may initiate a Bluetooth device discovery procedure by the user selecting a Bluetooth device discovery function. The Bluetooth device A 100 may receive a user's service selection and store a service profile specifying a service selected by the user (S301 and S302). The service profile may be generated with a preset number of bits. And, each bit on the service profile can be assigned for a particular service. That is, bits may be allocated to different services according to bit ranks on the service profile. By setting the value of the bit assigned to the service selected by the user to 1, a service profile specifying the service selected by the user can be generated. In this case, the value of the bit allocated to the service not selected by the user may be set to zero.

설명의 편의를 위해, 서비스 프로파일에 4 개의 비트가 할당된 경우를 가정한다. 그리고, 4 개의 비트는 상위 비트에서 하위 비트로 가면서, 각각 오디오 서비스, 비디오 서비스, 데이터 전송 서비스 및 프린트 서비스에 할당된 것으로 가정한다. 이때, 유저가 사용하고자 하는 서비스로 오디오 서비스와 비디오 서비스를 선택한 경우, 서비스 프로파일에 할당된 4 개의 비트는 각각 1100으로 세팅되는 것에 의해 유저가 선택한 서비스를 특정할 수 있다. 이하, 설명의 편의를 위해, 유저가 선택한 서비스를 특정하는 서비스 프로파일을 ‘서비스 프로파일 A’로 지칭한다.
For convenience of explanation, it is assumed that four bits are allocated to the service profile. In addition, it is assumed that four bits are allocated to an audio service, a video service, a data transmission service, and a print service while going from an upper bit to a lower bit. In this case, when the user selects the audio service and the video service as a service to be used, the four bits allocated to the service profile are set to 1100, respectively, to specify the service selected by the user. Hereinafter, for convenience of description, a service profile specifying a service selected by a user will be referred to as 'service profile A'.

계속하여 도 3을 참조하면, 블루투스 디바이스 B(200)는 서비스 프로파일을 저장할 수 있다(S303). 여기서, 블루투스 디바이스 B(200)가 저장하는 서비스 프로파일은 블루투스 디바이스 B(200)가 제공 가능한 서비스를 특정할 수 있다. 이하, 설명의 편의를 위해 블루투스 디바이스가 제공 가능한 서비스를 특정하는 서비스 프로파일을 ‘서비스 프로파일 B'로 지칭한다. 서비스 프로파일 B는 미리 설정된 수의 비트로 생성될 수 있다. 그리고, 서비스 프로파일 B 상의 각각의 비트는 특정 서비스에 대하여 할당될 수 있다. 즉, 서비스 프로파일 상의 비트 순위에 따라 비트는 각기 다른 서비스에 대해 할당될 수 있다. 그리고, 제공 가능한 서비스에 할당된 비트의 값을 1로 세팅하는 것에 의해 제공 가능한 서비스를 특정하는 서비스 프로파일을 생성할 수 있다. 이때, 제공할 수 없는 서비스에 할당된 비트의 값은 0으로 세팅될 수 있다. 여기서, 향후 서비스 프로파일 A와 서비스 프로파일 B 간의 매칭이 용이하도록 서비스 프로파일 A와 서비스 프로파일 B에 할당된 비트수는 동일하고, 서비스 프로파일 A와 서비스 프로파일 B에 할당된 비트들에서 동일 순위의 비트는 각각 동일한 서비스에 대하여 할당되는 것이 바람직하다.3, the Bluetooth device B 200 may store a service profile in operation S303. Here, the service profile stored by the Bluetooth device B 200 may specify a service that can be provided by the Bluetooth device B 200. Hereinafter, for convenience of description, a service profile that specifies a service that a Bluetooth device can provide is referred to as a 'service profile B'. The service profile B may be generated with a preset number of bits. And, each bit on service profile B may be allocated for a specific service. That is, bits may be allocated to different services according to bit ranks on the service profile. Then, by setting the value of the bit allocated to the service that can be provided to 1, a service profile that specifies the service that can be provided can be generated. At this time, the value of the bit allocated to the service that cannot be provided may be set to zero. Here, the number of bits allocated to the service profile A and the service profile B is the same so as to facilitate matching between the service profile A and the service profile B in the future, and bits of the same rank in the bits allocated to the service profile A and the service profile B are respectively It is desirable to be allocated for the same service.

설명의 편의를 위해, 서비스 프로파일 B에 4 개의 비트가 할당된 경우를 가정한다. 그리고, 4 개의 비트는 상위 비트에서 하위 비트로 가면서, 각각 오디오 서비스, 비디오 서비스, 데이터 전송 서비스 및 프린트 서비스에 할당된 것으로 가정한다. 이때, 블루투스 디바이스 B(200)의 제공 가능한 서비스가 오디오 서비스 및 비디오 서비스인 경우, 서비스 프로파일 B에 할당된 4 개의 비트는 각각 1100으로 세팅되는 것에 의해 블루투스 디바이스 B(200)의 제공 가능한 서비스를 특정할 수 있다. 서비스 프로파일 B는 블루투스 디바이스의 초기 설정 정보일 수 있다. 블루투스 디바이스 B(200)는 discoverable mode, limited-discoverable mode 및 Non-Discoverable mode 중 어느 하나일 수 있다.
For convenience of explanation, it is assumed that four bits are allocated to the service profile B. In addition, it is assumed that four bits are allocated to an audio service, a video service, a data transmission service, and a print service while going from an upper bit to a lower bit. In this case, when the service that can be provided by the Bluetooth device B 200 is an audio service and a video service, four bits allocated to the service profile B are set to 1100 to specify the service that can be provided by the Bluetooth device B 200. can do. The service profile B may be initial configuration information of the Bluetooth device. The Bluetooth device B 200 may be any one of a discoverable mode, a limited-discoverable mode, and a non-discoverable mode.

계속하여 도 3을 참조하면, 블루투스 디바이스 A(100)는 조회 요청 메시지를 브로트캐스팅할 수 있다(S304). 조회 요청 메시지는 General Inquiry Access Code 또는 limited inquiry access code를 가질 수 있다.3, the Bluetooth device A 100 may broadcast the inquiry request message (S304). The inquiry request message may have a General Inquiry Access Code or a limited inquiry access code.

이때, 블루투스 디바이스 B(200)가 discoverable mode이면, General Inquiry Access Code 및 limited inquiry access code를 가지는 조회 요청 메시지에 대하여 조회 응답 메시지를 블루투스 디바이스 B(200)에 전송할 수 있다(S305). 이와 달리, 블루투스 디바이스 B(200)가 limited-discoverable mode이면, limited inquiry access code를 가지는 조회 요청 메시지에 대하여 조회 응답 메시지를 블루투스 디바이스 B(200)에 전송할 수 있다(S305). 또는, 블루투스 디바이스 B(200)가 Non-discoverable mode이면, 조회 응답 메시지를 전송하지 않을 수 있다. 블루투스 디비이스가 전송하는 조회 응답 메시지에는 서비스 프로파일 B가 포함될 수 있다. 서비스 프로파일 B를 위해 기존의 조회 응답 메시지 내의 유보 필드(reserved field) 또는 디바이스 클래스 필드(Class of Device field)가 사용될 수 있다.
In this case, when the Bluetooth device B 200 is in the discoverable mode, an inquiry response message may be transmitted to the Bluetooth device B 200 with respect to an inquiry request message having a General Inquiry Access Code and a limited inquiry access code (S305). In contrast, if the Bluetooth device B 200 is in the limited-discoverable mode, the inquiry response message may be transmitted to the Bluetooth device B 200 with respect to the inquiry request message having the limited inquiry access code (S305). Alternatively, if the Bluetooth device B 200 is in the non-discoverable mode, the Bluetooth device B 200 may not transmit the inquiry response message. The inquiry response message transmitted by the Bluetooth device may include the service profile B. For the service profile B, a reserved field or a class of device field in an existing inquiry response message may be used.

계속하여 도 3을 참조하면, 블루투스 디바이스 A(100)는 조회 응답 메시지를 전송한 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 적어도 하나 제공하는지 여부를 판단할 수 있다(S306). 이때, S306은 서비스 프로파일 A와 서비스 프로파일 B을 상호 연산하는 것에 의해 수행될 수 있다. 이를 위해, 서비스 프로파일 A와 서비스 프로파일 B에 할당된 비트 중 동일 순위의 비트값을 ‘and’ 연산할 수 있다. 그리고, 비트 순위별 연산 결과값 중 적어도 하나가 1 이면, 그 서비스 프로파일 B를 가지는 블루투스 디바이스가 유저가 선택한 서비스 중 적어도 하나를 제공한다고 판단할 수 있다.3, the Bluetooth device A 100 may determine whether the Bluetooth device B 200 that has transmitted the inquiry response message provides at least one service selected by the user (S306). In this case, S306 may be performed by mutually computing the service profile A and the service profile B. To this end, an 'and' operation may be performed on bit values having the same rank among bits allocated to the service profile A and the service profile B. If at least one of the bit rank calculation result values is 1, it may be determined that the Bluetooth device having the service profile B provides at least one of the services selected by the user.

예를 들어, 서비스 프로파일 A에 4 개의 비트가 할당된 경우를 가정한다. 그리고, 4 개의 비트는 상위 비트에서 하위 비트로 가면서, 각각 오디오 서비스, 비디오 서비스, 데이터 전송 서비스 및 프린트 서비스에 할당된 것으로 가정한다. 이때, 유저가 사용하고자 하는 서비스로 오디오 서비스와 비디오 서비스를 선택한 경우, 서비스 프로파일에 할당된 4 개의 비트는 각각 1100으로 세팅되는 것에 의해 유저가 선택한 서비스를 특정할 수 있다. 그리고, 서비스 프로파일 B에 4 개의 비트가 할당된 경우를 가정한다. 그리고, 4 개의 비트는 상위 비트에서 하위 비트로 가면서, 각각 오디오 서비스, 비디오 서비스, 데이터 전송 서비스 및 프린트 서비스에 할당된 것으로 가정한다. 이때, 블루투스 디바이스 B(200)의 제공 가능한 서비스가 비디오 서비스 및 프린트 서비스인 경우, 서비스 프로파일 B에 할당된 4 개의 비트는 각각 0101으로 세팅되는 것에 의해 블루투스 디바이스 B(200)의 제공 가능한 서비스를 특정할 수 있다. 서비스 프로파일 B는 블루투스 디바이스의 초기 설정 정보일 수 있다. 이때, 서비스 프로파일 A 및 서비스 프로파일 B의 동일 순위 비트를 'and' 연산한 결과는 다음 표 1과 같다.
For example, assume that four bits are allocated to the service profile A. In addition, it is assumed that four bits are allocated to an audio service, a video service, a data transmission service, and a print service while going from an upper bit to a lower bit. In this case, when the user selects the audio service and the video service as a service to be used, the four bits allocated to the service profile are set to 1100, respectively, to specify the service selected by the user. And, suppose that 4 bits are allocated to the service profile B. In addition, it is assumed that four bits are allocated to an audio service, a video service, a data transmission service, and a print service while going from an upper bit to a lower bit. In this case, when the service that can be provided by the Bluetooth device B 200 is a video service and a print service, four bits allocated to the service profile B are set to 0101 to specify the service that can be provided by the Bluetooth device B 200. can do. The service profile B may be initial configuration information of the Bluetooth device. In this case, the result of the 'and' operation of the same rank bit of the service profile A and service profile B is shown in Table 1 below.

연산자Operator 서비스 프로파일 AService profile A 서비스 프로파일 BService profile B && 11001100 01010101 연산 결과Calculation result 01000100

동일 순위의 비트값에 대한 연산 결과 ‘0100’중 1이 있다. 이와 같은 경우, 블루투스 디바이스 A(100)는 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 제공하는 것으로 판단할 수 있다.There is 1 of '0100' result of operation on bit value of same rank. In this case, the Bluetooth device A 100 may determine that the Bluetooth device B 200 provides a service selected by the user.

이와 달리, 서비스 프로파일 B가 0001 또는 0011으로 세팅된 경우라면, 동일 순위의 비트값에 대한 연산 결과는 1을 가지지 못한다. 이와 같은 경우, 블루투스 디바이스 A(100)는 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 제공하지 않는 것으로 판단할 수 있다.
In contrast, if the service profile B is set to 0001 or 0011, the operation result for the bit value of the same rank does not have 1. In this case, the Bluetooth device A 100 may determine that the Bluetooth device B 200 does not provide a service selected by the user.

계속하여 도 3을 참조하면, 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 제공하지 않는다고 판단된 경우, 블루투스 디바이스 B(200)는 무시될 수 있다(S307). 이와 달리, 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 적어도 하나 제공한다고 판단된 경우, 블루투스 디바이스 A(100)는 블루투스 디바이스 B(200)와 페이징을 수행한 후, 네임 요청 메시지의 송신 및 네임 응답 메시지의 수신 과정을 통해 블루투스 디바이스 B(200)의 user-friendly name을 획득할 수 있다.(S308, S309, S310). S308, S309 및 S310는 앞서 본 종래 기술에 따른 네임 검색 절차와 동일할 수 있다. 이와 달리, 블루투스 디바이스 B(200)가 유저가 선택한 서비스를 모두 제공한다고 판단된 경우에만, 블루투스 디바이스 B(200)에 대하여 네임 검색 절차를 진행할 수 있다.3, if it is determined that the Bluetooth device B 200 does not provide the service selected by the user, the Bluetooth device B 200 may be ignored (S307). On the contrary, when it is determined that the Bluetooth device B 200 provides at least one service selected by the user, the Bluetooth device A 100 performs paging with the Bluetooth device B 200, and then transmits and names a name request message. The user-friendly name of the Bluetooth device B 200 may be obtained by receiving a response message (S308, S309, and S310). S308, S309 and S310 may be the same as the name search procedure according to the prior art. In contrast, only when it is determined that the Bluetooth device B 200 provides all the services selected by the user, the name search procedure may be performed with respect to the Bluetooth device B 200.

이때, 블루투스 디바이스 A(100)는 user-friendly name을 디스플레이할 수 있다(S311). 이때, 블루투스 디바이스 B(200)가 제공하는 서비스가 user-friendly name과 같이 제공될 수 있다. user-friendly name 및 블루투스 디바이스 B(200)가 제공하는 서비스의 디스플레이 방식은 본 발명에서 제한되지 않는다.At this time, the Bluetooth device A 100 may display a user-friendly name (S311). In this case, the service provided by the Bluetooth device B 200 may be provided with a user-friendly name. The user-friendly name and display method of the service provided by the Bluetooth device B 200 are not limited in the present invention.

도 3의 프로세스는 전체 또는 그 일부로 실시될 수 있다. 또한, 그 순서를 달리하여 실시될 수도 있다. 또한, 서비스 당 할당되는 비트수도 1 이상일 수 있다. 비트수가 1 이상인 경우, 서비스 프로파일 A와 서비스 프로파일 B를 상호 연산하는 방법도 용이하게 변형하여 적용될 수 있다. S308 단계 전에 유저가 선택한 서비스를 제공하는 블루투스 디바이스에 대한 리스트를 생성하고, 그 후에 리스트 상의 각각의 블루투스 디바이스에 대한 네임 검색 절차가 수행될 수 있다.
The process of FIG. 3 may be implemented in whole or in part. It may also be implemented in a different order. In addition, the number of bits allocated per service may be 1 or more. When the number of bits is 1 or more, the method of mutually computing the service profile A and the service profile B may be easily modified and applied. Before step S308, a list of Bluetooth devices that provide a service selected by the user may be generated, and then a name search procedure may be performed for each Bluetooth device on the list.

한편, 본 명세서와 도면을 통해 본 발명의 바람직한 실시 예들에 대하여 설명하였으며, 비록 특정 용어들이 사용되었으나, 이는 단지 본 발명의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것일 뿐, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명한 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. , And are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention may be practiced without departing from the scope of the invention disclosed herein.

100, 200 : 블루투스 디바이스100, 200: Bluetooth device

Claims (4)

적어도 하나의 블루투스 디바이스로부터, 조회 요청 메시지에 대응한 조회 응답 메시지를 수신하는 단계-상기 조회 응답 메시지는 상기 블루투스 디바이스가 제공하는 서비스를 특정한 제 1 서비스 프로파일을 포함함-;
상기 제 1 서비스 프로파일을 제 2 서비스 프로파일과 상호 연산하는 것에 의해, 상기 블루투스 디바이스가 유저가 선택한 서비스를 제공하는지 여부를 판단하는 단계-상기 제 2 서비스 프로파일은 상기 유저가 선택한 서비스를 특정함; 및
상기 판단 결과, 상기 블루투스 디바이스가 유저가 선택한 서비스를 제공하는 것으로 판단되면, 상기 블루투스 디바이스에 대하여 네임(name) 검색 절차를 수행하는 단계를 포함하는 것을 특징으로 하는 블루투스 디바이스 검색 방법.
Receiving, from at least one Bluetooth device, an inquiry response message corresponding to an inquiry request message, wherein the inquiry response message includes a first service profile specifying a service provided by the Bluetooth device;
Determining whether the Bluetooth device provides a service selected by a user by interoperating the first service profile with a second service profile, the second service profile specifying a service selected by the user; And
If it is determined that the Bluetooth device provides the service selected by the user, performing a name search procedure on the Bluetooth device.
제 1 항에 있어서,
상기 제 1 서비스 프로파일 및 제 2 서비스 프로파일에 동일한 비트수가 할당되고,
상기 제 1 서비스 프로파일 및 제 2 서비스 프로파일에 할당된 동일 순위의 비트는 동일한 서비스에 할당되고,
상기 제 1 서비스 프로파일에서 상기 블루투스 디바이스가 제공 가능한 서비스에 할당된 비트의 값은 1로 세팅되고 상기 블루투스 디바이스가 제공할 수 없는 서비스에 할당된 비트의 값은 0으로 세팅되며,
상기 제 2 서비스 프로파일에서 상기 유저가 선택한 서비스에 할당된 비트의 값은 1로 세팅되고 상기 유저가 선택하지 않은 서비스에 할당된 비트의 값은 0으로 세팅되며,
상기 블루투스 디바이스가 유저가 선택한 서비스를 제공하는지 여부를 판단하는 단계는,
상기 제 1 서비스 프로파일 및 제 2 서비스 프로파일에 할당된 비트 중 동일 순위의 비트값을 ‘and’ 연산하는 것에 의해 수행되는 것을 특징으로 하는 블루투스 디바이스 검색 방법.
The method of claim 1,
The same number of bits is allocated to the first service profile and the second service profile,
Bits of the same rank assigned to the first service profile and the second service profile are assigned to the same service,
In the first service profile, a value of a bit allocated to a service that can be provided by the Bluetooth device is set to 1, and a value of a bit allocated to a service which the Bluetooth device cannot provide is set to 0,
In the second service profile, the value of the bit assigned to the service selected by the user is set to 1 and the value of the bit assigned to the service not selected by the user is set to 0,
Determining whether the Bluetooth device provides a service selected by the user,
And performing a 'and' operation on a bit value having the same rank among the bits allocated to the first service profile and the second service profile.
제 1 항에 있어서,
상기 제 1 서비스 프로파일은 조회 응답 메시지 상의 유보 필드(reserved field) 또는 디바이스 클래스 필드(Class of Device field)에 포함되는 것을 특징으로 하는 블루투스 디바이스 검색 방법.
The method of claim 1,
And the first service profile is included in a reserved field or a class of device field on an inquiry response message.
제 1 항에 있어서,
상기 블루투스 디바이스에 대하여 네임 검색 절차는,
상기 블루투스 디바이스가 상기 유저가 선택한 서비스를 적어도 하나 제공하는 것으로 판단된 경우에 한해 진행되는 것을 특징으로 하는 블루투스 디바이스 검색 방법.
The method of claim 1,
Name search procedure for the Bluetooth device,
Only when the Bluetooth device is determined to provide at least one service selected by the user, Bluetooth device search method characterized in that proceeds.
KR1020110138821A 2011-12-21 2011-12-21 Method for discovery of bluetooth device KR101382200B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110138821A KR101382200B1 (en) 2011-12-21 2011-12-21 Method for discovery of bluetooth device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110138821A KR101382200B1 (en) 2011-12-21 2011-12-21 Method for discovery of bluetooth device

Publications (2)

Publication Number Publication Date
KR20130071558A true KR20130071558A (en) 2013-07-01
KR101382200B1 KR101382200B1 (en) 2014-04-07

Family

ID=48986504

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110138821A KR101382200B1 (en) 2011-12-21 2011-12-21 Method for discovery of bluetooth device

Country Status (1)

Country Link
KR (1) KR101382200B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160065886A (en) * 2013-11-11 2016-06-09 엘지전자 주식회사 Method and apparatus for bluetooth connection
CN112789934A (en) * 2018-12-25 2021-05-11 华为技术有限公司 Bluetooth service query method and electronic equipment
KR20220034194A (en) 2019-09-27 2022-03-17 히다치 아스테모 가부시키가이샤 vehicle motion control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4422930B2 (en) * 2001-08-07 2010-03-03 パイオニア株式会社 Information processing system, information processing method, information processing apparatus, and information processing program
KR100651533B1 (en) * 2005-09-30 2006-11-29 삼성전자주식회사 Apparatus and method for searching and communicating with bluetooth device
KR100678051B1 (en) * 2006-02-17 2007-02-02 삼성전자주식회사 Apparatus and method for performing bluetooth function in mobile terminal
KR101212034B1 (en) * 2006-04-24 2012-12-12 삼성전자주식회사 Apparatus and method for connecting bluetooth device in mobile communication terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160065886A (en) * 2013-11-11 2016-06-09 엘지전자 주식회사 Method and apparatus for bluetooth connection
CN105706379A (en) * 2013-11-11 2016-06-22 Lg电子株式会社 Method and apparatus for bluetooth connection
CN105706379B (en) * 2013-11-11 2019-04-05 Lg电子株式会社 Method and apparatus for bluetooth connection
CN112789934A (en) * 2018-12-25 2021-05-11 华为技术有限公司 Bluetooth service query method and electronic equipment
CN112789934B (en) * 2018-12-25 2023-04-18 华为技术有限公司 Bluetooth service query method and electronic equipment
KR20220034194A (en) 2019-09-27 2022-03-17 히다치 아스테모 가부시키가이샤 vehicle motion control

Also Published As

Publication number Publication date
KR101382200B1 (en) 2014-04-07

Similar Documents

Publication Publication Date Title
US10476686B2 (en) Wireless communication device, program, and wireless communication system
US9654960B2 (en) Server-assisted device-to-device discovery and connection
US9137782B2 (en) Wireless communication method, and wireless communication device and system using the same
US8379586B2 (en) Method and apparatus for radio coexistence
KR101700937B1 (en) Method and apparatus for service discovery in WiFi direct network
US10873899B2 (en) Access point initiated neighbor report request
US20090059919A1 (en) System and method of zigbee communication for selecting and gaining access to zigbee network
JP2006229938A (en) Finding of distributed network
US20140112324A1 (en) Wi-fi p2p communication terminal device and communication method thereof
KR20120103567A (en) Method and apparatus for wifi display service discovery in wifi direct network
KR101900358B1 (en) System and method for utilizing stored higher layer information
KR20100135739A (en) Method and apparatus for wireless ad-hoc network setup
US9480004B2 (en) Discovery method and apparatus in device-to-device direct communication
KR101382200B1 (en) Method for discovery of bluetooth device
KR102135715B1 (en) Method and apparatus for providing ip address in wireless communication network
KR20140042752A (en) Method of device to device discovery and apparatus thereof
KR101379706B1 (en) Method for discovery of zigbee network based on cache
KR102047258B1 (en) Communication method in wireless local access network and wireless apparatus for thr method
KR101325539B1 (en) Method for scanning a advertisement packet from peripheral device
KR20200090659A (en) Method and apparatus for providing ip address in wireless communication network
KR102109627B1 (en) Discovery method and apparatus in device-to-device direct communication
KR20170058313A (en) Method for providing service of internet of things based on uri broadcasting and apparatus using the same
KR20170071829A (en) Transferring data btewwn devices
KR20130058255A (en) Method for discovering a network
KR20130067438A (en) Method joining a pan using a passive scanning

Legal Events

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

Payment date: 20180402

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190318

Year of fee payment: 6