[go: up one dir, main page]

CN106303641A - Bluetooth pairing methods and bluetooth equipment - Google Patents

Bluetooth pairing methods and bluetooth equipment Download PDF

Info

Publication number
CN106303641A
CN106303641A CN201610685973.2A CN201610685973A CN106303641A CN 106303641 A CN106303641 A CN 106303641A CN 201610685973 A CN201610685973 A CN 201610685973A CN 106303641 A CN106303641 A CN 106303641A
Authority
CN
China
Prior art keywords
bluetooth
bluetooth device
pairing
broadcast information
infrared code
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201610685973.2A
Other languages
Chinese (zh)
Inventor
曾庆忠
潘志兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201610685973.2A priority Critical patent/CN106303641A/en
Priority to PCT/CN2016/112267 priority patent/WO2018032681A1/en
Publication of CN106303641A publication Critical patent/CN106303641A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种蓝牙配对方法,所述蓝牙配对方法包括以下步骤:第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息;所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。本发明还公开了一种蓝牙设备。本发明的技术方案可以有效避免蓝牙设备之间形成误配对。

The invention discloses a bluetooth pairing method. The bluetooth pairing method includes the following steps: a second bluetooth device receives infrared code information sent by a first bluetooth device after receiving a trigger instruction; After the infrared code information, detect the Bluetooth broadcast information sent by the first Bluetooth device when sending the infrared code information; when the second Bluetooth device detects the Bluetooth broadcast information, it will communicate with the first Bluetooth device pair with a Bluetooth device. The invention also discloses a bluetooth device. The technical scheme of the invention can effectively avoid the false pairing between the bluetooth devices.

Description

蓝牙配对方法及蓝牙设备Bluetooth pairing method and Bluetooth device

技术领域technical field

本发明涉及蓝牙技术领域,尤其涉及一种蓝牙配对方法及蓝牙设备。The invention relates to the technical field of bluetooth, in particular to a bluetooth pairing method and a bluetooth device.

背景技术Background technique

目前,蓝牙功能在各个领域的运用越来越广泛,例如蓝牙功能用于电视主机和遥控器之间的连接。初次使用蓝牙功能时,需要在两个蓝牙设备之间建立配对。现有技术中,两个蓝牙设备之间的配对采用的技术方案是:采用第一蓝牙设备与打开蓝牙配对模式的第二蓝牙设备进行配对。At present, the Bluetooth function is more and more widely used in various fields, for example, the Bluetooth function is used for the connection between the TV host and the remote control. When using the Bluetooth function for the first time, pairing needs to be established between two Bluetooth devices. In the prior art, the technical solution adopted for the pairing between two Bluetooth devices is: use the first Bluetooth device to pair with the second Bluetooth device in the Bluetooth pairing mode.

上述技术方案的弊端是,当存在多个蓝牙设备同时开启配对模式时,容易形成第一蓝牙设备和其他蓝牙设备的误配对。The disadvantage of the above technical solution is that, when there are multiple Bluetooth devices that are in the pairing mode at the same time, it is easy to form a wrong pairing between the first Bluetooth device and other Bluetooth devices.

发明内容Contents of the invention

本发明的主要目的在于提供一种蓝牙配对方法,旨在避免蓝牙设备之间形成误配对的弊端。The main purpose of the present invention is to provide a bluetooth pairing method, aiming at avoiding the disadvantages of false pairing between bluetooth devices.

为实现上述目的,本发明提供的蓝牙配对方法包括以下步骤:In order to achieve the above object, the Bluetooth pairing method provided by the present invention includes the following steps:

第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息;The second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction;

所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;After receiving the infrared code information, the second bluetooth device detects the bluetooth broadcast information sent by the first bluetooth device while sending the infrared code information;

所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The second Bluetooth device performs pairing with the first Bluetooth device when detecting the Bluetooth broadcast information.

优选地,第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息之前,还包括以下步骤:Preferably, before the second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction, it also includes the following steps:

所述第二蓝牙设备在接收到开机指令并成功开机后,启动自动对码服务,并检测蓝牙状态及蓝牙协议状态。After the second bluetooth device receives the start-up instruction and starts up successfully, it starts the automatic code matching service, and detects the bluetooth status and the bluetooth protocol status.

优选地,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息之后,还包括以下步骤:Preferably, after the second bluetooth device receives the infrared code information, after detecting the bluetooth broadcast information sent by the first bluetooth device when sending the infrared code information, it also includes the following steps:

所述第二蓝牙设备触发UI提示并启动第二计时器以开始计时。The second bluetooth device triggers a UI prompt and starts a second timer to start timing.

优选地,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之前,进一步包括:Preferably, when the second Bluetooth device detects the Bluetooth broadcast information, before pairing with the first Bluetooth device, it further includes:

所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息;The second bluetooth device judges whether to detect the bluetooth broadcast information;

若否,所述第二蓝牙设备读取所述第二计时器的时间值,并判断所述第二计时器的时间值是否大于预设时间;If not, the second bluetooth device reads the time value of the second timer, and determines whether the time value of the second timer is greater than a preset time;

若是,则所述第二蓝牙设备对所述第二计时器进行复位,并暂停所述自动对码服务;If so, the second Bluetooth device resets the second timer and suspends the automatic code pairing service;

若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。If not, continue to execute the step of the second bluetooth device judging whether to detect the bluetooth broadcast information.

优选地,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:Preferably, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes:

与所述第一蓝牙设备进行配对之前,所述第二蓝牙设备判断是否存在与其他第一蓝牙设备的蓝牙配对记录;Before pairing with the first Bluetooth device, the second Bluetooth device determines whether there are Bluetooth pairing records with other first Bluetooth devices;

若是,则清除所述蓝牙配对记录。If yes, clear the Bluetooth pairing record.

优选地,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:Preferably, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes:

所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After the second Bluetooth device detects the Bluetooth broadcast information, it determines whether the signal strength of the detected Bluetooth broadcast information exceeds a preset signal strength;

当侦测到的所述蓝牙广播信息的信号强度超过预设信号强度时,所述第二蓝牙设备执行与所述第一蓝牙设备进行配对的步骤。When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device executes the step of pairing with the first Bluetooth device.

优选地,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:Preferably, after the second bluetooth device detects the bluetooth broadcast information, after pairing with the first bluetooth device, it further includes the following steps:

所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the pairing with the first Bluetooth device is successful;

当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。When the pairing between the second Bluetooth device and the first Bluetooth device is successful, the second Bluetooth device sends pairing success information to the first Bluetooth device.

优选地,所述第一蓝牙设备在发送所述红外码信息和所述蓝牙广播信息之后,进一步包括:Preferably, after the first Bluetooth device sends the infrared code information and the Bluetooth broadcast information, it further includes:

所述第一蓝牙设备启动第一计时器以开始计时;The first Bluetooth device starts a first timer to start timing;

所述第一蓝牙设备判断是否收到所述配对成功信息;The first Bluetooth device determines whether the pairing success message is received;

若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息。If yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information.

优选地,所述第一蓝牙设备判断是否收到所述配对成功信息之后,进一步包括:Preferably, after the first Bluetooth device determines whether the pairing success information is received, it further includes:

若否,则所述第一蓝牙设备读取所述第一计时器的时间值,并判断所述第一计时器的时间值是否大于预设时间;If not, the first bluetooth device reads the time value of the first timer, and determines whether the time value of the first timer is greater than a preset time;

若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息;If so, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;

若否,则继续执行所述第一蓝牙设备判断是否收到所述配对成功信息的步骤。If not, continue to execute the step of the first bluetooth device judging whether the pairing success information is received.

此外,为实现上述目的,本发明还提供一种蓝牙设备,包括:In addition, in order to achieve the above object, the present invention also provides a bluetooth device, including:

接收模块,用于接收第一蓝牙设备在收到触发指令后发送的红外码信息;A receiving module, configured to receive the infrared code information sent by the first bluetooth device after receiving the trigger instruction;

侦测模块,用于在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;The detection module is used to detect the Bluetooth broadcast information sent by the first Bluetooth device when sending the infrared code information after receiving the infrared code information;

配对模块,用于在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The pairing module is configured to perform pairing with the first Bluetooth device when the Bluetooth broadcast information is detected.

在本发明的技术方案中,所述第一蓝牙设备接收到触发指令后,在发送红外码信息至第二蓝牙设备的同时,发送蓝牙广播信息,所述第二蓝牙设备在接收所述红外码信息后开始侦测所述蓝牙广播信息,当同时存在多个第二蓝牙设备时,仅接收到所述红外码信息的所述第二蓝牙设备才开始侦测所述蓝牙广播信息以进行配对,可以有效避免蓝牙设备之间的误配对。In the technical solution of the present invention, after receiving the trigger instruction, the first bluetooth device sends the bluetooth broadcast information while sending the infrared code information to the second bluetooth device, and the second bluetooth device receives the infrared code start to detect the bluetooth broadcast information after receiving the information, and when multiple second bluetooth devices exist at the same time, only the second bluetooth device that receives the infrared code information starts to detect the bluetooth broadcast information for pairing, Mis-pairing between Bluetooth devices can be effectively avoided.

附图说明Description of drawings

图1为本发明蓝牙配对方法第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the Bluetooth pairing method of the present invention;

图2为本发明蓝牙配对方法第二实施例的流程示意图;2 is a schematic flow diagram of a second embodiment of the Bluetooth pairing method of the present invention;

图3为本发明蓝牙配对方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of the Bluetooth pairing method of the present invention;

图4为本发明蓝牙配对方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of the Bluetooth pairing method of the present invention;

图5为本发明蓝牙配对方法第七实施例的流程示意图;FIG. 5 is a schematic flowchart of a seventh embodiment of the Bluetooth pairing method of the present invention;

图6为本发明蓝牙设备第一实施例的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of the first embodiment of the Bluetooth device of the present invention.

附图标号说明:Explanation of reference numbers:

标号label 名称name 标号label 名称name 1111 接收模块receiving module 1313 侦测模块detection module 1515 配对模块pairing module

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式detailed description

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

本发明提供一种蓝牙配对方法,参照图1,在第一实施例中,该蓝牙配对方法包括以下步骤:The present invention provides a Bluetooth pairing method. Referring to FIG. 1, in the first embodiment, the Bluetooth pairing method includes the following steps:

步骤S200,第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息;Step S200, the second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction;

具体的,所述第一蓝牙设备与所述第二蓝牙设备指需要建立蓝牙连接的两个蓝牙设备。在本实施例中,所述第一蓝牙设备为BLE(Bluetooth Low Energy)遥控器,所述第二蓝牙设备为电视机主机。Specifically, the first Bluetooth device and the second Bluetooth device refer to two Bluetooth devices that need to establish a Bluetooth connection. In this embodiment, the first Bluetooth device is a BLE (Bluetooth Low Energy) remote controller, and the second Bluetooth device is a TV host.

所述触发指令可以通过按压组合按键发送,在收到所述触发指令后,红外码信息和蓝牙广播信息同时发送。例如,使用者可以将BLE遥控器对准所述第二蓝牙设备的红外接收位置,然后按压所述组合按键,由于红外信息发送和红外信息接收需要在有效范围内才能实现,当有多台电视机主机同时存在时,其他电视机主机不会接收到所述红外码信息并触发对所述蓝牙广播信息的扫描,因此,可以避免BLE遥控器与其他电视机主机误配对。The trigger instruction can be sent by pressing a combination button, and after receiving the trigger instruction, the infrared code information and the Bluetooth broadcast information are sent simultaneously. For example, the user can point the BLE remote controller at the infrared receiving position of the second Bluetooth device, and then press the combined button. Since infrared information transmission and infrared information reception can only be realized within the effective range, when there are multiple TVs When the TV hosts exist at the same time, other TV hosts will not receive the infrared code information and trigger the scanning of the Bluetooth broadcast information. Therefore, it is possible to avoid wrong pairing between the BLE remote controller and other TV hosts.

为了优化所述第一蓝牙设备和所述第二蓝牙设备的对码方法,在第一蓝牙设备发送的蓝牙广播信息中端增加自定义字段,并通过LE Advertising Report Event广播此字段。In order to optimize the code pairing method between the first Bluetooth device and the second Bluetooth device, a custom field is added to the Bluetooth broadcast information sent by the first Bluetooth device, and this field is broadcast through the LE Advertising Report Event.

所述自定义字段是针对EIR中Manufacturer Specific Data的扩展定义,所述自定义字段的基本数据内容如下表所示,包括:数据长度、数据类型、数据内容以及若干个预留位,所述第二蓝牙设备能通过扫描所述蓝牙广播信息侦测所述第一蓝牙设备。The self-defining field is an extended definition for Manufacturer Specific Data in EIR. The basic data content of the self-defining field is shown in the following table, including: data length, data type, data content and several reserved bits. The first The second Bluetooth device can detect the first Bluetooth device by scanning the Bluetooth broadcast information.

自定义字段的基本数据内容表Basic data content table for custom fields

步骤S210,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;Step S210, after receiving the infrared code information, the second bluetooth device detects the bluetooth broadcast information sent by the first bluetooth device while sending the infrared code information;

具体的,所述第二蓝牙设备检测到所述红外码信息后,开始启动自动扫描服务,以在扫描范围内侦测所述蓝牙广播信息。Specifically, after the second Bluetooth device detects the infrared code information, it starts an automatic scanning service to detect the Bluetooth broadcast information within the scanning range.

步骤S230,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。Step S230, when the second bluetooth device detects the bluetooth broadcast information, perform pairing with the first bluetooth device.

具体的,所述第二蓝牙设备侦测到所述蓝牙广播信息时,进一步解析所述蓝牙广播信息的自定义字段的内容,以判断所述蓝牙广播信息是否合法,若合法,方可与所述第一蓝牙设备进行配对,提高所述第二蓝牙设备对所述第一蓝牙设备的配对准确率。Specifically, when the second Bluetooth device detects the Bluetooth broadcast information, it further parses the content of the custom field of the Bluetooth broadcast information to determine whether the Bluetooth broadcast information is legal. The first Bluetooth device is paired to improve the pairing accuracy of the second Bluetooth device with the first Bluetooth device.

在本发明的技术方案中,所述第一蓝牙设备接收到触发指令后,在发送红外码信息至第二蓝牙设备的同时,发送蓝牙广播信息,所述第二蓝牙设备在接收所述红外码信息后开始侦测所述蓝牙广播信息,当同时存在多个第二蓝牙设备时,仅接收到所述红外码信息的所述第二蓝牙设备才开始侦测所述蓝牙广播信息以进行配对,可以有效避免蓝牙设备之间的误配对。In the technical solution of the present invention, after receiving the trigger instruction, the first bluetooth device sends the bluetooth broadcast information while sending the infrared code information to the second bluetooth device, and the second bluetooth device receives the infrared code start to detect the bluetooth broadcast information after receiving the information, and when multiple second bluetooth devices exist at the same time, only the second bluetooth device that receives the infrared code information starts to detect the bluetooth broadcast information for pairing, Mis-pairing between Bluetooth devices can be effectively avoided.

进一步的,若所述第二蓝牙设备未侦测到所述蓝牙广播信息时,则继续执行侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的所述蓝牙广播信息的步骤。Further, if the second bluetooth device does not detect the bluetooth broadcast information, continue to detect the bluetooth broadcast information sent by the first bluetooth device while sending the infrared code information step.

再请参阅图2,优选地,在第二实施例中,第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息之前,还包括以下步骤:Referring to Fig. 2 again, preferably, in the second embodiment, before the second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction, it also includes the following steps:

步骤S209,所述第二蓝牙设备在接收到开机指令并成功开机后,启动自动对码服务,并检测蓝牙状态及蓝牙协议状态。Step S209, after the second bluetooth device receives the start-up command and starts up successfully, starts the automatic code pairing service, and detects the bluetooth status and the bluetooth protocol status.

具体的,所述第二蓝牙设备在接收到开机指令后并启动后,自动启动所述自动对码服务,所述自动对码服务启动完成后,所述第二蓝牙设备检测蓝牙状态及蓝牙协议状态,因此,在所述第一蓝牙设备开启配对模式进行配对请求之前,所述第二蓝牙设备就已经做好了蓝牙配对准备工作,当接收到所述红外码信息后,所述第二蓝牙设备只需要直接对所述蓝牙广播信息进行扫描即可,相比在接收到配对请求后再启动自动对码服务的技术方案而言,步骤S209将所有对码准备工作在接收到配对请求前提前完成,能更快速的响应配对请求,提高接收到配对请求后的对码效率。Specifically, after the second Bluetooth device receives the power-on command and starts it, it automatically starts the automatic code pairing service, and after the automatic code pairing service is started, the second Bluetooth device detects the Bluetooth state and the Bluetooth protocol state, therefore, before the first Bluetooth device turns on the pairing mode to make a pairing request, the second Bluetooth device has already prepared for Bluetooth pairing. After receiving the infrared code information, the second Bluetooth device The device only needs to directly scan the Bluetooth broadcast information. Compared with the technical solution of starting the automatic code pairing service after receiving the pairing request, step S209 advances all code pairing preparations before receiving the pairing request. Complete, it can respond to the pairing request more quickly, and improve the code pairing efficiency after receiving the pairing request.

再请参阅图3,优选地,在第三实施例中,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的所述蓝牙广播信息之后,还包括以下步骤:Please refer to FIG. 3 again. Preferably, in the third embodiment, after receiving the infrared code information, the second bluetooth device detects that the first bluetooth device sends the infrared code information at the same time. After the bluetooth broadcast information, the following steps are also included:

步骤S211,所述第二蓝牙设备触发UI提示并启动第二计时器以开始计时。Step S211, the second bluetooth device triggers a UI prompt and starts a second timer to start timing.

具体的,所述第二蓝牙设备启动所述第二计时器可以有效控制配对时间,进而实现节约能源的效果。Specifically, starting the second timer by the second Bluetooth device can effectively control the pairing time, thereby achieving the effect of saving energy.

进一步的,在本实施例中,在所述第二蓝牙设备中设置开始检测标志,启动侦测所述蓝牙广播信息之时,所述开始检测标志置为1,暂停侦测所述蓝牙广播信息之时,所述开始检测标志置为0,以便于识别是否启动侦测所述蓝牙广播信息。Further, in this embodiment, the start detection flag is set in the second Bluetooth device, and when the detection of the Bluetooth broadcast information is started, the start detection flag is set to 1, and the detection of the Bluetooth broadcast information is suspended At this time, the detection start flag is set to 0, so as to identify whether to start detecting the Bluetooth broadcast information.

再请参阅图4,优选地,在第四实施例中,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之前,进一步包括:Please refer to FIG. 4 again. Preferably, in the fourth embodiment, when the second Bluetooth device detects the Bluetooth broadcast information, before pairing with the first Bluetooth device, it further includes:

步骤S240,所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息;Step S240, the second bluetooth device judges whether the bluetooth broadcast information is detected;

步骤S241,若否,所述第二蓝牙设备读取所述第二计时器的时间值,并判断所述第二计时器的时间值是否大于预设时间;Step S241, if not, the second Bluetooth device reads the time value of the second timer, and determines whether the time value of the second timer is greater than a preset time;

步骤S243,若是,则所述第二蓝牙设备对所述第二计时器进行复位,并暂停所述自动对码服务;Step S243, if yes, the second Bluetooth device resets the second timer and suspends the automatic code pairing service;

若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。If not, continue to execute the step of the second bluetooth device judging whether to detect the bluetooth broadcast information.

在本实施例中,所述第二计时器的预设时间为20s,当所述第二蓝牙设备在预设时间20s内未侦测到所述蓝牙广播信息时,表明所述第一蓝牙设备未发起配对请求,此时,关闭所述自动对码服务可以节约进行对码服务产生的能源损耗。In this embodiment, the preset time of the second timer is 20s, and when the second Bluetooth device does not detect the Bluetooth broadcast information within the preset time of 20s, it indicates that the first Bluetooth device No pairing request is initiated. At this time, turning off the automatic code matching service can save energy consumption generated by performing the code matching service.

进一步的,当所述第二蓝牙设备再次接收到所述红外码信息时,所述第二蓝牙设备重新执行步骤S211及步骤S211之后的步骤。Further, when the second bluetooth device receives the infrared code information again, the second bluetooth device re-executes step S211 and the steps after step S211.

优选地,在第五实施例中,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:Preferably, in the fifth embodiment, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes:

步骤S250(图未示),与所述第一蓝牙设备进行配对之前,所述第二蓝牙设备判断是否存在与其他第一蓝牙设备的蓝牙配对记录;Step S250 (not shown in the figure), before pairing with the first Bluetooth device, the second Bluetooth device determines whether there is a Bluetooth pairing record with other first Bluetooth devices;

步骤S251(图未示),若是,则清除所述蓝牙配对记录;Step S251 (not shown), if so, clear the Bluetooth pairing record;

步骤S253(图未示),若否,则所述第二蓝牙设备与所述第一蓝牙设备进行配对。Step S253 (not shown in the figure), if not, pair the second Bluetooth device with the first Bluetooth device.

具体的,所述蓝牙配对记录包括:所述第二蓝牙设备与其他蓝牙设备的配对信息及与其他蓝牙设备的连接信息,清除所述蓝牙配对记录,有利于所述第二蓝牙设备与发起配对请求的所述第一蓝牙设备的配对,降低配对干扰。Specifically, the Bluetooth pairing record includes: pairing information between the second Bluetooth device and other Bluetooth devices and connection information with other Bluetooth devices, and clearing the Bluetooth pairing record is beneficial for the second Bluetooth device to initiate pairing Requesting pairing of the first Bluetooth device, reducing pairing interference.

优选地,在第六实施例中,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:Preferably, in the sixth embodiment, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes:

步骤S260(图未示),所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;Step S260 (not shown in the figure), after the second Bluetooth device detects the Bluetooth broadcast information, determine whether the signal strength of the detected Bluetooth broadcast information exceeds a preset signal strength;

在本实施例中,所述预设信号强度为70,判断侦测到的所述蓝牙广播信息的信号长度是否超过预设信号强度有利于滤除其他蓝牙设备发送的所述蓝牙广播信息,减小配对干扰,同时还能保证所述第二蓝牙设备与所述第一蓝牙设备的成功配对。In this embodiment, the preset signal strength is 70, and judging whether the detected signal length of the Bluetooth broadcast information exceeds the preset signal strength helps to filter out the Bluetooth broadcast information sent by other Bluetooth devices, reducing The pairing interference is small, and at the same time, the successful pairing between the second Bluetooth device and the first Bluetooth device can be ensured.

当侦测到的所述蓝牙广播信息的信号强度超过预设信号强度时,所述第二蓝牙设备执行与所述第一蓝牙设备进行配对的步骤。When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device executes the step of pairing with the first Bluetooth device.

具体的,若所述信号强度超过所述预设信号强度,所述第二蓝牙设备读取蓝牙配对列表,并检测所述蓝牙配对列表中,是否存在配对过的其他蓝牙设备;Specifically, if the signal strength exceeds the preset signal strength, the second Bluetooth device reads the Bluetooth pairing list, and detects whether there are other paired Bluetooth devices in the Bluetooth pairing list;

若是,则移除其他蓝牙设备的配对;If so, remove the pairing of other Bluetooth devices;

若否,则所述第二蓝牙设备与所述第一蓝牙设备进行配对。If not, the second Bluetooth device is paired with the first Bluetooth device.

进一步的,若侦测到的所述蓝牙广播信息的信号强度未超过预设信号强度,则所述第二蓝牙设备向使用者发出信号强度低的提示,并提示用户靠近所述第二蓝牙设备,以提高所述蓝牙广播信息的信号强度。Further, if the detected signal strength of the bluetooth broadcast information does not exceed the preset signal strength, the second bluetooth device sends a reminder to the user that the signal strength is low, and prompts the user to approach the second bluetooth device , so as to increase the signal strength of the Bluetooth broadcast information.

请参照图5,优选地,在第七实施例中,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:Please refer to Fig. 5, preferably, in the seventh embodiment, after the second Bluetooth device detects the Bluetooth broadcast information, after pairing with the first Bluetooth device, further includes the following steps:

步骤S280,所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;Step S280, the second Bluetooth device judges whether the pairing with the first Bluetooth device is successful;

步骤S281,当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。Step S281, when the pairing between the second Bluetooth device and the first Bluetooth device is successful, the second Bluetooth device sends pairing success information to the first Bluetooth device.

进一步的,若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。Further, if not, continue to execute the step of the second bluetooth device judging whether to detect the bluetooth broadcast information.

优选地,在第八实施例中,所述第一蓝牙设备在发送所述红外码信息和所述蓝牙广播信息之后,进一步包括:Preferably, in the eighth embodiment, after the first Bluetooth device sends the infrared code information and the Bluetooth broadcast information, it further includes:

步骤S110(图未示),所述第一蓝牙设备启动第一计时器以开始计时;Step S110 (not shown in the figure), the first Bluetooth device starts a first timer to start timing;

步骤S130(图未示),所述第一蓝牙设备判断是否收到所述配对成功信息;Step S130 (not shown in the figure), the first Bluetooth device determines whether the pairing success message is received;

步骤S131(图未示),若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息。Step S131 (not shown in the figure), if yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information.

在所述第一蓝牙设备收到配对成功信息后,将所述第一计时器复位,同时停止发送所述红外码信息和所述蓝牙广播信息以停止本轮配对服务,有利于自动结束配对服务,节约配对过程中的能源损耗。After the first bluetooth device receives the pairing success information, reset the first timer, and stop sending the infrared code information and the bluetooth broadcast information at the same time to stop the current round of pairing service, which is conducive to automatically ending the pairing service , saving energy loss during the pairing process.

优选地,在第九实施例中,所述第一蓝牙设备判断是否收到配对成功信息之后,进一步包括:Preferably, in the ninth embodiment, after the first Bluetooth device determines whether the pairing success message is received, it further includes:

步骤S150(图未示),若否,则所述第一蓝牙设备读取所述第一计时器的时间值,并判断所述第一计时器的时间值是否大于预设时间;Step S150 (not shown in the figure), if not, the first Bluetooth device reads the time value of the first timer, and judges whether the time value of the first timer is greater than a preset time;

若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息;If so, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;

若否,则继续执行所述第一蓝牙设备判断是否收到配对成功信息的步骤。If not, continue to execute the step of the first bluetooth device judging whether it receives pairing success information.

在本实施例中,所述第一计时器的预设时间设置为20s,超过所述第一计时器的预设时间后,自动暂停配对服务,有利于降低持续发起配对服务造成的能源损耗。In this embodiment, the preset time of the first timer is set to 20s. After the preset time of the first timer is exceeded, the pairing service is automatically suspended, which is beneficial to reduce energy consumption caused by continuously initiating the pairing service.

此外,为实现上述目的,本发明还提供一种蓝牙设备,参照图6,在一实施例中,本发明提供的蓝牙设备包括:In addition, in order to achieve the above object, the present invention also provides a bluetooth device. Referring to FIG. 6, in one embodiment, the bluetooth device provided by the present invention includes:

接收模块11,用于接收第一蓝牙设备在收到触发指令后发送的红外码信息;The receiving module 11 is used to receive the infrared code information sent by the first bluetooth device after receiving the trigger instruction;

侦测模块13,用于在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的所述蓝牙广播信息;The detection module 13 is used to detect the Bluetooth broadcast information sent by the first Bluetooth device when sending the infrared code information after receiving the infrared code information;

配对模块15,用于在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The pairing module 15 is configured to perform pairing with the first Bluetooth device when the Bluetooth broadcast information is detected.

在本实施例中,所述第一蓝牙设备为BLE遥控器,所述蓝牙设备为电视机主机,但是,所述第一蓝牙设备和所述蓝牙设备的实施例并不以此为限。所述触发指令可以通过按压组合按键发送,在收到所述触发指令后,所述红外码信息和所述蓝牙广播信息同时发送。例如,使用者可以将BLE遥控器对准所述电视机主机的所述接收模块11,然后按压所述组合按键,由于红外信息发送和红外信息接收需要在有效范围内才能实现,当有多台电视机主机同时存在时,其他电视机主机不会接收到所述红外码信息并触发所述侦测模块13对所述蓝牙广播信息的扫描,因此,可以避免BLE遥控器与其他电视机主机误配对。In this embodiment, the first Bluetooth device is a BLE remote controller, and the Bluetooth device is a TV host, however, embodiments of the first Bluetooth device and the Bluetooth device are not limited thereto. The trigger instruction can be sent by pressing a combination button, and after receiving the trigger instruction, the infrared code information and the Bluetooth broadcast information are sent simultaneously. For example, the user can point the BLE remote control at the receiving module 11 of the TV host, and then press the combined button. Since infrared information transmission and infrared information reception can only be realized within the effective range, when there are multiple When the TV hosts exist at the same time, other TV hosts will not receive the infrared code information and trigger the detection module 13 to scan the Bluetooth broadcast information. pair.

为了优化所述第一蓝牙设备和所述蓝牙设备的对码方法,在第一蓝牙设备发送的蓝牙广播信息中端增加自定义字段,并通过LE Advertising Report Event广播此字段。In order to optimize the code pairing method between the first Bluetooth device and the Bluetooth device, a custom field is added to the Bluetooth broadcast information sent by the first Bluetooth device, and this field is broadcast through the LE Advertising Report Event.

所述自定义字段是针对EIR中Manufacturer Specific Data的扩展定义,所述自定义字段的基本数据内容如下表所示,包括:数据长度、数据类型、数据内容以及若干个预留位,所述蓝牙设备能通过扫描所述蓝牙广播信息侦测所述第一蓝牙设备。The self-defining field is an extended definition for Manufacturer Specific Data in EIR. The basic data content of the self-defining field is shown in the following table, including: data length, data type, data content and several reserved bits. The Bluetooth The device can detect the first Bluetooth device by scanning the Bluetooth broadcast information.

自定义字段的基本数据内容表Basic data content table for custom fields

所述侦测模块13检测到所述红外码信息后,开始启动自动扫描服务,以在扫描范围内侦测所述蓝牙广播信息。After the detection module 13 detects the infrared code information, it starts an automatic scanning service to detect the Bluetooth broadcast information within the scanning range.

具体的,所述侦测模块13侦测到所述蓝牙广播信息时,进一步解析所述蓝牙广播信息的自定义字段的内容,以判断所述蓝牙广播信息是否合法,若合法,所述配对模块15方可与所述第一蓝牙设备进行配对,提高所述蓝牙设备对所述第一蓝牙设备的配对准确率。Specifically, when the detection module 13 detects the Bluetooth broadcast information, it further parses the content of the custom field of the Bluetooth broadcast information to determine whether the Bluetooth broadcast information is legal, and if legal, the pairing module 15 parties can be paired with the first Bluetooth device to improve the pairing accuracy of the Bluetooth device with the first Bluetooth device.

在本发明的技术方案中,所述第一蓝牙设备接收到触发指令后,在发送红外码信息至所述蓝牙设备的同时,发送蓝牙广播信息,所述蓝牙设备在接收所述红外码信息后开始侦测所述蓝牙广播信息,当同时存在多个蓝牙设备时,仅接收到所述红外码信息的所述蓝牙设备才开始侦测所述蓝牙广播信息以进行配对,可以有效避免蓝牙设备之间的误配对。In the technical solution of the present invention, after the first bluetooth device receives the trigger instruction, it sends the bluetooth broadcast information while sending the infrared code information to the bluetooth device, and the bluetooth device receives the infrared code information Start to detect the Bluetooth broadcast information. When there are multiple Bluetooth devices at the same time, only the Bluetooth device that receives the infrared code information will start to detect the Bluetooth broadcast information for pairing, which can effectively avoid the Bluetooth device. mismatch between.

进一步的,所述侦测模块13还用于在未侦测到所述蓝牙广播信息时,继续执行侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的所述蓝牙广播信息。Further, the detection module 13 is also configured to continue to detect the Bluetooth broadcast sent by the first Bluetooth device while sending the infrared code information when the Bluetooth broadcast information is not detected. information.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (10)

1.一种蓝牙配对方法,其特征在于,所述蓝牙配对方法包括以下步骤:1. a bluetooth pairing method, is characterized in that, described bluetooth pairing method comprises the following steps: 第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息;The second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction; 所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;After receiving the infrared code information, the second bluetooth device detects the bluetooth broadcast information sent by the first bluetooth device while sending the infrared code information; 所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The second Bluetooth device performs pairing with the first Bluetooth device when detecting the Bluetooth broadcast information. 2.如权利要求1所述的蓝牙配对方法,其特征在于,第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息之前,还包括以下步骤:2. The bluetooth pairing method as claimed in claim 1, wherein, before the second bluetooth device receives the infrared code information sent by the first bluetooth device after receiving the trigger instruction, it also includes the following steps: 所述第二蓝牙设备在接收到开机指令并成功开机后,启动自动对码服务,并检测蓝牙状态及蓝牙协议状态。After the second bluetooth device receives the start-up instruction and starts up successfully, it starts the automatic code matching service, and detects the bluetooth status and the bluetooth protocol status. 3.如权利要求2所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息之后,还包括以下步骤:3. The bluetooth pairing method according to claim 2, characterized in that, after receiving the infrared code information, the second bluetooth device detects that the first bluetooth device sends the infrared code information at the same time After sending the Bluetooth broadcast information, the following steps are also included: 所述第二蓝牙设备触发UI提示并启动第二计时器以开始计时。The second Bluetooth device triggers a UI prompt and starts a second timer to start timing. 4.如权利要求3所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之前,进一步包括:4. The Bluetooth pairing method according to claim 3, wherein when the second Bluetooth device detects the Bluetooth broadcast information, before pairing with the first Bluetooth device, further comprising: 所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息;The second bluetooth device judges whether to detect the bluetooth broadcast information; 若否,所述第二蓝牙设备读取所述第二计时器的时间值,并判断所述第二计时器的时间值是否大于预设时间;If not, the second bluetooth device reads the time value of the second timer, and determines whether the time value of the second timer is greater than a preset time; 若是,则所述第二蓝牙设备对所述第二计时器进行复位,并暂停所述自动对码服务;If so, the second Bluetooth device resets the second timer and suspends the automatic code pairing service; 若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。If not, continue to execute the step of the second bluetooth device judging whether to detect the bluetooth broadcast information. 5.如权利要求1至4中任意一项所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:5. The Bluetooth pairing method according to any one of claims 1 to 4, wherein, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes : 与所述第一蓝牙设备进行配对之前,所述第二蓝牙设备判断是否存在与其他第一蓝牙设备的蓝牙配对记录;Before pairing with the first Bluetooth device, the second Bluetooth device determines whether there are Bluetooth pairing records with other first Bluetooth devices; 若是,则清除所述蓝牙配对记录。If yes, clear the Bluetooth pairing record. 6.如权利要求1至4中任意一项所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:6. The Bluetooth pairing method according to any one of claims 1 to 4, wherein, when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes : 所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After the second Bluetooth device detects the Bluetooth broadcast information, it determines whether the signal strength of the detected Bluetooth broadcast information exceeds a preset signal strength; 当侦测到的所述蓝牙广播信息的信号强度超过预设信号强度时,所述第二蓝牙设备执行与所述第一蓝牙设备进行配对的步骤。When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device executes the step of pairing with the first Bluetooth device. 7.如权利要求1至4中任意一项所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:7. The Bluetooth pairing method according to any one of claims 1 to 4, characterized in that, when the second Bluetooth device detects the Bluetooth broadcast information, after pairing with the first Bluetooth device , further comprising the following steps: 所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the pairing with the first Bluetooth device is successful; 当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。When the second Bluetooth device is successfully paired with the first Bluetooth device, the second Bluetooth device sends pairing success information to the first Bluetooth device. 8.如权利要求7所述的蓝牙配对方法,其特征在于,所述第一蓝牙设备在发送所述红外码信息和所述蓝牙广播信息之后,进一步包括:8. The Bluetooth pairing method according to claim 7, wherein, after the first Bluetooth device sends the infrared code information and the Bluetooth broadcast information, further comprising: 所述第一蓝牙设备启动第一计时器以开始计时;The first Bluetooth device starts a first timer to start timing; 所述第一蓝牙设备判断是否收到所述配对成功信息;The first Bluetooth device determines whether the pairing success message is received; 若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息。If yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information. 9.如权利要求8所述的蓝牙配对方法,其特征在于,所述第一蓝牙设备判断是否收到所述配对成功信息之后,进一步包括:9. The Bluetooth pairing method according to claim 8, wherein after the first Bluetooth device determines whether the pairing success message is received, further comprising: 若否,则所述第一蓝牙设备读取所述第一计时器的时间值,并判断所述第一计时器的时间值是否大于预设时间;If not, the first bluetooth device reads the time value of the first timer, and judges whether the time value of the first timer is greater than a preset time; 若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息;If so, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information; 若否,则继续执行所述第一蓝牙设备判断是否收到所述配对成功信息的步骤。If not, continue to execute the step of the first bluetooth device judging whether the pairing success information is received. 10.一种蓝牙设备,其特征在于,包括:10. A bluetooth device, characterized in that, comprising: 接收模块,用于接收第一蓝牙设备在收到触发指令后发送的红外码信息;A receiving module, configured to receive the infrared code information sent by the first bluetooth device after receiving the trigger instruction; 侦测模块,用于在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;The detection module is used to detect the Bluetooth broadcast information sent by the first Bluetooth device when sending the infrared code information after receiving the infrared code information; 配对模块,用于在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The pairing module is configured to perform pairing with the first Bluetooth device when the Bluetooth broadcast information is detected.
CN201610685973.2A 2016-08-18 2016-08-18 Bluetooth pairing methods and bluetooth equipment Pending CN106303641A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610685973.2A CN106303641A (en) 2016-08-18 2016-08-18 Bluetooth pairing methods and bluetooth equipment
PCT/CN2016/112267 WO2018032681A1 (en) 2016-08-18 2016-12-27 Bluetooth pairing method and bluetooth device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610685973.2A CN106303641A (en) 2016-08-18 2016-08-18 Bluetooth pairing methods and bluetooth equipment

Publications (1)

Publication Number Publication Date
CN106303641A true CN106303641A (en) 2017-01-04

Family

ID=57679250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610685973.2A Pending CN106303641A (en) 2016-08-18 2016-08-18 Bluetooth pairing methods and bluetooth equipment

Country Status (2)

Country Link
CN (1) CN106303641A (en)
WO (1) WO2018032681A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888055A (en) * 2017-03-13 2017-06-23 上海浩创亘永科技有限公司 A kind of method that bluetooth is quickly matched
CN107155123A (en) * 2017-06-14 2017-09-12 深圳Tcl新技术有限公司 Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set
CN108449741A (en) * 2018-03-12 2018-08-24 深圳前海智联逗号科技有限公司 The method of bluetooth equipment quickly connected
CN108495323A (en) * 2018-03-13 2018-09-04 华中科技大学 A kind of Bluetooth label detector with a variety of detection patterns
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN111462866A (en) * 2020-03-27 2020-07-28 深圳开立生物医疗科技股份有限公司 Medical diagnosis system, image processing equipment and encryption protection method and system thereof
CN112565846A (en) * 2020-12-08 2021-03-26 深圳市亿联智能有限公司 Method for set top box to rapidly pair Bluetooth remote controllers
CN113490218A (en) * 2021-06-08 2021-10-08 深圳Tcl新技术有限公司 Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
CN113920709A (en) * 2021-11-25 2022-01-11 四川长虹电器股份有限公司 Smart television Bluetooth remote controller pairing method
CN114567870A (en) * 2022-02-28 2022-05-31 海信视像科技股份有限公司 GATT-based distribution network account allocation method, control terminal and display device
CN115622791A (en) * 2022-10-25 2023-01-17 平安银行股份有限公司 Account management method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885556B (en) * 2020-06-17 2023-09-08 福建新大陆通信科技股份有限公司 Quick Bluetooth adaptation method, system, remote controller, intelligent terminal and medium
CN111885571A (en) * 2020-07-21 2020-11-03 歌尔科技有限公司 Bluetooth device pairing method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090023389A1 (en) * 2007-07-18 2009-01-22 Broadcom Corporation System and method for remotely controlling bluetooth enabled electronic equipment
US20140259047A1 (en) * 2013-03-08 2014-09-11 Google Inc. Proximity detection by mobile devices
CN105516902A (en) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 Method and system for Bluetooth connection and Bluetooth device
EP3016377A1 (en) * 2014-10-30 2016-05-04 Samsung Electronics Co., Ltd. Display apparatus, controlling method and display system
CN105721916A (en) * 2016-04-11 2016-06-29 江苏惠通集团有限责任公司 Master device, slave device and pairing method of master device and slave device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067055B (en) * 2012-12-26 2016-11-09 深圳天珑无线科技有限公司 A kind of Bluetooth connecting method and mobile terminal
CN103888177A (en) * 2014-02-25 2014-06-25 南京邮电大学 Method for quickly establishing Bluetooth connection
CN103997570A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Pairing method and system for mobile terminals and mobile terminals
CN104683002A (en) * 2015-02-11 2015-06-03 深圳市同洲电子股份有限公司 Method and device for pairing Bluetooth equipment
CN104735607B (en) * 2015-02-26 2018-05-29 广东欧珀移动通信有限公司 A kind of data transmission method, mobile terminal and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090023389A1 (en) * 2007-07-18 2009-01-22 Broadcom Corporation System and method for remotely controlling bluetooth enabled electronic equipment
US20140259047A1 (en) * 2013-03-08 2014-09-11 Google Inc. Proximity detection by mobile devices
EP3016377A1 (en) * 2014-10-30 2016-05-04 Samsung Electronics Co., Ltd. Display apparatus, controlling method and display system
CN105516902A (en) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 Method and system for Bluetooth connection and Bluetooth device
CN105721916A (en) * 2016-04-11 2016-06-29 江苏惠通集团有限责任公司 Master device, slave device and pairing method of master device and slave device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888055A (en) * 2017-03-13 2017-06-23 上海浩创亘永科技有限公司 A kind of method that bluetooth is quickly matched
CN107155123A (en) * 2017-06-14 2017-09-12 深圳Tcl新技术有限公司 Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set
CN108449741A (en) * 2018-03-12 2018-08-24 深圳前海智联逗号科技有限公司 The method of bluetooth equipment quickly connected
CN108495323A (en) * 2018-03-13 2018-09-04 华中科技大学 A kind of Bluetooth label detector with a variety of detection patterns
CN108495323B (en) * 2018-03-13 2019-09-27 华中科技大学 A Bluetooth tag detector with multiple detection modes
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN111462866A (en) * 2020-03-27 2020-07-28 深圳开立生物医疗科技股份有限公司 Medical diagnosis system, image processing equipment and encryption protection method and system thereof
CN112565846A (en) * 2020-12-08 2021-03-26 深圳市亿联智能有限公司 Method for set top box to rapidly pair Bluetooth remote controllers
CN113490218A (en) * 2021-06-08 2021-10-08 深圳Tcl新技术有限公司 Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
CN113490218B (en) * 2021-06-08 2024-03-12 深圳Tcl新技术有限公司 Pairing method, pairing device, Bluetooth remote control, smart device and storage medium
CN113920709A (en) * 2021-11-25 2022-01-11 四川长虹电器股份有限公司 Smart television Bluetooth remote controller pairing method
CN114567870A (en) * 2022-02-28 2022-05-31 海信视像科技股份有限公司 GATT-based distribution network account allocation method, control terminal and display device
CN114567870B (en) * 2022-02-28 2024-04-16 海信视像科技股份有限公司 GATT-based network and account number distribution method, control terminal and display device
CN115622791A (en) * 2022-10-25 2023-01-17 平安银行股份有限公司 Account management method and device

Also Published As

Publication number Publication date
WO2018032681A1 (en) 2018-02-22

Similar Documents

Publication Publication Date Title
CN106303641A (en) Bluetooth pairing methods and bluetooth equipment
EP2696643A2 (en) Apparatus and method of connecting service, according to user intention
CN102405674B (en) Wireless router control method and wireless router
CN105325018B (en) Wireless communication device and communication control unit
CN104540091A (en) Automatic pairing system and automatic pairing method based on bluetooth equipment
WO2021063059A1 (en) Networking method and apparatus, bluetooth device, and computer-readable medium
CN104335497A (en) Automatic connection of bluetooth human interface devices
CN104469482A (en) Control method and device for connection of intelligent terminal and Bluetooth devices
CN106664652B (en) Method and terminal for awakening wireless fidelity network
CN106385661A (en) Pairing request and response methods and pairing request and response terminals
CN104378838A (en) Method and device for building wireless connection
WO2022095961A1 (en) Charging method, charging apparatus, and charger
CN105611505B (en) Message pushing method, message pushing device and terminal
CN108391259A (en) A method of Bluetooth fast pairing
CN105844897A (en) Switching method and system for working mode of remote controller, and related equipment
WO2015062526A1 (en) Wireless login-based remote control method and apparatus
US12432797B2 (en) Wireless communication device and wireless communication method
CN106550259A (en) The matching method and system of remote control and TV
US10856129B2 (en) Method and apparatus for performing short range wireless communication in communication system
TWI386019B (en) Reciprocal wake-up system for handheld devices with insert type wireless communication module and a method therefore
CN107124720A (en) LAN broadcast's method of network entry based on button
CN108616851B (en) Bluetooth connection method and Bluetooth device
CN105979604B (en) Device connection method and device
US20250133380A1 (en) Remote controller connection method and apparatus, remote controller, and system
TWI597994B (en) Matching method of wireless charging mouse

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104