CN108684029B - Bluetooth pairing connection method and system, Bluetooth device and terminal - Google Patents
Bluetooth pairing connection method and system, Bluetooth device and terminal Download PDFInfo
- Publication number
- CN108684029B CN108684029B CN201810965965.2A CN201810965965A CN108684029B CN 108684029 B CN108684029 B CN 108684029B CN 201810965965 A CN201810965965 A CN 201810965965A CN 108684029 B CN108684029 B CN 108684029B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- carrier signal
- pairing
- terminal
- address information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a Bluetooth pairing connection method and system, Bluetooth equipment and a terminal, wherein the Bluetooth pairing connection method applied to the Bluetooth equipment comprises the following steps: sending a broadcast data packet to the outside, wherein the broadcast data packet comprises address information of the Bluetooth equipment; generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device; externally transmitting the paired carrier signals; the awakening identification code is used for indicating the terminal to start Bluetooth; and the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal. Therefore, the terminal can automatically judge whether to be connected with the Bluetooth device in a pairing mode, manual operation of a user is not needed, the intelligent degree is high, the convenience and the rapidness are achieved, and the time of the user is saved.
Description
Technical Field
The embodiment of the invention relates to the technical field of Bluetooth, in particular to a Bluetooth pairing connection method and system, Bluetooth equipment and a terminal.
Background
As a short-distance wireless connection technology, the bluetooth technology is more and more widely applied and also more and more paid attention to by people. For example: along with the popularization of intelligent Mobile terminal and earphone, more and more users choose to use portable bluetooth headset, can not only remove the limitation of entity wire rod, can also promote the sense of hearing and experience.
However, in the prior art, in the process of pairing the bluetooth headset and the mobile terminal, the bluetooth switch of the bluetooth headset is turned on, the bluetooth switch of the mobile terminal is turned on, the bluetooth devices that can be paired are searched on the bluetooth interface of the mobile terminal to obtain a list of nearby bluetooth devices, and the user selects and confirms the bluetooth devices and then pairs the bluetooth devices. The pairing method is complex in process and needs to be operated and confirmed by a user for many times, so that the user experience is poor.
Therefore, how to simplify the operation of the user when the bluetooth device and the terminal are paired and connected is a technical problem to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth pairing connection method and system, Bluetooth equipment and a terminal, and aims to solve the problem of complex operation when the existing Bluetooth equipment and the terminal are in pairing connection.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a bluetooth pairing connection method, applied to a bluetooth device, including:
sending a broadcast data packet to the outside, wherein the broadcast data packet comprises address information of the Bluetooth equipment;
generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
externally transmitting the paired carrier signals;
the awakening identification code is used for indicating the terminal to start Bluetooth; and the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal.
In a second aspect, an embodiment of the present invention further provides a bluetooth pairing connection method, applied to a terminal, including:
receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wake-up identification code and a preset carrier signal of the Bluetooth device;
based on the pairing carrier signal, a Bluetooth switch is turned on, and address information of the Bluetooth equipment is stored;
receiving a broadcast data packet, wherein the broadcast data packet comprises address information of a Bluetooth device;
and under the condition that the address information of the Bluetooth equipment in the broadcast data packet is matched with the stored address information of the Bluetooth equipment, sending a pairing instruction to the Bluetooth equipment sending the broadcast data packet, and carrying out pairing connection with the Bluetooth equipment sending the broadcast data packet.
In a third aspect, an embodiment of the present invention further provides a bluetooth device, including: the device 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 to the outside, where the broadcast data packet includes address information of the bluetooth device;
the generating module is used for generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
the second sending module is connected with the generating module and used for sending the pairing carrier signal to the outside;
the awakening identification code is used for indicating the terminal to start Bluetooth; and the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal.
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 used for receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wakeup identification code and a preset carrier signal of the Bluetooth device;
the response module is connected with the first receiving module and used for turning on a Bluetooth switch based on the pairing carrier signal and storing the address information of the Bluetooth equipment;
the second receiving module is used for receiving a broadcast data packet, and the broadcast data packet comprises address information of the Bluetooth device;
the pairing module is respectively connected with the response module and the second receiving module, and is used for sending a pairing instruction to the Bluetooth device sending the broadcast data packet and carrying out pairing connection with the Bluetooth device sending the broadcast data packet under the condition that the address information of the Bluetooth device in the broadcast data packet is matched with the stored address information of the Bluetooth device.
In a fifth aspect, an embodiment of the present invention further provides a bluetooth pairing connection system, including: the bluetooth device and the terminal.
In a sixth aspect, an embodiment of the present invention further provides a bluetooth device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the bluetooth pairing-connection method applied to the bluetooth device.
In a seventh aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the bluetooth pairing connection method applied to the terminal.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the bluetooth pairing connection method described above.
In the embodiment of the invention, the terminal can automatically judge whether the Bluetooth equipment is in pairing connection or not by sending the broadcast data packet and the pairing carrier signal, the manual operation of a user is not needed, the intelligent degree is high, the method and the device are more convenient and faster, and the time of the user is saved.
Drawings
Fig. 1 is a flowchart illustrating a bluetooth pairing connection method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a bluetooth pairing connection method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a bluetooth device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bluetooth device in a specific application scenario of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal in a specific application scenario of the present invention;
fig. 7 is a schematic structural diagram of a mating connection system according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a bluetooth device according to a sixth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to a seventh embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention.
Detailed Description
Referring to fig. 1, fig. 1 is a schematic flowchart of a bluetooth pairing connection method according to an embodiment of the present invention, where the method is applied to a bluetooth device, and includes:
step 11: sending a broadcast data packet to the outside, wherein the broadcast data packet comprises address information of the Bluetooth equipment;
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.
Step 12: generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
the preset carrier signal may be an electromagnetic wave signal or an acoustic wave signal. The awakening identification code is used for indicating the terminal to start the Bluetooth and is confirmed by negotiation between the terminal and the Bluetooth equipment. And the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code.
Step 13: and sending the pairing carrier signal to the outside.
And the pairing carrier signal is used for determining whether to carry out pairing connection with the Bluetooth equipment according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal under the condition that the terminal starts the Bluetooth.
According to the Bluetooth pairing connection method provided by the embodiment of the invention, the terminal can automatically judge whether to perform pairing connection with the Bluetooth equipment or not by sending the broadcast data packet and the pairing carrier signal, manual operation of a user is not required, the intelligent degree is high, the method is more convenient and faster, and the time of the user is saved.
In the above embodiment, the bluetooth device may be a bluetooth headset, a bluetooth speaker, or a bluetooth car.
Because the energy consumption of the sound wave is low, in the sound waves with different frequencies, the audible sound wave signal can cause sound pollution, and a large number of sound sources exist in the audible sound wave signal, so that great interference exists; the inaudible ultrasonic signal has strong directivity, and a blind area exists in the propagation process, so that the receiving end cannot receive the signal.
Therefore, preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
Therefore, the generated pairing carrier signal is an infrasonic wave signal, sound interference cannot be caused during propagation, the propagation effect is better, and energy consumption is further saved.
In the embodiment of the invention, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz. The frequency of the preset infrasonic wave carrier signal can be set according to actual requirements, and the method is more flexible and convenient.
In some preferred embodiments of the present invention, the wakeup identification code for instructing the terminal to start bluetooth may be set by itself according to actual requirements, but the wakeup identification code must be recognized by both the bluetooth device and the terminal in a unified manner, so that automatic pairing connection between the bluetooth device and the terminal can be realized.
Preferably, the wakeup identification code for indicating the terminal to start the bluetooth uniquely corresponds to both the bluetooth device and the terminal. Therefore, when the terminal and the Bluetooth equipment are connected in a pairing mode, the workload can be reduced, the response is quicker, and the energy consumption is saved.
For example, the wake-up identification code between the handset a and the Bluetooth headset a in the same series is "a _ open _ Bluetooth", and the wake-up identification code "a _ open _ Bluetooth" corresponds to only the handset a and the Bluetooth headset a in the series. Therefore, when the series of mobile phones A and the Bluetooth earphones a are connected in a pairing mode, the connection efficiency can be further improved.
In the embodiment of the present invention, the paired carrier signal may be generated in various ways.
As a preferred embodiment, the step of generating the paired carrier signal includes: generating an original signal based on the address information and the awakening identification code of the Bluetooth equipment; loading the original signal on a preset infrasonic wave carrier signal sent by a carrier signal generator of the Bluetooth equipment to generate a synthesized sonic wave signal; and amplifying the synthesized sound wave signal to generate a matched carrier signal.
Specifically, a carrier signal generator of the bluetooth device sends out a preset infrasonic wave carrier signal P1 #; generating an original signal P2# according to the Address information # Address _01 of the Bluetooth device and an awakening identification code for indicating the terminal to start Bluetooth; recoding and converting the carrier signal P1# and the original signal P2#, loading the original signal P2# on the carrier signal P1#, and generating a synthesized sound wave signal P3 #; and amplifying the synthesized sound wave signal P3# to generate a paired carrier signal P3_1 #.
Therefore, the existing components of the Bluetooth equipment are used for generating the pairing carrier signals, and the cost of the Bluetooth equipment is not required to be increased.
With the popularization of intelligent terminals and bluetooth devices, terminals and bluetooth devices are filled everywhere in living space, and in order to reduce the workload of the terminals and the bluetooth devices and improve the efficiency of pairing connection, in the embodiment of the invention, the distance between the bluetooth devices and the terminals can be set to be smaller than or equal to a specified distance threshold. According to the sound pressure level attenuation relation of the infrasonic wave signals propagating in the space, when the distance between the Bluetooth device and the terminal is smaller than or equal to a specified distance threshold value, the sound pressure level attenuation of the infrasonic wave is smaller than or equal to a preset threshold value.
Therefore, preferably, the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the bluetooth device, and the difference between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the bluetooth device is smaller than or equal to a preset threshold. Therefore, the terminal receives the pairing carrier signal sent by the Bluetooth device, the distance between the terminal and the terminal is smaller than or equal to the designated distance threshold, the workload of the terminal is greatly reduced, and the efficiency of pairing connection is improved.
Preferably, the sound pressure level of the current environment of the bluetooth device is obtained by a microphone module of the bluetooth device. The sound pressure level of the current environment of the Bluetooth device is obtained through the existing microphone module of the Bluetooth device, the Bluetooth device does not need to be added on hardware, and the cost of the Bluetooth device does not need to be increased.
For example, when the distance threshold is 50cm and the distance between the bluetooth device and the terminal is less than or equal to 50cm, the sound pressure level attenuation of the infrasonic wave is less than or equal to 10 dm. In the embodiment of the present invention, the energy requirement of the paired carrier signal P3_1# may be set to be 10dB higher than the background noise of the environment where the bluetooth device is located, the sound pressure level of the background noise of the environment where the bluetooth device is currently located, which is obtained through analysis by the bluetooth device microphone module, is denoted as Lp, and the sound pressure level of the paired carrier signal P3_1# may be set to be Lp +10 dB.
In some preferred embodiments of the present invention, after the step of sending the paired carrier signal outside the pair, the method further includes: receiving a pairing instruction sent by a terminal; and carrying out pairing connection with the terminal. Therefore, the Bluetooth equipment receives the pairing instruction, can be immediately paired and connected with the terminal, does not need a user to perform manual operation, and is sensitive in response and rapid in connection.
And the pairing instruction sent by the terminal is generated when the terminal determines to be paired and connected with the Bluetooth equipment.
That is to say, when the terminal determines to pair with the bluetooth device, the terminal sends a pairing instruction to the corresponding bluetooth device, and the bluetooth device receives the pairing instruction and performs pairing connection with the terminal.
Referring to fig. 2, fig. 2 is a schematic flowchart of a bluetooth pairing connection method according to a second embodiment of the present invention, where the method is applied to a bluetooth device, and includes:
step 21: receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wake-up identification code and a preset carrier signal of the Bluetooth device;
the pairing 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 that transmitted 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 awakening identification code for indicating the terminal to start the Bluetooth is confirmed by the terminal and the Bluetooth equipment in a negotiation way.
Step 22: based on the pairing carrier signal, a Bluetooth switch is turned on, and address information of the Bluetooth equipment is stored;
the terminal turns on a Bluetooth switch under the condition of recognizing the awakening identification code; in the case where the address information of the bluetooth device is detected, the address information is stored.
Step 23: receiving a broadcast data packet, wherein the broadcast data packet comprises address information of a Bluetooth device;
step 24: and under the condition that the address information of the Bluetooth equipment in the broadcast data packet is matched with the stored address information of the Bluetooth equipment, sending a pairing instruction to the Bluetooth equipment sending the broadcast data packet, and carrying out pairing connection with the Bluetooth equipment sending the broadcast data packet.
That is, the terminal matches the address information of the bluetooth device in the broadcast packet received in step 23 with the stored address information of the bluetooth device, and when the same address information is matched, determines that the bluetooth device corresponding to the address information is a bluetooth device to be paired and connected, outputs a pairing instruction, and performs pairing and connection with the bluetooth device that transmitted the broadcast packet.
According to the Bluetooth pairing connection method provided by the embodiment of the invention, whether the Bluetooth equipment is in pairing connection or not can be automatically judged by receiving the broadcast data packet and the pairing carrier signal, manual operation of a user is not needed, the intelligent degree is high, the method is more convenient and faster, and the time of the user is saved.
Preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
That is to say, the pairing carrier signal is an infrasonic wave signal, so that sound interference cannot be caused during propagation, the propagation effect is better, and the energy consumption is further saved.
Preferably, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz.
In the embodiment of the invention, the paired carrier signals can be detected in various modes.
As a preferred embodiment, the turning on the bluetooth switch based on the pairing carrier signal includes: decoding the matched carrier signal to restore an original signal, wherein the original signal comprises address information and an awakening identification code of the Bluetooth equipment; under the condition that the awakening identification code in the original signal is identified, a Bluetooth switch is turned on; and the terminal can receive the broadcast data packet sent by the Bluetooth equipment to the outside under the condition of turning on the Bluetooth switch.
Therefore, the terminal can automatically turn on the Bluetooth switch by decoding the pairing carrier signal under the condition of identifying the awakening identification code in the original signal, does not need manual operation of a user, is simple and convenient, and is also favorable for saving the energy consumption of the terminal.
Further, before decoding the paired carrier signal and restoring the original signal, the method further includes: and filtering audible sound wave signals and ultrasonic wave signals in the current environment of the terminal.
That is to say, the infrasonic wave signal is obtained by filtering the audible sound wave signal and the ultrasonic wave signal, so that the interference signal in the paired carrier signal is reduced, the workload of the terminal can be reduced, and the energy consumption of the terminal is further saved.
Specifically, the terminal receives a pairing carrier signal P3_1# sent by the Bluetooth device, analyzes the pairing carrier signal P3_1#, filters audible sound wave signals and ultrasonic wave signals in the environment, and obtains infrasonic wave signals; then, according to the frequency (for example, 10Hz) of the matched carrier signal, a synthetic sound wave signal P3# is correspondingly obtained; re-decoding the synthesized sound wave signal P3# to restore an original signal P2 #; analyzing the original signal P2#, opening a Bluetooth switch of the terminal under the condition that an awakening identification code (such as sn _ open _ Bluetooth) for indicating the terminal to start Bluetooth is identified, and storing Address information # Address _01 under the condition that the Address information # Address _01 of the Bluetooth device is checked; after a terminal starts Bluetooth, receiving broadcast data packets sent by Bluetooth equipment nearby the terminal, wherein the broadcast data packets carry address information of the Bluetooth equipment sending the broadcast data packets; decoding the received broadcast data packet, checking the address information of the Bluetooth equipment in the broadcast data packet, and performing matching analysis on the address information of the stored Bluetooth equipment; and when the same address information is matched, sending a pairing instruction, and automatically pairing and connecting with the Bluetooth equipment corresponding to the address information.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a bluetooth device according to a third embodiment of the present invention, where the bluetooth device 30 includes: a first sending module 31, a generating module 32 and a second sending module 33; wherein:
the first sending module 31 is configured to send a broadcast data packet to the outside, where the broadcast data packet includes address information of the bluetooth device;
the generating module 32 is configured to generate a pairing carrier signal based on the address information of the bluetooth device, the wakeup identification code, and a preset carrier signal;
the second sending module 33 is connected to the generating module 32, and configured to send the paired carrier signal to the outside;
the awakening identification code is used for indicating the terminal to start Bluetooth; and the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal.
According to the Bluetooth device provided by the embodiment of the invention, the terminal can automatically judge whether the Bluetooth device is in pairing connection with the terminal by sending the broadcast data packet and the pairing carrier signal, manual operation of a user is not needed, the intelligent degree is high, the Bluetooth device is more convenient and faster, and the time of the user is saved.
Preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
Preferably, the generating module 32 is configured to generate an original signal based on the address information and the wakeup identification code of the bluetooth device; loading the original signal on a preset infrasonic wave carrier signal sent by a carrier signal generator of the Bluetooth equipment to generate a synthesized sonic wave signal; and amplifying the synthesized sound wave signal to generate a matched carrier signal.
Preferably, the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the bluetooth device, and a difference between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the bluetooth device is less than or equal to a preset threshold.
Preferably, the bluetooth device 30 further includes:
and the microphone module is connected with the generating module 32 and is used for acquiring the sound pressure level of the current environment of the bluetooth device.
Preferably, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz.
Preferably, the bluetooth device 30 further includes:
the pairing module is used for receiving a pairing instruction sent by a terminal; and carrying out pairing connection with the terminal.
The bluetooth device provided in the embodiment of the present invention can implement each process in the method embodiment corresponding to fig. 1, and is not described herein again to avoid repetition.
Referring to fig. 4, in a specific application scenario, the bluetooth device 40 includes: a Micro Control Unit (MCU) 41, a carrier signal generator 42, a CODEC (CODEC) module 43, a speaker module 44, a microphone module 45, and a radio frequency module 46, where the MCU 41 is configured to generate an original signal according to address information of the bluetooth device 40 and a wakeup identification code for instructing a terminal to start bluetooth; outputting a generating instruction and a sending instruction; receiving a pairing instruction transmitted by the terminal and forwarded by the radio frequency module 46, and performing pairing connection with the terminal; the carrier signal generator 42 is connected with the micro control unit 41 and used for receiving a generation instruction and generating a preset infrasonic wave carrier signal; the codec module 43 is respectively connected to the micro control unit 41 and the carrier signal generator 42, and is configured to load an original signal on a preset infrasonic wave carrier signal to generate a synthesized sonic wave signal, amplify the synthesized sonic wave signal, and generate a paired carrier signal; the speaker module 44 is connected with the codec module 43, and is configured to convert the pairing carrier signal of the electrical signal into a pairing carrier signal of the sound wave signal and output the pairing carrier signal; the microphone module 45 is connected with the codec module 43 and is used for acquiring the sound pressure level of the current environment where the bluetooth device is located; a radio frequency module 46 connected to the micro control unit 41, for receiving a transmission instruction and transmitting a broadcast data packet; and receiving a pairing instruction sent by the terminal, forwarding the pairing instruction sent by the terminal to the micro control unit 41, and performing pairing connection with the terminal.
Therefore, when the Bluetooth equipment is connected with the terminal in a pairing mode, the Bluetooth equipment can be automatically identified and matched, the connection speed in the pairing mode is high, the intelligent degree is high, and the Bluetooth equipment is more convenient and fast.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, where the terminal 50 includes: a first receiving module 51, a responding module 52, a second receiving module 53 and a pairing module 54, wherein:
the first receiving module 51 is configured to receive a pairing carrier signal sent by a bluetooth device, where the pairing carrier signal includes address information of the bluetooth device, a wakeup identification code, and a preset carrier signal;
the response module 52 is connected to the first receiving module 51, and configured to turn on a bluetooth switch based on the pairing carrier signal, and store address information of the bluetooth device;
the second receiving module 53 is configured to receive a broadcast data packet, where the broadcast data packet includes address information of a bluetooth device;
the pairing module 54 is connected to the response module 52 and the second receiving module 53, and configured to send a pairing instruction to the bluetooth device that sends the broadcast packet when the address information of the bluetooth device in the broadcast packet matches the stored address information of the bluetooth device, and perform pairing connection with the bluetooth device that sends the broadcast packet.
The terminal provided by the embodiment of the invention can automatically judge whether the Bluetooth equipment is in pairing connection or not by receiving the broadcast data packet and the pairing carrier signal, does not need manual operation of a user, has high intelligent degree, is more convenient and faster, and saves the time of the user.
Preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
Preferably, the response module 52 is configured to decode the pairing carrier signal to restore an original signal, where the original signal includes address information and a wakeup identification code of the bluetooth device; under the condition that the awakening identification code in the original signal is identified, a Bluetooth switch is turned on;
and the terminal can receive the broadcast data packet sent by the Bluetooth equipment to the outside under the condition of turning on the Bluetooth switch.
Preferably, the terminal 50 further includes:
and a filtering module, connected to the first receiving module 51 and the responding module 52, respectively, for filtering the audible sound wave signal and the ultrasonic wave signal in the current environment of the terminal.
Preferably, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz.
The bluetooth device provided in the embodiment of the present invention can implement each process in the method embodiment corresponding to fig. 2, and is not described here again to avoid repetition.
Referring to fig. 6, in a specific application scenario, the terminal 60 includes: a micro control unit 61, a Digital Signal Processing (DSP) module 62, a coder-decoder (CODEC) module 63, a microphone module 64, and a radio frequency module 65.
The micro control unit 61 is used for receiving the starting notification signal and starting the Bluetooth of the terminal; and receiving the pairing notification signal, outputting a pairing instruction, and performing pairing connection with the Bluetooth equipment.
The microphone module 64 is configured to receive the pairing carrier signal and convert the pairing carrier signal of the sound wave signal into a pairing carrier signal of an electrical signal.
The codec module 63 is respectively connected with the microphone module 64 and the micro-control unit 61 and is used for filtering audible sound wave signals and ultrasonic wave signals in the current environment of the terminal; and decoding the matched carrier signal to restore an original signal, wherein the original signal comprises the address information and the awakening identification code of the Bluetooth equipment.
A digital signal processing module 62, which is respectively connected with the codec module 63 and the micro control unit 61, and is configured to analyze the original signal, and output a start notification signal when recognizing the wakeup identification code for instructing the terminal to start bluetooth; under the condition that the address information of the Bluetooth device is detected, storing the address information of the Bluetooth device; and comparing the address information of the Bluetooth device in the broadcast data packet with the stored address information of the Bluetooth device, and outputting a pairing notification signal when the address information of the Bluetooth device in the broadcast data packet is the same as the stored address information of the Bluetooth device.
The radio frequency module 65 is connected with the micro control unit 61 and used for receiving the broadcast data packet after the Bluetooth is started; and sending a pairing instruction to the Bluetooth equipment, and carrying out pairing connection with the Bluetooth equipment with the same address information as the stored Bluetooth equipment.
Therefore, when the Bluetooth equipment is connected with the terminal in a pairing mode, the Bluetooth equipment can be automatically identified and matched, the connection speed in the pairing mode is high, the intelligent degree is high, and the Bluetooth equipment is more convenient and fast.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a bluetooth pairing connection system according to a fifth embodiment of the present invention, where the bluetooth pairing connection system 70 includes: a bluetooth device 71 and a terminal 72, where the bluetooth device 71 is a bluetooth device in the third embodiment of the present invention, and the terminal 72 is a bluetooth device in the fourth embodiment of the present invention.
According to the Bluetooth pairing connection system provided by the embodiment of the invention, the terminal can automatically judge whether to be in pairing connection with the Bluetooth equipment, manual operation of a user is not required, the intelligent degree is high, the system is more convenient and faster, and the time of the user is saved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a bluetooth device according to a sixth embodiment of the present invention, where the bluetooth device 80 includes a processor 81, a memory 82, and a computer program stored in the memory 82 and operable on the processor 81, where the computer program implements the following steps when executed by the processor 81:
sending a broadcast data packet to the outside, wherein the broadcast data packet comprises address information of the Bluetooth equipment;
generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
externally transmitting the paired carrier signals;
the awakening identification code is used for indicating the terminal to start Bluetooth; and the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal.
According to the Bluetooth device provided by the embodiment of the invention, the terminal can automatically judge whether the Bluetooth device is in pairing connection with the terminal by sending the broadcast data packet and the pairing carrier signal, manual operation of a user is not needed, the intelligent degree is high, the Bluetooth device is more convenient and faster, and the time of the user is saved.
Preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
Preferably, the computer program when executed by the processor 81 further implements the steps of:
based on the address information, the awakening identification code and the preset carrier wave signal of the Bluetooth equipment, a pairing carrier wave signal is generated, and the method comprises the following steps:
generating an original signal based on the address information and the awakening identification code of the Bluetooth equipment;
loading the original signal on a preset infrasonic wave carrier signal sent by a carrier signal generator of the Bluetooth equipment to generate a synthesized sonic wave signal;
and amplifying the synthesized sound wave signal to generate a matched carrier signal.
Preferably, the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the bluetooth device, and a difference between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the bluetooth device is less than or equal to a preset threshold.
Preferably, the sound pressure level of the current environment of the bluetooth device is obtained by a microphone module of the bluetooth device.
Preferably, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz.
Preferably, the computer program when executed by the processor 81 further implements the steps of:
after the pair of external transmission of the paired carrier signals, the method further includes:
receiving a pairing instruction sent by a terminal;
and carrying out pairing connection with the terminal.
The bluetooth device can implement each process of the first embodiment of the present invention, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal according to a seventh embodiment of the present invention, where the terminal 90 includes a processor 91, a memory 92, and a computer program stored in the memory 92 and capable of running on the processor 91, and when the computer program is executed by the processor 91, the following steps are implemented:
receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wake-up identification code and a preset carrier signal of the Bluetooth device;
based on the pairing carrier signal, a Bluetooth switch is turned on, and address information of the Bluetooth equipment is stored;
receiving a broadcast data packet, wherein the broadcast data packet comprises address information of a Bluetooth device;
and under the condition that the address information of the Bluetooth equipment in the broadcast data packet is matched with the stored address information of the Bluetooth equipment, sending a pairing instruction to the Bluetooth equipment sending the broadcast data packet, and carrying out pairing connection with the Bluetooth equipment sending the broadcast data packet.
The terminal provided by the embodiment of the invention can automatically judge whether the Bluetooth equipment is in pairing connection or not by receiving the broadcast data packet and the pairing carrier signal, does not need manual operation of a user, has high intelligent degree, is more convenient and faster, and saves the time of the user.
Preferably, the preset carrier signal is a preset infrasonic wave carrier signal.
Preferably, the computer program when executed by the processor 91 further realizes the steps of:
the turning on a bluetooth switch based on the pairing carrier signal includes:
decoding the matched carrier signal to restore an original signal, wherein the original signal comprises address information and an awakening identification code of the Bluetooth equipment;
under the condition that the awakening identification code in the original signal is identified, a Bluetooth switch is turned on;
and the terminal can receive the broadcast data packet sent by the Bluetooth equipment to the outside under the condition of turning on the Bluetooth switch.
Preferably, the computer program when executed by the processor 91 further realizes the steps of:
before decoding the paired carrier signal and restoring the original signal, the method further includes:
and filtering audible sound wave signals and ultrasonic wave signals in the current environment of the terminal.
Preferably, the frequency of the preset infrasonic wave carrier signal is less than 20 Hz.
The terminal can realize each process of the second embodiment of the invention, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Fig. 10 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 10 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The input unit 104 is configured to receive a pairing carrier signal sent by a bluetooth device, where the pairing carrier signal includes address information of the bluetooth device, a wakeup identification code, and a preset carrier signal;
the processor 110 is configured to turn on a bluetooth switch based on the pairing carrier signal, and store address information of the bluetooth device;
a radio frequency unit 101, configured to receive a broadcast data packet, where the broadcast data packet includes address information of a bluetooth device;
the processor 110 is configured to send a pairing instruction to the bluetooth device that sends the broadcast packet when the address information of the bluetooth device in the broadcast packet matches the stored address information of the bluetooth device, and perform pairing connection with the bluetooth device that sends the broadcast packet.
The terminal provided by the embodiment of the invention can automatically judge whether the Bluetooth equipment is in pairing connection or not by receiving the broadcast data packet and the pairing carrier signal, does not need manual operation of a user, has high intelligent degree, is more convenient and faster, and saves the time of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
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 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a 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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs 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. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and 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 management functions through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The embodiment of the present invention further 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 computer program implements each process of the above-mentioned bluetooth pairing-connection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (22)
1. A Bluetooth pairing connection method is applied to Bluetooth equipment and is characterized by comprising the following steps:
sending a broadcast data packet to the outside, wherein the broadcast data packet comprises address information of the Bluetooth equipment;
generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
externally transmitting the paired carrier signals;
the awakening identification code is used for indicating the terminal to start Bluetooth; the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal;
the preset carrier signal is a preset infrasonic wave carrier signal;
the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the Bluetooth device, and the difference value between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the Bluetooth device is smaller than or equal to a preset threshold value;
the awakening identification code is used for indicating the terminal to start the Bluetooth, negotiation confirmation is carried out between the terminal and the Bluetooth equipment, and the awakening identification code used for indicating the terminal to start the Bluetooth uniquely corresponds to the Bluetooth equipment and the terminal.
2. The pairing connection method of claim 1, wherein the generating a pairing carrier signal based on the address information, the wakeup identification code and a preset carrier signal of the bluetooth device comprises:
generating an original signal based on the address information and the awakening identification code of the Bluetooth equipment;
loading the original signal on a preset infrasonic wave carrier signal sent by a carrier signal generator of the Bluetooth equipment to generate a synthesized sonic wave signal;
and amplifying the synthesized sound wave signal to generate a matched carrier signal.
3. The pairing connection method according to claim 1, wherein a sound pressure level of an environment in which the bluetooth device is currently located is obtained by a microphone module of the bluetooth device.
4. The mating connection method of claim 1, wherein the frequency of the predetermined infrasonic carrier signal is less than 20 Hz.
5. The pairing connection method according to claim 1, further comprising, after the externally transmitting the pairing carrier signal:
receiving a pairing instruction sent by a terminal;
and carrying out pairing connection with the terminal.
6. A Bluetooth pairing connection method is applied to a terminal and is characterized by comprising the following steps:
receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wake-up identification code and a preset carrier signal of the Bluetooth device;
based on the pairing carrier signal, a Bluetooth switch is turned on, and address information of the Bluetooth equipment is stored;
receiving a broadcast data packet, wherein the broadcast data packet comprises address information of a Bluetooth device;
under the condition that the address information of the Bluetooth equipment in the broadcast data packet is matched with the stored address information of the Bluetooth equipment, sending a pairing instruction to the Bluetooth equipment which sends the broadcast data packet, and carrying out pairing connection with the Bluetooth equipment which sends the broadcast data packet;
the preset carrier signal is a preset infrasonic wave carrier signal;
the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the Bluetooth device, and the difference value between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the Bluetooth device is smaller than or equal to a preset threshold value;
the awakening identification code is used for indicating the terminal to start the Bluetooth, negotiation confirmation is carried out between the terminal and the Bluetooth equipment, and the awakening identification code used for indicating the terminal to start the Bluetooth uniquely corresponds to the Bluetooth equipment and the terminal.
7. The pairing connection method of claim 6, wherein the turning on a Bluetooth switch based on the pairing carrier signal comprises:
decoding the matched carrier signal to restore an original signal, wherein the original signal comprises address information and an awakening identification code of the Bluetooth equipment;
under the condition that the awakening identification code in the original signal is identified, a Bluetooth switch is turned on;
and the terminal can receive the broadcast data packet sent by the Bluetooth equipment to the outside under the condition of turning on the Bluetooth switch.
8. The method according to claim 7, wherein before decoding the paired carrier signal to recover the original signal, the method further comprises:
and filtering audible sound wave signals and ultrasonic wave signals in the current environment of the terminal.
9. The mating connection method of claim 6, wherein the frequency of the preset infrasonic carrier signal is less than 20 Hz.
10. A bluetooth device, comprising: the device 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 to the outside, where the broadcast data packet includes address information of the bluetooth device;
the generating module is used for generating a pairing carrier signal based on the address information, the awakening identification code and a preset carrier signal of the Bluetooth device;
the second sending module is connected with the generating module and used for sending the pairing carrier signal to the outside;
the awakening identification code is used for indicating the terminal to start Bluetooth; the pairing carrier signal is used for starting Bluetooth under the condition that the terminal identifies the awakening identification code, and determining whether to be in pairing connection with the Bluetooth equipment or not according to the address information of the Bluetooth equipment in the broadcast data packet and the address information of the Bluetooth equipment in the pairing carrier signal;
the preset carrier signal is a preset infrasonic wave carrier signal;
the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the Bluetooth device, and the difference value between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the Bluetooth device is smaller than or equal to a preset threshold value;
the awakening identification code is used for indicating the terminal to start the Bluetooth, negotiation confirmation is carried out between the terminal and the Bluetooth equipment, and the awakening identification code used for indicating the terminal to start the Bluetooth uniquely corresponds to the Bluetooth equipment and the terminal.
11. The Bluetooth device of claim 10,
the generating module is used for generating an original signal based on the address information and the awakening identification code of the Bluetooth equipment; loading the original signal on a preset infrasonic wave carrier signal sent by a carrier signal generator of the Bluetooth equipment to generate a synthesized sonic wave signal; and amplifying the synthesized sound wave signal to generate a matched carrier signal.
12. The bluetooth device of claim 10, further comprising:
and the microphone module is connected with the generating module and used for acquiring the sound pressure level of the current environment of the Bluetooth device.
13. The bluetooth device according to claim 10, characterized in that the frequency of the predetermined infrasonic carrier signal is less than 20 Hz.
14. The bluetooth device of claim 10, further comprising:
the pairing module is used for receiving a pairing instruction sent by a terminal; and carrying out pairing connection with the terminal.
15. A terminal, comprising: a first receiving module, a response module, a second receiving module and a pairing module, wherein:
the first receiving module is used for receiving a pairing carrier signal sent by a Bluetooth device, wherein the pairing carrier signal comprises address information, a wakeup identification code and a preset carrier signal of the Bluetooth device;
the response module is connected with the first receiving module and used for turning on a Bluetooth switch based on the pairing carrier signal and storing the address information of the Bluetooth equipment;
the second receiving module is used for receiving a broadcast data packet, and the broadcast data packet comprises address information of the Bluetooth device;
the pairing module is respectively connected with the response module and the second receiving module, and is used for sending a pairing instruction to the Bluetooth device sending the broadcast data packet and carrying out pairing connection with the Bluetooth device sending the broadcast data packet under the condition that the address information of the Bluetooth device in the broadcast data packet is matched with the stored address information of the Bluetooth device;
the preset carrier signal is a preset infrasonic wave carrier signal;
the sound pressure level of the pairing carrier signal is higher than the sound pressure level of the current environment of the Bluetooth device, and the difference value between the sound pressure level of the pairing carrier signal and the sound pressure level of the current environment of the Bluetooth device is smaller than or equal to a preset threshold value;
the awakening identification code is used for indicating the terminal to start the Bluetooth, negotiation confirmation is carried out between the terminal and the Bluetooth equipment, and the awakening identification code used for indicating the terminal to start the Bluetooth uniquely corresponds to the Bluetooth equipment and the terminal.
16. The terminal of claim 15,
the response module is used for decoding the matched carrier signal and restoring an original signal, wherein the original signal comprises address information and a wake-up identification code of the Bluetooth device; under the condition that the awakening identification code in the original signal is identified, a Bluetooth switch is turned on;
and the terminal can receive the broadcast data packet sent by the Bluetooth equipment to the outside under the condition of turning on the Bluetooth switch.
17. The terminal of claim 16, further comprising:
and the filtering module is respectively connected with the first receiving module and the response module and is used for filtering the audible sound wave signal and the ultrasonic wave signal in the current environment of the terminal.
18. The terminal of claim 15, wherein the predetermined infrasonic carrier signal has a frequency of less than 20 Hz.
19. A bluetooth pairing connection system, comprising: a bluetooth device as claimed in any one of claims 10 to 14 and a terminal as claimed in any one of claims 15 to 18.
20. A Bluetooth device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the Bluetooth pairing connection method as claimed in any one of claims 1 to 5.
21. A terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the bluetooth paired connection method according to any of claims 6 to 9.
22. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the bluetooth pairing-connection method according to one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810965965.2A CN108684029B (en) | 2018-08-23 | 2018-08-23 | 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 | Bluetooth pairing connection method and system, Bluetooth device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108684029A CN108684029A (en) | 2018-10-19 |
CN108684029B true 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 | Bluetooth pairing connection method and system, Bluetooth device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108684029B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102523826B1 (en) * | 2018-10-22 | 2023-04-21 | 삼성전자주식회사 | Electronic device using a 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 |
CN111225346B (en) * | 2019-11-28 | 2022-07-12 | 深圳传音控股股份有限公司 | Connection switching method of wireless earphone, wireless earphone and storage medium |
CN112399638B (en) * | 2020-11-17 | 2023-07-14 | Oppo广东移动通信有限公司 | Communication connection establishment method, storage medium and equipment |
CN112572349A (en) * | 2020-12-22 | 2021-03-30 | 广州橙行智动汽车科技有限公司 | Vehicle digital key processing method and system |
CN113763646B (en) * | 2021-01-29 | 2024-04-05 | 北京京东拓先科技有限公司 | Device control method, device, electronic device and computer readable medium |
CN113194417B (en) * | 2021-04-30 | 2022-03-15 | 深圳市欢太科技有限公司 | Device connection method and device, computer device and storage medium |
CN113347578B (en) * | 2021-05-17 | 2022-06-21 | 广州安凯微电子股份有限公司 | Audio data transmission method, device and system, storage medium and earphone |
CN113596800B (en) * | 2021-08-12 | 2023-07-18 | 立讯电子科技(昆山)有限公司 | Bluetooth charging box and anti-theft method of Bluetooth headset |
CN118741756A (en) * | 2023-03-31 | 2024-10-01 | 广州视源电子科技股份有限公司 | Wireless pairing method, communication system and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7155163B2 (en) * | 2001-01-09 | 2006-12-26 | Agere Systems Inc. | Unified passcode pairing of piconet devices |
US9544075B2 (en) * | 2012-02-22 | 2017-01-10 | Qualcomm Incorporated | Platform for wireless identity transmitter and system using short range wireless broadcast |
CN106911633B (en) * | 2015-12-22 | 2021-03-23 | 阿里巴巴集团控股有限公司 | Data transmission method and device |
-
2018
- 2018-08-23 CN CN201810965965.2A patent/CN108684029B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN108684029A (en) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108684029B (en) | Bluetooth pairing connection method and system, Bluetooth device and terminal | |
CN103488939B (en) | Method, device and terminal for prompting user | |
CN108712566B (en) | Voice assistant awakening method and mobile terminal | |
CN111083755B (en) | Equipment switching method and related equipment | |
CN108521501B (en) | Voice input method, mobile terminal and computer readable storage medium | |
CN109739394B (en) | SAR value processing method and mobile terminal | |
CN107734170B (en) | Notification message processing method, mobile terminal and wearable device | |
CN106940997B (en) | Method and device for sending voice signal to voice recognition system | |
CN109888928B (en) | Terminal and wireless charging control method | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN109639738B (en) | Voice data transmission method and terminal equipment | |
CN110022551B (en) | Information interaction method and terminal equipment | |
CN109451146B (en) | Vibration processing method and terminal | |
CN107769324B (en) | Charging method, charger, mobile terminal and server | |
CN108307075B (en) | Incoming call processing method and mobile terminal | |
CN108419283B (en) | WIFI hotspot scanning method and mobile terminal | |
CN108307048B (en) | Message output method and device and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN112925501A (en) | Audio playing control method, device and system and computer readable storage medium | |
CN109005377B (en) | Video processing method and terminal equipment | |
CN108430025B (en) | Detection method and mobile terminal | |
CN108955641B (en) | Depth camera shooting method, depth camera shooting equipment and mobile terminal | |
CN108418961B (en) | Audio playing method and mobile terminal | |
CN109286723A (en) | A kind of replacing options and terminal of wallpaper |
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 |