CN112887952B - Method and device for connecting Bluetooth device and terminal, and electronic device - Google Patents

Method and device for connecting Bluetooth device and terminal, and electronic device Download PDF

Info

Publication number
CN112887952B
CN112887952B CN202110121431.3A CN202110121431A CN112887952B CN 112887952 B CN112887952 B CN 112887952B CN 202110121431 A CN202110121431 A CN 202110121431A CN 112887952 B CN112887952 B CN 112887952B
Authority
CN
China
Prior art keywords
bluetooth
event trigger
terminal
scanning
preset
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
Application number
CN202110121431.3A
Other languages
Chinese (zh)
Other versions
CN112887952A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110121431.3A priority Critical patent/CN112887952B/en
Publication of CN112887952A publication Critical patent/CN112887952A/en
Application granted granted Critical
Publication of CN112887952B publication Critical patent/CN112887952B/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/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Abstract

The application relates to a method for connecting a Bluetooth device and a terminal, which is applied to the Bluetooth device and comprises the following steps: when the jitter operation and the preset audio sent by the machine body are detected, a first Bluetooth connection request carrying a request event trigger identifier is triggered and generated, and the first Bluetooth connection request is sent by broadcasting; and establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning carrying a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned first Bluetooth connection request. The application also discloses a device for connecting the Bluetooth equipment and the terminal, the electronic equipment and a computer readable storage medium. The method and the device can realize rapid identification pairing and connection between the Bluetooth equipment and the terminal under the condition of no interface operation.

Description

Method and device for connecting Bluetooth device and terminal, and electronic device
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and an apparatus for connecting a bluetooth device to a terminal, an electronic device, and a computer-readable storage medium.
Background
In recent years, with the rapid development of electronic device technologies, the market of bluetooth electronic devices, such as bluetooth headsets and bluetooth audio players, is exploded, and the connection speed of the bluetooth electronic devices is also an important index.
However, when the bluetooth electronic device is connected to the terminal in the market, the bluetooth name of the bluetooth electronic device needs to be manually retrieved, the bluetooth electronic device is manually clicked to be connected for the first time, and the identification and pairing connection between the devices are very inefficient.
Disclosure of Invention
The embodiment of the application provides a method and a device for connecting a Bluetooth device and a terminal, an electronic device and a computer readable storage medium, which can realize rapid identification pairing and connection between the Bluetooth device and the terminal without interface operation.
A method for connecting a Bluetooth device and a terminal is applied to the Bluetooth device and comprises the following steps:
when the jitter operation and the preset audio sent by the machine body are detected, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier, and sending the first Bluetooth connection request through broadcasting;
and establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning with a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request.
A method for connecting a Bluetooth device and a terminal is applied to the terminal supporting the Bluetooth protocol, and comprises the following steps:
when receiving the preset audio, triggering Bluetooth scanning with a scanning event triggering identifier;
scanning a first Bluetooth connection request sent by a Bluetooth device through broadcasting, wherein the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth device detects a jitter operation and a preset audio frequency sent by a machine body;
obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and when the connection verification result is that the connection is verified, establishing Bluetooth connection with the Bluetooth equipment.
An apparatus for connecting a bluetooth device and a terminal is applied to the bluetooth device, and comprises:
the connection request module is used for triggering and generating a first Bluetooth connection request carrying a request connection identifier when the jitter operation and the preset audio sent by the machine body are detected, and sending the first Bluetooth connection request through broadcasting;
and the connection module is used for establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, the first terminal is used for triggering Bluetooth scanning with a scanning event trigger mark when receiving the preset audio, and the connection verification result is obtained according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request.
An apparatus for connecting a bluetooth device and a terminal is applied to the bluetooth device, and comprises:
the trigger scanning module is used for triggering Bluetooth scanning carrying a scanning event trigger identifier when receiving preset audio;
the Bluetooth device comprises a scanning module, a first Bluetooth connection module and a second Bluetooth connection module, wherein the scanning module is used for scanning a first Bluetooth connection request sent by a Bluetooth device through broadcasting, the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth device detects a jitter operation and a preset audio frequency sent by a machine body;
the verification module is used for obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and the connection module is used for establishing Bluetooth connection with the Bluetooth equipment when the connection verification result is that the connection verification passes.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
when the jitter operation and the preset audio sent by the machine body are detected, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier, and sending the first Bluetooth connection request through broadcasting;
and establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning carrying a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned first Bluetooth connection request.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
when receiving the preset audio, triggering Bluetooth scanning with a scanning event triggering identifier;
scanning a first Bluetooth connection request sent by Bluetooth equipment through broadcasting, wherein the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth equipment detects a jitter operation and a preset audio frequency sent by an organism;
obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and when the connection verification result is that the connection is verified, establishing Bluetooth connection with the Bluetooth equipment.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
when the jitter operation and the preset audio sent by the machine body are detected, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier, and sending the first Bluetooth connection request through broadcasting;
and establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning carrying a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned first Bluetooth connection request.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
when receiving the preset audio, triggering Bluetooth scanning with a scanning event triggering identifier;
scanning a first Bluetooth connection request sent by Bluetooth equipment through broadcasting, wherein the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth equipment detects a jitter operation and a preset audio frequency sent by an organism;
obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and when the connection verification result is that the connection is verified, establishing Bluetooth connection with the Bluetooth equipment.
According to the method, the device, the electronic equipment and the computer readable storage medium for connecting the Bluetooth equipment and the terminal, the Bluetooth equipment is triggered to send the Bluetooth connection request through the jitter operation and the preset audio frequency sent by the machine body, the Bluetooth scanning is automatically started through the received preset audio frequency, the matching result of the Bluetooth equipment and the terminal is determined through the matching of the request event trigger identifier and the scanning event trigger identifier in the connection request, the Bluetooth connection is established only when the matching is successful, namely the matched event trigger identifier exists, the quick identification matching and connection between the Bluetooth equipment and the terminal can be realized without interface operation, and the Bluetooth connection efficiency is improved under the condition that the matching accuracy is ensured.
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 diagram of an exemplary embodiment of a method for connecting a Bluetooth device to a terminal;
FIG. 2 is a block diagram of a portion of the structure of a handset associated with an electronic device as provided in one embodiment;
FIG. 3 is a flowchart illustrating a method for connecting a Bluetooth device to a terminal according to an embodiment;
fig. 4 is a schematic diagram of data interaction of a method for connecting a bluetooth device to a terminal in an exemplary embodiment;
FIG. 5 is a flowchart illustrating a method for connecting a Bluetooth device to a terminal according to an embodiment;
FIG. 6 is a block diagram showing an arrangement of a Bluetooth device connected to a terminal in one embodiment;
fig. 7 is a block diagram showing a configuration of an apparatus for connecting a bluetooth device to a terminal in another embodiment;
fig. 8 is a block diagram showing an internal configuration of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an application environment of a method for connecting a bluetooth device to a terminal in one embodiment. As shown in fig. 1, the application environment includes a first electronic device 102 and a second electronic device 104. The first electronic device 102 may communicate with the second electronic device 104 via bluetooth. The first electronic device 102 may specifically be an electronic device having at least a bluetooth function, such as a bluetooth headset, a bluetooth speaker, a bluetooth mobile phone, or a wearable device, but is not limited thereto. The second electronic device 104 may be an electronic device with a processor supporting bluetooth protocol, such as, but not limited to, a personal computer, a laptop computer, a smart phone, a tablet computer, a portable wearable device, and the like. The first electronic device 102 may include a built-in microphone and a jitter detection device, such as a gyroscope, for receiving audio and detecting jitter, and the first electronic device 102 may further include a speaker for playing audio. The second electronic device 104 comprises at least a microphone for receiving audio and may further comprise a jitter detection means, a speaker.
In one embodiment, fig. 2 is a block diagram of a partial structure of a mobile phone 200 related to an electronic device provided in an embodiment of the present application. Referring to fig. 2, the handset includes: a Radio Frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a bluetooth module 250, an audio circuit 260, a wireless fidelity (WiFi) module 270, a processor 280, and a power supply 290. Those skilled in the art will appreciate that the configuration of the handset 200 shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein bluetooth module 250 supports bluetooth functionality. The bluetooth technology is a radio technology supporting short-distance communication of devices, and can perform wireless information interaction among various wireless terminal devices including smart phones, personal computers, notebook computers, tablet computers, portable wearable devices, wireless earphones, wireless sound boxes and the like.
Fig. 3 is a flow chart of a method for connecting a bluetooth device to a terminal in one embodiment. The method for connecting the bluetooth device and the terminal shown in fig. 3 can be applied to the first electronic device 102, and includes:
step 202, when detecting a shaking operation and a preset audio frequency sent by the body, triggering to generate a first bluetooth connection request carrying a request event trigger identifier, and sending the first bluetooth connection request by broadcasting.
Wherein the dithering operation and the preset audio need to occur simultaneously, detected simultaneously. The first electronic device may detect the shaking operation through a built-in shaking detection means, which in one embodiment is a headset and the shaking detection means is a gyroscope. The rotation angle of the bluetooth device can be obtained through the gyroscope, for example, when the rotation angle is a vector in the case of a three-axis gyroscope, the position change of the bluetooth device in a three-dimensional space can be obtained according to the rotation angle, a shaking operation is detected according to the position change, and the shaking operation can be shaking in any direction, such as up-down shaking and left-right shaking. The number of dithering may be one or more. The preset audio is sent out through the machine body, can be the audio generated by the contact of the machine body and other objects, such as the knocking of the Bluetooth device and a desktop, and the shaking operation and the preset audio generated by the knocking, so that the audio characteristics of the preset audio correspond to the frequency of the shaking operation, and if the desktop is knocked twice, the knocking sound is generated twice. Or the preset audio played by the body may be triggered simultaneously in the dithering operation process, for example, the preset audio is played through a speaker. The preset audio may be audio data that is matched with the dithering operation in advance, for example, the up-down dithering corresponds to a first preset audio, and the left-right dithering corresponds to a second preset audio. The request event trigger is used for identifying that the Bluetooth connection request is generated by triggering when the shaking operation is detected and the preset audio frequency sent by the machine body is detected.
Specifically, when the shaking operation and the preset audio sent by the body are detected simultaneously, a first Bluetooth connection request is triggered and generated, and the Bluetooth connection request is used for being broadcasted so as to be scanned by other equipment, and therefore Bluetooth connection is established with other equipment. In one embodiment, a jitter amplitude is obtained, and it is determined that a jitter operation is detected when the jitter amplitude exceeds a preset threshold, wherein the jitter amplitude may include a horizontal jitter amplitude, a vertical jitter amplitude, and a rotational jitter amplitude.
And 204, establishing a Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning with a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request.
Specifically, the preset audio is the preset audio sent by the bluetooth device through the body in step 202, the first terminal receives the audio through the microphone, determines whether the audio is the preset audio according to characteristics of the audio, and triggers bluetooth scanning if the audio is the preset audio, where the bluetooth scanning carries a scanning event trigger identifier. The scanning event trigger is used for identifying that the Bluetooth scanning is triggered after receiving the preset audio. After the Bluetooth scanning is triggered, the first terminal scans the Bluetooth connection request, after the first Bluetooth connection request is scanned, the request event trigger in the first Bluetooth connection request is matched with the scanning event trigger, if the matching is successful, the connection verification result is that the verification is passed, the sender of the first Bluetooth connection request, namely the Bluetooth equipment and the first terminal are successfully paired, and the Bluetooth connection can be established. If the matching is unsuccessful, the sender of the first Bluetooth connection request is not successfully matched with the first terminal, and the Bluetooth connection cannot be established, so that the sending of the Bluetooth connection request and the automatic scanning of the Bluetooth connection request can be triggered without interface operation, whether the matching is successful or not can be automatically judged, the Bluetooth connection is established, the establishment of the Bluetooth connection is convenient and efficient, and the matching of the two parties for establishing the Bluetooth connection is ensured.
In one embodiment, the preset audio includes preset text information, the received audio is subjected to voice conversion to obtain a corresponding text, and if the text includes the preset text information, it is determined that the preset audio is received. In one embodiment, the preset audio comprises loudness of continuous preset times, the loudness of the received audio is identified, and if the loudness of the continuous preset times is included, the preset audio is judged to be received, for example, the sound of 2 times of table surface knocking is the preset audio.
In one embodiment, the bluetooth scanning further includes scanning trigger time information, the first bluetooth connection request includes request time information, the scanning trigger time information is compared with the request time information, if the difference is within a preset range, the connection verification result is that the verification is passed, otherwise, the connection verification result is that the verification is not passed. Through the time gap in certain limit, avoid the mistake to connect or disturb to connect, if the time gap is too big, then even the characteristic that first terminal received the audio frequency accords with and predetermines the audio frequency, not bluetooth equipment is sending at that time yet to resource consumption and mistake that the bluetooth scanning of having avoided the mistake to open lead to are connected.
In the method for connecting the bluetooth device and the terminal in the embodiment, when the jitter operation and the preset audio sent by the body are detected, a first bluetooth connection request carrying a request event trigger identifier is triggered and generated, and the first bluetooth connection request is sent by broadcasting; the Bluetooth connection is established with a first terminal which passes the verification of the connection verification result, the first terminal is used for triggering Bluetooth scanning carrying a scanning event trigger mark when receiving preset audio, the connection verification result is obtained according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request, the Bluetooth connection request is sent by a preset audio trigger Bluetooth device sent by a machine body through shaking operation, the Bluetooth scanning is automatically started through the received preset audio trigger terminal, the matching result of the Bluetooth device and the terminal is determined through the matching of the scanning event trigger mark and the request event trigger mark in the connection request, the Bluetooth connection is established only if the matching is successful, namely the matched event trigger mark exists, the quick identification matching and connection between the Bluetooth device and the terminal can be realized without interface operation, and the Bluetooth connection efficiency is improved under the condition of ensuring the matching accuracy.
In one embodiment, before step 202, the method further includes: in a preset distance range of the first terminal, the shaking operation and the preset audio frequency are generated by continuously knocking an object for a preset number of times through the machine body.
The preset distance range can be customized, for example, 15CM.
Specifically, the knocked object can be a table top, a floor, and the like. And in the preset distance range of the first terminal, the first terminal can receive the preset audio frequency generated by the machine body continuously knocking an object for the preset times. In one embodiment, the interference sound outside the preset distance range is filtered by detecting the loudness amplitude of the received audio, if the loudness amplitude of the received audio is smaller than a preset threshold, it is determined as a non-preset audio, and the bluetooth scan is not triggered. The preset frequency can be self-defined, if the preset frequency is 2 times or 3 times, the generated preset audio frequency is also matched with the frequency of the shaking operation, if the object is continuously knocked for 2 times, double-click sound is generated, and if the object is continuously knocked for 3 times, 3-click sound is generated. Invalid audio may be filtered by identifying whether the audio matches the number of dithering operations.
In the embodiment, in the preset distance range of the first terminal, the body continuously knocks the preset times of the object to generate the dithering operation and the preset audio frequency, the Bluetooth device can be triggered to send the Bluetooth connection request only by continuously knocking the object, the method is quick and convenient, and the Bluetooth connection can be quickly established with the terminal in the preset distance range.
In one embodiment, step 202 comprises: the first time when the jitter operation and the preset audio sent by the machine body are detected is obtained, and the first time is carried in the first Bluetooth connection request. The bluetooth scanning further includes a second time corresponding to the first terminal receiving the preset audio, and the first terminal in step 204 is further configured to determine that the connection verification result is verified when a time difference between the first time and the second time is smaller than a preset time threshold and the scanning event trigger is consistent with the request event trigger.
Specifically, if the bluetooth device misinterprets an invalid audio as a preset audio, a bluetooth scan is triggered, a misconnection can be avoided through a time difference between a first time and a second time, if the bluetooth device is far away from the first terminal, the bluetooth device initiates a first bluetooth connection request, but the audio received by the first terminal is not an audio sent by a body of the bluetooth device but an interference audio near the first terminal, and the interference audio is misidentified as the preset audio. And if the time difference between the first time and the second time is greater than or equal to a preset time threshold, judging that the connection verification result does not pass, thereby avoiding the error connection caused by the interference of the audio.
In this embodiment, the first time is carried in the first bluetooth connection request, the second time is carried in the bluetooth scanning, and whether the bluetooth device and the first terminal can be successfully paired is determined according to the time difference between the first time and the second time, so that the matching performance of the devices between bluetooth connections is improved, and the error connection caused by audio interference is avoided.
In one embodiment, after step 204, the method further comprises: when the jitter operation and the preset audio sent by the machine body are detected, triggering to generate a second Bluetooth connection request carrying a request event trigger identifier, and sending the second Bluetooth connection request through broadcasting; the Bluetooth connection established with the first terminal is disconnected, the Bluetooth connection is established with a second terminal which passes the connection verification result and is used for triggering the Bluetooth scanning with the scanning event trigger mark when receiving the preset audio, and the corresponding connection verification result is obtained according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned second Bluetooth connection request
Specifically, after the bluetooth device establishes the bluetooth connection with the first terminal, if want to replace other devices to perform the bluetooth connection, the body may be used again to generate the dithering operation and the preset audio, for example, the dithering operation and the preset audio may be generated by continuously tapping the bluetooth device on the desktop for a preset number of times, or the bluetooth device may be tapped on the desktop, and the preset audio may be played through the bluetooth device. If the Bluetooth connection with the second terminal is desired, the dithering operation and the preset audio frequency are generated within the preset distance range of the second terminal.
When the Bluetooth device detects the jitter operation and the preset audio frequency sent by the body again, a second Bluetooth connection request carrying the request event trigger is triggered and generated, the second terminal triggers Bluetooth scanning carrying the scanning event trigger when receiving the preset audio frequency, a corresponding connection verification result is obtained according to the matching of the request event trigger in the scanned second Bluetooth connection request and the scanning event trigger, if the verification is passed, the Bluetooth connection established with the first terminal is disconnected, the Bluetooth connection is established with the second terminal, and therefore the interface is not required to be accessed, and the connection switching of the Bluetooth device among different terminals can be conveniently realized without interface operation.
In this embodiment, after the bluetooth connection is established with the first terminal, a new bluetooth connection request may be triggered again through the detected dithering operation and the preset audio sent by the body, and the bluetooth connection may be established with the new terminal that receives the preset audio, thereby implementing efficient and convenient switching between the bluetooth connections between the terminals.
In one embodiment, step 202 comprises: acquiring position data from a gyroscope, and determining that a shaking operation is detected according to the position data; and extracting the audio characteristics of the received audio, and triggering and generating a first Bluetooth connection request carrying a request event trigger identifier when the audio characteristics are matched with the jitter times corresponding to the jitter operation.
Specifically, the gyroscope acquires position change data of the body in a three-dimensional space, detects whether the body shakes according to the position change data, and judges the shaking times. And receiving the audio, extracting audio features, and if the times that the loudness exceeds the preset loudness is judged and the jitter times are matched, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier.
In this embodiment, only when the audio frequency characteristic matches the jitter frequency corresponding to the jitter operation, the first bluetooth connection request carrying the request event trigger identifier is triggered to be generated, so that the accuracy of generating the bluetooth connection request is further improved, and the bluetooth connection request is prevented from being generated by mistake due to interference information.
In a specific embodiment, a method for connecting a bluetooth device to a terminal is provided, wherein the terminal supporting a bluetooth protocol is a mobile phone, the bluetooth device is a bluetooth headset, and both the headset and the mobile phone have a built-in microphone, a speaker and a gyroscope, and the specific process is as follows:
1. the Bluetooth headset continuously taps the desktop for 2 times in the vicinity of the mobile phone, such as 15CM, and when the headset detects 2 times of shaking operations and 2 times of tapping sounds sent by the mobile body through the gyroscope, a first Bluetooth connection request is sent through broadcasting, and the first Bluetooth connection request carries a double-tap event trigger identifier.
2. After receiving the sound of 2 times of continuous desktop knocking of the earphone, the mobile phone triggers Bluetooth scanning with a double-click event trigger identifier, and scans a first Bluetooth connection request.
3. And the mobile phone compares the double-click event trigger in the first Bluetooth connection request with the double-click event trigger in the Bluetooth scanning, and if the double-click event trigger in the first Bluetooth connection request is consistent with the double-click event trigger in the Bluetooth scanning, the mobile phone establishes Bluetooth connection with the earphone.
4. The earphone continuously taps the desktop for 2 times near the watch, and when the earphone detects 2 times of shaking operations and 2 times of tapping sounds sent by the machine body through the gyroscope, a second Bluetooth connection request is sent through broadcasting, and the second Bluetooth connection request carries a double-tap event trigger.
5. And after receiving the sound of the earphone continuously knocking the desktop for 2 times, the watch triggers the Bluetooth scanning with the double-click event trigger identifier and scans a second Bluetooth connection request.
6. And the watch compares the double-click event trigger in the second Bluetooth connection request with the double-click event trigger in the Bluetooth scanning, and if the double-click event trigger is consistent with the double-click event trigger in the Bluetooth scanning, the watch and the earphone are connected in a Bluetooth mode.
In the embodiment, interface operation is not needed, the earphone can be triggered to send the Bluetooth connection request and the mobile phone can be triggered to automatically scan the Bluetooth connection request only by knocking, and whether matching is successful or not can be automatically judged, so that Bluetooth connection is established, the establishment of the Bluetooth connection is convenient and efficient, and the matching performance of both sides of the establishment of the Bluetooth connection is ensured.
In one embodiment, as shown in fig. 5, a method for connecting a bluetooth device to a terminal is provided, and the method is applied to the terminal and includes:
step 302, when receiving the preset audio, triggering bluetooth scanning with a scanning event trigger.
Step 304, a first bluetooth connection request sent by the bluetooth device through broadcasting is scanned, the first bluetooth connection request carries a request event trigger, and the first bluetooth connection request is generated by triggering when the bluetooth device detects a jitter operation and a preset audio sent by the body.
And step 306, obtaining a connection verification result according to the matching of the request event trigger and the scanning event trigger.
And 308, when the connection verification result is that the connection passes the verification, establishing Bluetooth connection with the Bluetooth equipment.
In the embodiment, the Bluetooth connection request is sent by the Bluetooth device triggered by the jitter operation and the preset audio sent by the body, the Bluetooth scanning is automatically started by the received preset audio trigger terminal, the matching between the Bluetooth device and the terminal is determined by the matching between the request event trigger identifier in the connection request and the scanning event trigger identifier, the Bluetooth connection is established only if the matching is successful, namely the matched event trigger identifier exists, the rapid identification matching and connection between the Bluetooth device and the terminal can be realized without interface operation, and the Bluetooth connection efficiency is improved under the condition of ensuring the matching accuracy.
In one embodiment, the preset audio is generated by continuously tapping the object for a preset number of times through the bluetooth device within a preset distance range of the terminal.
In one embodiment, step 302 includes: and acquiring second time corresponding to the received preset audio, and carrying the second time in the Bluetooth scanning. Step 306 includes: and acquiring first time carried by the first Bluetooth connection request, and when the time difference between the first time and the second time is smaller than a preset time threshold value and the scanning event trigger mark is consistent with the request event trigger mark, the connection verification result is verification passing, wherein the first time is corresponding time when the Bluetooth device detects jitter operation and preset audio sent by the machine body.
In one embodiment, before step 302, the method further includes: and extracting the audio characteristics of the received audio, and judging that the preset audio is received when the audio characteristics are matched with the preset jitter times.
The embodiments and various possible implementations of the method for connecting the bluetooth device to the terminal described above take the terminal as an execution subject, and the specific method and the interaction process with the bluetooth device may refer to the description of the embodiments described above, and are not described herein again.
It should be understood that, although the steps in the flowcharts of fig. 3 and 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3 and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 6 is a block diagram of an apparatus for connecting a bluetooth device to a terminal according to an embodiment. As shown in fig. 6, an apparatus for connecting a bluetooth device to a terminal, applied to the bluetooth device, includes: a connection request module 602 and a connection module 604. Wherein:
the connection request module 602 is configured to trigger generation of a first bluetooth connection request carrying a request connection identifier when a jitter operation and a preset audio sent by the apparatus body are detected, and send the first bluetooth connection request through broadcasting.
The connection module 604 is configured to establish a bluetooth connection with a first terminal whose connection verification result is that the verification passes, where the first terminal is configured to trigger a bluetooth scan that carries a scan event trigger when receiving a preset audio, and obtain a connection verification result according to matching between a request event trigger in the scanned first bluetooth connection request and the scan event trigger.
In the device for connecting the Bluetooth equipment with the terminal in the implementation, when the jitter operation and the preset audio sent by the machine body are detected, a first Bluetooth connection request carrying a request event trigger identifier is triggered and generated, and the first Bluetooth connection request is sent by broadcasting; the Bluetooth connection is established with a first terminal which passes the verification of the connection verification result, the first terminal is used for triggering Bluetooth scanning carrying a scanning event trigger mark when receiving preset audio, the connection verification result is obtained according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request, the Bluetooth connection request is sent by a preset audio trigger Bluetooth device sent by a machine body through shaking operation, the Bluetooth scanning is automatically started through the received preset audio trigger terminal, the matching result of the Bluetooth device and the terminal is determined through the matching of the scanning event trigger mark and the request event trigger mark in the connection request, the Bluetooth connection is established only if the matching is successful, namely the matched event trigger mark exists, the quick identification matching and connection between the Bluetooth device and the terminal can be realized without interface operation, and the Bluetooth connection efficiency is improved under the condition of ensuring the matching accuracy.
In one embodiment, the connection requesting module 602 is further configured to generate the dithering operation and the preset audio by the body continuously tapping the object for a preset number of times within a preset distance range of the first terminal.
According to the device for connecting the Bluetooth equipment and the terminal in the implementation, the distance range is preset at the first terminal, the body continuously knocks the object for the preset times to generate the shaking operation and preset audio frequency, the Bluetooth equipment can be triggered to send the Bluetooth connection request only by continuously knocking the object, the device is quick and convenient, and the Bluetooth connection can be quickly established with the terminal in the preset distance range.
In an embodiment, the connection request module 602 is further configured to obtain a first time when the jitter operation and a preset audio sent by the apparatus body are detected, and carry the first time in the first bluetooth connection request. The bluetooth scanning further includes a second time corresponding to the first terminal receiving the preset audio, and the connection module 604 is further configured to connect the verification result as verification pass when a time difference between the first time and the second time is smaller than a preset time threshold and the scanning event trigger is consistent with the request event trigger.
The Bluetooth device and terminal connection device in the implementation carries the first time in the first Bluetooth connection request, carries the second time in the Bluetooth scanning, judges whether the Bluetooth device and the first terminal can be successfully paired or not through the time difference between the first time and the second time, improves the matching performance of the devices between the Bluetooth connection, and avoids the error connection caused by interference audio.
In one embodiment, the apparatus further comprises:
the switching connection module 606 is configured to trigger generation of a second bluetooth connection request carrying a request event trigger identifier when a jitter operation and a preset audio sent by the body are detected, and send the second bluetooth connection request through broadcasting; and disconnecting the Bluetooth connection established with the first terminal, establishing the Bluetooth connection with a second terminal which passes the connection verification result for verification, wherein the second terminal is used for triggering the Bluetooth scanning with the scanning event trigger identifier when receiving the preset audio, and obtaining the corresponding connection verification result according to the matching of the scanning event trigger identifier and the request event trigger identifier in the scanned second Bluetooth connection request.
In this embodiment, after the bluetooth connection is established with the first terminal, a new bluetooth connection request may be triggered again through the detected jitter operation and the preset audio sent by the apparatus body, and the bluetooth connection may be established with the new terminal that receives the preset audio, thereby implementing efficient and convenient switching between the bluetooth connections between the terminals.
In one embodiment, the connection request module 602 is further configured to obtain position data from a gyroscope, and determine that a shaking operation is detected based on the position data; and extracting the audio characteristics of the received audio, and triggering and generating a first Bluetooth connection request carrying a request event trigger identifier when the audio characteristics are matched with the jitter times corresponding to the jitter operation.
In this embodiment, only when the audio frequency characteristic matches the jitter frequency corresponding to the jitter operation, the first bluetooth connection request carrying the request event trigger identifier is triggered to be generated, so that the accuracy of generating the bluetooth connection request is further improved, and the bluetooth connection request is prevented from being generated by mistake due to interference information.
Fig. 7 is a block diagram of an apparatus for connecting a bluetooth device to a terminal according to an embodiment. As shown in fig. 7, an apparatus for connecting a bluetooth device to a terminal, applied to a terminal supporting a bluetooth protocol, includes: trigger scanning module 702, scanning module 704, verification module 706, and connection module 708. Wherein:
and the trigger scanning module 702 is configured to trigger bluetooth scanning that carries a scanning event trigger identifier when receiving a preset audio.
The scanning module 704 is configured to scan a first bluetooth connection request sent by a bluetooth device through broadcasting, where the first bluetooth connection request carries a request event trigger identifier, and the first bluetooth connection request is generated by triggering when the bluetooth device detects a jitter operation and a preset audio sent by a body.
And the verification module 706 is configured to obtain a connection verification result according to the matching between the request event trigger and the scan event trigger.
A connection module 708, configured to establish a bluetooth connection with the bluetooth device when the connection verification result is that the connection verification passes.
In one embodiment, the preset audio is generated by continuously tapping the object for a preset number of times through the bluetooth device within a preset distance range of the terminal.
In an embodiment, the trigger scanning module 702 is further configured to obtain a second time corresponding to the reception of the preset audio, and carry the second time in the bluetooth scanning. The verification module 706 is further configured to obtain a first time carried by the first bluetooth connection request, and when a time difference between the first time and the second time is smaller than a preset time threshold and the scan event trigger is consistent with the request event trigger, the connection verification result is that verification is passed, where the first time is a time corresponding to when the bluetooth device detects a jitter operation and a preset audio sent by the body.
In one embodiment, the trigger scanning module 702 is further configured to extract an audio feature of the received audio, and determine that the preset audio is received when the audio feature matches a pre-configured number of jitters.
For specific limitations of the apparatus for connecting the bluetooth device to the terminal, reference may be made to the above limitations on the method for connecting the bluetooth device to the terminal, and details are not described herein again. All or part of each module in the device for connecting the Bluetooth equipment and the terminal can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 8, the electronic device includes a processor, a memory, and a bluetooth module connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing the method for connecting the bluetooth device and the terminal provided in the above embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a cell phone, a bluetooth device, etc.
The implementation of each module in the apparatus for connecting the bluetooth device and the terminal provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a method for a bluetooth device to connect with a terminal.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a method of connecting a bluetooth device to a terminal.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A method for connecting a Bluetooth device and a terminal is applied to the Bluetooth device, and is characterized by comprising the following steps:
in a preset distance range of a first terminal, continuously knocking an object through a Bluetooth device body for a preset number of times to generate a shaking operation and a preset audio frequency sent out through the Bluetooth device body, detecting the shaking operation and the preset audio frequency, wherein the knocked object is an object other than the terminal, the preset audio frequency is generated by the contact operation of the Bluetooth device body and the knocked object, and the preset audio frequency is matched with the shaking operation direction;
when the jitter operation and the preset audio frequency are detected, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier, and sending the first Bluetooth connection request through broadcasting;
and establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, wherein the first terminal is used for triggering Bluetooth scanning with a scanning event trigger mark when receiving the preset audio, and obtaining the connection verification result according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned first Bluetooth connection request.
2. The method according to claim 1, wherein the triggering generation of the first bluetooth connection request carrying the request event trigger when the jitter operation and the preset audio are detected comprises:
performing voice conversion on the received preset audio to obtain text information;
and when the text information is preset text information, triggering to generate a first Bluetooth connection request carrying a request event trigger identifier, and sending the first Bluetooth connection request through broadcasting.
3. The method of claim 1, wherein the triggering generation of the first bluetooth connection request carrying the request event trigger when the jittering operation and the preset audio are detected comprises:
acquiring first time when a jitter operation and a preset audio frequency sent by the Bluetooth device body are detected, and carrying the first time in the first Bluetooth connection request;
the Bluetooth scanning further comprises a second time corresponding to the first terminal receiving the preset audio;
the obtaining of the connection verification result according to the matching between the request event trigger in the scanned first bluetooth connection request and the scan event trigger comprises:
and when the time difference between the first time and the second time is smaller than a preset time threshold and the scanning event trigger is consistent with the request event trigger, the connection verification result is that the verification is passed.
4. The method of claim 1, wherein after the establishing the bluetooth connection with the first terminal whose connection verification result is that the first terminal passes the verification, the method further comprises:
when the jitter operation and the preset audio sent by the Bluetooth equipment body are detected, triggering to generate a second Bluetooth connection request carrying a request event trigger identifier, and sending the second Bluetooth connection request through broadcasting;
and disconnecting the Bluetooth connection established with the first terminal, establishing the Bluetooth connection with a second terminal which passes the verification result as the verification result, wherein the second terminal is used for triggering the Bluetooth scanning with the scanning event trigger mark when receiving the preset audio, and obtaining the corresponding connection verification result according to the matching of the scanning event trigger mark and the request event trigger mark in the scanned second Bluetooth connection request.
5. The method according to any one of claims 1 to 4, wherein the triggering generation of the first Bluetooth connection request carrying the request event trigger when the jitter operation and the preset audio are detected comprises:
acquiring position data from a gyroscope, and determining that a shaking operation is detected according to the position data;
and extracting the audio characteristics of the received audio, and triggering and generating a first Bluetooth connection request carrying a request event trigger identifier when the audio characteristics are matched with the jitter times corresponding to the jitter operation.
6. A method for connecting a Bluetooth device with a terminal is applied to the terminal supporting the Bluetooth protocol, and is characterized by comprising the following steps:
detecting a preset audio frequency sent out by a Bluetooth device body within a preset distance range of a terminal, wherein the preset audio frequency is generated by the fact that the Bluetooth device continuously strikes an object for a preset number of times, the struck object is an object other than the terminal, the preset audio frequency is generated by contact operation of the Bluetooth device body and the struck object, and the preset audio frequency is matched with the direction of shaking operation generated by the preset number of times of the continuous striking object;
when the preset audio is received, triggering Bluetooth scanning with a scanning event triggering identifier;
scanning a first Bluetooth connection request sent by a Bluetooth device through broadcasting, wherein the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth device detects the jitter operation and the preset audio sent by the Bluetooth device body;
obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and when the connection verification result is that the connection is verified, establishing Bluetooth connection with the Bluetooth equipment.
7. The method according to claim 6, wherein the triggering the Bluetooth scanning with the scanning event trigger when the preset audio is received comprises:
performing voice conversion on the received preset audio to obtain text information;
and when the text information is preset text information, triggering Bluetooth scanning with a scanning event triggering identifier.
8. The method of claim 6, wherein triggering the Bluetooth scan carrying the scan event trigger when the preset audio is received comprises:
acquiring second time corresponding to the received preset audio, and carrying the second time in the Bluetooth scanning;
the obtaining of the connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier comprises:
and acquiring first time carried by the first Bluetooth connection request, and when the time difference between the first time and the second time is smaller than a preset time threshold and the scanning event trigger is consistent with the request event trigger, determining that the connection verification result is that the verification is passed, wherein the first time is the time corresponding to the time when the Bluetooth device detects the jitter operation and the preset audio sent by the Bluetooth device body.
9. The method of claim 6, wherein before triggering the Bluetooth scan that carries the scan event trigger when the preset audio is received, the method further comprises:
and extracting the audio characteristics of the received audio, and judging that the preset audio is received when the audio characteristics are matched with the preset jitter times.
10. The utility model provides a bluetooth equipment and terminal connection's device, is applied to bluetooth equipment, its characterized in that includes:
the shake and audio detection module is used for continuously knocking an object for a preset number of times through a Bluetooth device body to generate shake operation and preset audio sent out through the Bluetooth device body within a preset distance range of a first terminal, detecting the shake operation and the preset audio, and enabling the knocked object to be an object other than the terminal, wherein the preset audio is audio generated by contact operation of the Bluetooth device body and the knocked object, and the preset audio is matched with the shake operation in direction;
the connection request module is used for triggering and generating a first Bluetooth connection request carrying a connection request identifier when the jitter operation and the preset audio are detected, and sending the first Bluetooth connection request through broadcasting;
and the connection module is used for establishing Bluetooth connection with a first terminal which passes the verification of the connection verification result, the first terminal is used for triggering Bluetooth scanning with a scanning event trigger mark when receiving the preset audio, and the connection verification result is obtained according to the matching of the scanning event trigger mark and a request event trigger mark in the scanned first Bluetooth connection request.
11. An apparatus for connecting a bluetooth device to a terminal, which is applied to a terminal supporting a bluetooth protocol, comprising:
the audio detection module detects preset audio sent by a Bluetooth device body within a preset distance range of a terminal, wherein the preset audio is generated by continuously knocking an object by the Bluetooth device for a preset number of times, the knocked object is other objects except the terminal, the preset audio is audio generated by contact operation of the Bluetooth device body and the knocked object, and the preset audio is matched with the direction of jitter operation generated by the continuously knocking object for the preset number of times;
the trigger scanning module is used for triggering Bluetooth scanning carrying a scanning event trigger identifier when the preset audio is received;
the scanning module is used for scanning a first Bluetooth connection request sent by Bluetooth equipment through broadcasting, wherein the first Bluetooth connection request carries a request event trigger identifier, and the first Bluetooth connection request is generated by triggering when the Bluetooth equipment detects the jitter operation and the preset audio frequency sent by the Bluetooth equipment body;
the verification module is used for obtaining a connection verification result according to the matching of the request event trigger identifier and the scanning event trigger identifier;
and the connection module is used for establishing Bluetooth connection with the Bluetooth equipment when the connection verification result is that the connection verification passes.
12. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 5 or 6 to 9.
13. 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 method according to any one of claims 1 to 5 or 6 to 9.
CN202110121431.3A 2021-01-28 2021-01-28 Method and device for connecting Bluetooth device and terminal, and electronic device Active CN112887952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121431.3A CN112887952B (en) 2021-01-28 2021-01-28 Method and device for connecting Bluetooth device and terminal, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110121431.3A CN112887952B (en) 2021-01-28 2021-01-28 Method and device for connecting Bluetooth device and terminal, and electronic device

Publications (2)

Publication Number Publication Date
CN112887952A CN112887952A (en) 2021-06-01
CN112887952B true CN112887952B (en) 2023-01-31

Family

ID=76053314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110121431.3A Active CN112887952B (en) 2021-01-28 2021-01-28 Method and device for connecting Bluetooth device and terminal, and electronic device

Country Status (1)

Country Link
CN (1) CN112887952B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442753B (en) * 2021-06-03 2023-12-01 广州视源电子科技股份有限公司 Sound box control method, device, equipment and storage medium
CN113408678B (en) * 2021-06-15 2023-08-15 广州极飞科技股份有限公司 Correlation method, correlation device, electronic equipment and storage medium
CN113473434A (en) * 2021-08-17 2021-10-01 杭州涂鸦信息技术有限公司 Bluetooth connection method, device, computer equipment and computer readable storage medium
CN115379433A (en) * 2022-10-21 2022-11-22 荣耀终端有限公司 Bluetooth device pairing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464957A (en) * 2020-03-31 2020-07-28 Oppo(重庆)智能科技有限公司 Bluetooth audio transmission method and device, electronic equipment and storage medium
CN111629366A (en) * 2020-04-27 2020-09-04 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110126014A1 (en) * 2009-11-24 2011-05-26 Sony Ericsson Mobile Communications Ab Event Triggered Pairing of Wireless Communication Devices Based on Time Measurements
CN111385774B (en) * 2018-12-12 2021-08-13 北京骑胜科技有限公司 Bluetooth device connection method, connection device, terminal and computer device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN112243220A (en) * 2019-07-18 2021-01-19 华为技术有限公司 Method for establishing communication connection and wearable device
CN111669737A (en) * 2020-05-27 2020-09-15 维沃移动通信有限公司 Bluetooth device connection method and device and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464957A (en) * 2020-03-31 2020-07-28 Oppo(重庆)智能科技有限公司 Bluetooth audio transmission method and device, electronic equipment and storage medium
CN111629366A (en) * 2020-04-27 2020-09-04 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device

Also Published As

Publication number Publication date
CN112887952A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN112887952B (en) Method and device for connecting Bluetooth device and terminal, and electronic device
KR102373463B1 (en) Method and apparatus for wireless communication betweeen communication terminals
US10785361B2 (en) Method for call processing and electronic device
CN113395685B (en) Bluetooth communication system and wireless communication system
KR102427401B1 (en) An electronic device providing call continuity in a weak signal environment and control method thereof
CN111464957A (en) Bluetooth audio transmission method and device, electronic equipment and storage medium
JP6714803B1 (en) Image sharing method and electronic device
KR20140117349A (en) Connecting wireless devices
CN112806067B (en) Voice switching method, electronic equipment and system
CN105246074A (en) Method and device for establishing connections
WO2017185863A1 (en) Audio control method, terminal, and computer storage medium
CN105208011A (en) Verification system and method
CN104837181A (en) Network access method and device
CN111615090B (en) Interaction method and device between Bluetooth devices, storage medium and electronic device
CN104768235A (en) Automatic connection method and device between equipment
CN104796860A (en) Method and device for positioning terminals
WO2021237415A1 (en) Headset pairing method, headset control method, bluetooth headset storage apparatus, and medium
CN104837133A (en) SIM card authentication method and device
KR101599165B1 (en) Connecting wireless devices
CN104618987A (en) Method and device for accessing network
CN105430642B (en) Document transmission method and device
CN105306567B (en) Method and device for terminal connection
CN104967966B (en) A kind of method and device of binding bluetooth equipment
CN107039054B (en) The way of recording and device
CN111800836B (en) Communication method, device, electronic equipment and storage medium

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