CN104797005A - Bluetooth pairing method and equipment - Google Patents

Bluetooth pairing method and equipment Download PDF

Info

Publication number
CN104797005A
CN104797005A CN 201510212208 CN201510212208A CN104797005A CN 104797005 A CN104797005 A CN 104797005A CN 201510212208 CN201510212208 CN 201510212208 CN 201510212208 A CN201510212208 A CN 201510212208A CN 104797005 A CN104797005 A CN 104797005A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
bluetooth
paired
pairing
device
information
Prior art date
Application number
CN 201510212208
Other languages
Chinese (zh)
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

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/02Near-field transmission systems, e.g. inductive loop type using transceiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses a Bluetooth pairing method. The method includes acquiring the connection information state of Bluetooth pairing equipment to be paired; according to the acquired connection information state, performing Bluetooth pairing on the Bluetooth pairing equipment to be paired by selecting the corresponded Bluetooth pairing mode. The invention further discloses Bluetooth pairing equipment. The corresponded Bluetooth pairing mode is selected according to the acquired connection information, the Bluetooth pairing is performed on the Bluetooth pairing equipment to be paired rapidly, and the user's experience is fine.

Description

蓝牙配对方法和蓝牙配对设备 Bluetooth pairing Bluetooth-paired device and method

技术领域 FIELD

[0001] 本发明涉及通信领域,尤其涉及蓝牙配对方法和蓝牙配对设备。 [0001] The present invention relates to communication field, and particularly relates to a method and a Bluetooth pairing a Bluetooth device pairing.

背景技术 Background technique

[0002] 现有的蓝牙配对和接入方式,需要首先与待配对的蓝牙设备(例如,USBKey)进行扫描、选择、配对、再使用。 [0002] The conventional Bluetooth pairing and access mode, need to be paired with Bluetooth devices (e.g., the USBKey) scanning, selecting, pairing, and then used. 不仅步骤繁琐,客户体验也不好,并且经常需要扫描很长时间才能适配成功。 Not only cumbersome step, the customer experience is not good, and often need to scan a long time to adapt successfully. 另外,对于一些扩展的连接,还需要有额外的支持,如通过NFC (Near FieldCommunicat1n,近距离无线通讯技术)和音频的连接,都需要外接设备。 In addition, for some expanded connectivity, we still need additional support, such as through NFC (Near FieldCommunicat1n, short-range wireless communication technology) and audio connection, you need an external device. 因此,如何快速与待配对的蓝牙设备完成蓝牙配对,是一个亟待解决的问题。 So, how fast to be paired with a Bluetooth device Bluetooth pairing complete, it is a serious problem.

发明内容 SUMMARY

[0003] 本发明的主要目的在于提供一种蓝牙配对方法和蓝牙配对设备,旨在快速与待配对的蓝牙设备完成蓝牙配对。 [0003] The main object of the present invention is to provide a method for pairing a Bluetooth device and a Bluetooth pairing, the Bluetooth device is intended to be paired with the completion of the fast Bluetooth pairing.

[0004] 为实现上述目的,本发明提供的一种蓝牙配对方法,所述蓝牙配对方法包括以下步骤: [0004] To achieve the above object, a method of the present invention to provide a Bluetooth pairing, the Bluetooth pairing method comprising the steps of:

[0005] 获取待配对的蓝牙设备的连接信息的信息状态; [0005] status information acquired connection information to be paired Bluetooth devices;

[0006] 根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0006] According to the state of the connection information acquired information, selects a corresponding Bluetooth pairing mode to complete the Bluetooth pairing with a Bluetooth device to be paired.

[0007] 优选地,述连接信息包括设备信息、所述对应的蓝牙配对模式包括定向配对模式,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: [0007] Preferably, said connection information includes device information, corresponding to the orientation mode includes Bluetooth pairing in pairing mode, the connection status information according to the acquired information, selects a corresponding Bluetooth pairing mode to be paired with the Bluetooth pairing Bluetooth devices to perform the steps comprising:

[0008] 若获取到所述待配对蓝牙设备的所述设备信息时,则根据获取到的所述待配对蓝牙设备的所述设备信息,通过定向配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0008] If the acquired device information of the Bluetooth device to be paired, the information of the device to be paired Bluetooth devices according to the acquired completed by directional Bluetooth pairing mode and the Bluetooth device to be paired pair.

[0009] 优选地,所述连接信息包括设备信息和二维码信息、所述对应的蓝牙配对模式包括扫描配对模式,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: [0009] Preferably, the connection information and apparatus information comprises a two-dimensional code information, corresponding to the Bluetooth pairing mode comprises scanning the pairing mode, the connection status information according to the acquired information, selects a corresponding Bluetooth pairing mode completion of the step to be paired with a Bluetooth device comprising a Bluetooth pairing:

[0010] 若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 When [0010] Failure to obtain the device information of the Bluetooth device to be paired, the two-dimensional code is acquired information of the Bluetooth device to be paired by the pairing mode scan; to be paired and apparatus according to the acquired Bluetooth the two-dimensional code information, the device to be paired with the Bluetooth Bluetooth pairing is completed.

[0011] 优选地,所述通过扫描配对模式获取待配对蓝牙设备的二维码信息;并根据获取的待配对蓝牙设备的二维码信息,与待配对的蓝牙设备完成蓝牙配对的步骤包括: [0011] Preferably, acquiring the two-dimensional code information to be pairing with a Bluetooth pairing mode by scanning device; and the two-dimensional code information to be paired Bluetooth devices acquired steps to complete the device to be paired with Bluetooth Bluetooth pairing comprises:

[0012] 采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息; [0012] The two-dimensional code information on the Bluetooth devices using the camera to scan said to be paired;

[0013] 通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息; [0013] by the two-dimensional code information on the Bluetooth device pairing to be scanned, acquiring the Bluetooth device to be paired connection information;

[0014] 根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 [0014] The connection information to be acquired of the paired Bluetooth devices, Bluetooth devices to be paired to complete the Bluetooth pairing.

[0015] 优选地,所述对应的蓝牙配对模式还包括搜索配对模式,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: [0015] Preferably, the Bluetooth pairing mode corresponding to the search further comprising pairing mode, the connection status information according to the acquired information, selects a corresponding Bluetooth pairing mode of the Bluetooth device to be paired with the Bluetooth pairing is completed steps include:

[0016] 若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 When [0016] Failure to obtain the device information and the two-dimensional code information of the Bluetooth device to be paired, pairing the search pattern to be paired with Bluetooth devices to perform the Bluetooth pairing.

[0017] 所述若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对的步骤包括: When the step of [0017] the device if not the acquired information and the two-dimensional code information of the Bluetooth device to be paired, pairing the search mode to be paired with Bluetooth devices to perform the Bluetooth pairing comprises:

[0018] 通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息; [0018] acquire the device to be paired Bluetooth device and the information to be paired Bluetooth devices by searching the pairing mode;

[0019] 根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息; [0019] according to the obtained device information to be paired Bluetooth devices, to establish a connection with the application to be paired Bluetooth devices, and displays the connection request message on the interface;

[0020] 若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接。 [0020] If the disconnection command is not received within a preset time threshold, the Bluetooth device to be paired with the Bluetooth connection.

[0021] 为了解决上述的技术问题,本发明进一步提供一种蓝牙配对设备,所述蓝牙配对设备包括: [0021] To solve the above technical problem, the present invention further provides a Bluetooth device pairing, the Bluetooth-paired device comprising:

[0022] 获取模块,用于获取待配对的蓝牙设备的连接信息的信息状态; [0022] obtaining module, configured to acquire a Bluetooth device to be paired connection information status information;

[0023] 蓝牙配对模块,用于根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0023] Bluetooth pairing module, connection information based on the state information acquired, selecting a corresponding Bluetooth pairing mode complete the Bluetooth pairing with a Bluetooth device to be paired.

[0024] 优选地,所述蓝牙配对模块还用于若获取到待配对蓝牙设备的设备信息时,则根据蓝牙设备的设备信息,通过定向配对模式与待配对的蓝牙设备完成蓝牙配对。 [0024] Preferably, the Bluetooth pairing module is further configured to acquire the device information if the Bluetooth device to be paired, the device information of the Bluetooth device, pairing mode is accomplished by orienting the Bluetooth pairing with a Bluetooth device to be paired.

[0025] 优选地,所述蓝牙配对模块还用于若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 When [0025] Preferably, the Bluetooth pairing If no module is further configured to acquire the device information of the Bluetooth device to be paired, the two-dimensional code is acquired information of the Bluetooth device to be paired by the pairing mode scanning ; and according to the acquired two-dimensional code information to be paired Bluetooth devices, Bluetooth devices to be paired to complete the Bluetooth pairing.

[0026] 优选地,所述蓝牙配对模块包括: [0026] Preferably, the Bluetooth pairing module comprising:

[0027] 扫描单元,用于采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息; [0027] The scanning unit configured to use the camera to scan the two-dimensional code information to be on the Bluetooth device pairing;

[0028] 获取单元,用于通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息; The [0028] acquiring unit, for information on the two-dimensional code through the scanning Bluetooth devices to be paired, the Bluetooth device acquires the connection information to be paired;

[0029] 第一蓝牙配对单元,用于根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 [0029] The first Bluetooth pairing unit for connecting the acquired information according to the Bluetooth device to be paired with the Bluetooth device to be paired Bluetooth pairing is completed.

[0030] 优选地,所述蓝牙配对模块还用于若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 When [0030] Preferably, the Bluetooth pairing If no module is further configured to acquire the device information and the two-dimensional code information of the Bluetooth device to be paired, pairing the search mode and the Bluetooth device to be paired complete Bluetooth pairing.

[0031 ] 优选地,所述蓝牙配对模块还包括: [0031] Preferably, the Bluetooth pairing module further comprises:

[0032] 搜索单元,用于通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息; [0032] The search unit configured to search the pairing mode acquiring apparatus to be paired Bluetooth device and the information to be paired Bluetooth devices;

[0033] 连接申请单元,用于根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息; [0033] The application unit is connected, the Bluetooth device information for devices to be paired based on the acquired application to establish a connection with the Bluetooth device to be paired, and displays the connection request message on the interface;

[0034] 第二蓝牙配对单元,若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备完成蓝牙配对。 [0034] The second Bluetooth pairing unit, if the disconnection command is not received within a preset time threshold, the Bluetooth device to be paired with the Bluetooth pairing is completed.

[0035] 本发明提供的蓝牙配对方法和蓝牙配对设备,通过获取待配对的蓝牙设备的连接信息的信息状态;根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0035] Bluetooth pairing Bluetooth-paired device and method of the present invention provides, by obtaining a Bluetooth device to be paired status information connection information; information acquired according to the state of the connection information, corresponding to the selected mode and the Bluetooth pairing be pairing Bluetooth devices to perform Bluetooth pairing. 本发明根据获取的连接信息的信息状态来选择对应的蓝牙配对模式,从而快速与待配对的蓝牙设备完成蓝牙配对,用户体验好。 The present invention is selected in accordance with the status information corresponding to the connection information acquired Bluetooth pairing mode, thereby quickly complete a Bluetooth pairing with a Bluetooth device to be paired, and good user experience.

附图说明 BRIEF DESCRIPTION

[0036] 图1为本发明蓝牙配对方法第一实施例的流程示意图; Flow diagram showing a first embodiment of the method of pairing a Bluetooth embodiment [0036] Figure 1 of the present invention;

[0037] 图2为本发明蓝牙配对方法第二实施例的流程示意图; [0037] FIG. 2 Bluetooth pairing process flow schematic diagram of a second embodiment of the invention;

[0038] 图3为本发明蓝牙配对方法第三实施例的流程示意图; Flow schematic of a third embodiment example of a Bluetooth pairing method [0038] FIG. 3 of the present invention;

[0039] 图4为图3中所述通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对的步骤的细化流程示意图; [0039] FIG. 4 is a view taken 3 in the pairing mode by scanning the two-dimensional code information of the Bluetooth device to be paired; and the two-dimensional code information to be paired Bluetooth devices according to the obtained, and the said paired Bluetooth devices to be complete Bluetooth pairing step of thinning a schematic flow diagram;

[0040] 图5为本发明蓝牙配对方法第四实施例的流程示意图; A schematic view of a fourth embodiment of the flow Bluetooth pairing method of embodiment [0040] FIG. 5 of the present invention;

[0041] 图6为图5中所述若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对的步骤的细化流程示意图; [0041] FIG. 6 is the 5 Failure when the acquired device information and the two-dimensional code information of the Bluetooth device to be paired, pairing the search pattern to be paired with Bluetooth devices to perform the Bluetooth pairing schematic flow refinement step;

[0042]图7为本发明蓝牙配对设备一实施例的功能模块示意图; [0042] FIG. 7 apparatus a functional block schematic diagram of an embodiment of the present invention, Bluetooth pairing;

[0043]图8为图6中所述蓝牙配对模块第一实施例的功能模块示意图; [0043] FIG. 8 is a functional module of the first embodiment in FIG. 6 a schematic diagram of the Bluetooth pairing module;

[0044]图9为图6中所述蓝牙配对模块第二实施例的功能模块示意图。 [0044] FIG. 9 is a diagram of the functional module Bluetooth pairing module 6 a schematic view of the second embodiment.

[0045] 本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。 The object of the invention is achieved [0045] The present, features and advantages of the embodiments in conjunction with embodiments, with reference to the drawings further described.

具体实施方式 detailed description

[0046] 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 [0046] It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0047] 本发明提供一种蓝牙配对方法,参照图1,图1为本发明蓝牙配对方法第一实施例的流程示意图,在第一实施例中,所述蓝牙配对方法包括以下步骤: [0047] The present invention provides a method for Bluetooth pairing, with reference to FIG. 1, a schematic flowchart of FIG Bluetooth pairing method of the first embodiment of the present invention, in the first embodiment, the Bluetooth pairing method comprising the steps of:

[0048] 步骤S100、获取待配对的蓝牙设备的连接信息的信息状态。 [0048] step S100, the connection information acquiring state information of the Bluetooth device to be paired.

[0049] 蓝牙配对设备获取待配对的蓝牙设备的连接信息的信息状态,所述蓝牙配对设备和待配对的蓝牙设备包括移动终端、USBKey (国内习惯翻译成U盾,或者优盾)和具备蓝牙功能的其他电子设备等。 [0049] Bluetooth pairing a Bluetooth device to be paired device acquires information of connection state information, and the Bluetooth device pairing to be paired Bluetooth devices including a mobile terminal, the USBKey (U Shield translated into domestic habits, or preferably shield) and Bluetooth other features such as electronic equipment. 其中,蓝牙是一种支持设备短距离通信(一般1m内)的无线电技术,能在在移动电话、PDA、无线耳机、笔记本电脑以及相关外设等众多设备之间进行无线信息交换。 Wherein the support apparatus is a Bluetooth short-range communications (usually within 1m) radio technology, the wireless exchange of information between the mobile phone, PDA, wireless headsets, laptop computers and associated peripherals and other equipment. 所述待配对的蓝牙设备的连接信息包括设备信息和二维码信息,例如,设备信息可以为USBKey的内部的证书和序列号信息,二维码信息可以为USBKey自带的屏幕展示连接的二维码信息。 The connection information to be paired Bluetooth devices includes device information and the two-dimensional code information, e.g., device information may be connected to display two internal serial number of the certificate and information, for the two-dimensional code information USBKey screen comes USBKey dimensional code information.

[0050] 步骤S200、根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0050] step S200, the status information according to the acquired link information, selects a corresponding Bluetooth pairing mode of the Bluetooth device to be paired with the Bluetooth pairing is completed.

[0051] 蓝牙配对设备根据获取的待配对的蓝牙设备的连接信息的信息状态,例如,蓝牙配对设备通过USBKey的自身特点,通过获取USBKey的自带信息(例如自带的序列号和证书信息)、或者通过扫描USBKey屏幕上的二维码信息,获取与所述蓝牙设备进行连接的连接信息,从而与待配对的蓝牙设备完成蓝牙配对。 [0051] The Bluetooth-paired device status information to the connection information of the Bluetooth device pairing to be acquired, e.g., via a Bluetooth device pairing USBKey its own characteristics, and by acquiring the information comes USBKey (e.g. carrying a serial number and certificate information) , or by pairing two-dimensional code on the scanning USBKey screen information, acquires the connection information for connection with the Bluetooth device, thereby completing the Bluetooth device to be paired with Bluetooth. 其中,所述蓝牙配对模式包括定向配对模式、扫描配对模式和搜索配对模式,定向配对模式是指通过定向方式直接获取指定的待配对的蓝牙设备自带的设备信息,再通过所述设备信息与待配对的蓝牙设备完成蓝牙配对的方式;扫描配对模式是指通过扫描方式获取待配对的蓝牙设备的屏幕上的二维码中携带的连接信息,从而与所述待配对的蓝牙设备完成蓝牙配对的方式;搜索配对模式是指通过搜索的方式获取待配对的蓝牙设备,再通过选择对应的待配对的蓝牙设备、然后与待配对的蓝牙设备进行蓝牙配对确认,从而与所述待配对的蓝牙设备完成蓝牙配对的方式。 Wherein said directional pattern comprises paired Bluetooth pairing mode, scan mode, and searches the pairing in pairing mode, the directional pattern matching to acquire an own device information of a Bluetooth device to be paired directly designated by a directional manner, through the device information and then It is paired Bluetooth devices to perform a Bluetooth pairing mode; scanning pairing mode is a two-dimensional code acquired connection information on the screen to be paired Bluetooth devices carried by the scanning, thereby completing the Bluetooth pairing with a Bluetooth device to be paired manner; pairing search mode is acquired Bluetooth device to be paired by the search, then, confirmed and then the Bluetooth pairing with a Bluetooth device to be paired by selecting the corresponding Bluetooth device to be paired so as to be paired with the Bluetooth equipment to complete the Bluetooth pairing mode.

[0052] 本实施例提供的蓝牙配对方法,通过获取USBKey自带的连接信息来选择对应的蓝牙配对模式,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0052] The present embodiments provide a method of pairing a Bluetooth embodiment, to select the corresponding Bluetooth pairing mode information acquired USBKey own connection to quickly be paired with Bluetooth devices in the Bluetooth pairing is completed, and the user experience is good.

[0053] 如图2所示,图2为本发明蓝牙配对方法第二实施例的流程示意图,在第一实施例的基础上,所述步骤SlOO之后包括: [0053] As shown in FIG. 2, FIG. 2 is a schematic flow Bluetooth pairing method of the second embodiment of the present invention, in the first embodiment of the embodiment, after the step SlOO comprises:

[0054] 步骤S300、若获取到所述待配对蓝牙设备的所述设备信息时,则根据获取到的所述待配对蓝牙设备的所述设备信息,通过定向配对模式与所述待配对的蓝牙设备完成蓝牙配对。 The device information [0054] step S300, the acquired if the device information of the Bluetooth device to be paired, the Bluetooth device to be paired based on said acquired by the orientation of the Bluetooth pairing mode to be paired with equipment complete Bluetooth pairing.

[0055] 在本实施中,蓝牙配对设备若获取到待配对蓝牙设备的设备信息时,例如USBKey自带的序列号和证书信息,则根据获取到的待配对蓝牙设备的USBKey的自带的序列号和证书信息,通过定向配对模式与待配对的蓝牙设备完成蓝牙配对。 Carrying the sequence [0055] In the present embodiment, the Bluetooth device pairing if the obtained device information to be paired Bluetooth devices, e.g. USBKey own serial number and certificate information, Bluetooth device pairing to be acquired in accordance with the USBKey number and certificate information, pairing mode is accomplished by orienting the Bluetooth device to be paired with the Bluetooth pairing. 即蓝牙配对设备通过定向方式直接获取指定的待配对的蓝牙设备自带的序列号和证书信息,再通过所述待配对的蓝牙设备自带的序列号和证书信息,从而与待配对的蓝牙设备完成蓝牙配对。 I.e., direct access to the specified Bluetooth device pairing Bluetooth device's own certificate information and serial number to be paired by way of orientation, then the device via Bluetooth own serial number and the certificate information to be paired with Bluetooth devices so as to be paired complete Bluetooth pairing.

[0056] 本实施例提供的蓝牙配对方法,通过获取USBKey自带的设备信息,直接选择定向配对模式,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0056] The present embodiments provide a method of pairing a Bluetooth embodiment, by acquiring USBKey own device information, direct selection directional pairing mode, to quickly complete the Bluetooth pairing with a Bluetooth device to be paired, and good user experience.

[0057] 如图3所示,图3为本发明蓝牙配对方法第三实施例的流程示意图,在第一实施例的基础上,所述步骤SlOO之后包括: [0057] As shown in FIG. 3, FIG. 3 is a schematic flow diagram of a Bluetooth pairing method of the third embodiment of the present invention, in the first embodiment of the embodiment, after the step SlOO comprises:

[0058] 步骤S400、若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 When the [0058] step S400, the acquired if not the device information of the Bluetooth device to be paired, the two-dimensional code is acquired information of the Bluetooth device to be paired by the pairing mode scan; and to be acquired according to the Bluetooth device pairing the two-dimensional code information, the device to be paired with the Bluetooth Bluetooth pairing is completed.

[0059] 蓝牙配对设备若未获取到待配对蓝牙设备的设备信息时,例如,未获取到待配对的USBKey自带的序列号和证书信息时,则通过扫描配对模式,获取待配对蓝牙设备的二维码信息;然后根据二维码信息中携带的连接信息,与待配对的蓝牙设备完成蓝牙配对。 [0059] If no Bluetooth pairing device acquires device information of a Bluetooth device to be paired, e.g., when not acquired USBKey own serial number and the certificate information to be paired, pairing mode by scanning the acquired Bluetooth devices to be paired QR code; then, according to the connection information carried in the two-dimensional code information, a Bluetooth device to be paired with Bluetooth pairing is completed.

[0060] 本实施例提供的蓝牙配对方法,若未获取到待配对蓝牙设备的设备信息时,则通过扫描配对模式,获取二维码信息中携带的连接信息,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 Bluetooth devices [0060] Bluetooth pairing method provided in the present embodiment, if no device information to be acquired when paired Bluetooth devices, the pairing mode by scanning, acquires the connection information carried in the two-dimensional code information, so as to be paired with the rapid Bluetooth pairing is completed, and the user experience is good.

[0061] 如图4所示,图4为图3中所述步骤S400的细化流程示意图,在本实施例中,所述步骤S400包括: [0061] FIG, 3 in FIG. 4 is a schematic flow diagram of the refining step S400 of FIG. 4, in the present embodiment, the step S400 comprises:

[0062] 步骤S410、采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息。 [0062] step S410, the two-dimensional code using the information on the camera to scan the Bluetooth device to be paired.

[0063] 蓝牙配对设备采用摄像头扫描待配对的蓝牙设备上的二维码信息,例如,USBKey屏幕上的二维码信息。 [0063] Bluetooth-paired device using the QR code on the Bluetooth device to be paired scan camera, e.g., the QR code on the screen USBKey.

[0064] 步骤S420、通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息。 [0064] step S420, the two-dimensional code information by the Bluetooth devices of the scan to be paired acquires the Bluetooth device to be paired connection information.

[0065] 蓝牙配对设备通过扫描的USBKey屏幕上的二维码信息,从所述USBKey屏幕上的二维码信息中获取对应的连接信息。 [0065] Bluetooth-paired device acquires the connection information corresponding to the information from the two-dimensional code on the screen by USBKey QR code on the scanning USBKey screen.

[0066] 步骤S430、根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 [0066] step S430, the connection information to be acquired according to the paired Bluetooth devices, Bluetooth devices to be paired to complete the Bluetooth pairing.

[0067] 蓝牙配对设备根据所述USBKey屏幕上的二维码信息中的连接信息,与待配对的蓝牙设备完成蓝牙配对。 [0067] The Bluetooth-paired device connection information on the two-dimensional code USBKey screen information, a Bluetooth device to be paired with Bluetooth pairing is completed.

[0068] 本实施例提供的蓝牙配对方法,若未获取到待配对蓝牙设备的设备信息时,则通过扫描配对模式,获取所述USBKey屏幕上的二维码信息中的连接信息,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0068] Bluetooth pairing method provided in the present embodiment, if no device information acquired Bluetooth devices to be paired, the pairing mode by scanning, the connection information acquiring two-dimensional code information on the screen USBKey to quickly and to be paired Bluetooth device Bluetooth pairing is completed, and the user experience is good.

[0069] 如图5所示,图5为本发明蓝牙配对方法第四实施例的流程示意图,在第一实施例的基础上,所述步骤SlOO之后还包括: [0069] As shown in FIG. 5, FIG. 5 is a schematic flow Bluetooth pairing method of a fourth embodiment of the present invention, in the first embodiment of the embodiment, after the step SlOO further comprising:

[0070] 步骤S500、若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 When the [0070] step S500, the acquired if not the device information and the two-dimensional code information of the Bluetooth device to be paired, pairing the search pattern to be paired with Bluetooth devices to perform the Bluetooth pairing.

[0071] 蓝牙配对设备若未获取到待配对蓝牙设备的设备信息和二维码信息时,例如,未获取到待配对的USBKey自带的序列号和证书信息以及USBKey屏幕上的二维码信息中的连接信息时,则通过搜索配对模式,即通过搜索的方式获取待配对的蓝牙设备,并将所有搜索的待配对的蓝牙设备在显示列表中进行显示,再在所述显示列表中选择对应的待配对的蓝牙设备、然后与对应的待配对的蓝牙设备进行蓝牙配对确认,从而与所述待配对的蓝牙设备完成蓝牙配对。 When [0071] If no Bluetooth-paired device acquires device information and the two-dimensional code information to be paired Bluetooth devices, for example, to obtain the two-dimensional code is not to be paired USBKey own serial number and certificate information and screen information USBKey when the connection information is, i.e., by searching the pairing search mode Bluetooth devices to be paired, and all to be paired Bluetooth devices is displayed in the display list, and then select the corresponding list in the display It is paired Bluetooth devices and Bluetooth pairing with a Bluetooth device corresponding to the confirmation to be paired, thereby completing the Bluetooth pairing with a Bluetooth device to be paired.

[0072] 本实施例提供的蓝牙配对方法,若未获取到待配对蓝牙设备的设备信息和二维码信息时,则通过搜索配对模式,选择显示列表中对应的待配对的蓝牙设备,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 Bluetooth pairing method provided by the [0072] present embodiment, if no device information acquired two-dimensional code information and Bluetooth devices to be paired, pairing the search mode, select the display list to be paired Bluetooth device corresponding to quickly Bluetooth device to be paired with Bluetooth pairing is completed, and the user experience is good.

[0073] 如图6所示,图6为图5中所述步骤S500的细化流程示意图,在本实施例中,所述步骤S500包括: [0073] As shown, FIG. 5, FIG. 66 is a schematic flow diagram of step S500 refinement, in the present embodiment, the step S500 comprises:

[0074] 步骤S510、通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息。 [0074] step S510, the pairing search mode acquiring the device to be paired Bluetooth device and the information to be paired Bluetooth devices.

[0075] 蓝牙配对设备通过搜索配对模式,在显示界面同步显示已经找到的待配对蓝牙设备的个数以及剩余的扫描时间,根据蓝牙协议的不同,蓝牙配对设备预设的扫描时间也不同,例如,将BLE扫描时间设置在5S内,将2.1协议扫描时间设置在60S内。 [0075] Bluetooth-paired device pairing search mode, and the remaining number of simultaneous display scan time to be paired Bluetooth devices that have been found on the display screen, depending on the Bluetooth protocol, Bluetooth device pairing a predetermined scanning time is different, e.g. the scan time within BLE 5S, 2.1 protocol scan time within 60S. 如果是2.1协议,需要在显示界面同步显示已经扫描到的所述待配对蓝牙设备,并增加用户停止扫描按钮。 If it is 2.1 protocol, the synchronous display have been scanned into the Bluetooth device to be paired, and the user stops increasing the scan button on the display screen.

[0076] 步骤S520、根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息。 [0076] step S520, the acquired according to the Bluetooth device to be paired device information, to establish a connection with the application to be paired Bluetooth devices, and displaying the message on a display connected to the application interface.

[0077] 蓝牙配对设备根据获取的所述待配对蓝牙设备的设备信息(例如序列号信息),与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息。 Device information (e.g., serial number) [0077] Bluetooth-paired device to be paired Bluetooth devices according to the acquired message to be paired with the Bluetooth device establishes a connection request, the connection and display on the display interface of the application.

[0078] 步骤S530、根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接。 [0078] step S530, the connection information to be acquired according to the paired Bluetooth devices, Bluetooth pairing If the instruction does not receive the disconnection threshold value within a preset time of the Bluetooth device pairing to be completed, the Bluetooth connection to be established with the Bluetooth device pairing.

[0079] 蓝牙配对设备根据所述待配对蓝牙设备的设备信息(例如序列号信息),与所述待配对的蓝牙设备完成蓝牙配对若在预设时间阈值内(例如5S)未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接。 [0079] Bluetooth-paired device according to the device information (e.g., serial number information) to the Bluetooth device to be paired with the Bluetooth device pairing to be completed if the Bluetooth pairing (e.g. 5S) does not receive within the preset OFF time threshold when the connection instruction, the Bluetooth connection to be established with the Bluetooth device pairing. 在本实施例中,在预设时间阈值内,用户可以拒绝蓝牙连接,若在预设时间阈值到时用户不拒绝蓝牙连接,则所述蓝牙配对设备默认为接受蓝牙连接。 In the present embodiment, within a preset time threshold, the user can refuse the Bluetooth connection, if the threshold value to a preset time when the user does not reject a Bluetooth connection, the Bluetooth-paired device to accept the default Bluetooth connection.

[0080] 本实施例提供的蓝牙配对方法,若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接,从而快速与待配对的蓝牙设备完成蓝牙配对,并给予了蓝牙设备拒绝蓝牙连接的自主权,增强了蓝牙配对设备连接的安全性。 [0080] Bluetooth pairing method provided in the present embodiment, if the disconnection command is not received within a preset time threshold, the Bluetooth device to be paired with the Bluetooth connection, to quickly complete the device to be paired with Bluetooth Bluetooth pairing, and gave a Bluetooth device rejects autonomy Bluetooth connectivity, and enhance the safety of the paired Bluetooth device connectivity.

[0081] 如图7所示,图7为本发明蓝牙配对设备一实施例的功能模块示意图,在一实施例中,所述蓝牙配对设备包括: [0081] As shown in FIG. 7, FIG. 7 is a schematic diagram of an embodiment of the functional module paired Bluetooth devices invention, in one embodiment, the Bluetooth-paired device comprising:

[0082] 获取模块10,用于获取待配对的蓝牙设备的连接信息的信息状态; [0082] The obtaining module 10, configured to obtain the Bluetooth device status information to be paired connection information;

[0083] 蓝牙配对模块20,用于根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0083] Bluetooth pairing module 20, connection information based on the state information acquired, selecting a corresponding Bluetooth pairing mode complete the Bluetooth pairing with a Bluetooth device to be paired.

[0084] 蓝牙配对设备的获取模块10获取待配对的蓝牙设备的连接信息的信息状态,所述蓝牙配对设备和待配对的蓝牙设备包括移动终端、USBKey (国内习惯翻译成U盾,或者优盾)和具备蓝牙功能的其他电子设备等。 [0084] Bluetooth devices to be paired to obtain information about the status of the Bluetooth-paired device connection information acquisition module 10, and the Bluetooth device pairing to be paired Bluetooth devices including a mobile terminal, the USBKey (U Shield translated into domestic habits, or preferably Shield ) and other electronic devices such as Bluetooth-enabled. 其中,蓝牙是一种支持设备短距离通信(一般1m内)的无线电技术,能在在移动电话、PDA、无线耳机、笔记本电脑以及相关外设等众多设备之间进行无线信息交换。 Wherein the support apparatus is a Bluetooth short-range communications (usually within 1m) radio technology, the wireless exchange of information between the mobile phone, PDA, wireless headsets, laptop computers and associated peripherals and other equipment. 所述待配对的蓝牙设备的连接信息包括设备信息和二维码信息,例如,设备信息可以为USBKey的内部的证书和序列号信息,二维码信息可以为USBKey自带的屏幕展示连接的二维码信息。 The connection information to be paired Bluetooth devices includes device information and the two-dimensional code information, e.g., device information may be connected to display two internal serial number of the certificate and information, for the two-dimensional code information USBKey screen comes USBKey dimensional code information.

[0085] 蓝牙配对设备的蓝牙配对模块20根据获取的待配对的蓝牙设备的连接信息的信息状态,例如,蓝牙配对设备通过USBKey的自身特点,通过获取USBKey的自带信息(例如自带的序列号和证书信息)、或者通过扫描USBKey屏幕上的二维码信息,获取与所述蓝牙设备进行连接的连接信息,从而与待配对的蓝牙设备完成蓝牙配对。 [0085] 20 state of connection information according to the information to be paired Bluetooth devices acquired, e.g., via a Bluetooth device pairing USBKey its own characteristics, and by acquiring the information comes USBKey (e.g. sequences carrying Bluetooth-paired Bluetooth device pairing module number and certificate information), or information on the two-dimensional code scanning USBKey screen, acquires connection information for connection with the Bluetooth device, thereby completing the Bluetooth pairing with a Bluetooth device to be paired. 其中,所述蓝牙配对模式包括定向配对模式、扫描配对模式和搜索配对模式,定向配对模式是指通过定向方式直接获取指定的待配对的蓝牙设备自带的设备信息,再通过所述设备信息与待配对的蓝牙设备完成蓝牙配对的方式;扫描配对模式是指通过扫描方式获取待配对的蓝牙设备的屏幕上的二维码中携带的连接信息,从而与所述待配对的蓝牙设备完成蓝牙配对的方式;搜索配对模式是指通过搜索的方式获取待配对的蓝牙设备,再通过选择对应的待配对的蓝牙设备、然后与待配对的蓝牙设备进行蓝牙配对确认,从而与所述待配对的蓝牙设备完成蓝牙配对的方式。 Wherein said directional pattern comprises paired Bluetooth pairing mode, scan mode, and searches the pairing in pairing mode, the directional pattern matching to acquire an own device information of a Bluetooth device to be paired directly designated by a directional manner, through the device information and then It is paired Bluetooth devices to perform a Bluetooth pairing mode; scanning pairing mode is a two-dimensional code acquired connection information on the screen to be paired Bluetooth devices carried by the scanning, thereby completing the Bluetooth pairing with a Bluetooth device to be paired manner; pairing search mode is acquired Bluetooth device to be paired by the search, then, confirmed and then the Bluetooth pairing with a Bluetooth device to be paired by selecting the corresponding Bluetooth device to be paired so as to be paired with the Bluetooth equipment to complete the Bluetooth pairing mode.

[0086] 本实施例提供的蓝牙配对设备,通过获取USBKey自带的连接信息来选择对应的蓝牙配对模式,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0086] The present Bluetooth-paired device according to an embodiment, to select the corresponding Bluetooth pairing mode information acquired USBKey own connection to quickly be paired with Bluetooth devices in the Bluetooth pairing is completed, and the user experience is good.

[0087] 进一步如图7所示,在本实施例中,所述蓝牙配对模块20还用于若获取到所述待配对蓝牙设备的所述设备信息时,则根据获取到的所述待配对蓝牙设备的所述设备信息,通过定向配对模式与所述待配对的蓝牙设备完成蓝牙配对。 [0087] Further shown in Figure 7, in the present embodiment, the Bluetooth pairing module 20 if further configured to acquire the device information of the Bluetooth device to be paired, pairing is to be acquired in accordance with the Bluetooth device information of the device, pairing mode is accomplished by orienting the device to be paired with Bluetooth Bluetooth pairing.

[0088] 在本实施中,蓝牙配对设备的蓝牙配对模块20若获取到待配对蓝牙设备的设备信息时,例如USBKey自带的序列号和证书信息,则根据获取到的待配对蓝牙设备的USBKey的自带的序列号和证书信息,通过定向配对模式与待配对的蓝牙设备完成蓝牙配对。 [0088] In the present embodiment, the Bluetooth-paired Bluetooth device pairing module 20 if the obtained device information to be paired Bluetooth devices, e.g. USBKey own serial number and certificate information, Bluetooth device pairing to be acquired in accordance with USBKey comes with the serial number and certificate information, pairing mode is accomplished by orienting the Bluetooth device to be paired with the Bluetooth pairing. 即蓝牙配对设备通过定向方式直接获取指定的待配对的蓝牙设备自带的序列号和证书信息,再通过所述待配对的蓝牙设备自带的序列号和证书信息,从而与待配对的蓝牙设备完成蓝牙配对。 I.e., direct access to the specified Bluetooth device pairing Bluetooth device's own certificate information and serial number to be paired by way of orientation, then the device via Bluetooth own serial number and the certificate information to be paired with Bluetooth devices so as to be paired complete Bluetooth pairing.

[0089] 本实施例提供的蓝牙配对设备,通过获取USBKey自带的设备信息,直接选择定向配对模式,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0089] The present Bluetooth-paired device according to an embodiment, by acquiring USBKey own device information, direct selection directional pairing mode, thus quickly be paired with Bluetooth devices in the Bluetooth pairing is completed, and the user experience is good.

[0090] 进一步如图7所示,在本实施例中,所述蓝牙配对模块20还用于若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 [0090] Further shown in Figure 7, in the present embodiment, the Bluetooth pairing module 20 if not also used for acquiring the device information to the Bluetooth device to be paired, pairing mode is acquired by scanning the the two-dimensional code information to be paired Bluetooth devices; Bluetooth devices to be paired, and the two-dimensional code information, the Bluetooth device pairing to be completed according to the acquired Bluetooth pairing.

[0091] 蓝牙配对设备的蓝牙配对模块20若未获取到待配对蓝牙设备的设备信息时,例如,未获取到待配对的USBKey自带的序列号和证书信息时,则通过扫描配对模式,获取待配对蓝牙设备的二维码信息;然后根据二维码信息中携带的连接信息,与待配对的蓝牙设备完成蓝牙配对。 [0091] Bluetooth-paired Bluetooth device pairing module 20 if no device information is acquired to be paired Bluetooth devices, for example, when not acquired USBKey own serial number and certificate information to be paired, the pairing mode by scanning, acquires QR code to be paired Bluetooth device; then, according to the connection information carried in the two-dimensional code information, a Bluetooth device to be paired with Bluetooth pairing is completed.

[0092] 本实施例提供的蓝牙配对设备,若未获取到待配对蓝牙设备的设备信息时,则通过扫描配对模式,获取二维码信息中携带的连接信息,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0092] The present Bluetooth device pairing according to an embodiment, if no device information acquired Bluetooth devices to be paired, pairing through scanning mode, acquires the connection information carried in the two-dimensional code information, to quickly paired with Bluetooth devices to be Bluetooth pairing is completed, and the user experience is good.

[0093] 如图8所述,图8为图7中所述蓝牙配对模块的功能模块示意图,在本实施例中,所述蓝牙配对模块20包括: [0093] FIG. 8, FIG. 7, FIG. 8 of the Bluetooth pairing module schematic diagram of function modules, in the present embodiment, the Bluetooth pairing module 20 comprises:

[0094] 扫描单元21,用于采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息; [0094] The scanning unit 21, for employing the two-dimensional code information on the camera to scan the Bluetooth device to be paired;

[0095] 获取单元22,用于通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息; [0095] The acquisition unit 22, for information on the two-dimensional code through the scanning Bluetooth devices to be paired, acquires the Bluetooth device to be paired connection information;

[0096] 蓝牙配对单元23,用于根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 [0096] Bluetooth pairing unit 23, for connecting the acquired information according to the Bluetooth device to be paired with the Bluetooth device to be paired Bluetooth pairing is completed.

[0097] 蓝牙配对设备的扫描单元21采用摄像头扫描待配对的蓝牙设备上的二维码信息,例如,USBKey屏幕上的二维码信息。 [0097] The scanning unit 21 of a Bluetooth device pairing two-dimensional code information on the Bluetooth device to be paired scan camera, e.g., the QR code on the screen USBKey.

[0098] 蓝牙配对设备的获取单元22通过扫描的USBKey屏幕上的二维码信息,从所述USBKey屏幕上的二维码信息中获取对应的连接信息。 [0098] Bluetooth-paired device acquisition unit 22 acquires the connection information from the two-dimensional code corresponding to the information on the screen by USBKey QR code on the scanning USBKey screen.

[0099] 蓝牙配对设备的蓝牙配对单元23根据所述USBKey屏幕上的二维码信息中的连接信息,与待配对的蓝牙设备完成蓝牙配对。 [0099] Bluetooth pairing a Bluetooth device pairing unit 23 according to the connection information on the two-dimensional code information USBKey screen, to be paired with Bluetooth devices to perform Bluetooth pairing.

[0100] 本实施例提供的蓝牙配对设备,若未获取到待配对蓝牙设备的设备信息时,则通过扫描配对模式,获取所述USBKey屏幕上的二维码信息中的连接信息,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0100] When Bluetooth-paired device provided in the present embodiment, if no device information acquired Bluetooth devices to be paired, the pairing mode by scanning, the connection information acquiring two-dimensional code information on the screen USBKey to quickly and to be paired Bluetooth device Bluetooth pairing is completed, and the user experience is good.

[0101] 进一步如图7所示,在本实施例中,所述蓝牙配对模块20还用于若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 When [0101] 7 Further, in the present embodiment, the Bluetooth pairing module 20 if no further configured to acquire the device information and the two-dimensional code information of the Bluetooth device to be paired, the by searching the pairing mode to be paired with Bluetooth devices to perform Bluetooth pairing.

[0102] 蓝牙配对设备的蓝牙配对模块20若未获取到待配对蓝牙设备的设备信息和二维码信息时,例如,未获取到待配对的USBKey自带的序列号和证书信息以及USBKey屏幕上的二维码信息中的连接信息时,则通过搜索配对模式,即通过搜索的方式获取待配对的蓝牙设备,并将所有搜索的待配对的蓝牙设备在显示列表中进行显示,再在所述显示列表中选择对应的待配对的蓝牙设备、然后与对应的待配对的蓝牙设备进行蓝牙配对确认,从而与所述待配对的蓝牙设备完成蓝牙配对。 [0102] Bluetooth-paired Bluetooth device pairing module 20 if no device to be paired when the acquired QR code information and the Bluetooth device, for example, not be acquired paired USBKey own serial number and certificate information and screen USBKey when the connection information in the two-dimensional code, the pairing search mode, i.e., a Bluetooth device to be paired acquired by search, and all to be paired Bluetooth devices is displayed in the display list, and then the list, select the corresponding Bluetooth device to be paired, and then confirm the Bluetooth pairing with a Bluetooth device corresponding to be paired so as to be paired with Bluetooth devices in the Bluetooth pairing completion display.

[0103] 本实施例提供的蓝牙配对设备,若未获取到待配对蓝牙设备的设备信息和二维码信息时,则通过搜索配对模式,选择显示列表中对应的待配对的蓝牙设备,从而快速与待配对的蓝牙设备完成蓝牙配对,且用户体验好。 [0103] When Bluetooth-paired device provided in the present embodiment, if no device information acquired two-dimensional code information and Bluetooth devices to be paired, pairing the search mode, select the display list to be paired Bluetooth device corresponding to quickly Bluetooth device to be paired with Bluetooth pairing is completed, and the user experience is good.

[0104] 如图9所述,图9为图7中所述蓝牙配对模块的功能模块示意图,在本实施例中,所述蓝牙配对模块20还包括: [0104] FIG 9, FIG. 7 to FIG. 9 is a module of the Bluetooth pairing schematic functional modules, in the present embodiment, the Bluetooth pairing module 20 further comprises:

[0105] 搜索单元24,用于通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息; [0105] search unit 24, by searching for the pattern to be paired, pairing a Bluetooth device and the Bluetooth device to be paired device information;

[0106] 连接申请单元25,用于根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息; [0106] The application unit 25 is connected, device information to be paired Bluetooth devices based on the acquired application to establish a connection with the Bluetooth device to be paired, and displays the connection request message on the interface;

[0107] 第二蓝牙配对单元26,若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备完成蓝牙配对。 [0107] The second Bluetooth pairing unit 26, if the disconnection command is not received within a preset time threshold, the Bluetooth device to be paired with the Bluetooth pairing is completed.

[0108] 蓝牙配对设备的搜索单元24通过搜索配对模式,在显示界面同步显示已经找到的待配对蓝牙设备的个数以及剩余的扫描时间,根据蓝牙协议的不同,蓝牙配对设备预设的扫描时间也不同,例如,将BLE扫描时间设置在5S内,将2.1协议扫描时间设置在60S内。 [0108] Bluetooth-paired device search unit 24 searches through the pairing mode, and the remaining number of simultaneous display scan time to be paired Bluetooth devices that have been found on the display screen, depending on the Bluetooth protocol, Bluetooth device pairing a predetermined scanning time are different, e.g., the scan time within BLE 5S, 2.1 protocol scan time within 60S. 如果是2.1协议,需要在显示界面同步显示已经扫描到的所述待配对蓝牙设备,并增加用户停止扫描按钮。 If it is 2.1 protocol, the synchronous display have been scanned into the Bluetooth device to be paired, and the user stops increasing the scan button on the display screen.

[0109] 蓝牙配对设备的连接申请单元25根据获取的所述待配对蓝牙设备的设备信息(例如序列号信息),与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提不ί目息。 [0109] The application unit connected to a Bluetooth device pairing to be 25 according to the obtained device information (e.g., serial number) paired Bluetooth device establishes a connection request to be paired with the Bluetooth device, and displayed on the display interface connector not to mention the application ί mesh information.

[0110] 蓝牙配对设备的第二蓝牙配对单元26根据所述待配对蓝牙设备的设备信息(例如序列号信息),与所述待配对的蓝牙设备完成蓝牙配对若在预设时间阈值内(例如5S)未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接。 [0110] The second Bluetooth device pairing unit 26 paired Bluetooth device information (e.g., serial number information) to the Bluetooth device to be paired, to complete the device to be paired with Bluetooth Bluetooth pairing If within a preset time threshold (e.g. 5S) disconnect instruction is not received, the Bluetooth device to be paired with the Bluetooth connection. 在本实施例中,在预设时间阈值内,用户可以拒绝蓝牙连接,若在预设时间阈值到时用户不拒绝蓝牙连接,则所述蓝牙配对设备默认为接受蓝牙连接。 In the present embodiment, within a preset time threshold, the user can refuse the Bluetooth connection, if the threshold value to a preset time when the user does not reject a Bluetooth connection, the Bluetooth-paired device to accept the default Bluetooth connection.

[0111] 本实施例提供的蓝牙配对设备,若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接,从而快速与待配对的蓝牙设备完成蓝牙配对,并给予了蓝牙设备拒绝蓝牙连接的自主权,增强了蓝牙配对设备连接的安全性。 [0111] Bluetooth-paired device provided in the present embodiment, if the disconnection command is not received within a preset time threshold, then establishing a Bluetooth connection with the Bluetooth device to be paired, to quickly complete the device to be paired with Bluetooth Bluetooth pairing, and gave a Bluetooth device rejects autonomy Bluetooth connectivity, and enhance the safety of the paired Bluetooth device connectivity.

[0112] 以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 [0112] The above description is only preferred embodiments of the present invention, not intended to limit the scope of the present invention, all utilize the present specification and drawings taken equivalent structures or equivalent process, or applied directly or indirectly to other related technical fields shall fall within the scope of protection of the present invention.

Claims (12)

  1. 1.一种蓝牙配对方法,其特征在于,所述蓝牙配对方法包括以下步骤: 获取待配对的蓝牙设备的连接信息的信息状态; 根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 CLAIMS 1. A method for Bluetooth pairing, wherein the Bluetooth pairing method comprising: acquiring information about connection status information to be paired Bluetooth devices; connection status information according to the acquired information, selects a corresponding Bluetooth pairing the pattern to be paired with Bluetooth devices to perform Bluetooth pairing.
  2. 2.如权利要求1所述的蓝牙配对方法,所述连接信息包括设备信息、所述对应的蓝牙配对模式包括定向配对模式,其特征在于,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: 若获取到所述待配对蓝牙设备的所述设备信息时,则根据获取到的所述待配对蓝牙设备的所述设备信息,通过定向配对模式与所述待配对的蓝牙设备完成蓝牙配对。 2. The Bluetooth pairing method according to claim 1, said connection information includes device information, corresponding to the Bluetooth pairing mode includes a directional pairing mode, wherein the connection information based on the state information acquired, select the corresponding Bluetooth pairing mode is accomplished with a Bluetooth device to be paired to the Bluetooth pairing comprises: if the acquired information to the device to be paired Bluetooth device, the Bluetooth device to be paired according to the acquired the said device information, Bluetooth pairing is completed by orienting the pairing mode to be paired with Bluetooth devices.
  3. 3.如权利要求1所述的蓝牙配对方法,所述连接信息包括设备信息和二维码信息、所述对应的蓝牙配对模式包括扫描配对模式,其特征在于,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: 若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 3. The Bluetooth pairing method according to claim 1, the connection information and apparatus information comprises a two-dimensional code information, corresponding to the Bluetooth pairing mode comprises scanning the pairing mode, wherein said connection according to the acquired step information state information, selects a corresponding Bluetooth pairing mode is accomplished with a Bluetooth apparatus to be paired Bluetooth pairing comprises: if not acquired the device information of the Bluetooth device to be paired, then acquires the pairing mode by scanning the said two-dimensional code information to be paired Bluetooth devices; and the two-dimensional code information to be paired Bluetooth devices based on the acquired apparatus to be paired with Bluetooth Bluetooth pairing is completed.
  4. 4.如权利要求3所述的蓝牙配对方法,其特征在于,所述通过扫描配对模式获取待配对蓝牙设备的二维码信息;并根据获取的待配对蓝牙设备的二维码信息,与待配对的蓝牙设备完成蓝牙配对的步骤包括: 采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息; 通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息; 根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 4. Bluetooth pairing method according to claim 3, wherein obtaining two-dimensional code information to be paired Bluetooth devices by scanning the pairing mode; two-dimensional code information and Bluetooth device pairing to be acquired, to be Bluetooth devices to perform the step of pairing a Bluetooth pairing comprising: using the camera to scan the two-dimensional code information to be on the Bluetooth device pairing; QR code on the Bluetooth device pairing to be scanned by said acquiring the device to be paired Bluetooth connection information; connection information to be acquired based on said paired Bluetooth devices, Bluetooth devices to be paired to complete the Bluetooth pairing.
  5. 5.如权利要求3所述的蓝牙配对方法,所述对应的蓝牙配对模式还包括搜索配对模式,其特征在于,所述根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对的步骤包括: 若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 5. The Bluetooth pairing method according to claim 3, corresponding to the Bluetooth pairing mode further comprises searching a pairing mode, wherein the connection status information according to the acquired information, selects a corresponding Bluetooth pairing mode and the step to be paired Bluetooth devices to perform Bluetooth pairing comprises: if not the acquired device information and the two-dimensional code information of the Bluetooth device to be paired, then the pairing mode by searching for a Bluetooth device to be paired complete Bluetooth pairing.
  6. 6.如权利要求5所述的蓝牙配对方法,所述若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对的步骤包括: 通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息; 根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息; 若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备建立蓝牙连接。 6. The Bluetooth pairing method according to claim 5, if not the acquired device information and the information of the two-dimensional code to be paired Bluetooth device, by searching the pairing mode to be paired with the Bluetooth Bluetooth pairing device to complete step comprises: acquiring by searching the pairing mode and the device to be paired Bluetooth device to be paired Bluetooth device information; device to be paired Bluetooth device information according to the acquired Bluetooth device to be paired with the request to establish a connection, and the connection request message appears on a display screen; disconnected if an instruction is not received within a preset time threshold, then establishing a Bluetooth connection with the Bluetooth device to be paired.
  7. 7.—种蓝牙配对设备,其特征在于,所述蓝牙配对设备包括: 获取模块,用于获取待配对的蓝牙设备的连接信息的信息状态; 蓝牙配对模块,用于根据获取的所述连接信息的信息状态,选择对应的蓝牙配对模式与所述待配对的蓝牙设备完成蓝牙配对。 7.- Bluetooth-paired device types, wherein the Bluetooth-paired device comprising: an obtaining module, configured to obtain information about the status of the connection information of the Bluetooth device to be paired; Bluetooth pairing module for connection according to the acquired information status information, select a corresponding Bluetooth pairing mode of the Bluetooth device to be paired with the Bluetooth pairing is completed.
  8. 8.如权利要求7所述的蓝牙配对设备,其特征在于,所述蓝牙配对模块还用于若获取到所述待配对蓝牙设备的所述设备信息时,则根据获取到的所述待配对蓝牙设备的所述设备信息,通过定向配对模式与所述待配对的蓝牙设备完成蓝牙配对。 8. The Bluetooth pairing apparatus according to claim 7, wherein the Bluetooth module is further configured pairing if the acquired device information of the Bluetooth device to be paired, pairing is to be acquired in accordance with the Bluetooth device information of the device, pairing mode is accomplished by orienting the device to be paired with Bluetooth Bluetooth pairing.
  9. 9.如权利要求8所述的蓝牙配对设备,其特征在于,所述蓝牙配对模块还用于若未获取到所述待配对蓝牙设备的所述设备信息时,则通过扫描配对模式获取所述待配对蓝牙设备的所述二维码信息;并根据获取的所述待配对蓝牙设备的所述二维码信息,与所述待配对的蓝牙设备完成蓝牙配对。 9. The Bluetooth pairing apparatus according to claim 8, wherein said module is further used for Bluetooth pairing if not acquired the device information of the Bluetooth device to be paired, pairing mode is acquired by scanning the the two-dimensional code information to be paired Bluetooth devices; Bluetooth devices to be paired, and the two-dimensional code information, the Bluetooth device pairing to be completed according to the acquired Bluetooth pairing.
  10. 10.如权利要求9所述的蓝牙配对设备,其特征在于,所述蓝牙配对模块包括: 扫描单元,用于采用摄像头扫描所述待配对的蓝牙设备上的所述二维码信息; 获取单元,用于通过扫描的所述待配对的蓝牙设备上的所述二维码信息,获取所述待配对的蓝牙设备的所述连接信息; 第一蓝牙配对单元,用于根据获取的所述待配对的蓝牙设备的所述连接信息,与所述待配对的蓝牙设备完成蓝牙配对。 10. The Bluetooth pairing apparatus according to claim 9, wherein the Bluetooth pairing module comprising: a scanning unit, the two-dimensional code information on the camera to scan the Bluetooth device to be paired for use; acquiring unit the information for the two-dimensional code on the scanning Bluetooth devices to be paired, the Bluetooth device acquires the connection information to be paired; first Bluetooth pairing unit configured to be acquired in accordance with the the paired Bluetooth device connection information, the device to be paired with the Bluetooth Bluetooth pairing is completed.
  11. 11.如权利要求9所述的蓝牙配对设备,其特征在于,所述蓝牙配对模块还用于若未获取到所述待配对蓝牙设备的所述设备信息和所述二维码信息时,则通过搜索配对模式与所述待配对蓝牙设备完成蓝牙配对。 11. The Bluetooth-paired device according to claim 9, wherein said paired Bluetooth module is further configured to acquire the device information if not the two-dimensional code information and the Bluetooth device to be paired, the by searching the pairing mode to be paired with Bluetooth devices to perform Bluetooth pairing.
  12. 12.如权利要求11所述的蓝牙配对设备,其特征在于,所述蓝牙配对模块还包括: 搜索单元,用于通过搜索配对模式获取所述待配对蓝牙设备以及所述待配对蓝牙设备的设备信息; 连接申请单元,用于根据获取的所述待配对蓝牙设备的设备信息,与所述待配对蓝牙设备建立连接申请,并在显示界面上显示所述连接申请的提示信息; 第二蓝牙配对单元,若在预设时间阈值内未收到断开连接的指令时,则与所述待配对蓝牙设备完成蓝牙配对。 12. The Bluetooth pairing apparatus according to claim 11, wherein the Bluetooth pairing module further comprising: a searching unit, configured to obtain the Bluetooth device to be paired by the pairing mode, and the searching apparatus to be paired Bluetooth devices information; application connection unit for device information of a Bluetooth device to be paired based on the acquired Bluetooth device to be paired with the request to establish a connection, and the connection request message appears on the display screen; second Bluetooth pairing means disconnected if the instruction is not received within a preset time threshold, the Bluetooth device to be paired with the Bluetooth pairing is completed.
CN 201510212208 2015-04-29 2015-04-29 Bluetooth pairing method and equipment CN104797005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510212208 CN104797005A (en) 2015-04-29 2015-04-29 Bluetooth pairing method and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201510212208 CN104797005A (en) 2015-04-29 2015-04-29 Bluetooth pairing method and equipment
PCT/CN2015/097039 WO2016173259A1 (en) 2015-04-29 2015-12-10 Bluetooth pairing method and bluetooth pairing device

Publications (1)

Publication Number Publication Date
CN104797005A true true CN104797005A (en) 2015-07-22

Family

ID=53561406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510212208 CN104797005A (en) 2015-04-29 2015-04-29 Bluetooth pairing method and equipment

Country Status (2)

Country Link
CN (1) CN104797005A (en)
WO (1) WO2016173259A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188023A (en) * 2015-10-15 2015-12-23 飞天诚信科技股份有限公司 Bluetooth communication method and communication device
WO2016173259A1 (en) * 2015-04-29 2016-11-03 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and bluetooth pairing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595643A (en) * 2010-11-19 2012-07-18 罗技欧洲股份有限公司 System and method used for connection and pairing of wireless devices
US20140088922A1 (en) * 2010-09-30 2014-03-27 Fitbit, Inc. Methods, Systems and Devices for Linking User Devices to Activity Tracking Devices
CN103701503A (en) * 2013-12-25 2014-04-02 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and system, and Bluetooth KEY
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection
CN104184502A (en) * 2014-08-28 2014-12-03 许磊 Bluetooth pairing device and method
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173125A1 (en) * 2012-12-18 2014-06-19 Salesforce.Com, Inc. Systems and methods for transferring a session between devices in an on-demand computing environment
CN104113362A (en) * 2013-04-17 2014-10-22 深圳中兴网信科技有限公司 Bluetooth pairing method and device
CN104797005A (en) * 2015-04-29 2015-07-22 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140088922A1 (en) * 2010-09-30 2014-03-27 Fitbit, Inc. Methods, Systems and Devices for Linking User Devices to Activity Tracking Devices
CN102595643A (en) * 2010-11-19 2012-07-18 罗技欧洲股份有限公司 System and method used for connection and pairing of wireless devices
CN103701503A (en) * 2013-12-25 2014-04-02 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and system, and Bluetooth KEY
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection
CN104184502A (en) * 2014-08-28 2014-12-03 许磊 Bluetooth pairing device and method
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173259A1 (en) * 2015-04-29 2016-11-03 深圳市文鼎创数据科技有限公司 Bluetooth pairing method and bluetooth pairing device
CN105188023A (en) * 2015-10-15 2015-12-23 飞天诚信科技股份有限公司 Bluetooth communication method and communication device

Also Published As

Publication number Publication date Type
WO2016173259A1 (en) 2016-11-03 application

Similar Documents

Publication Publication Date Title
US20140013100A1 (en) Establish bidirectional wireless communication between electronic devices using visual codes
EP2355563A1 (en) Method for automatic pairing to a wireless network
CN103096506A (en) Terminal devices, wireless fidelity (WIFI) connection method and system
US20130137373A1 (en) Apparatus and method for connecting to device in wireless terminal
US20130219285A1 (en) Mirrored interface navigation of multiple user interfaces
US20100330910A1 (en) Method for transmitting and receiving data using e-field in portable terminal and apparatus thereof
US20120223132A1 (en) Apparatus and method for establishing a network connection in a portable terminal
US8483744B2 (en) Communication apparatus, communication system, notification method, and program product
CN101621314A (en) Bluetooth mobile phone and pairing and binding method thereof
CN1705245A (en) Authentication and connection method between mobile phones having bluetooth module
JP2005135346A (en) Information processing method, information processor and information processing system
US20060229016A1 (en) Apparatus and method for displaying information in Bluetooth communication mode of wireless terminal
CN104080194A (en) Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
JP2005323091A (en) Mobile electronic equipment and wireless connection control method thereof
CN103327644A (en) Method and equipment for wireless connection
US20130242805A1 (en) Method and apparatus for managing a group profile in a wi-fi direct communication system
US20130130726A1 (en) Method for sharing terminal location and terminal device
EP2610708A1 (en) Communication apparatus
US20150149679A1 (en) Method, apparatus, and computer program product for managing concurrent connections between wireless dockee devices in a wireless docking environment
US20130065538A1 (en) Apparatus and method for connecting to device in wireless terminal
JP2012173542A (en) Display system, display method, terminal device, and computer program
US20140220897A1 (en) Pairing method between bluetooth devices and bluetooth system using the same
CN1848871A (en) Apparatus and method for displaying information in bluetooth communication mode of wireless terminal
CN101667060A (en) Input equipment and input method
US20140073246A1 (en) Portable communication apparatus and method for establishing wireless connection thereof

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination