[go: up one dir, main page]

WO2018032681A1 - Bluetooth pairing method and bluetooth device - Google Patents

Bluetooth pairing method and bluetooth device Download PDF

Info

Publication number
WO2018032681A1
WO2018032681A1 PCT/CN2016/112267 CN2016112267W WO2018032681A1 WO 2018032681 A1 WO2018032681 A1 WO 2018032681A1 CN 2016112267 W CN2016112267 W CN 2016112267W WO 2018032681 A1 WO2018032681 A1 WO 2018032681A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
bluetooth device
pairing
broadcast information
information
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.)
Ceased
Application number
PCT/CN2016/112267
Other languages
French (fr)
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 Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital 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 Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Publication of WO2018032681A1 publication Critical patent/WO2018032681A1/en
Anticipated expiration legal-status Critical
Ceased 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
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of Bluetooth technologies, and in particular, to a Bluetooth pairing method and a Bluetooth device.
  • the Bluetooth function is more and more widely used in various fields, for example, the Bluetooth function is used for the connection between the television host and the remote controller.
  • the Bluetooth function is used for the connection between the television host and the remote controller.
  • pairing between two Bluetooth devices is required.
  • the pairing between the two Bluetooth devices adopts a technical solution: pairing the first Bluetooth device with the second Bluetooth device that turns on the Bluetooth pairing mode.
  • the disadvantage of the above technical solution is that when there are multiple Bluetooth devices simultaneously turning on the pairing mode, it is easy to form a mismatch of the first Bluetooth device and other Bluetooth devices.
  • the main object of the present invention is to provide a Bluetooth pairing method, which aims to avoid the disadvantage of forming a mismatch between Bluetooth devices.
  • 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;
  • the second Bluetooth device After receiving the infrared code information, the second Bluetooth device detects Bluetooth broadcast information that is simultaneously sent by the first Bluetooth device when transmitting the infrared code information;
  • the second Bluetooth device pairs with the first Bluetooth device when detecting the Bluetooth broadcast information.
  • the second Bluetooth device receives the infrared code information sent by the first Bluetooth device after receiving the triggering instruction, and further includes the following steps:
  • the second Bluetooth device After receiving the power-on command and successfully booting, the second Bluetooth device starts the automatic code matching service and detects the Bluetooth status and the Bluetooth protocol status.
  • the second Bluetooth device After receiving the infrared code information, the second Bluetooth device detects the Bluetooth broadcast information that is simultaneously sent by the first Bluetooth device when the infrared code information is sent, and further includes the following steps:
  • the second Bluetooth device triggers a UI prompt and starts a second timer to begin timing.
  • the method before the second Bluetooth device detects the Bluetooth broadcast information, before the pairing with the first Bluetooth device, the method further includes:
  • the second Bluetooth device determines whether the Bluetooth broadcast information is detected
  • 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;
  • the second Bluetooth device resets the second timer and suspends the automatic code matching service
  • pairing with the first Bluetooth device includes:
  • the second Bluetooth device Before pairing with the first Bluetooth device, the second Bluetooth device determines whether there is a Bluetooth pairing record with other first Bluetooth devices;
  • pairing with the first Bluetooth device includes:
  • the second Bluetooth device After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength
  • the second Bluetooth device When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device performs a step of pairing with the first Bluetooth device.
  • the method further includes the following steps:
  • the second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device
  • the second Bluetooth device 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.
  • the method further includes:
  • the first Bluetooth device starts a first timer to start timing
  • the first Bluetooth device determines whether the pairing success information is received
  • the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information.
  • the method further includes:
  • 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;
  • the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;
  • the present invention further provides a Bluetooth device, including:
  • a receiving module configured to receive infrared code information sent by the first Bluetooth device after receiving the triggering instruction
  • a detecting module configured to: after receiving the infrared code information, detect Bluetooth broadcast information that is sent by the first Bluetooth device when the infrared code information is sent;
  • a pairing module configured to pair with the first Bluetooth device when the Bluetooth broadcast information is detected.
  • the first Bluetooth device after receiving the triggering instruction, sends the Bluetooth broadcast information while transmitting the infrared code information to the second Bluetooth device, and the second Bluetooth device receives the infrared code. After the information is started, the Bluetooth broadcast information is detected. When a plurality of second Bluetooth devices are simultaneously present, the second Bluetooth device that only receives the infrared code information starts to detect the Bluetooth broadcast information for pairing. It can effectively avoid mismatching between Bluetooth devices.
  • FIG. 1 is a schematic flowchart of a first embodiment of a Bluetooth pairing method according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a Bluetooth pairing method according to the present invention.
  • FIG. 3 is a schematic flowchart of a third embodiment of a Bluetooth pairing method according to the present invention.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a Bluetooth pairing method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a seventh embodiment of a Bluetooth pairing method according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a Bluetooth device according to the present invention.
  • the Bluetooth pairing method includes the following steps:
  • Step S200 The second Bluetooth device receives the infrared code information sent by the first Bluetooth device after receiving the trigger instruction.
  • the first Bluetooth device and the second Bluetooth device refer to two Bluetooth devices that need to establish a Bluetooth connection.
  • the first Bluetooth device is BLE (Bluetooth) Low Energy
  • the second Bluetooth device is a television host.
  • the triggering command may be sent by pressing a combination button, and after receiving the triggering instruction, the infrared code information and the Bluetooth broadcast information are simultaneously transmitted.
  • the user can align the BLE remote controller with the infrared receiving position of the second Bluetooth device, and then press the combination button, because the infrared information transmission and the infrared information receiving need to be in the effective range, when there are multiple televisions
  • the other television host does not receive the infrared code information and triggers scanning of the Bluetooth broadcast information. Therefore, the BLE remote controller can be prevented from mis-pairing with other television hosts.
  • a custom field is added to the Bluetooth broadcast information sent by the first Bluetooth device, and the LE Advertising is adopted. Report Event broadcasts this field.
  • the custom field is for Manufacturer Specific in EIR An extended definition of Data
  • the basic data content of the custom field is as shown in the following table, including: a data length, a data type, a data content, and a plurality of reserved bits
  • the second Bluetooth device can scan the Bluetooth broadcast information by scanning Detecting the first Bluetooth device.
  • Step S210 after receiving the infrared code information, the second Bluetooth device detects Bluetooth broadcast information that is simultaneously sent by the first Bluetooth device when transmitting the infrared code information;
  • the second Bluetooth device After detecting the infrared code information, the second Bluetooth device starts to start an automatic scanning service to detect the Bluetooth broadcast information within a scanning range.
  • Step S230 the second Bluetooth device performs pairing with the first Bluetooth device when detecting the Bluetooth broadcast information.
  • the second Bluetooth device detects the Bluetooth broadcast information, further parsing the content of the customized field of the Bluetooth broadcast information to determine whether the Bluetooth broadcast information is legal, and if it is legal, The first Bluetooth device performs pairing to improve the pairing accuracy of the second Bluetooth device to the first Bluetooth device.
  • the first Bluetooth device after receiving the triggering instruction, sends the Bluetooth broadcast information while transmitting the infrared code information to the second Bluetooth device, and the second Bluetooth device receives the infrared code. After the information is started, the Bluetooth broadcast information is detected. When a plurality of second Bluetooth devices are simultaneously present, the second Bluetooth device that only receives the infrared code information starts to detect the Bluetooth broadcast information for pairing. It can effectively avoid mismatching between Bluetooth devices.
  • the second Bluetooth device does not detect the Bluetooth broadcast information, proceed to detect that the Bluetooth broadcast information that is sent by the first Bluetooth device when the infrared code information is sent simultaneously step.
  • the second Bluetooth device receives the infrared code information sent by the first Bluetooth device after receiving the triggering instruction, and further includes the following steps:
  • Step S209 after receiving the power-on command and successfully booting, the second Bluetooth device starts the automatic code matching service, and detects the Bluetooth status and the Bluetooth protocol status.
  • the second Bluetooth device automatically starts the automatic code matching service after receiving the power-on command, and after the automatic code matching service is started, the second Bluetooth device detects the Bluetooth state and the Bluetooth protocol. a state, therefore, the second Bluetooth device is ready for Bluetooth pairing before the first Bluetooth device turns on the pairing mode to perform the pairing request, and after receiving the infrared code information, the second Bluetooth The device only needs to directly scan the Bluetooth broadcast information.
  • step S209 prepares all the code preparations before receiving the pairing request. Upon completion, the pairing request can be responded more quickly, and the code efficiency after receiving the pairing request is improved.
  • the second Bluetooth device after receiving the infrared code information, the second Bluetooth device detects that the first Bluetooth device sends the infrared code information simultaneously. After the Bluetooth broadcast information, the following steps are also included:
  • Step S211 the second Bluetooth device triggers a UI prompt and starts a second timer to start timing.
  • the second Bluetooth device starts the second timer to effectively control the pairing time, thereby achieving an energy saving effect.
  • the start detection flag when the start detection flag is set in the second Bluetooth device, and the Bluetooth broadcast information is detected, the start detection flag is set to 1, and the Bluetooth broadcast information is suspended. At this time, the start detection flag is set to 0 in order to identify whether to initiate detection of the Bluetooth broadcast information.
  • the second Bluetooth device before the second Bluetooth device detects the Bluetooth broadcast information, before the pairing with the first Bluetooth device, the second Bluetooth device further includes:
  • Step S240 the second Bluetooth device determines whether the Bluetooth broadcast information is detected.
  • 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;
  • Step S243 if yes, the second Bluetooth device resets the second timer, and suspends the automatic code matching service
  • the preset time of the second timer is 20s, and when the second Bluetooth device does not detect the Bluetooth broadcast information within a preset time 20s, the first Bluetooth device is indicated. The pairing request is not initiated. At this time, turning off the automatic code matching service can save energy loss caused by the code service.
  • the second Bluetooth device when the second Bluetooth device receives the infrared code information again, the second Bluetooth device performs the steps after step S211 and step S211 again.
  • pairing with the first Bluetooth device includes:
  • Step S250 before pairing with the first Bluetooth device, the second Bluetooth device determines whether there is a Bluetooth pairing record with other first Bluetooth devices;
  • Step S251 (not shown), if yes, clearing the Bluetooth pairing record
  • Step S253 (not shown), if not, the second Bluetooth device is paired with the first Bluetooth device.
  • the Bluetooth pairing record includes: pairing information of the second Bluetooth device with other Bluetooth devices and connection information with other Bluetooth devices, and clearing the Bluetooth pairing record, which is beneficial for the second Bluetooth device to initiate pairing The pairing of the requested first Bluetooth device reduces the pairing interference.
  • pairing with the first Bluetooth device includes:
  • Step S260 after detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength;
  • the preset signal strength is 70, and determining whether the detected signal length of the Bluetooth broadcast information exceeds a preset signal strength is beneficial to filtering out the Bluetooth broadcast information sent by other Bluetooth devices, Small pairing interference, while also ensuring successful pairing of the second Bluetooth device with the first Bluetooth device.
  • the second Bluetooth device When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device performs a step of pairing with the first Bluetooth device.
  • the second Bluetooth device reads the Bluetooth pairing list, and detects whether there are other Bluetooth devices that are paired in the Bluetooth pairing list;
  • the second Bluetooth device is paired with the first Bluetooth device.
  • the second Bluetooth device sends a prompt to the user that the signal strength is low, and prompts the user to approach the second Bluetooth device. To increase the signal strength of the Bluetooth broadcast information.
  • the method further includes the following steps:
  • Step S280 the second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device
  • Step S281 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.
  • the step of determining, by the second Bluetooth device, whether the Bluetooth broadcast information is detected is continued.
  • the method further includes:
  • Step S110 the first Bluetooth device starts a first timer to start timing
  • Step S130 the first Bluetooth device determines whether the pairing success information is received
  • Step S131 (not shown), if yes, the first Bluetooth device resets the first timer, and stops transmitting the infrared code information and the Bluetooth broadcast information.
  • the first Bluetooth device After the first Bluetooth device receives the pairing success information, resetting the first timer, and stopping sending the infrared code information and the Bluetooth broadcast information to stop the current round matching service, which is beneficial to automatically ending the pairing service. To save energy loss during the pairing process.
  • the method further includes:
  • Step S150 (not shown), 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;
  • the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;
  • the step of determining whether the first Bluetooth device determines whether the pairing success information is received is continued.
  • 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 reducing energy loss caused by continuously starting the pairing service.
  • the present invention further provides a Bluetooth device.
  • the Bluetooth device provided by the present invention includes:
  • the receiving module 11 is configured to receive infrared code information that is sent by the first Bluetooth device after receiving the triggering instruction;
  • the detecting module 13 is configured to: after receiving the infrared code information, detect the Bluetooth broadcast information that is sent by the first Bluetooth device when the infrared code information is sent;
  • the pairing module 15 is configured to pair with the first Bluetooth device when the Bluetooth broadcast information is detected.
  • the first Bluetooth device is a BLE remote controller
  • the Bluetooth device is a TV host.
  • the triggering instruction may be sent by pressing a combination button, and after receiving the triggering instruction, the infrared code information and the Bluetooth broadcast information are simultaneously transmitted.
  • the user can align the BLE remote controller with the receiving module 11 of the television host, and then press the combination button, because infrared information transmission and infrared information reception need to be realized within an effective range, when there are multiple
  • the other television host does not receive the infrared code information and triggers the detection module 13 to scan the Bluetooth broadcast information, thereby avoiding the BLE remote controller and other television host errors. pair.
  • a custom field is added to the middle of the Bluetooth broadcast information sent by the first Bluetooth device, and the LE Advertising is Report Event broadcasts this field.
  • the custom field is for Manufacturer Specific in EIR
  • the extended data definition the basic data content of the custom field is as shown in the following table, including: data length, data type, data content, and a number of reserved bits, and the Bluetooth device can detect by scanning the Bluetooth broadcast information.
  • the first Bluetooth device is for Manufacturer Specific in EIR.
  • the detecting module 13 After detecting the infrared code information, the detecting module 13 starts to start an automatic scanning service to detect the Bluetooth broadcast information within the scanning range.
  • the detecting module 13 when detecting the Bluetooth broadcast information, the detecting module 13 further parses the content of the customized field of the Bluetooth broadcast information to determine whether the Bluetooth broadcast information is legal. If it is legal, the pairing module The 15 party can pair with the first Bluetooth device to improve the pairing accuracy of the Bluetooth device to the first Bluetooth device.
  • the first Bluetooth device after receiving the triggering instruction, sends the Bluetooth broadcast information while transmitting the infrared code information to the Bluetooth device, and the Bluetooth device receives the infrared code information.
  • the Bluetooth device starts to detect the Bluetooth broadcast information, when there are multiple Bluetooth devices at the same time, the Bluetooth device that only receives the infrared code information starts to detect the Bluetooth broadcast information for pairing, which can effectively avoid the Bluetooth device. Mismatched.
  • the detecting module 13 is further configured to continue to detect, when the Bluetooth broadcast information is not detected, the Bluetooth broadcast that is simultaneously sent by the first Bluetooth device when transmitting the infrared code information. information.

Landscapes

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

Abstract

Disclosed in the present invention is a Bluetooth pairing method, the Bluetooth pairing method comprising the following steps: a second Bluetooth device receiving infrared code information sent by a first Bluetooth device after receiving a triggering instruction; the second Bluetooth device, after receiving the infrared code information, detecting Bluetooth broadcast information that is sent by the first Bluetooth device at the same time that the infrared code information is sent; and the second Bluetooth device pairing with the first Bluetooth device when detecting the Bluetooth broadcast information. Also disclosed in the present invention is a Bluetooth device. The technical solution of the present invention may effectively prevent erroneous pairing between Bluetooth devices.

Description

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

技术领域Technical field

本发明涉及蓝牙技术领域,尤其涉及一种蓝牙配对方法及蓝牙设备。The present invention relates to the field of Bluetooth technologies, and 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 television host and the remote controller. When using Bluetooth for the first time, pairing between two Bluetooth devices is required. In the prior art, the pairing between the two Bluetooth devices adopts a technical solution: pairing the first Bluetooth device with the second Bluetooth device that turns on the Bluetooth pairing mode.

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

发明内容Summary of the invention

本发明的主要目的在于提供一种蓝牙配对方法,旨在避免蓝牙设备之间形成误配对的弊端。The main object of the present invention is to provide a Bluetooth pairing method, which aims to avoid the disadvantage of forming a mismatch between Bluetooth devices.

为实现上述目的,本发明提供的蓝牙配对方法包括以下步骤:To achieve the above objective, 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 Bluetooth broadcast information that is simultaneously sent by the first Bluetooth device when transmitting the infrared code information;

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

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

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

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

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

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

所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息; The second Bluetooth device determines whether the Bluetooth broadcast information is detected;

若否,所述第二蓝牙设备读取所述第二计时器的时间值,并判断所述第二计时器的时间值是否大于预设时间;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 yes, the second Bluetooth device resets the second timer and suspends the automatic code matching service;

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

优选地,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括: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 is a Bluetooth pairing record with other first Bluetooth devices;

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

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

所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the 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 performs a 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, the method further includes the following steps:

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

当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。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.

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

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

所述第一蓝牙设备判断是否收到所述配对成功信息;The first Bluetooth device determines whether the pairing success information 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, the method 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 yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;

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

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

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

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

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

在本发明的技术方案中,所述第一蓝牙设备接收到触发指令后,在发送红外码信息至第二蓝牙设备的同时,发送蓝牙广播信息,所述第二蓝牙设备在接收所述红外码信息后开始侦测所述蓝牙广播信息,当同时存在多个第二蓝牙设备时,仅接收到所述红外码信息的所述第二蓝牙设备才开始侦测所述蓝牙广播信息以进行配对,可以有效避免蓝牙设备之间的误配对。In the technical solution of the present invention, after receiving the triggering instruction, the first Bluetooth device sends the Bluetooth broadcast information while transmitting the infrared code information to the second Bluetooth device, and the second Bluetooth device receives the infrared code. After the information is started, the Bluetooth broadcast information is detected. When a plurality of second Bluetooth devices are simultaneously present, the second Bluetooth device that only receives the infrared code information starts to detect the Bluetooth broadcast information for pairing. It can effectively avoid mismatching between Bluetooth devices.

附图说明DRAWINGS

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

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

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

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

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

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

附图标号说明:Description of the reference numerals:

标号Label 名称name 标号Label 名称name 1111 接收模块Receiving module 1313 侦测模块Detection module 1515 配对模块Pairing module

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

具体实施方式detailed description

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the 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 BLE (Bluetooth) Low Energy), the second Bluetooth device is a television host.

所述触发指令可以通过按压组合按键发送,在收到所述触发指令后,红外码信息和蓝牙广播信息同时发送。例如,使用者可以将BLE遥控器对准所述第二蓝牙设备的红外接收位置,然后按压所述组合按键,由于红外信息发送和红外信息接收需要在有效范围内才能实现,当有多台电视机主机同时存在时,其他电视机主机不会接收到所述红外码信息并触发对所述蓝牙广播信息的扫描,因此,可以避免BLE遥控器与其他电视机主机误配对。The triggering command may be sent by pressing a combination button, and after receiving the triggering instruction, the infrared code information and the Bluetooth broadcast information are simultaneously transmitted. For example, the user can align the BLE remote controller with the infrared receiving position of the second Bluetooth device, and then press the combination button, because the infrared information transmission and the infrared information receiving need to be in the effective range, when there are multiple televisions When the host computer exists at the same time, the other television host does not receive the infrared code information and triggers scanning of the Bluetooth broadcast information. Therefore, the BLE remote controller can be prevented from mis-pairing with other television hosts.

为了优化所述第一蓝牙设备和所述第二蓝牙设备的对码方法,在第一蓝牙设备发送的蓝牙广播信息中端增加自定义字段,并通过LE Advertising Report Event广播此字段。In order to optimize the pairing method of 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 the LE Advertising is adopted. Report Event broadcasts this field.

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

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

内容content Struct LengthStruct Length Assign NameAssign Name Vendor ID(1th)Vendor ID (1th) Vendor ID(2rd)Vendor ID (2rd) Param1Param1 Param2Param2 字段属性Field attribute 8bit(0x05)8bit (0x05) 8bit (0xff)8bit (0xff) 8bit (0x88)8bit (0x88) 8bit (0x89)8bit (0x89) 4bit reserv4bit reserv 4bit reserv4bit reserv

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

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

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

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

在本发明的技术方案中,所述第一蓝牙设备接收到触发指令后,在发送红外码信息至第二蓝牙设备的同时,发送蓝牙广播信息,所述第二蓝牙设备在接收所述红外码信息后开始侦测所述蓝牙广播信息,当同时存在多个第二蓝牙设备时,仅接收到所述红外码信息的所述第二蓝牙设备才开始侦测所述蓝牙广播信息以进行配对,可以有效避免蓝牙设备之间的误配对。In the technical solution of the present invention, after receiving the triggering instruction, the first Bluetooth device sends the Bluetooth broadcast information while transmitting the infrared code information to the second Bluetooth device, and the second Bluetooth device receives the infrared code. After the information is started, the Bluetooth broadcast information is detected. When a plurality of second Bluetooth devices are simultaneously present, the second Bluetooth device that only receives the infrared code information starts to detect the Bluetooth broadcast information for pairing. It can effectively avoid mismatching between Bluetooth devices.

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

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

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

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

再请参阅图3,优选地,在第三实施例中,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的所述蓝牙广播信息之后,还包括以下步骤:Referring to FIG. 3, 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 simultaneously. 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, the second Bluetooth device starts the second timer to effectively control the pairing time, thereby achieving an energy saving effect.

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

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

步骤S240,所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息;Step S240, the second Bluetooth device determines 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 matching service;

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

在本实施例中,所述第二计时器的预设时间为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 a preset time 20s, the first Bluetooth device is indicated. The pairing request is not initiated. At this time, turning off the automatic code matching service can save energy loss caused by the code service.

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

优选地,在第五实施例中,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括: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), 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 yes, clearing the Bluetooth pairing record;

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

具体的,所述蓝牙配对记录包括:所述第二蓝牙设备与其他蓝牙设备的配对信息及与其他蓝牙设备的连接信息,清除所述蓝牙配对记录,有利于所述第二蓝牙设备与发起配对请求的所述第一蓝牙设备的配对,降低配对干扰。Specifically, the Bluetooth pairing record includes: pairing information of the second Bluetooth device with other Bluetooth devices and connection information with other Bluetooth devices, and clearing the Bluetooth pairing record, which is beneficial for the second Bluetooth device to initiate pairing The pairing of the requested first Bluetooth device reduces the 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), after detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength;

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

当侦测到的所述蓝牙广播信息的信号强度超过预设信号强度时,所述第二蓝牙设备执行与所述第一蓝牙设备进行配对的步骤。When the detected signal strength of the Bluetooth broadcast information exceeds a preset signal strength, the second Bluetooth device performs a 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 Bluetooth devices that are paired in the Bluetooth pairing list;

若是,则移除其他蓝牙设备的配对;If yes, 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 prompt to the user that the signal strength is low, and prompts the user to approach the second Bluetooth device. To increase the signal strength of the Bluetooth broadcast information.

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

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

步骤S281,当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。Step S281, 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.

进一步的,若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。Further, if no, the step of determining, by the second Bluetooth device, whether the Bluetooth broadcast information is detected is continued.

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

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

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

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

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

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

步骤S150(图未示),若否,则所述第一蓝牙设备读取所述第一计时器的时间值,并判断所述第一计时器的时间值是否大于预设时间;Step S150 (not shown), 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 yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information;

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

在本实施例中,所述第一计时器的预设时间设置为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 reducing energy loss caused by continuously starting the pairing service.

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

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

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

配对模块15,用于在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The pairing module 15 is configured to pair 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, the embodiments of the first Bluetooth device and the Bluetooth device are not limited thereto. The triggering instruction may be sent by pressing a combination button, and after receiving the triggering instruction, the infrared code information and the Bluetooth broadcast information are simultaneously transmitted. For example, the user can align the BLE remote controller with the receiving module 11 of the television host, and then press the combination button, because infrared information transmission and infrared information reception need to be realized within an effective range, when there are multiple When the television host simultaneously exists, the other television host does not receive the infrared code information and triggers the detection module 13 to scan the Bluetooth broadcast information, thereby avoiding the BLE remote controller and other television host errors. pair.

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

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

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

内容content Struct LengthStruct Length Assign NameAssign Name Vendor ID(1th)Vendor ID (1th) Vendor ID(2rd)Vendor ID (2rd) Param1Param1 Param2Param2 字段属性Field attribute 8bit(0x05)8bit (0x05) 8bit (0xff)8bit (0xff) 8bit (0x88)8bit (0x88) 8bit (0x89)8bit (0x89) 4bit reserv4bit reserv 4bit reserv4bit reserv

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

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

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

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

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

Claims (19)

一种蓝牙配对方法,其特征在于,所述蓝牙配对方法包括以下步骤: A Bluetooth pairing method, characterized in that the 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 Bluetooth broadcast information that is simultaneously sent by the first Bluetooth device when transmitting the infrared code information; 所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。The second Bluetooth device pairs with the first Bluetooth device when detecting the Bluetooth broadcast information. 如权利要求1所述的蓝牙配对方法,其特征在于,第二蓝牙设备接收第一蓝牙设备在收到触发指令后发送的红外码信息之前,还包括以下步骤:The Bluetooth pairing method according to claim 1, wherein the second Bluetooth device receives the infrared code information sent by the first Bluetooth device after receiving the triggering instruction, and further includes the following steps: 所述第二蓝牙设备在接收到开机指令并成功开机后,启动自动对码服务,并检测蓝牙状态及蓝牙协议状态。After receiving the power-on command and successfully booting, the second Bluetooth device starts the automatic code matching service and detects the Bluetooth status and the Bluetooth protocol status. 如权利要求2所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息之后,还包括以下步骤:The Bluetooth pairing method according to claim 2, wherein after receiving the infrared code information, the second Bluetooth device detects that the first Bluetooth device simultaneously transmits the infrared code information when transmitting After 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 begin timing. 如权利要求3所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之前,进一步包括:The Bluetooth pairing method according to claim 3, wherein the second Bluetooth device further comprises: before the pairing with the first Bluetooth device when detecting the Bluetooth broadcast information, further comprising: 所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息; The second Bluetooth device determines whether the Bluetooth broadcast information is detected; 若否,所述第二蓝牙设备读取所述第二计时器的时间值,并判断所述第二计时器的时间值是否大于预设时间;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 yes, the second Bluetooth device resets the second timer and suspends the automatic code matching service; 若否,则继续执行所述第二蓝牙设备判断是否侦测到所述蓝牙广播信息的步骤。If not, proceeding to the step of the second Bluetooth device determining whether the Bluetooth broadcast information is detected. 如权利要求1所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 1, 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 is a Bluetooth pairing record with other first Bluetooth devices; 若是,则清除所述蓝牙配对记录。If yes, the Bluetooth pairing record is cleared. 如权利要求2所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 2, 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 is a Bluetooth pairing record with other first Bluetooth devices; 若是,则清除所述蓝牙配对记录。If yes, the Bluetooth pairing record is cleared. 如权利要求3所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 3, wherein the pairing with the first Bluetooth device when the second Bluetooth device detects the Bluetooth broadcast information comprises: 与所述第一蓝牙设备进行配对之前,所述第二蓝牙设备判断是否存在与其他第一蓝牙设备的蓝牙配对记录;Before pairing with the first Bluetooth device, the second Bluetooth device determines whether there is a Bluetooth pairing record with other first Bluetooth devices; 若是,则清除所述蓝牙配对记录。If yes, the Bluetooth pairing record is cleared. 如权利要求4所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 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 is a Bluetooth pairing record with other first Bluetooth devices; 若是,则清除所述蓝牙配对记录。If yes, the Bluetooth pairing record is cleared. 如权利要求1所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 1, wherein when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes: 所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the 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 performs a step of pairing with the first Bluetooth device. 如权利要求2所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 2, wherein when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes: 所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the 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 performs a step of pairing with the first Bluetooth device. 如权利要求3所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 3, wherein the pairing with the first Bluetooth device when the second Bluetooth device detects the Bluetooth broadcast information comprises: 所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the 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 performs a step of pairing with the first Bluetooth device. 如权利要求4所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对包括:The Bluetooth pairing method according to claim 4, wherein when the second Bluetooth device detects the Bluetooth broadcast information, pairing with the first Bluetooth device includes: 所述第二蓝牙设备在侦测到所述蓝牙广播信息后,判断侦测到的所述蓝牙广播信息的信号强度是否超过预设信号强度;After detecting the Bluetooth broadcast information, the second Bluetooth device determines whether the detected signal strength of the 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 performs a step of pairing with the first Bluetooth device. 如权利要求1所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:The Bluetooth pairing method according to claim 1, wherein the second Bluetooth device further comprises the following steps after pairing with the first Bluetooth device when the Bluetooth broadcast information is detected: 所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device; 当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。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. 如权利要求2所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:The Bluetooth pairing method according to claim 2, wherein the second Bluetooth device further comprises the following steps after pairing with the first Bluetooth device when detecting the Bluetooth broadcast information: 所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device; 当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。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. 如权利要求3所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:The Bluetooth pairing method according to claim 3, wherein the second Bluetooth device further comprises the following steps after pairing with the first Bluetooth device when detecting the Bluetooth broadcast information: 所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device; 当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。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. 如权利要求4所述的蓝牙配对方法,其特征在于,所述第二蓝牙设备在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对之后,进一步包括以下步骤:The Bluetooth pairing method according to claim 4, wherein the second Bluetooth device further comprises the following steps after pairing with the first Bluetooth device when detecting the Bluetooth broadcast information: 所述第二蓝牙设备判断与所述第一蓝牙设备是否配对成功;The second Bluetooth device determines whether the first Bluetooth device is successfully paired with the first Bluetooth device; 当所述第二蓝牙设备与所述第一蓝牙设备配对成功时,所述第二蓝牙设备发送配对成功信息至所述第一蓝牙设备。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. 如权利要求13所述的蓝牙配对方法,其特征在于,所述第一蓝牙设备在发送所述红外码信息和所述蓝牙广播信息之后,进一步包括:The Bluetooth pairing method according to claim 13, wherein the first Bluetooth device further comprises: after transmitting the infrared code information and the Bluetooth broadcast information: 所述第一蓝牙设备启动第一计时器以开始计时;The first Bluetooth device starts a first timer to start timing; 所述第一蓝牙设备判断是否收到所述配对成功信息;The first Bluetooth device determines whether the pairing success information is received; 若是,则所述第一蓝牙设备对所述第一计时器进行复位,并停止发送所述红外码信息和所述蓝牙广播信息。If yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information. 如权利要求17所述的蓝牙配对方法,其特征在于,所述第一蓝牙设备判断是否收到所述配对成功信息之后,进一步包括:The Bluetooth pairing method according to claim 17, wherein the first Bluetooth device determines whether the pairing success information is received, and 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 yes, the first Bluetooth device resets the first timer, and stops sending the infrared code information and the Bluetooth broadcast information; 若否,则继续执行所述第一蓝牙设备判断是否收到所述配对成功信息的步骤。If not, proceeding to the step of the first Bluetooth device determining whether the pairing success information is received. 一种蓝牙设备,其特征在于,包括:A Bluetooth device, comprising: 接收模块,用于接收第一蓝牙设备在收到触发指令后发送的红外码信息;a receiving module, configured to receive infrared code information sent by the first Bluetooth device after receiving the triggering instruction; 侦测模块,用于在接收所述红外码信息后,侦测所述第一蓝牙设备在发送所述红外码信息之时同时发送的蓝牙广播信息;a detecting module, configured to: after receiving the infrared code information, detect Bluetooth broadcast information that is sent by the first Bluetooth device when the infrared code information is sent; 配对模块,用于在侦测到所述蓝牙广播信息时,与所述第一蓝牙设备进行配对。 a pairing module, configured to pair with the first Bluetooth device when the Bluetooth broadcast information is detected.
PCT/CN2016/112267 2016-08-18 2016-12-27 Bluetooth pairing method and bluetooth device Ceased WO2018032681A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018032681A1 true WO2018032681A1 (en) 2018-02-22

Family

ID=57679250

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112267 Ceased WO2018032681A1 (en) 2016-08-18 2016-12-27 Bluetooth pairing method and bluetooth device

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885556A (en) * 2020-06-17 2020-11-03 福建新大陆通信科技股份有限公司 Fast 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
CN113490218A (en) * 2021-06-08 2021-10-08 深圳Tcl新技术有限公司 Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium

Families Citing this family (10)

* 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
CN108495323B (en) * 2018-03-13 2019-09-27 华中科技大学 A Bluetooth tag detector with multiple detection modes
CN108632796B (en) * 2018-04-16 2021-05-28 Oppo广东移动通信有限公司 Bluetooth connection 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
CN113920709A (en) * 2021-11-25 2022-01-11 四川长虹电器股份有限公司 Smart television Bluetooth remote controller pairing method
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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067055A (en) * 2012-12-26 2013-04-24 深圳天珑无线科技有限公司 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
CN104735607A (en) * 2015-02-26 2015-06-24 广东欧珀移动通信有限公司 Data transmission method, mobile terminal and 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818272B2 (en) * 2007-07-18 2014-08-26 Broadcom Corporation System and method for remotely controlling bluetooth enabled electronic equipment
US9635433B2 (en) * 2013-03-08 2017-04-25 Google Inc. Proximity detection by mobile devices
KR102189648B1 (en) * 2014-10-30 2020-12-11 삼성전자주식회사 Display, controlling method thereof and display system
CN105516902A (en) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 Method and system for Bluetooth connection and Bluetooth device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067055A (en) * 2012-12-26 2013-04-24 深圳天珑无线科技有限公司 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
CN104735607A (en) * 2015-02-26 2015-06-24 广东欧珀移动通信有限公司 Data transmission method, mobile terminal and system
CN105721916A (en) * 2016-04-11 2016-06-29 江苏惠通集团有限责任公司 Master device, slave device and pairing method of master device and slave device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885556A (en) * 2020-06-17 2020-11-03 福建新大陆通信科技股份有限公司 Fast Bluetooth adaptation method, system, remote controller, intelligent terminal and medium
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
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 controller, intelligent device and storage medium

Also Published As

Publication number Publication date
CN106303641A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2018032681A1 (en) Bluetooth pairing method and bluetooth device
WO2012000417A1 (en) Method for identifying host operating system by universal serial bus (usb) device
WO2018066841A1 (en) Display apparatus, electronic apparatus connectable to display apparatus, and method for controlling the same
WO2015034249A1 (en) Apparatus and method for auto-pairing of remote controller using nfc tag
WO2016065619A1 (en) Data traffic management method and device
WO2013075546A1 (en) Usb key and method thereof for communicating with terminal
WO2013185508A1 (en) Method and wireless communication device for implementing wireless headset feature of television
WO2016095253A1 (en) Method and apparatus for controlling radio frequency power
WO2018233352A1 (en) Data transmission method, device, terminal and computer readable storage medium
WO2020073450A1 (en) Multi-split air conditioner, and control method and device thereof, and computer readable storage medium
WO2020004765A1 (en) Electronic device, remote control device and control method therefor
WO2014019139A1 (en) Method, device and system for implementing radio resource control connection release
WO2021145597A1 (en) Electronic device and operating method thereof
WO2014065556A1 (en) Wireless energy transmission method, apparatus, and system
WO2018024012A1 (en) Remote controller, and projection method
WO2020133764A1 (en) Speech remote control method and system, and controlled apparatus and computer-readable storage medium
WO2018161588A1 (en) Broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device
WO2019135608A1 (en) Optical signal transferring apparatus, electronic apparatus, source device, and methods of operating the same
WO2019223600A1 (en) Bluetooth audio transmission method, device, and computer readable storage medium
WO2019114255A1 (en) Voice acquisition method, remote control and computer readable storage medium
WO2015078073A1 (en) Method for monitoring software crash and medical external apparatus using same
WO2015058508A1 (en) Control method based on bluetooth communication technology, controlled device and controlling device
WO2018161576A1 (en) Broadcast control method, device, storage medium and mobile terminal
WO2019117644A1 (en) Electronic device for controlling registration session, and operation method therefor; and server, and operation method therefor
WO2019160256A1 (en) Electronic apparatus and method for controlling thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16913433

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16913433

Country of ref document: EP

Kind code of ref document: A1