CN111148086A - Bluetooth pairing method and device, storage medium and electronic equipment - Google Patents

Bluetooth pairing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111148086A
CN111148086A CN201911409868.6A CN201911409868A CN111148086A CN 111148086 A CN111148086 A CN 111148086A CN 201911409868 A CN201911409868 A CN 201911409868A CN 111148086 A CN111148086 A CN 111148086A
Authority
CN
China
Prior art keywords
bluetooth
vibration signal
signal
motor
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
CN201911409868.6A
Other languages
Chinese (zh)
Other versions
CN111148086B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201911409868.6A priority Critical patent/CN111148086B/en
Publication of CN111148086A publication Critical patent/CN111148086A/en
Application granted granted Critical
Publication of CN111148086B publication Critical patent/CN111148086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a Bluetooth pairing method, a Bluetooth pairing device, a storage medium and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of collecting a first motor vibration signal of first Bluetooth equipment, decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information, and connecting with Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information. By adopting the embodiment of the application, the Bluetooth pairing process can be simplified, and the Bluetooth pairing efficiency is improved.

Description

Bluetooth pairing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a bluetooth pairing method and apparatus, a storage medium, and an electronic device.
Background
As a short-distance wireless communication mode, the bluetooth communication technology is widely applied to intelligent terminal devices, for example, a smart phone is connected to a smart phone through bluetooth. Before the intelligent terminal device adopts the Bluetooth communication technology to communicate, Bluetooth pairing needs to be carried out firstly.
Currently, in the bluetooth pairing process, a bluetooth search switch of an intelligent terminal device is generally turned on first, a pair-able bluetooth device is searched, all the pair-able bluetooth devices are listed in a search list, then a user manually selects a target bluetooth device in the search list to initiate a pairing connection request, and after the target bluetooth device confirms the pairing connection request, a bluetooth connection is established. However, when the bluetooth connection with the target bluetooth device is established, the user needs to spend a lot of time to search the target bluetooth device in the bluetooth search list one by one, the bluetooth pairing process is complicated, and the bluetooth pairing efficiency is low.
Disclosure of Invention
The embodiment of the application provides a Bluetooth pairing method and device, a storage medium and electronic equipment, which can simplify the Bluetooth pairing process and improve Bluetooth pairing efficiency. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a bluetooth pairing method, where the method includes:
collecting a first motor vibration signal of a first Bluetooth device;
decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information;
and connecting with the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
In a second aspect, an embodiment of the present application provides a bluetooth pairing apparatus, including:
the signal acquisition module is used for acquiring a first motor vibration signal of the first Bluetooth device;
the signal decoding module is used for decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information;
and the Bluetooth connection module is used for connecting the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a second bluetooth device collects a first motor vibration signal of a first bluetooth device, decodes the first motor vibration signal to obtain decoded first bluetooth pairing information, and connects with a bluetooth of the first bluetooth device based on the first bluetooth pairing information. The first Bluetooth pairing information is obtained by decoding the first motor vibration signal, then automatic connection can be carried out on the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information, manual operation of a user on the Bluetooth equipment is not needed, the step of Bluetooth establishment between the Bluetooth equipment is simplified, and Bluetooth pairing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a bluetooth pairing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another bluetooth pairing method provided in the embodiment of the present application;
fig. 3 is an interface schematic diagram of a bluetooth pairing mode involved in a bluetooth pairing method according to an embodiment of the present application;
fig. 4 is a schematic interface diagram illustrating a vibration prompt message according to the bluetooth pairing method provided in the embodiment of the present application;
fig. 5 is a schematic interface diagram illustrating another vibration prompt message related to the bluetooth pairing method according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth pairing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a signal detection module according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another bluetooth pairing apparatus provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, a bluetooth pairing method is proposed, which may be implemented by means of a computer program and may be run on a bluetooth pairing device based on von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application. The bluetooth pairing apparatus may be a bluetooth device, and the bluetooth device may be a terminal device having a bluetooth connection function, including but not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, computing devices or other processing devices connected to a wireless modem, and the like.
Specifically, the bluetooth pairing method includes:
step 101: a first motor vibration signal of a first Bluetooth device is collected.
In the embodiment of the present application, the first bluetooth device may include a driving chip, a memory, a motor, and the like. The driving chip included in the first bluetooth device may be used to power and control the motor, such as controlling the motor to vibrate at a specific frequency. The Memory may be a Random Access Memory (RAM), a Flash Memory (Flash), or the like, and may be used to store received data, data required by a processing procedure, data generated during the processing procedure, or the like. The motor is a vibration motor, and may be configured to generate a specific motor vibration signal based on the target frequency stored in the memory, and in the embodiment of the present disclosure, the motor may vibrate at a certain frequency, so as to implement a first motor vibration signal emitted from the first bluetooth device.
The signal is a physical quantity representing a message, and the motor vibration signal is a signal generated by the first bluetooth device controlling the motor vibration, also called a signal wave. In general, the vibration signal may represent different messages or information through changes of amplitude, frequency and phase, and in this embodiment, the first motor vibration signal is sent by the first terminal control motor to convert the first bluetooth pairing information stored in the memory into a changed first motor vibration signal with a specific amplitude, a specific frequency and a specific phase.
Specifically, the second bluetooth device has a function of collecting a vibration signal, and the function of collecting the vibration signal may be implemented based on a microphone module included in the second bluetooth device. When the first Bluetooth device sends out a first motor vibration signal, the second Bluetooth device can acquire the first motor vibration signal sent by the first Bluetooth device in real time through the contained microphone module.
Optionally, the second bluetooth device collects the first motor vibration signal sent by the first bluetooth device through the microphone module, the microphone module may be an internal or external microphone or microphones, when the number of microphones is multiple, the placement positions of the microphones may be designed according to actual requirements, the placement modes may be different angle placements so as to collect the first motor vibration signal with higher quality, and when the second bluetooth device finishes collecting, the collected first motor vibration signal is stored. Or the second bluetooth device can save the first motor vibration signal in real time in the process of collecting the first motor vibration signal sent by the first bluetooth device.
Step 102: and decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information.
The first bluetooth pairing information may be understood as pairing information for bluetooth pairing with the first bluetooth device, the pairing information including, but not limited to, a bluetooth name, a MAC address, a bluetooth id, a pairing key, and the like.
Specifically, the second bluetooth device collects a first motor vibration signal sent by the first bluetooth device through the microphone module, the first motor vibration signal collected generally is an analog signal, the second bluetooth device decodes the first motor vibration signal, decoding can be understood as converting the first motor vibration signal into a digital signal, and compiling the digital signal based on a preset pairing information conversion rule can obtain the decoded first bluetooth pairing information.
Specifically, after the second bluetooth device collects the first motor vibration signal sent by the first bluetooth device through the microphone module, the first motor vibration signal needs to be preprocessed, so that the quality of the collected first motor vibration signal is eliminated due to the influence of interference factors such as environmental noise and echo, in practical implementation, the first motor vibration signal collected through the microphone module is preprocessed, the preprocessing comprises end point detection, noise reduction and beam forming, the preprocessed call voice is subjected to post-filtering to eliminate residual signal noise, and then the energy of the collected vibration signal is adjusted through an automatic gain algorithm. And then the next analog-to-digital conversion is carried out.
Specifically, the second bluetooth device performs analog-to-digital conversion on the first motor vibration signal, that is, converts an analog signal into a digital signal, and generally, the analog-to-digital conversion needs to perform signal sampling, signal holding, signal quantization, signal encoding and other processing on the first motor vibration signal.
In this case, the signal sampling is performed by temporally dispersing a continuous analog signal (e.g., the first motor vibration signal), i.e., collecting instantaneous values point by point on the original analog signal at specific time intervals. In effect, the discrete signal obtained at a higher sampling frequency is closer to the original analog signal, and the continuous analog signal (e.g., the first motor vibration signal) is sampled based on a specific sampling frequency. The original position is kept for a period of time after the instantaneous value of the analog signal is adopted, and the sawtooth wave signal formed in this way is provided for subsequent signal quantization. In the process of signal holding of the analog signal (such as a first motor vibration signal), a section of analog signal is decomposed into a plurality of nodes according to a certain sampling quantity and a sampling mode, and then the analog signal is held, namely the signal is kept for a certain time T continuously, so that the influence of signal interference or signal glitch is avoided; after the sampling quantization, the analog signal (such as the first motor vibration signal) is quantized, which is also called amplitude quantization, the sampling signal of the analog signal is converted into a finite number of amplitudes by rounding or truncation, and finally the amplitudes are encoded, and the discrete amplitudes are quantized and converted into binary numbers. The above sampling, holding, quantizing and encoding processes are carried out. The second bluetooth device can obtain a digital signal corresponding to the first motor vibration signal, and then the digital signal is compiled to obtain the decoded first bluetooth pairing information.
Alternatively, the information conversion rule may be an ASCII code table (or an extended ASCII code table) based on the digital signal, and the digital signal is compiled based on the ASCII code table; the information conversion rule can be based on a Unicode symbol set of the digital signal, and the digital signal is compiled based on the Unicode symbol set; the information transformation rule may be a UTF-8 encoding set based on a digital signal, the decoded first bluetooth pairing information is obtained based on the UTF-8 encoding set, and the like.
Step 103: and connecting with the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
Specifically, after the second bluetooth device obtains the decoded first bluetooth pairing information, the first bluetooth pairing information may be an identifier of the first bluetooth device, an address of the first bluetooth device, and the like, and the second bluetooth device may start a bluetooth function, and send a connection establishment request for establishing a bluetooth connection to the first bluetooth device based on the first bluetooth pairing information (such as a bluetooth name, an MAC address, a bluetooth id, and the like). And the first Bluetooth device responds to the connection establishment request after the connection establishment request, and feeds back confirmation information to the second Bluetooth device, wherein the confirmation information is used for confirming establishment of Bluetooth connection with the second Bluetooth device. And after receiving the connection confirmation information, the second Bluetooth device calls a system resource pool, creates a mapping relation between the second Bluetooth device and the first Bluetooth device, and establishes communication connection between the second Bluetooth device and the first Bluetooth device by adopting a preset Bluetooth communication architecture (Bluetooth 4.0, Bluetooth 5.0 and the like) to complete the pairing connection process of the second Bluetooth device and the first Bluetooth device. At this time, the second bluetooth device establishes a peer-to-peer bluetooth connection with the first bluetooth device, and after the bluetooth connection is established, the second bluetooth device may perform information interaction with the first bluetooth device based on the bluetooth connection.
In a possible implementation manner, after sending a connection establishment request to a first bluetooth device, a second bluetooth device generally monitors a current connection initiation process, where the second bluetooth device has a preset response time, and when no connection confirmation information is received or the connection confirmation information is received for more than the response time, it may be understood that a state of the first bluetooth device is abnormal, and the state abnormality may be that a load of the first bluetooth device is too large, a message transmission channel is blocked, a delay is high, a communication channel is blocked, and the like. At this time, the second bluetooth terminal pushes prompt information that the bluetooth pairing is not passed, where the prompt information may be in the form of push message, playing video or animation. The second bluetooth terminal may also preset a retry number, and resend the connection establishment request to the first bluetooth device based on the retry number.
In this embodiment of the application, a second bluetooth device collects a first motor vibration signal of a first bluetooth device, decodes the first motor vibration signal to obtain decoded first bluetooth pairing information, and connects with the bluetooth of the first bluetooth device based on the first bluetooth pairing information. The first Bluetooth pairing information is obtained by decoding the first motor vibration signal, then automatic connection can be carried out on the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information, manual operation of a user on the Bluetooth equipment is not needed, the step of Bluetooth establishment between the Bluetooth equipment is simplified, and Bluetooth pairing efficiency is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating another embodiment of a bluetooth pairing method according to the present application. Specifically, the method comprises the following steps:
step 201: and starting a vibration pairing mode, and acquiring a vibration intensity value of a first motor vibration signal of the first Bluetooth device.
The vibration pairing mode can be understood as a functional mode for pairing the motor vibration signal based on the second bluetooth device or the first bluetooth device, in this embodiment of the application, after the vibration pairing mode is started, the collected motor vibration signal is decoded, and the bluetooth connection between the first bluetooth device and the second bluetooth device can be established based on the decoded bluetooth pairing information.
The vibration strength value is a metric value used for measuring the intensity of the vibration of the motor, generally the vibration strength value is in positive correlation with the vibration signal of the first motor, and the higher the vibration strength value is, the better the signal quality of the vibration signal of the motor is.
In practical applications, the vibration intensity value can be obtained through calculation.
1. The vibration intensity value can be represented by multiplying the measured acceleration by the displacement in the acceleration direction by an acceleration sensor included in the second Bluetooth device;
2. one way to express the magnitude of the vibration intensity may be to express it as an effective value of the motor vibration speed, i.e., RMS value;
3. a vibration intensity value is expressed by using a vibration intensity K measured by a second Bluetooth device, wherein the vibration intensity K is also called a mechanical index and is the ratio of the vibration acceleration amplitude to the gravity acceleration.
The vibration intensity value may be represented by one or more fitting methods, or may be represented by an amplitude, a frequency, a phase, or the like, and is not particularly limited.
Specifically, the second bluetooth device may turn on the vibration pairing mode may be determined based on a mode selection instruction input by the user. The electronic device may include a touch screen having a function of sensing a touch operation of a user. The structure of the touch screen at least comprises 4 parts: the touch control system comprises a screen glass layer, a sensor thin film, a display panel layer and a controller board, wherein the sensor thin film is provided with a touch sensor layer and contains various sensors such as a pressure sensor, a position sensor and the like, and when a user touches an icon of the vibration pairing mode on a current display interface of the second Bluetooth device, a touch control screen of the second Bluetooth device can acquire touch control position parameters through the sensors in the second Bluetooth device. And then, the position parameters are processed, and the fact that the icon of the vibration pairing mode on the display interface corresponding to the position parameters is touched is recognized, so that the electronic equipment can obtain the vibration pairing mode input by the user.
In a specific implementation scenario, as shown in fig. 3, fig. 3 is an interface schematic diagram related to a device pairing mode, and a display interface of the electronic device shown in fig. 3 displays a plurality of pairing mode icons, such as: a vibration pairing mode icon, a scanning pairing mode icon, a key pairing mode icon.
When a user selects the vibration pairing mode icon on the touch screen of the second bluetooth device, specifically through a screen glass layer on the touch screen, the touch screen of the electronic device acquires a position parameter corresponding to the touch vibration pairing mode icon through a position sensor in a sensor film, then processes the position parameter, and recognizes an instruction for starting a current pairing mode- "vibration pairing mode" input by the user, and at the moment, the electronic device can acquire the current pairing mode- "vibration pairing mode" input by the user and start the vibration pairing mode "by reading and executing a machine executable instruction corresponding to a control logic for starting the vibration pairing mode".
Optionally, the mode selection instruction input by the user may be completed through an external device, for example, the user may select a vibration mode selection instruction input by selecting an icon of a pairing mode of the current display interface through an external device such as a laser pen/mouse connected to the electronic device; a mode selection instruction for a user to start a specific pairing mode through voice input (for example, the mode selection instruction is used for starting a vibration pairing mode through voice input); the operation of starting the specific vibration pairing mode may be completed by a user collecting a gesture control instruction of the user through a camera included in the electronic device, or a vibration mode selection instruction for the second bluetooth device, which is input by pressing a physical key (a switch key, a volume key, and the like) of the electronic device, may also be performed.
In a specific implementation scenario, a user may start the vibration pairing mode of the second bluetooth device and start the vibration pairing mode of the first bluetooth device. At the moment, the first Bluetooth device can be used as a sending party of the vibration signal to control the motor to vibrate and send out the first motor vibration signal. The second Bluetooth device is used as a receiving party of the vibration signal, monitors the first motor vibration signal sent by the first Bluetooth device, measures the first motor vibration signal to obtain a vibration strength value of the first motor vibration signal, and specifically multiplies the acceleration by the displacement in the acceleration direction after measuring the acceleration through the included acceleration sensor to obtain the vibration strength value.
The vibration pairing mode for starting the second bluetooth device may be started before the vibration pairing mode for starting the first bluetooth device, the vibration pairing mode for starting the second bluetooth device may be started after the vibration pairing mode for starting the first bluetooth device, or the vibration pairing mode for starting the second bluetooth device may be started simultaneously with the vibration pairing mode for starting the first bluetooth device. It should be noted that, the sequence of starting the vibration pairing mode of the second bluetooth device and the sequence of starting the vibration pairing mode of the first bluetooth device are not limited in detail here.
Optionally, after the user starts the vibration pairing mode of a specific bluetooth device (e.g., the first bluetooth device), the specific bluetooth device (e.g., the first bluetooth device) may send out a prompt signal of "receiving a motor vibration signal", where the prompt signal may be in the form of preset prompt music, prompt voice, prompt vibration, and the like. After the opposite-end equipment (such as second Bluetooth equipment) acquires the prompt signal, responding to the prompt signal and controlling the motor to vibrate to send a motor vibration signal; or, after the user starts the vibration pairing mode of a specific bluetooth device (e.g., the first bluetooth device), the specific bluetooth device (e.g., the first bluetooth device) may send out a prompt signal of "generating a motor vibration signal", where the prompt signal may be in the form of preset prompt music, prompt voice, prompt vibration, and the like. After the opposite-end device (such as a second Bluetooth device) acquires the prompt signal, responding to the prompt signal, and starting to monitor and acquire the motor vibration to send out a motor vibration signal.
Step 202: when the vibration intensity value is larger than or equal to a vibration intensity threshold value, determining that the motor vibration signal is detected.
The threshold refers to a threshold value of a certain field, state or system, and is also called a critical value. The vibration intensity threshold refers to a threshold value or a critical value of the vibration intensity value.
In this application embodiment, a vibration intensity threshold is set to measure the signal quality of a motor vibration signal (e.g., a first motor vibration signal), and when the vibration intensity value corresponding to the monitored motor vibration signal is greater than or equal to the vibration intensity threshold, it can be understood that the quality of the currently monitored motor vibration signal is better, and the currently monitored motor vibration signal can be effectively identified, that is, all bluetooth pairing information (e.g., bluetooth name, bluetooth pairing key, etc.) corresponding to the motor vibration signal can be obtained by decoding the motor vibration signal. When the vibration intensity value corresponding to the detected motor vibration signal is smaller than the vibration intensity threshold value, it can be understood that the quality of the currently monitored motor vibration signal is poor and the motor vibration signal is difficult to be identified effectively, that is, all bluetooth pairing information (such as bluetooth name and bluetooth pairing key) corresponding to the motor vibration signal is difficult to be obtained by decoding the motor vibration signal.
Specifically, the second bluetooth device starts a vibration pairing mode, the second bluetooth device serves as a receiving party of vibration signals at the moment, a first motor vibration signal sent by the first bluetooth device is monitored, the first motor vibration signal is measured, a vibration strength value of the first motor vibration signal is obtained, and if the acceleration sensor measures acceleration and then the displacement in the acceleration direction is multiplied, the vibration strength value is obtained. And the second Bluetooth equipment judges whether the vibration intensity value is greater than or equal to the vibration intensity threshold value.
When the vibration intensity value is greater than or equal to the vibration intensity threshold value, the quality of the first motor vibration signal monitored by the second Bluetooth device is good, and the first motor vibration signal can be effectively identified, namely, the second Bluetooth device can obtain all Bluetooth pairing information (such as Bluetooth name, Bluetooth pairing key and the like) corresponding to the first motor vibration signal by decoding the first motor vibration signal. And the second Bluetooth equipment confirms that the first motor vibration signal is detected so as to carry out the next process of collecting, storing and decoding the first motor vibration signal.
In this embodiment of the application, when detecting or acquiring the first motor vibration signal of the first bluetooth device, the second bluetooth device may be held by the user to be close to the first bluetooth device, which is the pairing device, so that the acquisition range corresponding to the vibration signal of the second bluetooth device can cover the first bluetooth device; or, the user may hold the first bluetooth device to be close to the second bluetooth device, so that the second bluetooth device enters the acquisition range corresponding to the vibration signal of the first bluetooth device; or, it may be that the user holds the first bluetooth device and the second bluetooth device simultaneously, and approaches simultaneously, and so on.
Step 203: when the first motor vibration signal is detected, the first motor vibration signal of the first Bluetooth device is collected.
Specifically, when the second bluetooth device monitors the vibration intensity value of the first motor vibration signal, and when the vibration intensity value is greater than or equal to the vibration intensity threshold value, the motor vibration signal is determined to be detected. At this time, the second bluetooth device starts to collect the first motor vibration signal of the first bluetooth device.
The step 101 may be specifically referred to for acquiring the first motor vibration signal of the first bluetooth device, and details are not described here.
Step 204: and outputting vibration prompt information when the vibration intensity value is smaller than the vibration intensity threshold value.
When the vibration intensity value is smaller than the vibration intensity threshold value, the quality of the first motor vibration signal monitored by the second Bluetooth device at present is poor, and the first motor vibration signal is difficult to be identified effectively, that is, all Bluetooth pairing information (such as a Bluetooth name and a Bluetooth pairing key) corresponding to the first motor vibration signal is difficult to obtain through decoding the first motor vibration signal.
In a possible implementation manner, when the vibration intensity value is smaller than the vibration intensity threshold, the second bluetooth device may output vibration prompt information, where the vibration prompt information may be used to prompt a user that the signal quality of the currently received first motor vibration signal is poor, and prompt the user to reduce the distance from the first bluetooth device. The vibration prompt information can be displayed in a preset prompt mode, and can be displayed in a picture mode, a character mode, an audio mode and the like.
Specifically, when the second bluetooth device detects that the vibration intensity value is smaller than the vibration intensity threshold value, the second bluetooth device can pop up a prompt box and show vibration prompt information in the current display area of the screen to remind a user that the signal quality of the vibration signal is poor, and the distance between the second bluetooth device and the first bluetooth device is reduced.
In a specific implementation scenario, as shown in fig. 4, fig. 4 is an interface schematic diagram of a second bluetooth device displaying vibration prompt information, when the second bluetooth device detects that the vibration intensity value is smaller than the vibration intensity threshold, the second bluetooth device starts a prompt mechanism, and displays a prompt box on a current display interface, and specifically the second bluetooth device pops up the prompt box shown in fig. 4 in a display area of a current screen and displays "the current vibration signal is weak, please get close to a paired device? "is used as a prompt.
In another specific implementation scenario, as shown in fig. 5, fig. 5 is another interface schematic diagram of the second bluetooth device displaying the vibration prompt information, when the second bluetooth device detects that the vibration intensity value is smaller than the vibration intensity threshold, the second bluetooth device starts a prompt mechanism, and the manner of displaying the vibration prompt information by the second bluetooth device may be to push the vibration prompt information on a notification bar in a screen display area. For example, as shown in FIG. 5, the second Bluetooth device pushes "the current vibration signal is weak, please approach the paired device! "the second bluetooth device may further provide the user with a relevant operation based on the vibration prompt information on the notification bar, and the relevant operation may be understood as that the user may choose to ignore the vibration prompt information by clicking an" operation "button shown in fig. 5, and the like.
Optionally, when the vibration intensity value is smaller than the vibration intensity threshold, the vibration prompt message displayed by the second bluetooth device may be output in a form of voice, for example: the second Bluetooth device can broadcast 'the current vibration signal is weak, please get close to the paired device' by voice; may be in the form of vibrations, for example: the second Bluetooth device can call an internal vibration motor to prompt with a specific vibration frequency; and the modes of calling a breathing lamp, a flash lamp, a light supplement lamp and the like on the second Bluetooth device can also be used.
It should be noted that there are various ways for the terminal to display the vibration prompt message, which may be one or more of the above, and this is not limited herein.
Step 205: when the first motor vibration signal is not detected, the motor is controlled to vibrate to send out a second motor vibration signal, so that the first Bluetooth equipment is connected with the Bluetooth of second Bluetooth equipment based on second Bluetooth pairing information decoded by the second motor vibration signal.
Specifically, when the second bluetooth device monitors the vibration intensity value of the first motor vibration signal, and when the vibration intensity value is 0, it is determined that the first motor vibration signal is not detected. At this time, the motor of the first bluetooth device fails to send out the first motor vibration signal, and the second bluetooth device controls the motor to convert the second bluetooth pairing information (such as the second bluetooth name and the bluetooth pairing key) stored in the memory into the second motor vibration signal with the change of a specific amplitude, a specific frequency and a specific phase, and then sends out the second motor vibration signal. The first bluetooth device may collect a second motor vibration signal, then the second motor vibration signal is decoded to obtain decoded second bluetooth pairing information (such as a second bluetooth name and a bluetooth pairing key), and then the second bluetooth device is connected to the bluetooth based on the second bluetooth pairing information.
In a possible embodiment, the second bluetooth device may set a vibration intensity indicator value that measures whether the acquired first motor vibration signal is recognizable, and the vibration intensity indicator value may be the same as or different from the vibration intensity threshold value. When the vibration intensity indicating value is different from the vibration intensity threshold value, the vibration intensity indicating value is generally smaller than the vibration intensity threshold value in practical applications. And after the second Bluetooth device acquires the vibration intensity value of the first motor vibration signal, judging whether the vibration intensity value is smaller than the vibration intensity indicated value. And when the vibration intensity value is smaller than the vibration intensity indicating value, determining that the first motor vibration signal is not detected. At this time, the second bluetooth device starts to control the motor to vibrate and send out a second motor vibration signal.
Before the second bluetooth device starts to control the motor to vibrate and send out the second motor vibration signal, the second bluetooth device may also send out a prompt signal of "generating the second motor vibration signal", where the prompt signal may be in the form of preset prompt music, prompt voice, prompt vibration, and the like. After the opposite-end equipment (such as the first Bluetooth equipment) acquires the prompt signal, responding to the prompt signal, and starting to monitor and collect motor vibration to send out a second motor vibration signal.
Step 206: and converting the first motor vibration signal into a character string, wherein the character of the first designated bit in the character string indicates a first Bluetooth name and the character of the second designated bit indicates a Bluetooth pairing key.
The first designated bit can be understood as a position corresponding to the first bluetooth name included in the character string, for example, the position corresponding to the first bluetooth name included in the character string is 6-8 bits of the character string, and the first designated bit is 6-8 bits of the character string.
The second designated bit may be understood as a position corresponding to the bluetooth pairing key included in the character string, for example, the position corresponding to the bluetooth pairing key included in the character string is 9-14 bits of the character string, and the first designated bit is 6-8 bits of the character string.
Specifically, the second bluetooth device first preprocesses the first motor vibration signal, eliminates the influence of interference factors such as environmental noise and echo on the quality of the collected first motor vibration signal, and in practical implementation, preprocesses the first motor vibration signal collected by the microphone module, wherein the preprocessing includes end point detection, noise reduction and beam forming, post-filtering the preprocessed call voice to eliminate residual signal noise, and then adjusting the collected vibration signal energy through an automatic gain algorithm. And then analog-to-digital conversion is carried out. To convert the analog signal into a digital signal, the analog-to-digital conversion generally requires signal sampling, signal holding, signal quantization, signal encoding, and other processes for the first motor vibration signal. After the analog-to-digital conversion, the digital signal is compiled based on a preset pairing information conversion rule (such as a Unicode symbol set based on the digital signal) to obtain the decoded character string. And after the decoding processing, the second Bluetooth device converts the first motor vibration signal into a character string, wherein the character of the first designated bit in the character string indicates the first Bluetooth name and the character of the second designated bit indicates the Bluetooth pairing key.
In one specific implementation scenario, typically a first designated bit (first fixed location or fixed portion) of the string is used to store a first bluetooth name, and typically a second designated bit (second fixed location or fixed portion) of the string is used to store a bluetooth pairing key. To illustrate, at a first designated location (first fixed location or fixed portion) for storing a first bluetooth name:
for example, if a first bluetooth name is stored at a first designated bit of the string-the string header, the second bluetooth device may resolve the first bluetooth name from the first designated bit of the string (e.g., the first fixed location) -the string header; for another example, if the first bluetooth name is stored in the first designated bit-fixed location (e.g., byte 4 bit) of the string, then the second bluetooth device may resolve from the fixed location (e.g., byte 4 bit) of the string to the first bluetooth name; for another example, the first designated bit may be composed of characters at a plurality of fixed positions of a character string, such as: a first bluetooth name that may be composed of the 2 nd byte bit, 3 rd byte bit characters of the string, then the second bluetooth device may resolve from multiple fixed locations of the string (e.g., the 2 nd byte bit, 3 rd byte bit characters) to the first bluetooth name, and so on.
Step 207: and sending a Bluetooth pairing key to the first Bluetooth equipment indicated by the first Bluetooth name, and receiving pairing confirmation information fed back by the first Bluetooth equipment based on the Bluetooth pairing key.
Specifically, after the second bluetooth device obtains the decoded first bluetooth name and the decoded bluetooth pairing key, the first bluetooth pairing information may be an identifier of the first bluetooth device, an address of the first bluetooth device, and the like, the second bluetooth device may start a bluetooth function, and the first bluetooth device indicated by the first bluetooth name sends the bluetooth pairing key for establishing a bluetooth connection to the first bluetooth device. The first Bluetooth device verifies the Bluetooth pairing key based on the Bluetooth pairing key, and feeds back confirmation information to the second Bluetooth device after the Bluetooth pairing key passes the verification, wherein the confirmation information is used for confirming establishment of Bluetooth connection with the second Bluetooth device. And after receiving the connection confirmation information, the second Bluetooth device calls a system resource pool, creates a mapping relation between the second Bluetooth device and the first Bluetooth device, and establishes communication connection between the second Bluetooth device and the first Bluetooth device by adopting a preset Bluetooth communication architecture (Bluetooth 4.0, Bluetooth 5.0 and the like) to complete the pairing connection process of the second Bluetooth device and the first Bluetooth device. At this time, the second bluetooth device establishes a peer-to-peer bluetooth connection with the first bluetooth device, and after the bluetooth connection is established, the second bluetooth device may perform information interaction with the first bluetooth device based on the bluetooth connection.
In a possible implementation manner, the second bluetooth device may start a bluetooth function to scan a bluetooth broadcast packet sent by at least one current bluetooth device, where the bluetooth broadcast packet carries a bluetooth name and a bluetooth address of the bluetooth device, and the second bluetooth device may obtain the bluetooth address of the first bluetooth device through the first bluetooth name when obtaining the first bluetooth name of the first bluetooth device, and send a bluetooth pairing key to the first bluetooth device based on the bluetooth address.
In a possible embodiment, the second bluetooth device and the first bluetooth device may establish the bluetooth connection directly based on the bluetooth name, that is, without scanning the bluetooth broadcast packet sent by at least one bluetooth device in the current bluetooth channel. After the second bluetooth device identifies the first bluetooth name of the first bluetooth device, the second bluetooth device can directly resolve the first bluetooth name to obtain a bluetooth address corresponding to the first bluetooth name, and send a bluetooth pairing key to the first bluetooth device based on the bluetooth address.
In this embodiment of the application, a second bluetooth device collects a first motor vibration signal of a first bluetooth device, decodes the first motor vibration signal to obtain decoded first bluetooth pairing information, and connects with the bluetooth of the first bluetooth device based on the first bluetooth pairing information. The first Bluetooth pairing information is obtained by decoding the first motor vibration signal, then automatic connection can be carried out on the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information, manual operation of a user on the Bluetooth equipment is not needed, the step of Bluetooth establishment between the Bluetooth equipment is simplified, and Bluetooth pairing efficiency is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a schematic structural diagram of a bluetooth pairing apparatus according to an exemplary embodiment of the present application is shown. The bluetooth paired device may be implemented as all or part of the device in software, hardware, or a combination of both. The device 1 comprises a signal acquisition module 11, a signal decoding module 12 and a Bluetooth connection module 13.
The signal acquisition module 11 is used for acquiring a first motor vibration signal of the first bluetooth device;
the signal decoding module 12 is configured to decode the first motor vibration signal to obtain decoded first bluetooth pairing information;
a bluetooth connection module 13, configured to connect with the bluetooth of the first bluetooth device based on the first bluetooth pairing information.
Optionally, as shown in fig. 8, the apparatus 1 includes:
the signal detection module 14 is configured to start a vibration pairing mode and detect a first motor vibration signal sent by the first bluetooth device;
the signal acquisition module 11 is further configured to execute the step of acquiring the first motor vibration signal of the first bluetooth device when the first motor vibration signal is detected.
Optionally, as shown in fig. 8, the apparatus 1 includes:
and the motor control module 15 is used for controlling the motor to vibrate and send out a second motor vibration signal when the first motor vibration signal is not detected, so that the first Bluetooth equipment is connected with the Bluetooth of the second Bluetooth equipment based on the second Bluetooth pairing information decoded by the second motor vibration signal.
Optionally, as shown in fig. 7, the signal detection module 14 includes:
a vibration intensity value obtaining unit 141, configured to obtain a vibration intensity value of a first motor vibration signal of the first bluetooth device;
a vibration signal determination unit 142, configured to determine that the motor vibration signal is detected when the vibration intensity value is greater than or equal to a vibration intensity threshold value.
Optionally, as shown in fig. 7, the signal detection module 14 includes:
and the vibration prompt output unit 143 is configured to output vibration prompt information when the vibration intensity value is smaller than the vibration intensity threshold value.
Optionally, the signal decoding module 12 is specifically configured to:
and converting the first motor vibration signal into a character string, wherein the character of the first designated bit in the character string indicates a first Bluetooth name and the character of the second designated bit indicates a Bluetooth pairing key.
Optionally, the bluetooth connection module 13 has a module for:
and sending a Bluetooth pairing key to the first Bluetooth equipment indicated by the first Bluetooth name, and receiving pairing confirmation information fed back by the first Bluetooth equipment based on the Bluetooth pairing key.
It should be noted that, when the bluetooth pairing apparatus provided in the foregoing embodiment executes the bluetooth pairing method, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the embodiments of the bluetooth pairing device and the bluetooth pairing method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to as method embodiments, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In this embodiment, the second bluetooth device collects the first motor vibration signal of the first bluetooth device, decodes the first motor vibration signal to obtain the decoded first bluetooth pairing information, and connects with the bluetooth of the first bluetooth device based on the first bluetooth pairing information. The first Bluetooth pairing information is obtained by decoding the first motor vibration signal, then automatic connection can be carried out on the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information, manual operation of a user on the Bluetooth equipment is not needed, the step of Bluetooth establishment between the Bluetooth equipment is simplified, and Bluetooth pairing efficiency is improved.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the bluetooth pairing method according to the embodiments shown in fig. 1 to fig. 5, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to fig. 5, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the bluetooth pairing method according to the embodiment shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 5, which is not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 9, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a bluetooth pairing application program.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to call the bluetooth pairing application stored in the memory 1005, and specifically perform the following operations:
collecting a first motor vibration signal of a first Bluetooth device;
decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information;
and connecting with the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
In one embodiment, the processor 1001 further performs the following operations before performing the acquiring the first motor vibration signal of the first bluetooth device:
starting a vibration pairing mode, and detecting a first motor vibration signal sent by first Bluetooth equipment;
and when the first motor vibration signal is detected, executing the step of collecting the first motor vibration signal of the first Bluetooth device.
In one embodiment, the processor 1001 further performs the following operations after performing the detecting of the first motor vibration signal emitted by the first bluetooth device:
when the first motor vibration signal is not detected, the motor is controlled to vibrate to send out a second motor vibration signal, so that the first Bluetooth equipment is connected with the Bluetooth of second Bluetooth equipment based on second Bluetooth pairing information decoded by the second motor vibration signal.
In an embodiment, the processor 1001 performs the following operations in detecting the first motor vibration signal sent by the first bluetooth device:
acquiring a vibration strength value of a first motor vibration signal of first Bluetooth equipment;
when the vibration intensity value is larger than or equal to a vibration intensity threshold value, determining that the motor vibration signal is detected.
In an embodiment, when the processor 1001 executes the bluetooth pairing method, the following steps are specifically executed:
and outputting vibration prompt information when the vibration intensity value is smaller than the vibration intensity threshold value.
In an embodiment, the processor 1001, when performing the decoding on the first motor vibration signal to obtain the decoded first bluetooth pairing information, specifically performs the following operations:
and converting the first motor vibration signal into a character string, wherein the character of the first designated bit in the character string indicates a first Bluetooth name and the character of the second designated bit indicates a Bluetooth pairing key.
In an embodiment, when performing the connection with the bluetooth of the first bluetooth device based on the first bluetooth pairing information, the processor 1001 specifically performs the following operations:
and sending a Bluetooth pairing key to the first Bluetooth equipment indicated by the first Bluetooth name, and receiving pairing confirmation information fed back by the first Bluetooth equipment based on the Bluetooth pairing key.
In this embodiment, the second bluetooth device collects the first motor vibration signal of the first bluetooth device, decodes the first motor vibration signal to obtain the decoded first bluetooth pairing information, and connects with the bluetooth of the first bluetooth device based on the first bluetooth pairing information. The first Bluetooth pairing information is obtained by decoding the first motor vibration signal, then automatic connection can be carried out on the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information, manual operation of a user on the Bluetooth equipment is not needed, the step of Bluetooth establishment between the Bluetooth equipment is simplified, and Bluetooth pairing efficiency is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A Bluetooth pairing method, the method comprising:
collecting a first motor vibration signal of a first Bluetooth device;
decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information;
and connecting with the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
2. The method of claim 1, wherein prior to said acquiring the first motor vibration signal of the first bluetooth device, further comprising:
starting a vibration pairing mode, and detecting a first motor vibration signal sent by first Bluetooth equipment;
and when the first motor vibration signal is detected, executing the step of collecting the first motor vibration signal of the first Bluetooth device.
3. The method of claim 2, wherein after detecting the first motor shock signal from the first bluetooth device, further comprising:
when the first motor vibration signal is not detected, the motor is controlled to vibrate to send out a second motor vibration signal, so that the first Bluetooth equipment is connected with the Bluetooth of second Bluetooth equipment based on second Bluetooth pairing information decoded by the second motor vibration signal.
4. The method of claim 2, wherein detecting the first motor shock signal from the first bluetooth device comprises:
acquiring a vibration strength value of a first motor vibration signal of first Bluetooth equipment;
when the vibration intensity value is larger than or equal to a vibration intensity threshold value, determining that the motor vibration signal is detected.
5. The method of claim 4, further comprising:
and outputting vibration prompt information when the vibration intensity value is smaller than the vibration intensity threshold value.
6. The method of claim 1, wherein decoding the first motor vibration signal to obtain decoded first bluetooth pairing information comprises:
and converting the first motor vibration signal into a character string, wherein the character of the first designated bit in the character string indicates a first Bluetooth name and the character of the second designated bit indicates a Bluetooth pairing key.
7. The method of claim 6, wherein the connecting with the Bluetooth of the first Bluetooth device based on the first Bluetooth pairing information comprises:
and sending a Bluetooth pairing key to the first Bluetooth equipment indicated by the first Bluetooth name, and receiving pairing confirmation information fed back by the first Bluetooth equipment based on the Bluetooth pairing key.
8. A bluetooth pairing apparatus, the apparatus comprising:
the signal acquisition module is used for acquiring a first motor vibration signal of the first Bluetooth device;
the signal decoding module is used for decoding the first motor vibration signal to obtain decoded first Bluetooth pairing information;
and the Bluetooth connection module is used for connecting the Bluetooth of the first Bluetooth equipment based on the first Bluetooth pairing information.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN201911409868.6A 2019-12-31 2019-12-31 Bluetooth pairing method and device, storage medium and electronic equipment Active CN111148086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911409868.6A CN111148086B (en) 2019-12-31 2019-12-31 Bluetooth pairing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911409868.6A CN111148086B (en) 2019-12-31 2019-12-31 Bluetooth pairing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111148086A true CN111148086A (en) 2020-05-12
CN111148086B CN111148086B (en) 2024-02-20

Family

ID=70522485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911409868.6A Active CN111148086B (en) 2019-12-31 2019-12-31 Bluetooth pairing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111148086B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405539A (en) * 2020-05-20 2020-07-10 孙瑛楠 Method, device, equipment and storage medium for establishing wireless connection between equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594412A (en) * 2011-12-30 2012-07-18 深圳市车音网科技有限公司 Bluetooth terminal and control method thereof
CN104540190A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 Bluetooth device matching method and system
US20150204844A1 (en) * 2014-01-22 2015-07-23 KHN Solutions, Inc. Method and system for remotely monitoring intoxication
CN105704839A (en) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 Bluetooth connection method and device
CN106599655A (en) * 2016-11-22 2017-04-26 杭州华为数字技术有限公司 Unlocking method and device for intelligent terminal
CN108024223A (en) * 2017-12-07 2018-05-11 北京小米移动软件有限公司 Data sharing method and device
US20180234846A1 (en) * 2015-09-28 2018-08-16 Intel Corporation Pairing electronic devices
KR20190008469A (en) * 2017-07-13 2019-01-24 주식회사 센터스 Mobile device and bluetooth device which are communicatively connected to each other using vibrations
US20190191996A1 (en) * 2017-12-21 2019-06-27 Verily Life Sciences Llc Systems and methods for vibration-based communication
WO2019234011A1 (en) * 2018-06-04 2019-12-12 T.J.Smith And Nephew,Limited Device communication management in user activity monitoring systems

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594412A (en) * 2011-12-30 2012-07-18 深圳市车音网科技有限公司 Bluetooth terminal and control method thereof
US20150204844A1 (en) * 2014-01-22 2015-07-23 KHN Solutions, Inc. Method and system for remotely monitoring intoxication
CN104540190A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 Bluetooth device matching method and system
US20180234846A1 (en) * 2015-09-28 2018-08-16 Intel Corporation Pairing electronic devices
CN105704839A (en) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 Bluetooth connection method and device
CN106599655A (en) * 2016-11-22 2017-04-26 杭州华为数字技术有限公司 Unlocking method and device for intelligent terminal
KR20190008469A (en) * 2017-07-13 2019-01-24 주식회사 센터스 Mobile device and bluetooth device which are communicatively connected to each other using vibrations
CN108024223A (en) * 2017-12-07 2018-05-11 北京小米移动软件有限公司 Data sharing method and device
US20190191996A1 (en) * 2017-12-21 2019-06-27 Verily Life Sciences Llc Systems and methods for vibration-based communication
WO2019234011A1 (en) * 2018-06-04 2019-12-12 T.J.Smith And Nephew,Limited Device communication management in user activity monitoring systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405539A (en) * 2020-05-20 2020-07-10 孙瑛楠 Method, device, equipment and storage medium for establishing wireless connection between equipment

Also Published As

Publication number Publication date
CN111148086B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
CN110582078B (en) Bluetooth pairing method and device, storage medium and electronic equipment
CN106973330B (en) Screen live broadcasting method, device and system
CN107102904B (en) Interaction method and device based on hybrid application program
CN107040609B (en) Network request processing method and device
CN106776385B (en) A kind of transmission method, device and the terminal of log log information
CN103391473B (en) Method and device for providing and acquiring audio and video
CN107731241B (en) Method, apparatus and storage medium for processing audio signal
US20130157719A1 (en) Mobile terminal and transmission processing method thereof
EP3416040A1 (en) Sound effect processing method and mobile terminal
CN106940997B (en) Method and device for sending voice signal to voice recognition system
CN103973542B (en) A kind of voice information processing method and device
CN107948278B (en) Information transmission method, terminal equipment and system
CN111245854A (en) Media transmission method, media control method and device
CN108513216B (en) Information processing method and wire-controlled earphone
CN110335629B (en) Pitch recognition method and device of audio file and storage medium
CN107317828B (en) File downloading method and device
CN111148086A (en) Bluetooth pairing method and device, storage medium and electronic equipment
CN109413556B (en) Equipment positioning method and device, earphone device and electronic equipment
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN107038024B (en) Operation configuration method and equipment thereof
CN104978165A (en) Voice information processing method and system and electronic device
CN106682189B (en) File name display method and device
US20150089370A1 (en) Method and device for playing media data on a terminal
CN106330875B (en) Message display method and device
CN110796438A (en) Message sending method and mobile 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