[go: up one dir, main page]

CN108684029A - A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal - Google Patents

A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal Download PDF

Info

Publication number
CN108684029A
CN108684029A CN201810965965.2A CN201810965965A CN108684029A CN 108684029 A CN108684029 A CN 108684029A CN 201810965965 A CN201810965965 A CN 201810965965A CN 108684029 A CN108684029 A CN 108684029A
Authority
CN
China
Prior art keywords
bluetooth device
carrier signal
bluetooth
terminal
pairing
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.)
Granted
Application number
CN201810965965.2A
Other languages
Chinese (zh)
Other versions
CN108684029B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810965965.2A priority Critical patent/CN108684029B/en
Publication of CN108684029A publication Critical patent/CN108684029A/en
Application granted granted Critical
Publication of CN108684029B publication Critical patent/CN108684029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种蓝牙配对连接方法及系统、蓝牙设备和终端,应用于蓝牙设备的蓝牙配对连接方法包括:对外发送广播数据包,所述广播数据包包括蓝牙设备的地址信息;基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;对外发送所述配对载波信号;其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。从而,终端能自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更方便快捷,节约用户的时间。

Embodiments of the present invention provide a Bluetooth pairing connection method and system, a Bluetooth device, and a terminal. The Bluetooth pairing connection method applied to a Bluetooth device includes: sending a broadcast data packet to the outside, and the broadcast data packet includes address information of the Bluetooth device; The address information of the Bluetooth device, the wake-up identification code and the preset carrier signal, generate a paired carrier signal; send the paired carrier signal externally; wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used When the terminal recognizes the wake-up identification code, turn on Bluetooth, and determine whether to communicate with The Bluetooth device performs a pairing connection. Therefore, the terminal can automatically determine whether to pair and connect with the Bluetooth device without manual operation by the user, which is highly intelligent, more convenient and faster, and saves time for the user.

Description

一种蓝牙配对连接方法及系统、蓝牙设备和终端A Bluetooth pairing connection method and system, Bluetooth device and terminal

技术领域technical field

本发明实施例涉及蓝牙技术领域,尤其涉及一种蓝牙配对连接方法及系统、蓝牙设备和终端。The embodiments of the present invention relate to the technical field of Bluetooth, and in particular to a Bluetooth pairing connection method and system, a Bluetooth device and a terminal.

背景技术Background technique

蓝牙技术作为一种短距离无线连接技术,应用越来越广泛,也越来越受到人们的重视。例如:随着智能移动终端及耳机的普及,越来越多的用户选择使用便携的蓝牙耳机,不仅能解除实体线材的局限,还能提升听觉体验。Bluetooth technology, as a short-distance wireless connection technology, is more and more widely used, and more and more people pay more and more attention to it. For example: With the popularity of smart mobile terminals and earphones, more and more users choose to use portable Bluetooth earphones, which can not only relieve the limitations of physical wires, but also improve the listening experience.

然而,现有技术中,蓝牙耳机与移动终端进行配对过程,一般是先打开蓝牙耳机的蓝牙开关、打开移动终端的蓝牙开关,在移动终端蓝牙界面上搜索可配对的蓝牙设备,得到附近的蓝牙设备列表,用户选择确认后再进行配对。这种配对方法,过程繁琐,并且需要用户多次操作确认,造成用户体验不佳。However, in the prior art, the pairing process between the Bluetooth headset and the mobile terminal is generally to first turn on the Bluetooth switch of the Bluetooth headset, turn on the Bluetooth switch of the mobile terminal, search for pairable Bluetooth devices on the Bluetooth interface of the mobile terminal, and obtain nearby Bluetooth devices. Device list, the user chooses to confirm before pairing. In this pairing method, the process is cumbersome and requires multiple confirmation operations by the user, resulting in poor user experience.

因而,如何在蓝牙设备与终端进行配对连接时,简化用户的操作,是目前亟待解决的技术问题。Therefore, how to simplify the operation of the user when the Bluetooth device is paired with the terminal is a technical problem to be solved urgently.

发明内容Contents of the invention

本发明实施例提供一种蓝牙配对连接方法及系统、蓝牙设备和终端,以解决现有的蓝牙设备与终端进行配对连接时,操作繁琐的问题。Embodiments of the present invention provide a Bluetooth pairing connection method and system, a Bluetooth device, and a terminal, so as to solve the problem of cumbersome operations when pairing and connecting an existing Bluetooth device and a terminal.

为解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种蓝牙配对连接方法,应用于蓝牙设备,包括:In the first aspect, an embodiment of the present invention provides a Bluetooth pairing connection method, which is applied to a Bluetooth device, including:

对外发送广播数据包,所述广播数据包包括蓝牙设备的地址信息;Sending a broadcast data packet to the outside, where the broadcast data packet includes address information of the Bluetooth device;

基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;Generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

对外发送所述配对载波信号;sending the paired carrier signal externally;

其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device.

第二方面,本发明实施例还提供了一种蓝牙配对连接方法,应用于终端,包括:In the second aspect, the embodiment of the present invention also provides a Bluetooth pairing connection method applied to a terminal, including:

接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;Receive a pairing carrier signal sent by the Bluetooth device, the pairing carrier signal includes the address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal;

基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;Turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;receiving a broadcast data packet, the broadcast data packet including address information of the Bluetooth device;

在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。When the address information of the bluetooth device in the broadcast data packet matches the stored address information of the bluetooth device, send a pairing instruction to the bluetooth device that sends the broadcast data packet, and send the broadcast data Packaged Bluetooth devices for pairing and connection.

第三方面,本发明实施例还提供了一种蓝牙设备,包括:第一发送模块、生成模块和第二发送模块;其中:In the third aspect, the embodiment of the present invention also provides a Bluetooth device, including: a first sending module, a generating module, and a second sending module; wherein:

所述第一发送模块,用于对外发送广播数据包,所述广播数据包包括所述蓝牙设备的地址信息;The first sending module is configured to send a broadcast data packet externally, and the broadcast data packet includes address information of the Bluetooth device;

所述生成模块,用于基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;The generating module is configured to generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

所述第二发送模块,与所述生成模块连接,用于对外发送所述配对载波信号;The second sending module is connected to the generating module, and is used to send the paired carrier signal externally;

其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device.

第四方面,本发明实施例还提供了一种终端,包括:第一接收模块、响应模块、第二接收模块和配对模块,其中:In a fourth aspect, an embodiment of the present invention further provides a terminal, including: a first receiving module, a response module, a second receiving module, and a pairing module, wherein:

所述第一接收模块,用于接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;The first receiving module is configured to receive a paired carrier signal sent by a Bluetooth device, the paired carrier signal includes address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal;

所述响应模块,与所述第一接收模块连接,用于基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;The response module is connected to the first receiving module, and is used to turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

所述第二接收模块,用于接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;The second receiving module is configured to receive a broadcast data packet, and the broadcast data packet includes address information of the Bluetooth device;

所述配对模块,分别与所述响应模块和所述第二接收模块连接,用于在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。The pairing module is connected to the response module and the second receiving module respectively, and is configured to, when the address information of the Bluetooth device in the broadcast data packet matches the stored address information of the Bluetooth device, Send a pairing instruction to the Bluetooth device that sends the broadcast data packet, and perform a pairing connection with the Bluetooth device that sends the broadcast data packet.

第五方面,本发明实施例还提供了一种蓝牙配对连接系统,包括:上述的蓝牙设备和上述的终端。In the fifth aspect, the embodiment of the present invention further provides a Bluetooth pairing and connection system, including: the above-mentioned Bluetooth device and the above-mentioned terminal.

第六方面,本发明实施例还提供了一种蓝牙设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述应用于蓝牙设备的蓝牙配对连接方法的步骤。In the sixth aspect, the embodiment of the present invention also provides a bluetooth device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, the computer program being executed by the processor During execution, the above-mentioned steps of the Bluetooth pairing connection method applied to the Bluetooth device are realized.

第七方面,本发明实施例还提供了一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述应用于终端的蓝牙配对连接方法的步骤。In the seventh aspect, an embodiment of the present invention also provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor When implementing the above steps of the Bluetooth pairing connection method applied to the terminal.

第八方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述的蓝牙配对连接方法的步骤。In an eighth aspect, the embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above Bluetooth pairing connection method are implemented.

在本发明实施例中,通过发送广播数据包和配对载波信号,使得终端能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。In the embodiment of the present invention, by sending the broadcast data packet and the paired carrier signal, the terminal can automatically determine whether to pair and connect with the Bluetooth device, without manual operation by the user, which is highly intelligent, more convenient and faster, and saves the user's time.

附图说明Description of drawings

图1为本发明实施例一提供的蓝牙配对连接方法的流程示意图之一;FIG. 1 is one of the schematic flow diagrams of the Bluetooth pairing connection method provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的蓝牙配对连接方法的流程示意图之一;FIG. 2 is one of the schematic flow diagrams of the Bluetooth pairing connection method provided by Embodiment 2 of the present invention;

图3为本发明实施例三提供的蓝牙设备的结构示意图之一;FIG. 3 is one of the structural schematic diagrams of the Bluetooth device provided by Embodiment 3 of the present invention;

图4为本发明一具体应用场景中的蓝牙设备的结构示意图;FIG. 4 is a schematic structural diagram of a Bluetooth device in a specific application scenario of the present invention;

图5为本发明实施例四提供的终端的结构示意图之一;FIG. 5 is one of the schematic structural diagrams of a terminal provided in Embodiment 4 of the present invention;

图6为本发明一具体应用场景中的终端的结构示意图;FIG. 6 is a schematic structural diagram of a terminal in a specific application scenario of the present invention;

图7为本发明实施例五提供的配对连接系统的结构示意图之一;FIG. 7 is one of the structural schematic diagrams of the pairing connection system provided by Embodiment 5 of the present invention;

图8为本发明实施例六提供的蓝牙设备的结构示意图之一;FIG. 8 is one of the schematic structural diagrams of a Bluetooth device provided in Embodiment 6 of the present invention;

图9为本发明实施例七提供的终端的结构示意图之一;FIG. 9 is one of the schematic structural diagrams of a terminal provided by Embodiment 7 of the present invention;

图10为实现本发明各个实施例的终端的硬件结构示意图之一。FIG. 10 is one of the schematic diagrams of the hardware structure of a terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

请参阅图1,图1是本发明实施例一提供的蓝牙配对连接方法的流程示意图之一,该方法应用于蓝牙设备,包括:Please refer to FIG. 1. FIG. 1 is one of the schematic flowcharts of the Bluetooth pairing connection method provided by Embodiment 1 of the present invention. The method is applied to Bluetooth devices, including:

步骤11:对外发送广播数据包,所述广播数据包包括所述蓝牙设备的地址信息;Step 11: sending a broadcast data packet externally, the broadcast data packet including the address information of the Bluetooth device;

其中,所述蓝牙设备的地址信息唯一对应于所述蓝牙设备。蓝牙设备的地址信息的唯一性,能够使得终端确定与哪个蓝牙设备自动连接。Wherein, the address information of the Bluetooth device uniquely corresponds to the Bluetooth device. The uniqueness of the address information of the bluetooth device enables the terminal to determine which bluetooth device to automatically connect with.

步骤12:基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;Step 12: Generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

其中,所述预设的载波信号可以为电磁波信号,也可以为声波信号。所述唤醒识别码用于指示终端开启蓝牙,是由终端与蓝牙设备进行协商确认的。所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙。Wherein, the preset carrier signal may be an electromagnetic wave signal or an acoustic wave signal. The wake-up identification code is used to instruct the terminal to turn on the bluetooth, and is confirmed through negotiation between the terminal and the bluetooth device. The paired carrier signal is used for the terminal to turn on Bluetooth when it recognizes the wake-up identification code.

步骤13:对外发送所述配对载波信号。Step 13: Send the paired carrier signal externally.

其中,所述配对载波信号用于终端在开启蓝牙的情况下,根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the paired carrier signal is used for the terminal to determine whether it is compatible with the Bluetooth device according to the address information of the Bluetooth device in the broadcast data packet and the address information of the Bluetooth device in the paired carrier signal when Bluetooth is turned on. pairing with the Bluetooth device mentioned above.

本发明实施例提供的蓝牙配对连接方法,通过发送广播数据包和配对载波信号,使得终端能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The Bluetooth pairing and connection method provided by the embodiment of the present invention enables the terminal to automatically determine whether to pair and connect with the Bluetooth device by sending broadcast data packets and pairing carrier signals, without manual operation by the user. user's time.

上述实施例中,所述蓝牙设备可以为蓝牙耳机、蓝牙音箱或汽车蓝牙等设备。In the above embodiment, the bluetooth device may be a bluetooth headset, a bluetooth speaker, or a car bluetooth.

由于声波的能耗低,且在不同频率的声波中,可听声波信号会造成声音污染,在可听声波信号中存在的声源很多,会存在较大的干扰;而不可听的超声波信号因为具有很强的指向性,在传播过程中存在盲区,导致接收端无法接收。Due to the low energy consumption of sound waves, and in sound waves of different frequencies, audible sound wave signals will cause sound pollution, there are many sound sources in audible sound wave signals, and there will be greater interference; It has strong directivity, and there are blind spots in the propagation process, which makes the receiving end unable to receive.

因此,优选的,所述预设的载波信号为预设的次声波载波信号。Therefore, preferably, the preset carrier signal is a preset infrasonic carrier signal.

从而,生成的配对载波信号为次声波信号,传播时不会造成声音干扰,传播效果更佳,也更为节约能耗。Therefore, the generated paired carrier signal is an infrasound wave signal, which will not cause sound interference during transmission, has a better transmission effect, and saves more energy consumption.

本发明实施例中的预设的次声波载波信号的频率小于20Hz。可以根据实际需求设定预设的次声波载波信号的频率,更加灵活方便。The frequency of the preset infrasonic carrier signal in the embodiment of the present invention is less than 20 Hz. The frequency of the preset infrasonic carrier signal can be set according to actual needs, which is more flexible and convenient.

在本发明的一些优选实施例中,可以根据实际需求进行自行设定用于指示终端开启蓝牙的唤醒识别码,但必须是经过蓝牙设备与终端双方统一认可的唤醒识别码,从而,能够实现蓝牙设备与终端间的自动配对连接。In some preferred embodiments of the present invention, the wake-up identification code for instructing the terminal to turn on Bluetooth can be set by itself according to actual needs, but it must be a wake-up identification code that is uniformly approved by both the Bluetooth device and the terminal, so that Bluetooth can be realized. Automatic pairing connection between device and terminal.

优选的,用于指示终端开启蓝牙的唤醒识别码与蓝牙设备和终端均唯一对应。从而,在终端与蓝牙设备间进行配对连接时,能够降低工作量,反应更为迅速,更为节约能耗。Preferably, the wake-up identification code used to instruct the terminal to turn on Bluetooth is uniquely corresponding to both the Bluetooth device and the terminal. Therefore, when pairing and connecting between the terminal and the Bluetooth device, the workload can be reduced, the response can be faster, and the energy consumption can be saved more.

举例来说,同一系列的手机A与蓝牙耳机a间的唤醒识别码为“A_open_Bluetooth”,该唤醒识别码“A_open_Bluetooth”仅对应于该系列的手机A和蓝牙耳机a。从而,该系列的手机A和蓝牙耳机a进行配对连接时,能进一步提高连接效率。For example, the wake-up identification code between the mobile phone A and the Bluetooth headset a of the same series is "A_open_Bluetooth", and the wake-up identification code "A_open_Bluetooth" only corresponds to the mobile phone A and the Bluetooth headset a of the same series. Therefore, when the mobile phone A of this series and the Bluetooth headset a are paired and connected, the connection efficiency can be further improved.

本发明实施例中,可采用多种方式生成配对载波信号。In the embodiment of the present invention, multiple ways can be used to generate the paired carrier signal.

作为其中一种优选的具体实施方式,所述生成配对载波信号的步骤包括:基于所述蓝牙设备的地址信息和唤醒识别码,生成原始信号;将所述原始信号加载在所述蓝牙设备的载波信号发生器所发出的预设的次声波载波信号,生成合成声波信号;放大所述合成声波信号,生成配对载波信号。As one of the preferred specific implementations, the step of generating the paired carrier signal includes: generating an original signal based on the address information and the wake-up identification code of the Bluetooth device; loading the original signal on the carrier of the Bluetooth device The preset infrasound carrier signal sent by the signal generator generates a synthetic sound wave signal; the synthetic sound wave signal is amplified to generate a paired carrier signal.

具体而言,蓝牙设备的载波信号发生器发出预设的次声波载波信号P1#;根据蓝牙设备的地址信息#Address_01和用于指示终端开启蓝牙的唤醒识别码,生成原始信号P2#;将载波信号P1#和原始信号P2#进行重新编码转化,将原始信号P2#加载在载波信号P1#上,生成合成声波信号P3#;将合成声波信号P3#进行放大,生成配对载波信号P3_1#。Specifically, the carrier signal generator of the Bluetooth device sends out the preset infrasonic carrier signal P1#; according to the address information #Address_01 of the Bluetooth device and the wake-up identification code used to instruct the terminal to turn on Bluetooth, the original signal P2# is generated; the carrier signal P1# and the original signal P2# are re-encoded and converted, and the original signal P2# is loaded on the carrier signal P1# to generate a synthetic sound wave signal P3#; the synthetic sound wave signal P3# is amplified to generate a paired carrier signal P3_1#.

从而,利用蓝牙设备现有的元器件生成配对载波信号,无需增加蓝牙设备的成本。Therefore, the existing components and parts of the Bluetooth device are used to generate the paired carrier signal without increasing the cost of the Bluetooth device.

随着智能终端及蓝牙设备的普及,生活空间中到处都充斥着终端及蓝牙设备,为了减少终端及蓝牙设备的工作量,提高配对连接的效率,本发明实施例中,可以设定蓝牙设备与终端的距离小于或等于指定距离阈值。根据次声波信号在空间中传播的声压级衰减关系,可以确定蓝牙设备与终端的距离小于或等于指定距离阈值时,次声波的声压级衰减小于或等于预设阈值。With the popularization of smart terminals and Bluetooth devices, terminals and Bluetooth devices are everywhere in the living space. In order to reduce the workload of terminals and Bluetooth devices and improve the efficiency of pairing and connection, in the embodiment of the present invention, Bluetooth devices can be set to The terminal's distance is less than or equal to the specified distance threshold. According to the attenuation relationship of the sound pressure level of the infrasound wave signal propagating in space, it can be determined that when the distance between the Bluetooth device and the terminal is less than or equal to the specified distance threshold, the sound pressure level attenuation of the infrasound wave is less than or equal to the preset threshold.

因此,优选的,所述配对载波信号的声压级比所述蓝牙设备当前所处环境的声压级高,且所述配对载波信号的声压级与所述蓝牙设备当前所处环境的声压级的差值小于或等于预设阈值。从而,终端接收到与该终端的距离小于或等于指定距离阈值的蓝牙设备发送的配对载波信号,终端的工作量大大减少,配对连接的效率得以提高。Therefore, preferably, the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located, and the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located. The difference in pressure levels is less than or equal to a preset threshold. Therefore, when the terminal receives the pairing carrier signal sent by the Bluetooth device whose distance to the terminal is less than or equal to the specified distance threshold, the workload of the terminal is greatly reduced, and the efficiency of the pairing connection is improved.

优选的,所述蓝牙设备当前所处环境的声压级由所述蓝牙设备的麦克风模块获得。通过蓝牙设备现有的麦克风模块获得蓝牙设备当前所处环境的声压级,蓝牙设备在硬件上无需增加,无需增加蓝牙设备的成本。Preferably, the sound pressure level of the current environment where the Bluetooth device is located is obtained by a microphone module of the Bluetooth device. The sound pressure level of the current environment where the Bluetooth device is located is obtained through the existing microphone module of the Bluetooth device, and the Bluetooth device does not need to increase the hardware and the cost of the Bluetooth device.

举例来说,指定距离阈值为50cm,蓝牙设备与终端的距离小于或等于50cm时,次声波的声压级衰减小于或等于10dm。本发明实施例中,可以设定对配对载波信号P3_1#的能量要求是,比蓝牙设备所处环境的背景噪声高出10dB,通过蓝牙设备麦克风模块分析获得的蓝牙设备当前所处环境的背景噪声的声压级记为Lp,可以设定配对载波信号P3_1#的声压级为Lp+10dB。For example, the specified distance threshold is 50 cm, and when the distance between the Bluetooth device and the terminal is less than or equal to 50 cm, the sound pressure level attenuation of the infrasonic wave is less than or equal to 10 dm. In the embodiment of the present invention, it can be set that the energy requirement of the paired carrier signal P3_1# is 10dB higher than the background noise of the environment where the Bluetooth device is located, and the background noise of the current environment where the Bluetooth device is obtained by analyzing the microphone module of the Bluetooth device The sound pressure level is denoted as Lp, and the sound pressure level of the paired carrier signal P3_1# can be set as Lp+10dB.

在本发明的一些优选实施例中,所述对外发送所述配对载波信号的步骤之后,还包括:接收终端发送的配对指令;与所述终端进行配对连接。从而,蓝牙设备接收到该配对指令,能立即与终端进行配对连接,无需用户进行手动操作,反应更为灵敏,连接更为迅速。In some preferred embodiments of the present invention, after the step of sending the pairing carrier signal, the method further includes: receiving a pairing instruction sent by the terminal; and performing a pairing connection with the terminal. Therefore, after receiving the pairing instruction, the Bluetooth device can immediately perform pairing and connection with the terminal without manual operation by the user, and the response is more sensitive and the connection is faster.

其中,终端发送的配对指令为所述终端确定与所述蓝牙设备进行配对连接时生成。Wherein, the pairing instruction sent by the terminal is generated when the terminal determines to perform a pairing connection with the Bluetooth device.

也就是说,当终端确定与蓝牙设备进行配对连接时,会向对应的蓝牙设备发送配对指令,蓝牙设备接收到该配对指令,与终端进行配对连接。That is to say, when the terminal determines to perform a pairing connection with the Bluetooth device, it will send a pairing instruction to the corresponding Bluetooth device, and the Bluetooth device receives the pairing instruction and performs a pairing connection with the terminal.

请参阅图2,图2是本发明实施例二提供的蓝牙配对连接方法的流程示意图之一,该方法应用于蓝牙设备,包括:Please refer to FIG. 2. FIG. 2 is one of the schematic flowcharts of the Bluetooth pairing and connection method provided in Embodiment 2 of the present invention. The method is applied to a Bluetooth device, including:

步骤21:接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;Step 21: Receive the pairing carrier signal sent by the Bluetooth device, the pairing carrier signal includes the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

其中,所述配对载波信号可以为电磁波信号,也可以为声波信号。蓝牙设备的地址信息唯一对应于发送该地址信息的蓝牙设备。蓝牙设备的地址信息的唯一性,能够使得终端确定与哪个蓝牙设备自动连接。用于指示终端开启蓝牙的唤醒识别码是由终端与蓝牙设备进行协商确认的。Wherein, the paired carrier signal may be an electromagnetic wave signal or an acoustic wave signal. The address information of the Bluetooth device uniquely corresponds to the Bluetooth device sending the address information. The uniqueness of the address information of the bluetooth device enables the terminal to determine which bluetooth device to automatically connect with. The wake-up identification code used to instruct the terminal to turn on the Bluetooth is confirmed through negotiation between the terminal and the Bluetooth device.

步骤22:基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;Step 22: Turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

终端在识别出唤醒识别码的情况下,打开蓝牙开关;在检测到蓝牙设备的地址信息情况下,存储该地址信息。When the terminal recognizes the wake-up identification code, it turns on the Bluetooth switch; when it detects the address information of the Bluetooth device, it stores the address information.

步骤23:接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;Step 23: Receive a broadcast data packet, the broadcast data packet includes the address information of the Bluetooth device;

步骤24:在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。Step 24: When the address information of the Bluetooth device in the broadcast data packet matches the address information of the stored Bluetooth device, send a pairing instruction to the Bluetooth device that sent the broadcast data packet, and match with the Bluetooth device sent by the broadcast data packet. The Bluetooth device that broadcasts the data packet mentioned above is paired and connected.

即,终端将步骤23中接收到的广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息进行匹配,当匹配出相同的地址信息时,判定与该地址信息对应的蓝牙设备是要进行配对连接的蓝牙设备,输出配对指令,与发送所述广播数据包的蓝牙设备进行配对连接。That is, the terminal matches the address information of the Bluetooth device in the broadcast data packet received in step 23 with the address information of the stored Bluetooth device, and when the same address information is matched, it determines that the Bluetooth device corresponding to the address information It is the Bluetooth device to be paired and connected, outputting a pairing instruction, and performing a pairing connection with the Bluetooth device sending the broadcast data packet.

本发明实施例提供的蓝牙配对连接方法,通过接收广播数据包和配对载波信号,能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The Bluetooth pairing and connection method provided by the embodiment of the present invention can automatically judge whether to pair and connect with the Bluetooth device by receiving the broadcast data packet and the paired carrier signal, without manual operation by the user, which is highly intelligent, more convenient and faster, and saves the user's time time.

优选的,所述预设的载波信号为预设的次声波载波信号。Preferably, the preset carrier signal is a preset infrasonic carrier signal.

也就是说,配对载波信号是次声波信号,传播时不会造成声音干扰,传播效果更佳,也更为节约能耗。That is to say, the paired carrier signal is an infrasonic signal, which will not cause sound interference during transmission, has a better transmission effect, and saves energy consumption.

优选的,所述预设的次声波载波信号的频率小于20Hz。Preferably, the frequency of the preset infrasonic carrier signal is less than 20 Hz.

本发明实施例中,可采用多种方式检测配对载波信号。In the embodiment of the present invention, multiple methods may be used to detect the paired carrier signal.

作为其中一种优选的具体实施方式,所述基于所述配对载波信号,打开蓝牙开关,包括:对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码;在识别出所述原始信号中的唤醒识别码的情况下,打开蓝牙开关;其中,在打开蓝牙开关的情况下,所述终端可接收蓝牙设备对外发送的广播数据包。As one of the preferred specific implementation manners, the turning on the Bluetooth switch based on the paired carrier signal includes: decoding the paired carrier signal to restore the original signal, the original signal including the address of the Bluetooth device Information and wake-up identification code; when the wake-up identification code in the original signal is identified, turn on the Bluetooth switch; wherein, when the Bluetooth switch is turned on, the terminal can receive the broadcast data packet sent by the Bluetooth device.

从而,终端通过解码配对载波信号,在识别出所述原始信号中的唤醒识别码的情况下,能够自动打开蓝牙开关,无需用户手动操作,简单便捷,也有利于节约终端的能耗。Therefore, by decoding the paired carrier signal, the terminal can automatically turn on the Bluetooth switch when it recognizes the wake-up identification code in the original signal, without manual operation by the user, which is simple and convenient, and also helps to save energy consumption of the terminal.

进一步的,所述对所述配对载波信号进行解码,还原出原始信号之前,还包括:过滤所述终端当前所处环境中的可听声波信号和超声波信号。Further, before decoding the paired carrier signal and restoring the original signal, the method further includes: filtering the audible sound wave signal and the ultrasonic wave signal in the current environment where the terminal is located.

也就是说,通过过滤可听声波信号和超声波信号,得到次声波信号,从而减少了配对载波信号中的干扰信号,能够降低终端的工作量,更为节约终端的能耗。That is to say, the infrasonic signal is obtained by filtering the audible sound wave signal and the ultrasonic signal, thereby reducing the interference signal in the paired carrier signal, reducing the workload of the terminal, and further saving the energy consumption of the terminal.

具体而言,终端接收蓝牙设备发送的配对载波信号P3_1#,对该配对载波信号P3_1#进行分析,先过滤掉环境中的可听声波信号和超声波信号,得到次声波信号;再根据配对载波信号的频率(例如:10Hz),对应获取到合成声波信号P3#;对合成声波信号P3#进行重新解码,还原出原始信号P2#;再对原始信号P2#进行分析,在识别出用于指示终端开启蓝牙的唤醒识别码(例如:“sn_open_Bluetooth”)的情况下,打开终端的蓝牙开关,同时,在检验出蓝牙设备的地址信息#Address_01的情况下,存储该地址信息#Address_01;终端开启蓝牙后,接收终端附近的蓝牙设备发送的广播数据包,这些广播数据包都携带有发送广播数据包的蓝牙设备的地址信息;对接收到的广播数据包进行解码,检验出广播数据包中的蓝牙设备的地址信息,与已存储的蓝牙设备的地址信息进行匹配分析;当匹配出相同的地址信息时,发送配对指令,自动与与该地址信息对应的蓝牙设备进行配对连接。Specifically, the terminal receives the paired carrier signal P3_1# sent by the Bluetooth device, analyzes the paired carrier signal P3_1#, first filters out the audible sound wave signal and the ultrasonic signal in the environment, and obtains the infrasound wave signal; Frequency (for example: 10Hz), corresponding to the obtained synthetic sound wave signal P3#; re-decode the synthetic sound wave signal P3# to restore the original signal P2#; then analyze the original signal P2#, and identify the In the case of the Bluetooth wake-up identification code (for example: "sn_open_Bluetooth"), turn on the Bluetooth switch of the terminal, and at the same time, when the address information #Address_01 of the Bluetooth device is detected, store the address information #Address_01; after the terminal turns on Bluetooth, Receive the broadcast data packets sent by the Bluetooth devices near the terminal, and these broadcast data packets carry the address information of the Bluetooth devices that sent the broadcast data packets; decode the received broadcast data packets, and check out the address information of the Bluetooth devices in the broadcast data packets The address information is matched and analyzed with the stored address information of the Bluetooth device; when the same address information is matched, a pairing instruction is sent to automatically pair and connect with the Bluetooth device corresponding to the address information.

请参阅图3,图3是本发明实施例三提供的蓝牙设备的结构示意图之一,该蓝牙设备30包括:第一发送模块31、生成模块32和第二发送模块33;其中:Please refer to FIG. 3. FIG. 3 is one of the schematic structural diagrams of a Bluetooth device provided in Embodiment 3 of the present invention. The Bluetooth device 30 includes: a first sending module 31, a generating module 32, and a second sending module 33; wherein:

所述第一发送模块31,用于对外发送广播数据包,所述广播数据包包括所述蓝牙设备的地址信息;The first sending module 31 is configured to send a broadcast data packet externally, and the broadcast data packet includes address information of the Bluetooth device;

所述生成模块32,用于基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;The generating module 32 is configured to generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

所述第二发送模块33,与所述生成模块32连接,用于对外发送所述配对载波信号;The second sending module 33 is connected to the generating module 32, and is used to send the paired carrier signal externally;

其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device.

本发明实施例提供的蓝牙设备,通过发送广播数据包和配对载波信号,使得终端能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The Bluetooth device provided by the embodiment of the present invention enables the terminal to automatically determine whether to pair and connect with the Bluetooth device by sending a broadcast data packet and a paired carrier signal, without manual operation by the user, which is highly intelligent, more convenient and faster, and saves the user time.

优选的,所述预设的载波信号为预设的次声波载波信号。Preferably, the preset carrier signal is a preset infrasonic carrier signal.

优选的,所述生成模块32,用于基于所述蓝牙设备的地址信息和唤醒识别码,生成原始信号;将所述原始信号加载在所述蓝牙设备的载波信号发生器所发出的预设的次声波载波信号,生成合成声波信号;放大所述合成声波信号,生成配对载波信号。Preferably, the generating module 32 is configured to generate an original signal based on the address information and the wake-up identification code of the Bluetooth device; load the original signal on the preset signal sent by the carrier signal generator of the Bluetooth device The infrasound carrier signal is used to generate a synthetic sound wave signal; the synthetic sound wave signal is amplified to generate a paired carrier signal.

优选的,所述配对载波信号的声压级比所述蓝牙设备当前所处环境的声压级高,且所述配对载波信号的声压级与所述蓝牙设备当前所处环境的声压级的差值小于或等于预设阈值。Preferably, the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located, and the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located. The difference is less than or equal to the preset threshold.

优选的,所述蓝牙设备30还包括:Preferably, the bluetooth device 30 also includes:

麦克风模块,与所述生成模块32连接,用于获取所述蓝牙设备当前所处环境的声压级。The microphone module is connected with the generating module 32 and is used to obtain the sound pressure level of the environment where the Bluetooth device is currently located.

优选的,所述预设的次声波载波信号的频率小于20Hz。Preferably, the frequency of the preset infrasonic carrier signal is less than 20 Hz.

优选的,所述蓝牙设备30还包括:Preferably, the bluetooth device 30 also includes:

配对模块,用于接收终端发送的配对指令;与所述终端进行配对连接。The pairing module is used for receiving the pairing instruction sent by the terminal; and performing a pairing connection with the terminal.

本发明实施例提供的蓝牙设备,能够实现图1对应的方法实施例中的各个过程,为避免重复,这里不再赘述。The bluetooth device provided by the embodiment of the present invention can implement each process in the method embodiment corresponding to FIG. 1 , and details are not repeated here to avoid repetition.

请参阅图4,在一具体应用场景中,蓝牙设备40包括:微控制单元(Microcontroller Unit,简称MCU)41、载波信号发生器42、编解码器(COder-DECoder,简称CODEC)模块43、扬声器模块44、麦克风模块45和射频模块46,其中,微控制单元41用于根据蓝牙设备40的地址信息和用于指示终端开启蓝牙的唤醒识别码,生成原始信号;输出生成指令和发送指令;接收射频模块46转发的终端发送的配对指令,与终端进行配对连接;载波信号发生器42,与微控制单元41连接,用于接收生成指令,生成预设的次声波载波信号;编解码器模块43,分别与微控制单元41和载波信号发生器42连接,用于将原始信号加载在预设的次声波载波信号上,生成合成声波信号,并放大合成声波信号,生成配对载波信号;扬声器模块44,与编解码器模块43连接,用于将电信号的配对载波信号转化为声波信号的配对载波信号,并进行输出;麦克风模块45,与编解码器模块43连接,用于获取蓝牙设备当前所处环境的声压级;射频模块46,与微控制单元41连接,用于接收发送指令,发送广播数据包;接收终端发送的配对指令,将终端发送的配对指令转发至微控制单元41,与终端进行配对连接。Please refer to FIG. 4 , in a specific application scenario, the Bluetooth device 40 includes: a Microcontroller Unit (MCU for short) 41, a carrier signal generator 42, a codec (COder-DECoder, CODEC for short) module 43, a speaker Module 44, microphone module 45 and radio frequency module 46, wherein, micro control unit 41 is used for according to the address information of bluetooth device 40 and the wake-up identification code that is used to instruct terminal to turn on bluetooth, generate original signal; Output generation instruction and send instruction; Receive The pairing instruction sent by the terminal transmitted by the radio frequency module 46 is paired and connected with the terminal; the carrier signal generator 42 is connected with the micro control unit 41, and is used to receive the generation instruction and generate a preset infrasonic carrier signal; the codec module 43, Connect with micro control unit 41 and carrier signal generator 42 respectively, be used for loading original signal on preset infrasonic wave carrier signal, generate synthetic sound wave signal, and amplify synthetic sound wave signal, generate paired carrier signal; Loudspeaker module 44, and The codec module 43 is connected to convert the paired carrier signal of the electrical signal into the paired carrier signal of the acoustic signal and output it; the microphone module 45 is connected to the codec module 43 to obtain the current environment of the Bluetooth device The sound pressure level; the radio frequency module 46 is connected with the micro control unit 41, and is used for receiving and sending instructions and sending broadcast data packets; receiving the pairing instructions sent by the terminal, forwarding the pairing instructions sent by the terminal to the micro control unit 41, and communicating with the terminal Pair connection.

从而,在蓝牙设备与终端进行配对连接时,能够自动进行识别与匹配,配对连接速度快,智能化程度高,更加方便便捷。Therefore, when the Bluetooth device and the terminal are paired and connected, they can be automatically identified and matched, the pairing and connection speed is fast, the degree of intelligence is high, and it is more convenient and convenient.

请参阅图5,图5是本发明实施例四提供的终端的结构示意图之一,该终端50包括:第一接收模块51、响应模块52、第二接收模块53和配对模块54,其中:Please refer to FIG. 5. FIG. 5 is one of the schematic structural diagrams of a terminal provided in Embodiment 4 of the present invention. The terminal 50 includes: a first receiving module 51, a response module 52, a second receiving module 53, and a pairing module 54, wherein:

所述第一接收模块51,用于接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;The first receiving module 51 is configured to receive a pairing carrier signal sent by a Bluetooth device, the pairing carrier signal includes address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal;

所述响应模块52,与所述第一接收模块51连接,用于基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;The response module 52 is connected to the first receiving module 51, and is used to turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

所述第二接收模块53,用于接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;The second receiving module 53 is configured to receive a broadcast data packet, and the broadcast data packet includes address information of the Bluetooth device;

所述配对模块54,分别与所述响应模块52和所述第二接收模块53连接,用于在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。The pairing module 54 is connected to the response module 52 and the second receiving module 53 respectively, and is used for matching the address information of the Bluetooth device in the broadcast data packet with the stored address information of the Bluetooth device In this case, a pairing instruction is sent to the Bluetooth device sending the broadcast data packet, and a pairing connection is performed with the Bluetooth device sending the broadcast data packet.

本发明实施例提供的终端,通过接收广播数据包和配对载波信号,能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The terminal provided by the embodiment of the present invention can automatically determine whether to pair and connect with the Bluetooth device by receiving the broadcast data packet and the paired carrier signal, without manual operation by the user.

优选的,所述预设的载波信号为预设的次声波载波信号。Preferably, the preset carrier signal is a preset infrasonic carrier signal.

优选的,所述响应模块52,用于对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码;在识别出所述原始信号中的唤醒识别码的情况下,打开蓝牙开关;Preferably, the response module 52 is configured to decode the paired carrier signal to restore the original signal, the original signal including the address information and wake-up identification code of the Bluetooth device; in identifying the original signal In the case of the wake-up identification code, turn on the Bluetooth switch;

其中,在打开蓝牙开关的情况下,所述终端可接收蓝牙设备对外发送的广播数据包。Wherein, when the Bluetooth switch is turned on, the terminal can receive the broadcast data packet sent by the Bluetooth device.

优选的,所述终端50还包括:Preferably, the terminal 50 also includes:

过滤模块,分别与所述第一接收模块51和所述响应模块52连接,用于过滤所述终端当前所处环境中的可听声波信号和超声波信号。The filtering module is connected to the first receiving module 51 and the responding module 52 respectively, and is used to filter the audible sound wave signal and the ultrasonic wave signal in the current environment where the terminal is located.

优选的,所述预设的次声波载波信号的频率小于20Hz。Preferably, the frequency of the preset infrasonic carrier signal is less than 20 Hz.

本发明实施例提供的蓝牙设备,能够实现图2对应的方法实施例中的各个过程,为避免重复,这里不再赘述。The bluetooth device provided by the embodiment of the present invention can realize each process in the method embodiment corresponding to FIG. 2 , and details are not repeated here to avoid repetition.

请参阅图6,在一具体应用场景中,终端60包括:微控制单元61、数字信号处理(Digital Signal Processing,简称DSP)模块62、编解码器(CODEC)模块63、麦克风模块64和射频模块65。Referring to Fig. 6, in a specific application scenario, the terminal 60 includes: a micro control unit 61, a digital signal processing (Digital Signal Processing, DSP for short) module 62, a codec (CODEC) module 63, a microphone module 64 and a radio frequency module 65.

其中,微控制单元61,用于接收到开启通知信号,开启终端的蓝牙;接收到配对通知信号,输出配对指令,与蓝牙设备进行配对连接。Wherein, the micro-control unit 61 is used for receiving the start notification signal, and turning on the Bluetooth of the terminal; receiving the pairing notification signal, outputting a pairing instruction, and performing pairing connection with the Bluetooth device.

麦克风模块64,用于接收配对载波信号,并将声波信号的配对载波信号转化为电信号的配对载波信号。The microphone module 64 is configured to receive the paired carrier signal, and convert the paired carrier signal of the acoustic wave signal into the paired carrier signal of the electrical signal.

编解码器模块63,分别与麦克风模块64和微控制单元61连接,用于过滤终端当前所处环境中的可听声波信号和超声波信号;对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码。The codec module 63 is connected to the microphone module 64 and the micro control unit 61 respectively, and is used to filter the audible sound wave signal and the ultrasonic signal in the environment where the terminal is currently located; decode the paired carrier signal to restore the original signal, The original signal includes address information and a wake-up identification code of the Bluetooth device.

数字信号处理模块62,分别与编解码器模块63和微控制单元61连接,用于分析原始信号,在识别出用于指示终端开启蓝牙的唤醒识别码的情况下,输出开启通知信号;在检测到蓝牙设备的地址信息的情况下,存储蓝牙设备的地址信息;比较广播数据包中的蓝牙设备的地址信息和已存储的蓝牙设备的地址信息,当广播数据包中的蓝牙设备的地址信息和存储的蓝牙设备的地址信息相同时,输出配对通知信号。The digital signal processing module 62 is connected with the codec module 63 and the micro control unit 61 respectively, and is used for analyzing the original signal, and in the case of recognizing the wake-up identification code for instructing the terminal to turn on the bluetooth, the output starts the notification signal; In the case of the address information of the Bluetooth device, store the address information of the Bluetooth device; compare the address information of the Bluetooth device in the broadcast data packet with the address information of the stored Bluetooth device, when the address information of the Bluetooth device in the broadcast data packet and the address information of the Bluetooth device When the stored address information of the Bluetooth devices is the same, a pairing notification signal is output.

射频模块65,与微控制单元61连接,用于在开启蓝牙后,接收广播数据包;向蓝牙设备发送配对指令,与与存储的蓝牙设备的地址信息相同的蓝牙设备进行配对连接。The radio frequency module 65 is connected with the micro control unit 61, and is used for receiving the broadcast data packet after turning on the Bluetooth; sending a pairing instruction to the Bluetooth device, and performing pairing connection with the Bluetooth device whose address information is the same as the stored Bluetooth device.

从而,在蓝牙设备与终端进行配对连接时,能够自动进行识别与匹配,配对连接速度快,智能化程度高,更加方便便捷。Therefore, when the Bluetooth device and the terminal are paired and connected, they can be automatically identified and matched, the pairing and connection speed is fast, the degree of intelligence is high, and it is more convenient and convenient.

请参考图7,图7为本发明实施例五提供的蓝牙配对连接系统的结构示意图之一,该蓝牙配对连接系统70包括:蓝牙设备71和终端72,蓝牙设备71是本发明实施例三中的蓝牙设备,终端72是本发明实施例四中的蓝牙设备。Please refer to FIG. 7. FIG. 7 is one of the schematic structural diagrams of the Bluetooth pairing and connection system provided in Embodiment 5 of the present invention. The Bluetooth pairing and connection system 70 includes: a Bluetooth device 71 and a terminal 72. The Bluetooth device 71 is the Bluetooth device, the terminal 72 is the Bluetooth device in Embodiment 4 of the present invention.

本发明实施例提供的蓝牙配对连接系统,终端能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。In the Bluetooth pairing and connection system provided by the embodiment of the present invention, the terminal can automatically determine whether to pair and connect with the Bluetooth device without manual operation by the user, which is highly intelligent, more convenient and faster, and saves time for the user.

请参考图8,图8为本发明实施例六提供的蓝牙设备的结构示意图之一,该蓝牙设备80包括处理器81,存储器82,存储在存储器82上并可在所述处理器81上运行的计算机程序,该计算机程序被处理器81执行时实现如下步骤:Please refer to FIG. 8. FIG. 8 is one of the schematic structural diagrams of the bluetooth device provided by the sixth embodiment of the present invention. The bluetooth device 80 includes a processor 81 and a memory 82, which are stored in the memory 82 and can run on the processor 81. A computer program, when the computer program is executed by the processor 81, the following steps are realized:

对外发送广播数据包,所述广播数据包包括蓝牙设备的地址信息;Sending a broadcast data packet to the outside, where the broadcast data packet includes address information of the Bluetooth device;

基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;Generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal;

对外发送所述配对载波信号;sending the paired carrier signal externally;

其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device.

本发明实施例提供的蓝牙设备,通过发送广播数据包和配对载波信号,使得终端能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The Bluetooth device provided by the embodiment of the present invention enables the terminal to automatically determine whether to pair and connect with the Bluetooth device by sending a broadcast data packet and a paired carrier signal, without manual operation by the user, which is highly intelligent, more convenient and faster, and saves the user time.

优选的,所述预设的载波信号为预设的次声波载波信号。Preferably, the preset carrier signal is a preset infrasonic carrier signal.

优选的,计算机程序被处理器81执行时还可实现如下步骤:Preferably, when the computer program is executed by the processor 81, the following steps can also be realized:

所述基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号,包括:The generation of a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal includes:

基于所述蓝牙设备的地址信息和唤醒识别码,生成原始信号;generating an original signal based on the address information and the wake-up identification code of the Bluetooth device;

将所述原始信号加载在所述蓝牙设备的载波信号发生器所发出的预设的次声波载波信号,生成合成声波信号;Loading the original signal on the preset infrasonic carrier signal sent by the carrier signal generator of the Bluetooth device to generate a synthetic sound wave signal;

放大所述合成声波信号,生成配对载波信号。amplifying the synthesized sound wave signal to generate a paired carrier signal.

优选的,所述配对载波信号的声压级比所述蓝牙设备当前所处环境的声压级高,且所述配对载波信号的声压级与所述蓝牙设备当前所处环境的声压级的差值小于或等于预设阈值。Preferably, the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located, and the sound pressure level of the paired carrier signal is higher than the sound pressure level of the environment where the Bluetooth device is currently located. The difference is less than or equal to the preset threshold.

优选的,所述蓝牙设备当前所处环境的声压级由所述蓝牙设备的麦克风模块获得。Preferably, the sound pressure level of the current environment where the Bluetooth device is located is obtained by a microphone module of the Bluetooth device.

优选的,所述预设的次声波载波信号的频率小于20Hz。Preferably, the frequency of the preset infrasonic carrier signal is less than 20 Hz.

优选的,计算机程序被处理器81执行时还可实现如下步骤:Preferably, when the computer program is executed by the processor 81, the following steps can also be realized:

所述对外发送所述配对载波信号之后,还包括:After sending the paired carrier signal externally, it also includes:

接收终端发送的配对指令;Receive the pairing instruction sent by the terminal;

与所述终端进行配对连接。Perform a pairing connection with the terminal.

该蓝牙设备能够实现本发明实施例一的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The bluetooth device can realize the various processes of the first embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, details will not be repeated here.

请参考图9,图9为本发明实施例七提供的终端的结构示意图之一,该终端90包括处理器91,存储器92,存储在存储器92上并可在所述处理器91上运行的计算机程序,该计算机程序被处理器91执行时实现如下步骤:Please refer to FIG. 9. FIG. 9 is one of the schematic structural diagrams of the terminal provided by Embodiment 7 of the present invention. The terminal 90 includes a processor 91, a memory 92, and a computer stored in the memory 92 and capable of running on the processor 91. Program, when this computer program is executed by processor 91, realize the following steps:

接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;Receive a pairing carrier signal sent by the Bluetooth device, the pairing carrier signal includes the address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal;

基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;Turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;receiving a broadcast data packet, the broadcast data packet including address information of the Bluetooth device;

在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。When the address information of the bluetooth device in the broadcast data packet matches the stored address information of the bluetooth device, send a pairing instruction to the bluetooth device that sends the broadcast data packet, and send the broadcast data Packaged Bluetooth devices for pairing and connection.

本发明实施例提供的终端,通过接收广播数据包和配对载波信号,能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The terminal provided by the embodiment of the present invention can automatically determine whether to pair and connect with the Bluetooth device by receiving the broadcast data packet and the paired carrier signal, without manual operation by the user.

优选的,所述预设的载波信号为预设的次声波载波信号。Preferably, the preset carrier signal is a preset infrasonic carrier signal.

优选的,计算机程序被处理器91执行时还可实现如下步骤:Preferably, when the computer program is executed by the processor 91, the following steps can also be realized:

所述基于所述配对载波信号,打开蓝牙开关,包括:The turning on the Bluetooth switch based on the paired carrier signal includes:

对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码;Decoding the paired carrier signal to restore the original signal, the original signal including the address information and wake-up identification code of the Bluetooth device;

在识别出所述原始信号中的唤醒识别码的情况下,打开蓝牙开关;In the case of recognizing the wake-up identification code in the original signal, turn on the Bluetooth switch;

其中,在打开蓝牙开关的情况下,所述终端可接收蓝牙设备对外发送的广播数据包。Wherein, when the Bluetooth switch is turned on, the terminal can receive the broadcast data packet sent by the Bluetooth device.

优选的,计算机程序被处理器91执行时还可实现如下步骤:Preferably, when the computer program is executed by the processor 91, the following steps can also be realized:

所述对所述配对载波信号进行解码,还原出原始信号之前,还包括:The decoding of the paired carrier signal, before restoring the original signal, also includes:

过滤所述终端当前所处环境中的可听声波信号和超声波信号。Filtering audible sound wave signals and ultrasonic signals in the current environment where the terminal is located.

优选的,所述预设的次声波载波信号的频率小于20Hz。Preferably, the frequency of the preset infrasonic carrier signal is less than 20 Hz.

该终端能够实现本发明实施例二的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The terminal can realize the various processes of Embodiment 2 of the present invention, and can achieve the same technical effect. In order to avoid repetition, details are not repeated here.

图10为实现本发明各个实施例的终端的硬件结构示意图之一,该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图10中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 10 is one of the schematic diagrams of the hardware structure of a terminal implementing various embodiments of the present invention. The terminal 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 10 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine some components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,输入单元104,用于接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;Wherein, the input unit 104 is configured to receive a pairing carrier signal sent by a Bluetooth device, and the pairing carrier signal includes address information of the Bluetooth device, a wake-up identification code and a preset carrier signal;

处理器110,用于基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;The processor 110 is configured to turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device;

射频单元101,用于接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;The radio frequency unit 101 is configured to receive a broadcast data packet, the broadcast data packet includes address information of the Bluetooth device;

所述处理器110,用于在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。The processor 110 is configured to send a pairing instruction to the Bluetooth device sending the broadcast data packet when the address information of the Bluetooth device in the broadcast data packet matches the stored address information of the Bluetooth device, Perform pairing connection with the Bluetooth device that sends the broadcast data packet.

本发明实施例提供的终端,通过接收广播数据包和配对载波信号,能够自动判断是否与蓝牙设备进行配对连接,无需用户进行手动操作,智能化程度高,更加方便快捷,节约用户的时间。The terminal provided by the embodiment of the present invention can automatically determine whether to pair and connect with the Bluetooth device by receiving the broadcast data packet and the paired carrier signal, without manual operation by the user.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.

终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and/or when the terminal 100 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图10中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in FIG. 10, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to form Realize the input and output functions of the terminal, which is not limited here.

接口单元108为外部装置与终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .

终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.

另外,终端100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 100 includes some functional modules not shown, which will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述蓝牙配对连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned Bluetooth pairing connection method embodiment can be achieved, and the same Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (28)

1.一种蓝牙配对连接方法,应用于蓝牙设备,其特征在于,包括:1. A bluetooth pairing connection method, applied to bluetooth devices, is characterized in that, comprising: 对外发送广播数据包,所述广播数据包包括蓝牙设备的地址信息;Sending a broadcast data packet to the outside, where the broadcast data packet includes address information of the Bluetooth device; 基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;Generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal; 对外发送所述配对载波信号;sending the paired carrier signal externally; 其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device. 2.根据权利要求1所述的配对连接方法,其特征在于,所述预设的载波信号为预设的次声波载波信号。2. The pairing connection method according to claim 1, wherein the preset carrier signal is a preset infrasonic carrier signal. 3.根据权利要求2所述的配对连接方法,其特征在于,所述基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号,包括:3. The pairing connection method according to claim 2, wherein the generation of a pairing carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal comprises: 基于所述蓝牙设备的地址信息和唤醒识别码,生成原始信号;generating an original signal based on the address information and the wake-up identification code of the Bluetooth device; 将所述原始信号加载在所述蓝牙设备的载波信号发生器所发出的预设的次声波载波信号,生成合成声波信号;Loading the original signal on the preset infrasonic carrier signal sent by the carrier signal generator of the Bluetooth device to generate a synthetic sound wave signal; 放大所述合成声波信号,生成配对载波信号。amplifying the synthesized sound wave signal to generate a paired carrier signal. 4.根据权利要求2所述的配对连接方法,其特征在于,所述配对载波信号的声压级比所述蓝牙设备当前所处环境的声压级高,且所述配对载波信号的声压级与所述蓝牙设备当前所处环境的声压级的差值小于或等于预设阈值。4. The pairing connection method according to claim 2, wherein the sound pressure level of the paired carrier signal is higher than the sound pressure level of the current environment where the Bluetooth device is located, and the sound pressure level of the paired carrier signal The difference between the level and the sound pressure level of the environment where the Bluetooth device is currently located is less than or equal to a preset threshold. 5.根据权利要求4所述的配对连接方法,其特征在于,所述蓝牙设备当前所处环境的声压级由所述蓝牙设备的麦克风模块获得。5. The pairing connection method according to claim 4, characterized in that the sound pressure level of the current environment where the Bluetooth device is located is obtained by a microphone module of the Bluetooth device. 6.根据权利要求2所述的配对连接方法,其特征在于,所述预设的次声波载波信号的频率小于20Hz。6. The pairing connection method according to claim 2, characterized in that the frequency of the preset infrasonic carrier signal is less than 20 Hz. 7.根据权利要求1所述的配对连接方法,其特征在于,所述对外发送所述配对载波信号之后,还包括:7. The pairing connection method according to claim 1, characterized in that, after sending the pairing carrier signal externally, further comprising: 接收终端发送的配对指令;Receive the pairing instruction sent by the terminal; 与所述终端进行配对连接。Perform a pairing connection with the terminal. 8.一种蓝牙配对连接方法,应用于终端,其特征在于,包括:8. A Bluetooth pairing connection method applied to a terminal, characterized in that it comprises: 接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;Receive a pairing carrier signal sent by the Bluetooth device, the pairing carrier signal includes the address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal; 基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;Turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device; 接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;receiving a broadcast data packet, the broadcast data packet including address information of the Bluetooth device; 在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。When the address information of the bluetooth device in the broadcast data packet matches the stored address information of the bluetooth device, send a pairing instruction to the bluetooth device that sends the broadcast data packet, and send the broadcast data Packaged Bluetooth devices for pairing and connection. 9.根据权利要求8所述的配对连接方法,其特征在于,所述预设的载波信号为预设的次声波载波信号。9. The pairing connection method according to claim 8, wherein the preset carrier signal is a preset infrasonic carrier signal. 10.根据权利要求9所述的配对连接方法,其特征在于,所述基于所述配对载波信号,打开蓝牙开关,包括:10. The pairing connection method according to claim 9, wherein the turning on the Bluetooth switch based on the pairing carrier signal comprises: 对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码;Decoding the paired carrier signal to restore the original signal, the original signal including the address information and wake-up identification code of the Bluetooth device; 在识别出所述原始信号中的唤醒识别码的情况下,打开蓝牙开关;In the case of recognizing the wake-up identification code in the original signal, turn on the Bluetooth switch; 其中,在打开蓝牙开关的情况下,所述终端可接收蓝牙设备对外发送的广播数据包。Wherein, when the Bluetooth switch is turned on, the terminal can receive the broadcast data packet sent by the Bluetooth device. 11.根据权利要求10所述的配对连接方法,其特征在于,所述对所述配对载波信号进行解码,还原出原始信号之前,还包括:11. The paired connection method according to claim 10, characterized in that, before decoding the paired carrier signal and restoring the original signal, further comprising: 过滤所述终端当前所处环境中的可听声波信号和超声波信号。Filtering audible sound wave signals and ultrasonic signals in the current environment where the terminal is located. 12.根据权利要求9所述的配对连接方法,其特征在于,所述预设的次声波载波信号的频率小于20Hz。12. The pairing connection method according to claim 9, characterized in that the frequency of the preset infrasonic carrier signal is less than 20 Hz. 13.一种蓝牙设备,其特征在于,包括:第一发送模块、生成模块和第二发送模块;其中:13. A bluetooth device, characterized in that it comprises: a first sending module, a generating module and a second sending module; wherein: 所述第一发送模块,用于对外发送广播数据包,所述广播数据包包括所述蓝牙设备的地址信息;The first sending module is configured to send a broadcast data packet externally, and the broadcast data packet includes address information of the Bluetooth device; 所述生成模块,用于基于所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号,生成配对载波信号;The generating module is configured to generate a paired carrier signal based on the address information of the Bluetooth device, the wake-up identification code and the preset carrier signal; 所述第二发送模块,与所述生成模块连接,用于对外发送所述配对载波信号;The second sending module is connected to the generating module, and is used to send the paired carrier signal externally; 其中,所述唤醒识别码用于指示终端开启蓝牙;所述配对载波信号用于终端在识别出所述唤醒识别码的情况下,开启蓝牙,并根据所述广播数据包中的所述蓝牙设备的地址信息和所述配对载波信号中的蓝牙设备的地址信息,确定是否与所述蓝牙设备进行配对连接。Wherein, the wake-up identification code is used to instruct the terminal to turn on Bluetooth; the paired carrier signal is used to turn on Bluetooth when the terminal recognizes the wake-up identification code, and according to the Bluetooth device in the broadcast data packet The address information of the Bluetooth device and the address information of the Bluetooth device in the pairing carrier signal determine whether to perform a pairing connection with the Bluetooth device. 14.根据权利要求13所述的蓝牙设备,其特征在于,所述预设的载波信号为预设的次声波载波信号。14. The Bluetooth device according to claim 13, wherein the preset carrier signal is a preset infrasonic carrier signal. 15.根据权利要求14所述的蓝牙设备,其特征在于,15. The bluetooth device according to claim 14, characterized in that, 所述生成模块,用于基于所述蓝牙设备的地址信息和唤醒识别码,生成原始信号;将所述原始信号加载在所述蓝牙设备的载波信号发生器所发出的预设的次声波载波信号,生成合成声波信号;放大所述合成声波信号,生成配对载波信号。The generating module is configured to generate an original signal based on the address information and the wake-up identification code of the Bluetooth device; load the original signal on the preset infrasonic carrier signal sent by the carrier signal generator of the Bluetooth device, generating a synthetic sound wave signal; amplifying the synthetic sound wave signal to generate a paired carrier signal. 16.根据权利要求14所述的蓝牙设备,其特征在于,所述配对载波信号的声压级比所述蓝牙设备当前所处环境的声压级高,且所述配对载波信号的声压级与所述蓝牙设备当前所处环境的声压级的差值小于或等于预设阈值。16. The Bluetooth device according to claim 14, wherein the sound pressure level of the paired carrier signal is higher than the sound pressure level of the current environment where the Bluetooth device is located, and the sound pressure level of the paired carrier signal The difference with the sound pressure level of the current environment where the Bluetooth device is located is less than or equal to a preset threshold. 17.根据权利要求16所述的蓝牙设备,其特征在于,还包括:17. The Bluetooth device according to claim 16, further comprising: 麦克风模块,与所述生成模块连接,用于获取所述蓝牙设备当前所处环境的声压级。The microphone module is connected with the generation module and is used to obtain the sound pressure level of the environment where the Bluetooth device is currently located. 18.根据权利要求14所述的蓝牙设备,其特征在于,所述预设的次声波载波信号的频率小于20Hz。18. The Bluetooth device according to claim 14, characterized in that the frequency of the preset infrasonic carrier signal is less than 20 Hz. 19.根据权利要求13所述的蓝牙设备,其特征在于,还包括:19. The Bluetooth device according to claim 13, further comprising: 配对模块,用于接收终端发送的配对指令;与所述终端进行配对连接。The pairing module is used for receiving the pairing instruction sent by the terminal; and performing a pairing connection with the terminal. 20.一种终端,其特征在于,包括:第一接收模块、响应模块、第二接收模块和配对模块,其中:20. A terminal, characterized by comprising: a first receiving module, a response module, a second receiving module and a pairing module, wherein: 所述第一接收模块,用于接收蓝牙设备发送的配对载波信号,所述配对载波信号包括所述蓝牙设备的地址信息、唤醒识别码和预设的载波信号;The first receiving module is configured to receive a paired carrier signal sent by a Bluetooth device, the paired carrier signal includes address information of the Bluetooth device, a wake-up identification code, and a preset carrier signal; 所述响应模块,与所述第一接收模块连接,用于基于所述配对载波信号,打开蓝牙开关,并存储所述蓝牙设备的地址信息;The response module is connected to the first receiving module, and is used to turn on the Bluetooth switch based on the paired carrier signal, and store the address information of the Bluetooth device; 所述第二接收模块,用于接收广播数据包,所述广播数据包包括蓝牙设备的地址信息;The second receiving module is configured to receive a broadcast data packet, and the broadcast data packet includes address information of the Bluetooth device; 所述配对模块,分别与所述响应模块和所述第二接收模块连接,用于在所述广播数据包中的蓝牙设备的地址信息与已存储的蓝牙设备的地址信息相匹配的情况下,向发送所述广播数据包的蓝牙设备发送配对指令,与所述发送所述广播数据包的蓝牙设备进行配对连接。The pairing module is connected to the response module and the second receiving module respectively, and is configured to, when the address information of the Bluetooth device in the broadcast data packet matches the stored address information of the Bluetooth device, Send a pairing instruction to the Bluetooth device that sends the broadcast data packet, and perform a pairing connection with the Bluetooth device that sends the broadcast data packet. 21.根据权利要求20所述的终端,其特征在于,所述预设的载波信号为预设的次声波载波信号。21. The terminal according to claim 20, wherein the preset carrier signal is a preset infrasonic carrier signal. 22.根据权利要求21所述的终端,其特征在于,22. The terminal according to claim 21, characterized in that, 所述响应模块,用于对所述配对载波信号进行解码,还原出原始信号,所述原始信号包括所述蓝牙设备的地址信息和唤醒识别码;在识别出所述原始信号中的唤醒识别码的情况下,打开蓝牙开关;The response module is configured to decode the paired carrier signal and restore the original signal, the original signal including the address information and the wake-up identification code of the Bluetooth device; the wake-up identification code in the original signal is recognized In the case of , turn on the Bluetooth switch; 其中,在打开蓝牙开关的情况下,所述终端可接收蓝牙设备对外发送的广播数据包。Wherein, when the Bluetooth switch is turned on, the terminal can receive the broadcast data packet sent by the Bluetooth device. 23.根据权利要求22所述的终端,其特征在于,还包括:23. The terminal according to claim 22, further comprising: 过滤模块,分别与所述第一接收模块和所述响应模块连接,用于过滤所述终端当前所处环境中的可听声波信号和超声波信号。The filtering module is connected to the first receiving module and the responding module respectively, and is used to filter the audible sound wave signal and the ultrasonic signal in the current environment where the terminal is located. 24.根据权利要求22所述的终端,其特征在于,所述预设的次声波载波信号的频率小于20Hz。24. The terminal according to claim 22, wherein the frequency of the preset infrasonic carrier signal is less than 20 Hz. 25.一种蓝牙配对连接系统,其特征在于,包括:蓝牙设备和终端,所述蓝牙设备为如权利要求13至19中任一项所述的蓝牙设备,所述终端为如权利要求20至24中任一项所述的终端。25. A Bluetooth pairing connection system, characterized in that it comprises: a Bluetooth device and a terminal, the Bluetooth device is the Bluetooth device according to any one of claims 13 to 19, and the terminal is the Bluetooth device according to any one of claims 20 to 19. The terminal of any one of 24. 26.一种蓝牙设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的蓝牙配对连接方法的步骤。26. A bluetooth device, characterized in that it includes a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the The steps of the Bluetooth pairing connection method described in any one of 1 to 7 are required. 27.一种终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求8至12中任一项所述的蓝牙配对连接方法的步骤。27. A terminal, characterized by comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the computer program according to claim Steps of the Bluetooth pairing connection method described in any one of 8 to 12. 28.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至12中任一项所述的蓝牙配对连接方法的步骤。28. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the Bluetooth according to any one of claims 1 to 12 is implemented. Steps for the pairing connection method.
CN201810965965.2A 2018-08-23 2018-08-23 A Bluetooth pairing connection method and system, Bluetooth device and terminal Active CN108684029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810965965.2A CN108684029B (en) 2018-08-23 2018-08-23 A Bluetooth pairing connection method and system, Bluetooth device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810965965.2A CN108684029B (en) 2018-08-23 2018-08-23 A Bluetooth pairing connection method and system, Bluetooth device and terminal

Publications (2)

Publication Number Publication Date
CN108684029A true CN108684029A (en) 2018-10-19
CN108684029B CN108684029B (en) 2021-07-23

Family

ID=63815428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810965965.2A Active CN108684029B (en) 2018-08-23 2018-08-23 A Bluetooth pairing connection method and system, Bluetooth device and terminal

Country Status (1)

Country Link
CN (1) CN108684029B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636403A (en) * 2019-10-25 2019-12-31 深圳市科奈信科技有限公司 Wireless earphone pairing method, system and storage medium
CN110856151A (en) * 2019-09-29 2020-02-28 惠州Tcl移动通信有限公司 Storage method and reading method of Bluetooth pairing name, storage medium and terminal
CN110930574A (en) * 2019-11-26 2020-03-27 深圳神目信息技术有限公司 Access control method and system and intelligent device
CN111083802A (en) * 2018-10-22 2020-04-28 三星电子株式会社 Electronic device using bluetooth communication and method of operating the same
CN111225346A (en) * 2019-11-28 2020-06-02 深圳传音控股股份有限公司 Connection switching method of wireless earphone, wireless earphone and storage medium
CN112399638A (en) * 2020-11-17 2021-02-23 Oppo广东移动通信有限公司 Communication connection establishing method, storage medium and equipment
CN112572349A (en) * 2020-12-22 2021-03-30 广州橙行智动汽车科技有限公司 Vehicle digital key processing method and system
CN113194417A (en) * 2021-04-30 2021-07-30 深圳市欢太科技有限公司 Device connection method and device, computer device and storage medium
CN113347578A (en) * 2021-05-17 2021-09-03 广州安凯微电子股份有限公司 Audio data transmission method, device and system, storage medium and earphone
CN113596800A (en) * 2021-08-12 2021-11-02 立讯电子科技(昆山)有限公司 Bluetooth charging box and anti-theft method of Bluetooth headset
CN113763646A (en) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 Device control method, device, electronic device and computer readable medium
CN114980187A (en) * 2021-02-23 2022-08-30 北京小米移动软件有限公司 Device connection method and device, electronic device, storage medium
CN115955728A (en) * 2022-11-16 2023-04-11 深圳凯晖电子科技有限公司 Bluetooth automatic pairing method and device and computer equipment
WO2024199016A1 (en) * 2023-03-31 2024-10-03 广州视源电子科技股份有限公司 Wireless pairing method, communication system, and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020090912A1 (en) * 2001-01-09 2002-07-11 Cannon Joseph M. Unified passcode pairing of piconet devices
US20130217332A1 (en) * 2012-02-22 2013-08-22 Qualcomm Incorporated Platform for Wireless Identity Transmitter and System Using Short Range Wireless Broadcast
CN103888177A (en) * 2014-02-25 2014-06-25 南京邮电大学 Method for quickly establishing Bluetooth connection
CN106341782A (en) * 2016-09-27 2017-01-18 美的智慧家居科技有限公司 Mobile terminal and household electric appliance communication method and system
CN106911633A (en) * 2015-12-22 2017-06-30 阿里巴巴集团控股有限公司 A kind of data transmission method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020090912A1 (en) * 2001-01-09 2002-07-11 Cannon Joseph M. Unified passcode pairing of piconet devices
US20130217332A1 (en) * 2012-02-22 2013-08-22 Qualcomm Incorporated Platform for Wireless Identity Transmitter and System Using Short Range Wireless Broadcast
CN103888177A (en) * 2014-02-25 2014-06-25 南京邮电大学 Method for quickly establishing Bluetooth connection
CN106911633A (en) * 2015-12-22 2017-06-30 阿里巴巴集团控股有限公司 A kind of data transmission method and device
CN106341782A (en) * 2016-09-27 2017-01-18 美的智慧家居科技有限公司 Mobile terminal and household electric appliance communication method and system

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083802A (en) * 2018-10-22 2020-04-28 三星电子株式会社 Electronic device using bluetooth communication and method of operating the same
CN110856151A (en) * 2019-09-29 2020-02-28 惠州Tcl移动通信有限公司 Storage method and reading method of Bluetooth pairing name, storage medium and terminal
CN110636403A (en) * 2019-10-25 2019-12-31 深圳市科奈信科技有限公司 Wireless earphone pairing method, system and storage medium
CN110930574A (en) * 2019-11-26 2020-03-27 深圳神目信息技术有限公司 Access control method and system and intelligent device
CN111225346A (en) * 2019-11-28 2020-06-02 深圳传音控股股份有限公司 Connection switching method of wireless earphone, wireless earphone and storage medium
CN111225346B (en) * 2019-11-28 2022-07-12 深圳传音控股股份有限公司 Connection switching method of wireless earphone, wireless earphone and storage medium
CN112399638A (en) * 2020-11-17 2021-02-23 Oppo广东移动通信有限公司 Communication connection establishing method, storage medium and equipment
WO2022105342A1 (en) * 2020-11-17 2022-05-27 Oppo广东移动通信有限公司 Communicational connection establishment method, storage medium and device
CN112572349A (en) * 2020-12-22 2021-03-30 广州橙行智动汽车科技有限公司 Vehicle digital key processing method and system
CN113763646A (en) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 Device control method, device, electronic device and computer readable medium
CN113763646B (en) * 2021-01-29 2024-04-05 北京京东拓先科技有限公司 Device control method, device, electronic device and computer readable medium
CN114980187A (en) * 2021-02-23 2022-08-30 北京小米移动软件有限公司 Device connection method and device, electronic device, storage medium
CN113194417B (en) * 2021-04-30 2022-03-15 深圳市欢太科技有限公司 Device connection method, device, computer device and storage medium
CN113194417A (en) * 2021-04-30 2021-07-30 深圳市欢太科技有限公司 Device connection method and device, computer device and storage medium
CN113347578A (en) * 2021-05-17 2021-09-03 广州安凯微电子股份有限公司 Audio data transmission method, device and system, storage medium and earphone
CN113347578B (en) * 2021-05-17 2022-06-21 广州安凯微电子股份有限公司 Audio data transmission method, device and system, storage medium and earphone
CN113596800A (en) * 2021-08-12 2021-11-02 立讯电子科技(昆山)有限公司 Bluetooth charging box and anti-theft method of Bluetooth headset
CN113596800B (en) * 2021-08-12 2023-07-18 立讯电子科技(昆山)有限公司 Bluetooth charging box and anti-theft method of Bluetooth headset
CN115955728A (en) * 2022-11-16 2023-04-11 深圳凯晖电子科技有限公司 Bluetooth automatic pairing method and device and computer equipment
WO2024199016A1 (en) * 2023-03-31 2024-10-03 广州视源电子科技股份有限公司 Wireless pairing method, communication system, and computer readable storage medium

Also Published As

Publication number Publication date
CN108684029B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN108684029B (en) A Bluetooth pairing connection method and system, Bluetooth device and terminal
US11366510B2 (en) Processing method for reducing power consumption and mobile terminal
CN109067418B (en) Antenna control method and mobile terminal
CN107770760B (en) A kind of method and mobile terminal of the type identifying bluetooth equipment
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN111093137B (en) A volume control method, device and computer-readable storage medium
CN109842872B (en) Working mode control method, Bluetooth headset, terminal and computer storage medium
CN107765251B (en) Distance detection method and terminal device
CN107808084A (en) A kind of touch operation method and mobile terminal
CN109451146B (en) A vibration processing method and terminal
CN110266323A (en) A signal control circuit, terminal equipment and signal control method
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN109888928B (en) Terminal and wireless charging control method
CN109788114B (en) Call processing method and terminal
CN108196663A (en) A kind of face identification method, mobile terminal
CN107979385A (en) The information processing method and mobile terminal of a kind of radio-frequency devices
CN108307048B (en) A message output method and device and mobile terminal
CN108448177B (en) Charging method and terminal
CN108307075B (en) A kind of incoming call processing method and mobile terminal
CN107769324B (en) Charging method, charger, mobile terminal and server
CN113411446B (en) A channel switching method and electronic equipment
CN109068370A (en) Communication means, mobile terminal and computer readable storage medium
CN108600679A (en) A kind of video call method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant